Asterisk 1.8 + Libss7
Вот конфиги для примера, может ошибся
asterisk 1.8 wanpipe 3.5.17.9 libss7 1.0.2 dahdi-complete 2.4.0
/etc/dahdi/system.conf
#Sangoma A108 port 1 [slot:4 bus:4 span:1]
span=1,1,0,ccs,hdb3,crc4
bchan=1-15,17-31
mtp2=16
#Sangoma A108 port 2 [slot:4 bus:4 span:2]
span=2,2,0,ccs,hdb3,crc4
bchan=33-63
#Sangoma A108 port 3 [slot:4 bus:4 span:3]
span=3,3,0,ccs,hdb3,crc4
bchan=65-95
#Sangoma A108 port 4 [slot:4 bus:4 span:4]
span=4,4,0,ccs,hdb3,crc4
bchan=97-127
/etc/asterisk/chan_dahdi.conf
[channels]
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
signalling=ss7
ss7type=itu
ss7_called_nai=national
ss7_calling_nai=national
networkindicator = national
switchtype = national
pointcode=10
adjpointcode=155
defaultdpc=155
linkset=1
sigchan=16
group=1
cicbeginswith=1
channel=1-15
cicbeginswith=17
channel=17-31
cicbeginswith=33
channel=33-63
cicbeginswith=65
channel=65-95
cicbeginswith=97
channel=97-127
/etc/wanpipe/wanpipeX
TDMV_DCHAN= 0
#Sangoma A108 port 1 [slot:4 bus:4 span:1]
span=1,0,0,ccs,hdb3,crc4
bchan=1-15,17-31
mtp2=16
#Sangoma A108 port 2 [slot:4 bus:4 span:2]
span=2,0,0,ccs,hdb3,crc4
bchan=33-63
#Sangoma A108 port 3 [slot:4 bus:4 span:3]
span=3,0,0,ccs,hdb3,crc4
bchan=65-95
#Sangoma A108 port 4 [slot:4 bus:4 span:4]
span=4,0,0,ccs,hdb3,crc4
bchan=97-127
Первели на national, всё заработало. Причем до этого был Asterisk 1.4 + chan_ss7, работало со старыми параметрами. Видимо libss7 чувствителен к индикатору сети.
adt2k, спасибо, за совет. Работет и с 1 и с 0 в настройках потока.