[asterisk-ss7] No audio using libss7 over E1
David Wilson
dave at dcdata.co.za
Wed Aug 1 11:27:13 CDT 2012
Hi guys,
I hope this email finds you well!
Although I've worked with Asterisk in many forms over the years, this is
the first time I've been requested to configure SS7 so please excuse me
if I am sounding a bit off-track! :)
The box I am using is a new installation of the following versions - my
E1 hardware is a Sangoma A102 (2 port):
asterisk-1.6.2.24
dahdi-linux-complete-2.4.1.2+2.4.1
libss7-1.0.2
wanpipe-3.5.27
The system I've built will simply be functioning as an IVR system so
will only deal with inbound calls.
So far inbound calls make it to this Asterisk system but the caller does
not hear any audio from my Asterisk system. For this test I've
configured the dialplan to answer() the inbound call and to playback
something using playback() and musiconhold().
With debugging enabled on my SS7 linkset I see the following in my logs.
Unfortunately not being familiar with SS7 it doesn't mean too much to
me. Everything that I've read indicates that a "no audio" problem with
SS7 generally indicates misaligned CICs but according to the operator
they are reported to be aligned ok. Please may I ask for your assistance
with this? My configs are at the end of this email under the following
log output:
/Len = 71 [ d9 d1 3f 85 63 05 42 11 01 00 01 00 60 01 0a 00 02 07 05 83
90 91 00 0f 0a 06 03 13 67 60 00 59 08 01 00 1d 03 80 90 a3 31 02 00 5a
3a 06 44 02 68 00 00 00 3f 08 84 93 62 78 06 00 00 00 39 06 31 d0 3a d0
3f c0 00 ]
FSN: 81 FIB 1
BSN: 89 BIB 1
<[0] MSU
[ d9 d1 3f ]
Network Indicator: 2 Priority: 0 User Part: ISUP (5)
[ 85 ]
OPC 1288 DPC 1379 SLS 1
[ 63 05 42 11 ]
CIC: 1
[ 01 00 ]
Message Type: IAM
[ 01 ]
--FIXED LENGTH PARMS[4]--
Nature of Connection Indicator:
Satellites in connection: 0
Continuity Check: Check not required (0)
Outgoing half echo control device: not included (0)
[ 00 ]
Forward Call Indicators:
Nat/Intl Call Ind: call to be treated as a
national call (0)
End to End Method Ind: no end-to-end method(s)
available (0)
Interworking Ind: no interworking encountered (0)
End to End Info Ind: no end-to-end information
available (0)
ISDN User Part Ind: ISDN user part used all the
way (1)
ISDN User Part Pref Ind: ISDN user part not
preferred all the way (1)
ISDN Access Ind: originating access ISDN (1)
SCCP Method Ind: no indication (0)
[ 60 01 ]
Calling Party's Category:
Category: Ordinary calling subscriber (10)
[ 0a ]
Transmission Medium Requirements:
Speech (0)
[ 00 ]
--VARIABLE LENGTH PARMS[1]--
Called Party Number:
Nature of address: 3
NI: 1
Numbering plan: 1
Address signals: 1900#
[ 05 83 90 91 00 0f ]
--OPTIONAL PARMS--
Calling Party Number:
Nature of address: 3
NI: 0
Numbering plan: 1
Presentation: 0
Screening: 3
Address signals: 76060095
[ 0a 06 03 13 67 60 00 59 ]
Optional forward call indicator:
[ 08 01 00 ]
User Service Information:
[ 1d 03 80 90 a3 ]
Propagation Delay Counter:
Delay: 0ms
[ 31 02 00 5a ]
Unknown Parameter (0x3a):
[ 44 02 68 00 00 00 ]
Location Number:
[ 3f 08 84 93 62 78 06 00 00 00 ]
Parameter Compatibility Information:
[ 39 06 31 d0 3a d0 3f c0 ]
Unhandled optional parameter 0x8 'Optional forward call indicator'
[0x0 ]
Unhandled optional parameter 0x31 'Propagation Delay Counter'
[0x0 0x5a ]
Unhandled optional parameter 0x3a 'Unknown'
[0x44 0x2 0x68 0x0 0x0 0x0 ]
Unhandled optional parameter 0x3f 'Location Number'
[0x84 0x93 0x62 0x78 0x6 0x0 0x0 0x0 ]
Unhandled optional parameter 0x39 'Parameter Compatibility Information'
[0x31 0xd0 0x3a 0xd0 0x3f 0xc0 ]
-- Accepting call to '01900' on CIC 1
Len = 14 [ f0 89 0b 85 08 c5 58 11 01 00 06 40 14 00 ]
FSN: 9 FIB 1
BSN: 112 BIB 1
>[1] MSU
[ f0 89 0b ]
Network Indicator: 2 Priority: 0 User Part: ISUP (5)
[ 85 ]
OPC 1379 DPC 1288 SLS 1
[ 08 c5 58 11 ]
CIC: 1
[ 01 00 ]
Message Type: ACM
[ 06 ]
--FIXED LENGTH PARMS[1]--
Backward Call Indicator:
Charge indicator: 0
Called party's status indicator: 0
Called party's category indicator: 0
End to End method indicator: 1
Interworking indicator: 0
End to End information indicator: 0
ISDN user part indicator: 1
Holding indicator: 0
ISDN access indicator: 1
Echo control device indicator: 0
SCCP method indicator: 0
[ 40 14 ]
-- Executing [01900 at from-ss7:1] Answer("DAHDI/1-1", "") in new stack
Len = 12 [ f0 8a 09 85 08 c5 58 11 01 00 09 00 ]
FSN: 10 FIB 1
BSN: 112 BIB 1
>[1] MSU
[ f0 8a 09 ]
Network Indicator: 2 Priority: 0 User Part: ISUP (5)
[ 85 ]
OPC 1379 DPC 1288 SLS 1
[ 08 c5 58 11 ]
CIC: 1
[ 01 00 ]
Message Type: ANM
[ 09 ]
-- Executing [01900 at from-ss7:2] Playback("DAHDI/1-1",
"/var/lib/asterisk/sounds/en/followme/pls-hold-while-try") in new stack
-- <DAHDI/1-1> Playing
'/var/lib/asterisk/sounds/en/followme/pls-hold-while-try.gsm' (language
'en')
-- Executing [01900 at from-ss7:3] MusicOnHold("DAHDI/1-1",
"default,60") in new stack
-- Started music on hold, class 'default', on DAHDI/1-1
/*/etc/dahdi/system.conf*/:
/loadzone=za
defaultzone=za
span=1,1,0,ccs,hdb3,crc4
bchan=1-15,17-31
mtp2=16
span=2,1,0,ccs,hdb3,crc4
bchan=32-46,48-62
mtp2=47
*/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
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=32
channel=32-46
cicbeginswith=48
channel=48-62
/
/
--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-ss7/attachments/20120801/02311d2d/attachment-0001.htm>
More information about the asterisk-ss7
mailing list