[asterisk-ss7] ALIGNMENT Problem

Marcus Vinicius marc_mcs10 at yahoo.com.br
Wed Jun 13 13:58:14 CDT 2012


Hi Gustavo,

There is no IRQ conflit. My card is on an exclusive IRQ.

I changed everthing, the cables, the balum, the TDM link...
Now the linkset stays up for a more time, about 5 minutes. I even can make calls, But suddenly I get another SIOS from my Telco and the link gets down again:


SRR-JT-MGA01*CLI> ss7 show linkset 1
SS7 linkset 1 status: Up
SRR-JT-MGA01*CLI>
SRR-JT-MGA01*CLI>
SRR-JT-MGA01*CLI>
[1] Len = 20 [ 81 82 11 81 0d 83 a9 00 11 a0 aa aa aa aa aa aa aa aa aa aa ]
[1] FSN: 2 FIB 1
[1] BSN: 1 BIB 1
[1] <[0] MSU
[1] [ 81 82 11 ]
[1]     Network Indicator: 2 Priority: 0 User Part: STD_TEST (1)
[1]     [ 81 ]
[1]     OPC 678 DPC 781 SLS 0
[1]     [ 0d 83 a9 00 ]
[1]     H0: 1 H1: 1
[1]     [ 11 ]
[1]
Linkset 1: Processing event: SS7_EVENT_UP
[1] Len = 20 [ 82 82 11 81 a6 42 c3 00 21 a0 aa aa aa aa aa aa aa aa aa aa ]
[1] FSN: 2 FIB 1
[1] BSN: 2 BIB 1
[1] >[0] MSU
[1] [ 82 82 11 ]
[1]     Network Indicator: 2 Priority: 0 User Part: STD_TEST (1)
[1]     [ 81 ]
[1]     OPC 781 DPC 678 SLS 0
[1]     [ a6 42 c3 00 ]
[1]     H0: 1 H1: 2
[1]     [ 21 ]
[1]
[1] Len = 4 [ 82 82 01 03 ]
[1] FSN: 2 FIB 1
[1] BSN: 2 BIB 1
[1] <[0] LSSU SIOS
[1]
[1] Link state change: INSERVICE -> IDLE
[1] Link state change: IDLE -> NOTALIGNED
Linkset 1: Processing event: Unknown Event
[Jun 13 15:41:46] WARNING[2767]: sig_ss7.c:764 ss7_linkset: MTP2 link down (SLC 0)
[1] Len = 4 [ ff ff 01 00 ]
[1] FSN: 127 FIB 1
[1] BSN: 127 BIB 1
[1] >[0] LSSU SIO
[1]
[1] Len = 4 [ ff ff 01 00 ]
[1] FSN: 127 FIB 1
[1] BSN: 127 BIB 1
[1] <[0] LSSU SIO
[1]
[1] Link state change: NOTALIGNED -> ALIGNED
[1] Len = 4 [ ff ff 01 02 ]
[1] FSN: 127 FIB 1
[1] BSN: 127 BIB 1
[1] >[0] LSSU SIE
[1]
[1] Len = 4 [ ff ff 01 02 ]
[1] FSN: 127 FIB 1
[1] BSN: 127 BIB 1
[1] <[0] LSSU SIE
[1]
[1] Link state change: ALIGNED -> PROVING
SRR-JT-MGA01*CLI> ss7 show linkset 1
SS7 linkset 1 status: Up
[1] T4 expired!
[1] Link state change: PROVING -> ALIGNEDREADY
[1] Len = 3 [ ff ff 00 ]
[1] FSN: 127 FIB 1
[1] BSN: 127 BIB 1
[1] >[0] FISU
[1]
[1] Len = 3 [ ff ff 00 ]
[1] FSN: 127 FIB 1
[1] BSN: 127 BIB 1
[1] <[0] FISU
[1]
[1] Link state change: ALIGNEDREADY -> INSERVICE
Linkset 1: Processing event: Unknown Event
MTP2 link up (SLC 0)
[1] Len = 20 [ ff 80 11 81 a6 42 c3 00 11 a0 32 35 36 34 32 38 36 32 38 38 ]
[1] FSN: 0 FIB 1
[1] BSN: 127 BIB 1
[1] >[0] MSU
[1] [ ff 80 11 ]
[1]     Network Indicator: 2 Priority: 0 User Part: STD_TEST (1)
[1]     [ 81 ]
[1]     OPC 781 DPC 678 SLS 0
[1]     [ a6 42 c3 00 ]
[1]     H0: 1 H1: 1
[1]     [ 11 ]
[1]
[1] Got retransmission request sequence numbers greater than 127. Retransmitting 1 message(s).
[1] Len = 20 [ ff 00 11 81 a6 42 c3 00 11 a0 32 35 36 34 32 38 36 32 38 38 ]
[1] FSN: 0 FIB 0
[1] BSN: 127 BIB 1
[1] >[0] MSU
[1] [ ff 00 11 ]
[1]     Network Indicator: 2 Priority: 0 User Part: STD_TEST (1)
[1]     [ 81 ]
[1]     OPC 781 DPC 678 SLS 0
[1]     [ a6 42 c3 00 ]
[1]     H0: 1 H1: 1
[1]     [ 11 ]
[1]
[1] Len = 20 [ 00 80 11 81 0d 83 a9 00 11 a0 aa aa aa aa aa aa aa aa aa aa ]
[1] FSN: 0 FIB 1
[1] BSN: 0 BIB 0
[1] <[0] MSU
[1] [ 00 80 11 ]
[1]     Network Indicator: 2 Priority: 0 User Part: STD_TEST (1)
[1]     [ 81 ]
[1]     OPC 678 DPC 781 SLS 0
[1]     [ 0d 83 a9 00 ]
[1]     H0: 1 H1: 1
[1]     [ 11 ]
[1]
Linkset 1: Processing event: SS7_EVENT_UP
[1] Len = 20 [ 80 01 11 81 a6 42 c3 00 21 a0 aa aa aa aa aa aa aa aa aa aa ]
[1] FSN: 1 FIB 0
[1] BSN: 0 BIB 1
[1] >[0] MSU
[1] [ 80 01 11 ]
[1]     Network Indicator: 2 Priority: 0 User Part: STD_TEST (1)
[1]     [ 81 ]
[1]     OPC 781 DPC 678 SLS 0
[1]     [ a6 42 c3 00 ]
[1]     H0: 1 H1: 2
[1]     [ 21 ]
[1]
[1] Len = 20 [ 00 81 11 81 0d 83 a9 00 21 a0 32 35 36 34 32 38 36 32 38 38 ]
[1] FSN: 1 FIB 1
[1] BSN: 0 BIB 0
[1] <[0] MSU
[1] [ 00 81 11 ]
[1]     Network Indicator: 2 Priority: 0 User Part: STD_TEST (1)
[1]     [ 81 ]
[1]     OPC 678 DPC 781 SLS 0
[1]     [ 0d 83 a9 00 ]
[1]     H0: 1 H1: 2
[1]     [ 21 ]
[1]


