[asterisk-ss7] No audio using libss7 over E1

Kaloyan Kovachev kkovachev at varna.net
Thu Aug 2 06:02:13 CDT 2012


Hi,

On Thu, 02 Aug 2012 12:19:06 +0200, David Wilson <dave at dcdata.co.za>
wrote:
> 
> */etc/asterisk/chan_dahdi.conf*:
> [trunkgroups]
> 
> [channels]
> 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
> 
> ;Sangoma A102 port 1 [slot:4 bus:12 span:1] <wanpipe1>
> switchtype=euroisdn

you should not define switchtype with ss7 - it is only for PRI signaling

> context=from-ss7
> group=0
> echocancel=no
> signaling=ss7
> linkset=1
> ss7type=itu
> ss7_called_nai=dynamic
> ss7_calling_nai=dynamic
> ss7_internationalprefix=00
> ss7_nationalprefix=0
> ss7_subscriberprefix=
> ss7_unknownprefix=
> ;ss7_explicitacm=yes
> pointcode=1379
> adjpointcode=1288
> defaultdpc=1288
> networkindicator=national
> 
> ;First E1
> sigchan=16
> cicbeginswith=1
> channel=1-15
> cicbeginswith=17
> channel=17-31
> 
> ;Second E1
> sigchan=47
> cicbeginswith=33
> channel=32-46
> cicbeginswith=49
> channel=48-62
> 

please define your sigchans last.

you may use dahdi_monitor to check on which CIC you are receiving the
audio from the other side and if it is not the one on which you are sending
it - you can be sure about the misalignment. You may comment out the second
E1 and check with the telco if they get the signaling on their first link
or (as you can't swap the cables) just swap them in your config and see if
the audio is working:

;First E1
cicbeginswith=1
channel=32-46
cicbeginswith=17
channel=48-62

;Second E1
cicbeginswith=33
channel=1-15
cicbeginswith=49
channel=17-31
sigchan=16
sigchan=47


> 
> */etc/asterisk/extensions.conf*
> [general]
> 
> [from-ss7]
> exten => _X.,1,Answer
> exten => _X.,n,Monitor(wav,${UNIQUEID},m)
> exten => 
> _X.,n,Playback(/var/lib/asterisk/sounds/en/followme/pls-hold-while-try)
> exten => _X.,n,MusicOnHold(default,60)
> 
> Get important Linux and industry-related news at: facebook.com/dcdata 
> <http://facebook.com/dcdata>
> 
> Kind regards,
> 
> David Wilson
> CNS,CLS, LINUX+, CLA, DCTS, LPIC3
> *LinuxTech CC t/a DcData*
> CK number: 2001/058368/23
> *Website:* 	http://www.dcdata.co.za
> *Support:* 	+27(0)860-1-LINUX
> *Mobile:* 	+27(0)824147413
> *Tel:* 	+27(0)333446100
> *Fax:* 	+27(0)866878971



More information about the asterisk-ss7 mailing list