[asterisk-ss7] libss7 seem to work upto MTP-3 layer, but not receiving any calls

Matt Fredrickson creslin at digium.com
Wed Dec 6 11:49:52 MST 2006


Can the other end give you a reason as to why it's not staying up?

Matthew Fredrickson

----- umar tarar <umar.tarar at gmail.com> wrote:
> ok i re-checked & installed every thing (zaptel-trunk, libss7-trunk &
> asterisk-trunk), there is no
> problem except for one i.e.
> 
> Asterisk Ready.
> *CLI> [ Nov 25 01:11:39 ] ERROR[15836]: chan_zap.c:8498 ss7_linkset:
> Error in
> write Unknown error 500
> 
> the linkset debug log that I had using 'ss7 debug linkset 1' is:
> 
> ====================
> *CLI> ss7 debug linkset 1
> Enabled debugging on linkset 1
> *CLI> [1] FSN: 1 FIB 1
> [1] BSN: 0 BIB 1
> [1] > FISU
> [1]
> *CLI> [1] Len = 16 [ [1] 81 [1] 81 [1] 0b [1] 81 [1] 08 [1] d3 [1] bc
> [1] 14
> [1] 11 [1] 40 [1] 00 [1] ff [1] 55 [1] aa [1] 35 [1] 9b [1] ]
> [1] FSN: 1 FIB 1
> [1] BSN: 1 BIB 1
> [1] < MSU
> [1] Network Indicator 0x2
> [1] OPC 4851 DPC 4872
> [1] User Part: STD_TEST (1) Priority: 0
> [1] H0: 1 H1: 1
> [1] Message type: COO
> [1]
> [1] Len = 16 [ [1] 81 [1] 82 [1] 0b [1] 81 [1] f3 [1] 12 [1] c2 [1] 04
> [1]
> 21 [1] 40 [1] 00 [1] ff [1] 55 [1] aa [1] 00 [1] 00 [1] ]
> [1] FSN: 2 FIB 1
> [1] BSN: 1 BIB 1
> [1] > MSU
> [1] Network Indicator 0x2
> [1] OPC 4872 DPC 4851
> [1] User Part: STD_TEST (1) Priority: 0
> [1] H0: 1 H1: 2
> [1] Message type: COA
> [1]
> [1] FSN: 1 FIB 1
> [1] BSN: 2 BIB 1
> [1] < LSSU SIOS
> [1]
> [1] Link state change: INSERVICE -> IDLE
> [1] FSN: 127 FIB 1
> [1] BSN: 127 BIB 1
> [1] < LSSU SIO
> [1]
> [1] Link state change: IDLE -> ALIGNED
> [1] FSN: 127 FIB 1
> [1] BSN: 127 BIB 1
> [1] < LSSU SIE
> [1]
> [1] Link state change: NOTALIGNED -> PROVING
> [1] T4 expired!
> [1] Link state change: PROVING -> ALIGNEDREADY
> [1] FSN: 127 FIB 1
> [1] BSN: 127 BIB 1
> [1] > FISU
> [1]
> [1] FSN: 127 FIB 1
> [1] BSN: 127 BIB 1
> [1] < FISU
> [1]
> [1] Link state change: ALIGNEDREADY -> INSERVICE
> [1] Len = 22 [ [1] ff [1] 80 [1] 11 [1] 81 [1] 08 [1] 13 [1] c2 [1] 04
> [1]
> 11 [1] a0 [1] 32 [1] 35 [1] 36 [1] 34 [1] 32 [1] 38 [1] 36 [1] 32 [1]
> 38 [1]
> 38 [1] 00 [1] 00 [1] ]
> [1] FSN: 0 FIB 1
> [1] BSN: 127 BIB 1
> [1] > MSU
> [1] Network Indicator 0x2
> [1] OPC 4872 DPC 4872
> [1] User Part: STD_TEST (1) Priority: 0
> [1] H0: 1 H1: 1
> [1] Message type: COO
> [1]
> [1] Len = 16 [ [1] ff [1] 80 [1] 0b [1] 81 [1] 08 [1] d3 [1] bc [1] 14
> [1]
> 11 [1] 40 [1] 00 [1] ff [1] 55 [1] aa [1] 91 [1] 4f [1] ]
> [1] FSN: 0 FIB 1
> [1] BSN: 127 BIB 1
> [1] < MSU
> [1] Network Indicator 0x2
> [1] OPC 4851 DPC 4872
> [1] User Part: STD_TEST (1) Priority: 0
> [1] H0: 1 H1: 1
> [1] Message type: COO
> [1]
> [1] Len = 16 [ [1] 80 [1] 81 [1] 0b [1] 81 [1] f3 [1] 12 [1] c2 [1] 04
> [1]
> 21 [1] 40 [1] 00 [1] ff [1] 55 [1] aa [1] 00 [1] 00 [1] ]
> [1] FSN: 1 FIB 1
> [1] BSN: 0 BIB 1
> [1] > MSU
> [1] Network Indicator 0x2
> [1] OPC 4872 DPC 4851
> [1] User Part: STD_TEST (1) Priority: 0
> [1] H0: 1 H1: 2
> [1] Message type: COA
> [1]
> [1] Len = 16 [ [1] 81 [1] 81 [1] 0b [1] 81 [1] 08 [1] d3 [1] bc [1] 14
> [1]
> 11 [1] 40 [1] 00 [1] ff [1] 55 [1] aa [1] 35 [1] 9b [1] ]
> [1] FSN: 1 FIB 1
> [1] BSN: 1 BIB 1
> [1] < MSU
> [1] Network Indicator 0x2
> [1] OPC 4851 DPC 4872
> [1] User Part: STD_TEST (1) Priority: 0
> [1] H0: 1 H1: 1
> [1] Message type: COO
> [1]
> [1] Len = 16 [ [1] 81 [1] 82 [1] 0b [1] 81 [1] f3 [1] 12 [1] c2 [1] 04
> [1]
> 21 [1] 40 [1] 00 [1] ff [1] 55 [1] aa [1] 00 [1] 00 [1] ]
> [1] FSN: 2 FIB 1
> [1] BSN: 1 BIB 1
> [1] > MSU
> [1] Network Indicator 0x2
> [1] OPC 4872 DPC 4851
> [1] User Part: STD_TEST (1) Priority: 0
> [1] H0: 1 H1: 2
> [1] Message type: COA
> [1]
> [1] FSN: 1 FIB 1
> [1] BSN: 2 BIB 1
> [1] < LSSU SIOS
> [1]
> [1] Link state change: INSERVICE -> IDLE
> [1] FSN: 127 FIB 1
> [1] BSN: 127 BIB 1
> [1] < LSSU SIO
> [1]
> [1] Link state change: IDLE -> ALIGNED
> [1] FSN: 127 FIB 1
> [1] BSN: 127 BIB 1
> [1] < LSSU SIE
> [1]
> [1] Link state change: NOTALIGNED -> PROVING
> [1] T4 expired!
> [1] Link state change: PROVING -> ALIGNEDREADY
> [1] FSN: 127 FIB 1
> [1] BSN: 127 BIB 1
> [1] > FISU
> [1]
> [1] FSN: 127 FIB 1
> [1] BSN: 127 BIB 1
> [1] < FISU
> [1]
> [1] Link state change: ALIGNEDREADY -> INSERVICE
> [1] Len = 22 [ [1] ff [1] 80 [1] 11 [1] 81 [1] 08 [1] 13 [1] c2 [1] 04
> [1]
> 11 [1] a0 [1] 32 [1] 35 [1] 36 [1] 34 [1] 32 [1] 38 [1] 36 [1] 32 [1]
> 38 [1]
> 38 [1] 00 [1] 00 [1] ]
> [1] FSN: 0 FIB 1
> [1] BSN: 127 BIB 1
> [1] > MSU
> [1] Network Indicator 0x2
> [1] OPC 4872 DPC 4872
> [1] User Part: STD_TEST (1) Priority: 0
> [1] H0: 1 H1: 1
> [1] Message type: COO
> 
> [1]
> [1] Len = 16 [ [1] 80 [1] 81 [1] 0b [1] 81 [1] f3 [1] 12 [1] c2 [1] 04
> [1]
> 21 [1] 40 [1] 00 [1] ff [1] 55 [1] aa [1] 00 [1] 00 [1] ]
> [1] FSN: 1 FIB 1
> [1] BSN: 0 BIB 1
> [1] > MSU
> [1] Network Indicator 0x2
> [1] OPC 4872 DPC 4851
> [1] User Part: STD_TEST (1) Priority: 0
> [1] H0: 1 H1: 2
> [1] Message type: COA
> [1]
> [1] Len = 16 [ [1] 81 [1] 81 [1] 0b [1] 81 [1] 08 [1] d3 [1] bc [1] 14
> [1]
> 11 [1] 40 [1] 00 [1] ff [1] 55 [1] aa [1] 35 [1] 9b [1] ]
> ====================
> 
> 
> moreover when i tried to restart the zap channels, the following
> happened:
> 
> ====================
> *CLI> zap restart
> Destroying channels and reloading zaptel configuration.
> == Parsing '/etc/asterisk/zapata.conf': Found
> [ Nov 25 02:39:52 ] ERROR[30884]: chan_zap.c:11347 linkset_addsigchan:
> Unable
> to open SS7 sigchan 16 (Device or resource busy)
> [ Nov 25 02:39:52 ] WARNING[30884]: chan_zap.c:10661 zap_restart:
> Reload
> channels from zap config failed!
> Command 'zap restart' failed.
> *CLI>
> ====================
> 
> it says that it is unable to open sigchan 16, but here i must tell u
> that
> there is another server beside ours (that does'nt use asterisk), it
> runs all
> fine on that system when we plug the same link into that system with
> the
> signallin on 16th channel, confirming that there is no problem with
> the ss7
> link
> 
> my new zapata.conf is :
> 
> =====zapata.conf======
> [channels]
> context=ss7
> switchtype=5ess
> usecallerid=yes
> hidecallerid=no
> echocancel=yes
> echocancelwhenbridged=yes
> musiconhold=default
> 
> signalling = ss7
> ss7type = itu
> linkset = 1
> pointcode = 4872
> adjpointcode = 4872
> defaultdpc = 4872
> networkindicator=national
> 
> ;sigchan => 16
> ;channel=>1-15,17-31
> 
> sigchan => 16
> cicbeginswith=1
> channel=>1-15
> cicbeginswith=17
> channel=>17-31
> ===================
> 
> no call comes in & nothing occurs on the CLI ever (except for the
> error messioned above), plz help



More information about the asterisk-ss7 mailing list