Hi Yulian,
After compile project SGW, configure 2 linkset and 1 link for each, mtp2 is Aligned. :)
But, it seem i have a problem with the configuration of my digium card:
If i use link configured on "dchan or mtp2" in system.conf (channel 16 of each span) then MTP2 is never aligned.
And if i use, channel 1 of each span (bchan) then MTP2 is aligned, BUT i can see with dahdi_pcap (dump) lot of bad packet (filling)
Must i use parameters bchan, dchan or mtp2 ?
#cat /etc/dahdi/system.conf
# Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER) HDB3/CCS/CRC4
span=1,0,0,ccs,hdb3,crc4
# termtype: nt
bchan=1-15,17-31
#dchan=16
mtp2=16
#echocanceller=oslec,1-15,17-31
# Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2" HDB3/CCS/CRC4
span=2,0,0,ccs,hdb3,crc4
# termtype: te
bchan=32-46,48-62
#dchan=47
mtp2=47
#echocanceller=oslec,32-46,48-62
Thanks,