[asterisk-ss7] libss7 troubles

Matthew Fredrickson creslin at digium.com
Tue Nov 6 15:15:21 CST 2007


Russ Meyerriecks wrote:
> Hi,
>  I'm sort of stuck on getting this ss7 link up and running. All I know
> about the switch i'm trying to connect to is that it's an Ericsson
> over E1 and what the opc/dpc are. I'm using a Sangoma A101, but as far
> as I can tell, it's up and running correctly. In ss7linktest it goes
> so far as to say --SS7 up--, but then it keeps trying to resend
> messages

It might have something to do with your Sangoma card.  I have seen 
problems with sangoma cards with the hardware D-channel option enabled. 
  Maybe you can check if that is on and turn it off.

Matthew Fredrickson

> 
>  Here is the output of my ss7linktest :
> 
> ./ss7linktest 16 itu 232 1000
> Starting link 1
> Link state change: IDLE -> NOTALIGNED
> Len = 4 [ ff ff 01 00 ]
> FSN: 127 FIB 1
> BSN: 127 BIB 1
>> [0] LSSU SIO
> 
> Len = 4 [ ff ff 01 00 ]
> FSN: 127 FIB 1
> BSN: 127 BIB 1
> <[0] LSSU SIO
> 
> Link state change: NOTALIGNED -> ALIGNED
> Len = 4 [ ff ff 01 02 ]
> FSN: 127 FIB 1
> BSN: 127 BIB 1
>> [0] LSSU SIE
> 
> Len = 4 [ ff ff 01 02 ]
> FSN: 127 FIB 1
> BSN: 127 BIB 1
> <[0] LSSU SIE
> 
> Link state change: ALIGNED -> PROVING
> Len = 3 [ ff ff 00 ]
> FSN: 127 FIB 1
> BSN: 127 BIB 1
> <[0] FISU
> 
> Link state change: PROVING -> ALIGNEDREADY
> Len = 25 [ ff 80 16 c1 e8 00 fa 00 11 f0 aa aa aa aa aa aa aa aa aa aa
> aa aa aa aa aa ]
> FSN: 0 FIB 1
> BSN: 127 BIB 1
> <[0] MSU
> [ ff 80 16 ]
>         Network Indicator: 3 Priority: 0 User Part: STD_TEST (1)
>         [ c1 ]
>         OPC 1000 DPC 232 SLS 0
>         [ e8 00 fa 00 ]
>         H0: 1 H1: 1
>         [ 11 ]
> 
> Link state change: ALIGNEDREADY -> INSERVICE
> Len = 25 [ 80 80 16 c1 e8 03 3a 00 21 f0 aa aa aa aa aa aa aa aa aa aa
> aa aa aa aa aa ]
> FSN: 0 FIB 1
> BSN: 0 BIB 1
>> [0] MSU
> [ 80 80 16 ]
>         Network Indicator: 3 Priority: 0 User Part: STD_TEST (1)
>         [ c1 ]
>         OPC 232 DPC 1000 SLS 0
>         [ e8 03 3a 00 ]
>         H0: 1 H1: 2
>         [ 21 ]
> 
> [0] MTP2 link up
> [0] --- SS7 Up ---
> Len = 9 [ 80 81 06 c0 e8 03 3a 00 17 ]
> FSN: 1 FIB 1
> BSN: 0 BIB 1
>> [0] MSU
> [ 80 81 06 ]
>         Network Indicator: 3 Priority: 0 User Part: NET_MNG (0)
>         [ c0 ]
>         OPC 232 DPC 1000 SLS 0
>         [ e8 03 3a 00 ]
>         H0: 7 H1: 1
>         Message type: TRA
>         [ 17 ]
> 
> Len = 20 [ 80 82 11 c1 e8 03 3a 00 11 a0 32 35 36 34 32 38 36 32 38 38 ]
> FSN: 2 FIB 1
> BSN: 0 BIB 1
>> [0] MSU
> [ 80 82 11 ]
>         Network Indicator: 3 Priority: 0 User Part: STD_TEST (1)
>         [ c1 ]
>         OPC 232 DPC 1000 SLS 0
>         [ e8 03 3a 00 ]
>         H0: 1 H1: 1
>         [ 11 ]
> 
> Len = 14 [ 80 83 0b c5 e8 03 3a 10 01 00 17 01 01 17 ]
> FSN: 3 FIB 1
> BSN: 0 BIB 1
>> [0] MSU
> [ 80 83 0b ]
>         Network Indicator: 3 Priority: 0 User Part: ISUP (5)
>         [ c5 ]
>         OPC 232 DPC 1000 SLS 1
>         [ e8 03 3a 10 ]
>                 CIC: 1
>                 [ 01 00 ]
>                 Message Type: GRS
>                 [ 17 ]
>                 --VARIABLE LENGTH PARMS[1]--
>                 Range and status:
>                         Range: 23
>                         [ 01 17 ]
> 
> Got retransmission request sequence numbers greater than 127.
> Retransmitting 4 message(s).
> 
> If I try this in asterisk, all I get is :
> Got retransmission request sequence numbers greater than 127.
> Retransmitting 4 message(s).
> Got retransmission request sequence numbers greater than 127.
> Retransmitting 4 message(s).
> Got retransmission request sequence numbers greater than 127.
> Retransmitting 4 message(s).
> Got retransmission request sequence numbers greater than 127.
> Retransmitting 4 message(s).  etc ....
> 
> Here is my conf files:
>> cat /etc/zaptel.conf
> loadzone=in
> defaultzone=in
> 
> #Sangoma A101 port 1 [slot:2 bus:1 span: 1]
> span=1,0,0,ccs,hdb3
> bchan=1-15,17-31
> dchan=16
> 
>> cat /etc/asterisk/zapata.conf
> [channels]
> signalling=ss7
> ss7type=itu
> linkset=1
> switchtype=national
> networkindicator = national_spare
> context=from-pstn
> pointcode=232
> adjpointcode=1000
> defaultdpc=1000
> cicbeginswith=1
> channel=1-15
> cicbeginswith=17
> channel=17-31
> sigchan=16
> 
> Any help would be greatly appreciated.
> Thanks,
>   Russ
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-ss7 mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-ss7


-- 
Matthew Fredrickson
Software/Firmware Engineer
Digium, Inc.



More information about the asterisk-ss7 mailing list