I'll make some corrections from eletric infra structure, but I really don't know what more can I do for fix this problem :(


thanks a lot!


--
Marcus




________________________________
 De: Gustavo Mársico <gustavomarsico at gmail.com>
Para: asterisk-ss7 at lists.digium.com 
Cc: Marcus Vinicius <marc_mcs10 at yahoo.com.br> 
Enviadas: Quarta-feira, 6 de Junho de 2012 17:45
Assunto: Re: [asterisk-ss7] ALIGNMENT Problem
 
I faced the same problem a few days ago. The E1 looks like ok, no slips, frame errors, etc. But the IRQ misses increases a lot, and the links never comes up.


On May 29, 2012, at 5:10 AM, Kaloyan Kovachev wrote:

> On Mon, 28 May 2012 18:40:27 -0700 (PDT), Marcus Vinicius
> <marc_mcs10 at yahoo.com.br> wrote:
>> Hi,
>> 
>> I run ss7linktest with information sent me by telco, but I get the same
>> error:
>> 
>> 
>> ./ss7linktest 16 itu 781 678
>> 
>> 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 = 4 [ ff ff 01 03 ]
>> FSN: 127 FIB 1
>> BSN: 127 BIB 1
>> <[0] LSSU SIOS
> 
> Here the other end is closing the connection - noting wrong on your side.
> Is the link enabled (and properly configured) at telco side?
> 
>> 
>> Link state change: PROVING -> IDLE
>> 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 = 4 [ ff ff 01 03 ]
>> FSN: 127 FIB 1
>> BSN: 127 BIB 1
>> <[0] LSSU SIOS
>> 
>> Link state change: PROVING -> IDLE
>> Link state change: IDLE -> NOTALIGNED
>> Len = 4 [ ff ff 01 00 ]
>> FSN: 127 FIB 1
>> BSN: 127 BIB 1
>>> [0] LSSU SIO
>> 
>> 
>> 
>> I don't have any slip or crc error. The link looks good, but it can't
> gets
>> up;
>> 
>> thanks
>> 
>> --
>> Marcus
>> 
>> 
>> 
>> 
>> ________________________________
>> De: Kaloyan Kovachev <kkovachev at varna.net>
>> Para: Marcus Vinicius <marc_mcs10 at yahoo.com.br> 
>> Enviadas: Segunda-feira, 28 de Maio de 2012 11:27
>> Assunto: Re: [asterisk-ss7] ALIGNMENT Problem
>> 
>> try ss7lintest from libss7 with asterisk stopped:
>> ss7linktest 16 itu XXX YYY
>> 
>> and see if it will align
>> 
>> On Mon, 28 May 2012 07:05:10 -0700 (PDT), Marcus Vinicius
>> <marc_mcs10 at yahoo.com.br> wrote:
>>> Hello,
>>> 
>>> The config are correct according from telco: 
>>> 
>>> 
>>> 
>>> signalling=ss7
>>> ss7type=itu
>>> ss7_called_nai=dynamic
>>> ss7_calling_nai=dynamic
>>> networkindicator=national
>>> pointcode=781
>>> 
>>> linkset=1
>>> pointcode=XXX
>>> defaultdpc=YYY
>>> adjpointcode=YYY
>>> context=from-pstn-01
>>> 
>>> group=1
>>> cicbeginswith=1
>>> channel=>1-15
>>> 
>>> cicbeginswith=301
>>> channel=>17-31
>>> sigchan=16
>>> 
>>> 
>>> 
>>> I'll see the cables, but the link is UP: 
>>> 
>>> 
>>> Description                              Alarms  IRQ    bpviol CRC  
>> Fra
>>> Codi Options  LBO
>>> AP408 Card 1 Span 1                      OK      0      0      0    
>> CCS
>>> HDB3          0 db (CSU)/0-133 feet (DSX-1)
>>> 
>>> 
>>> 
>>> Thanks a lot
>>> 
>>> 
>>> --
>>> Marcus
>>> 
>>> 
>>> 
>>> 
>>> ________________________________
>>>   De: Kaloyan Kovachev <kkovachev at varna.net>
>>> Para: Marcus Vinicius <marc_mcs10 at yahoo.com.br>;
>>> asterisk-ss7 at lists.digium.com 
>>> Enviadas: Segunda-feira, 28 de Maio de 2012 6:18
>>> Assunto: Re: [asterisk-ss7] ALIGNMENT Problem
>>>  
>>> Hi,
>>> 
>>> On Thu, 24 May 2012 06:47:28 -0700 (PDT), Marcus Vinicius
>>> <marc_mcs10 at yahoo.com.br> wrote:
>>>> Hi,
>>>> 
>>>> I can't alignment a libss7 Asterisk with a TDM switch (Huawei/UMG)
>>> because
>>>> the link doesn't pass the "PROVING" state. 
>>>> 
>>>> All configurations are correct according from telco, but I always get
>>> the
>>>> same logs: 
>>> 
>>> check your cables and double check your config for the correct
> signaling
>>> channel
> 
> --
> _____________________________________________________________________
> -- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-ss7/attachments/20120613/1ef70724/attachment.htm>


More information about the asterisk-ss7 mailing list