Asterisk Libss7 outbound calls not working after restart


#1

Hi all,

I had a perfectly fine running system with asterisk 1.6.2.14, dahdi-linux-complete-2.4.0+2.4.0 and libss7-1.0.2 with 2 Digium TE410 cards on Fedora release 14.
Incoming and outgoing calls were working just fine until couple of days ago system hanged and was restarted. after that i found that outbound calls are not working anymore.

tested with following call file

[test.call]
Channel: DAHDI/g1/0122xxxxx
Context: ss7
Extension: 8188
Priority: 1

I have tried almost everything but of no use. can any one tell me what has gone wrong. below is the trace

-- Attempting call on DAHDI/g1/0122xxxxx for 8188@ss7:1 (Retry 1)

Len = 26 [ f8 cd 17 85 f1 47 fa 21 02 00 01 00 60 01 0a 00 02 00 07 03 10 10 22 31 89 f6 ]
FSN: 77 FIB 1
BSN: 120 BIB 1

[0] MSU
[ f8 cd 17 ]
Network Indicator: 2 Priority: 0 User Part: ISUP (5)
[ 85 ]
OPC xxxx DPC xxxx SLS 2
[ f1 47 fa 21 ]
CIC: 2
[ 02 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: 0
Numbering plan: 1
Address signals: 0122xxxxx#
[ 07 03 10 10 22 31 89 f6 ]

Len = 14 [ cd f9 0b 85 e9 47 fc 11 02 00 03 01 00 00 ]
FSN: 121 FIB 1
BSN: 77 BIB 1
<[0] MSU
[ cd f9 0b ]
Network Indicator: 2 Priority: 0 User Part: ISUP (5)
[ 85 ]
OPC xxxx DPC xxxx SLS 1
[ e9 47 fc 11 ]
CIC: 2
[ 02 00 ]
Message Type: Unknown
[ 03 ]
[Sep 16 14:48:58] ERROR[5562]: chan_dahdi.c:12074 dahdi_ss7_error: !! Unable to handle message of type 0x3

[Sep 16 14:48:58] ERROR[5562]: chan_dahdi.c:12074 dahdi_ss7_error: !! Unable to handle message of type 0x3 on CIC 2

Len = 16 [ d0 fc 0d 85 e9 47 fc 11 02 00 0c 02 00 02 82 e6 ]
FSN: 124 FIB 1
BSN: 80 BIB 1
<[0] MSU
[ d0 fc 0d ]
Network Indicator: 2 Priority: 0 User Part: ISUP (5)
[ 85 ]
OPC xxxx DPC xxxx SLS 1
[ e9 47 fc 11 ]
CIC: 2
[ 02 00 ]
Message Type: REL
[ 0c ]
–VARIABLE LENGTH PARMS[1]–
Cause Indicator:
Coding Standard: 0
Location: 2
Cause Class: 6
Cause Subclass: 6
Cause: Unknown (102)
[ 02 82 e6 ]

Len = 12 [ fc d1 09 85 f1 47 fa 21 02 00 10 00 ]
FSN: 81 FIB 1
BSN: 124 BIB 1

[0] MSU
[ fc d1 09 ]
Network Indicator: 2 Priority: 0 User Part: ISUP (5)
[ 85 ]
OPC xxxx DPC xxxx SLS 2
[ f1 47 fa 21 ]
CIC: 2
[ 02 00 ]
Message Type: RLC
[ 10 ]

-- Hungup 'DAHDI/2-1'

[Sep 16 14:49:12] NOTICE[7932]: pbx_spool.c:339 attempt_thread: Call failed to go through, reason (1) Hangup

====================================================================================

Below are the configs

[system.conf]
span=1,1,0,ccs,hdb3
bchan=2-31
mtp2=1

span=2,2,0,ccs,hdb3
bchan=32-62
#echocanceller=mg2,32-62
span=3,3,0,ccs,hdb3
bchan=63-93
span=4,4,0,ccs,hdb3
bchan=94-124
span=5,5,0,ccs,hdb3
bchan=125-155
span=6,6,0,ccs,hdb3
bchan=156-186
span=7,7,0,ccs,hdb3
bchan=187-217
span=8,8,0,ccs,hdb3
bchan=218-248

loadzone = us
defaultzone = us

[chan_dahdi.conf]

[trunkgroups]
[channels]
echocancel=yes
echocancelwhenbridged=yes
group=1
rxgain=10
txgain=10
context=ss7
signalling=ss7
ss7type=itu
ss7_called_nai=national
ss7_calling_nai=national
linkset=1
pointcode=xxxx
adjpointcode=xxxx
defaultdpc=xxxx
networkindicator=national
sigchan=1
cicbeginswith=2
channel=2-31
cicbeginswith=33
channel=32-62
cicbeginswith=65
channel=63-93
cicbeginswith=97
channel=94-124
cicbeginswith=129
channel=125-155
cicbeginswith=161
channel=156-186
cicbeginswith=193
channel=187-217
cicbeginswith=225
channel=218-248

ss7_internationalprefix=000
ss7_nationalprefix=0


#2

Hi,

Resolved the problem. Operator was not allowing outbound call without Callerid, so changed the .call file as below and it worked like a charm.

[test.call]
Channel: DAHDI/g1/0122xxxxx
Callerid: 8189
Context: ss7
Extension: 8188
Priority: 1