Here’s my build instructions for compiling and running Yate on Ubuntu 20.04 from source:
apt-get install wget make gcc autoconf subversion libsctp-dev libsctp1 g++ -y
svn checkout http://voip.null.ro/svn/yate/trunk yate
Enable SCTP by adding “sctp” into the file and saving, then we can get on with compilation:
And done, Yate installed with SCTP support, for all your SIGTRAN needs!
Soon we’ll be using this in our series investigating SS7 networks…
I did a post yesterday on setting up YateBTS, I thought I’d cover the basic setup I had to do to get everything humming;
In order to actually accept subscribers on the network you’ll need to set a Regex pattern to match the prefix of the IMSI of the subscribers you want to connect to the network,
In my case I’m using programmable SIMs with MCC / MNC 00101 so I’ve put the regex pattern matching starting with 00101.
Next up you need to set the operating frequency (radio band), MNC and MCC of the network. I’m using GSM850,
Next up we’ll need to set the device we’re going to use for the TX/RX, I’m using a BladeRF Software Defined Radio, so I’ve selected that from the path.
I’ve connected Yate to a SIP trunk so I can make and receive calls,
I’ve also put a tap on the GSM signaling, so I can see what’s going on, to access it just spin up Wireshark and filter for GSMMAP
A lot of the Yate tutorials are a few years old, so I thought I’d put together the steps I used on Ubuntu 18.04:
apt-get install subversion autoconf build-essential
cd /usr/src svn checkout http://voip.null.ro/svn/yate/trunk yate
svn checkout http://voip.null.ro/svn/yatebts/trunk yatebts
Defining location of libyate
On Ubuntu I found I had to add the library location in ldconf:
echo "include /usr/local/lib/" > /etc/ld.so.conf
Installing Web Interface for NIB / NIPC
apt-get install apache2 php
ln -s /usr/local/share/yate/nipc_web nipc
chmod a+rw /usr/local/etc/yate/