This is a short example on how to configure MTP2 in Yate.
Installing sangoma cards
Follow this guide to install sangoma cards under Linux.
Configure MTP2 in Yate
The MTP2 link is created on demand. To define a MTP2 link you must define the MTP3 linkset that uses it.
[mtp3] type=ss7-mtp3 netind2pctype=ITU netindicator=national local=ITU,0-0-6 adjacent=ITU,0-0-5 link=mtp2 [mtp2] type=ss7-mtp2 autostart=yes emergency=yes autoemergency=yes sig=wanpipe1 filllink=no
Note: According to standards filllink should be 'yes'. We usually set it to 'no' because most of the times the underlying layers don't have support for it (unless when support was added in the hardware and then it's ok to configure filllink='yes').
[wanpipe1] type=E1 siggroup=w1g1 voicegroup=w1g2