[asterisk-ss7] Redundant sigchan, libss7

Kaloyan Kovachev kkovachev at varna.net
Tue Mar 6 02:04:13 CST 2012


Hi,
 move your sigchan definitions at the end - see below

On Mon, 5 Mar 2012 12:35:56 -0800 (PST), Marcus Vinicius
<marc_mcs10 at yahoo.com.br> wrote:
> Hello, 
> 
> I'm trying to setup a cenario with 2 sigchan in a linkset. Each sigchan
is
> on an E1 link.
> 
> I have 3 E1 links: 
> 
> span=1,0,0,ccs,hdb3,crc4
> bchan=1-31    # voice only
> 
> span=2,0,0,ccs,hdb3,crc4
> bchan=32-46,48-62
> mtp2=47        # sigchan master
> 
> span=3,0,0,ccs,hdb3,crc4
> bchan=63-77,79-93
> mtp2=78        # sigchan backup
> 
> 
> Here is my linkset configuration: 
> 
> chan_dahdi.conf
> 
> signalling=ss7
> ss7type=itu
> ss7_called_nai=dynamic
> ss7_calling_nai=dynamic
> networkindicator=national
> linkset=2
> pointcode=1
> defaultdpc=12
> adjpointcode=12
> 
> sigchan=47
> group=1
> cicbeginswith=1
> context=from-pstn-01
> channel=>1-31
> 
> 
> group=2
> context=from-pstn-02
> cicbeginswith=32
> channel=>32-46
> cicbeginswith=48
> channel=>48-62
> 
> 
> sigchan=78
> group=3
> context=from-pstn-03
> cicbeginswith=63
> channel=>63-77
> cicbeginswith=79
> channel=>79-93
> 

define both sigchans here and make sure you use the correct SLC

> 
> 
> When channel 47 is working, 'ss7 show linkset 2' show 'status: Up'. And
I
> can make calls.
> 
> But if I disconnect the cable of the span 2, then the states of linkset
is
> 'down'. I can't sincronize with channel 78 (span3). 
> 
> Is there any way to have a redundant signal channel? When my sigchan 47
is
> down, I like to use channel 78 as sigchan.
> 
> 
> 
> In the remote side of span3 (asterisk too), I can see the logs below on
> 'dahdi restart'
> 
> [2] Len = 4 [ ff ff 01 00 ]
> [2] FSN: 127 FIB 1
> [2] BSN: 127 BIB 1
> [2] <[1] LSSU SIO
> [2]
> [2] Link state change: ALIGNEDREADY -> IDLE
> [2] Link state change: IDLE -> NOTALIGNED
> [2] Len = 4 [ ff ff 01 02 ]
> [2] FSN: 127 FIB 1
> [2] BSN: 127 BIB 1
> [2] <[1] LSSU SIE
> [2]
> [2] Link state change: NOTALIGNED -> PROVING
> [2] T4 expired!
> [2] Link state change: PROVING -> ALIGNEDREADY
> [2] Len = 3 [ ff ff 00 ]
> [2] FSN: 127 FIB 1
> [2] BSN: 127 BIB 1
> [2] >[1] FISU
> [2]
> [2] Len = 3 [ ff ff 00 ]
> [2] FSN: 127 FIB 1
> [2] BSN: 127 BIB 1
> [2] <[1] FISU
> [2]
> [2] Link state change: ALIGNEDREADY -> INSERVICE
> MTP2 link up (SLC 1)
> [2] Len = 9 [ ff 80 06 80 01 00 03 10 17 ]
> [2] FSN: 0 FIB 1
> [2] BSN: 127 BIB 1
> [2] >[0] MSU
> [2] [ ff 80 06 ]
> [2]     Network Indicator: 2 Priority: 0 User Part: NET_MNG (0)
> [2]     [ 80 ]
> [2]     OPC 12 DPC 1 SLS 1
> [2]     [ 01 00 03 10 ]
> [2]     H0: 7 H1: 1
> [2]     Message type: TRA
> [2]     [ 17 ]
> [2]
> [2] Len = 20 [ ff 81 11 81 01 00 03 10 11 a0 32 35 36 34 32 38 36 32 38
38
> ]
> [2] FSN: 1 FIB 1
> [2] BSN: 127 BIB 1
> [2] >[0] MSU
> [2] [ ff 81 11 ]
> [2]     Network Indicator: 2 Priority: 0 User Part: STD_TEST (1)
> [2]     [ 81 ]
> [2]     OPC 12 DPC 1 SLS 1
> [2]     [ 01 00 03 10 ]
> [2]     H0: 1 H1: 1
> [2]     [ 11 ]
> [2]
> [2] Len = 4 [ ff ff 01 00 ]
> [2] FSN: 127 FIB 1
> [2] BSN: 127 BIB 1
> [2] >[0] LSSU SIO
> [2]
> 
> 
> I will appreciate any help or sugestions.
> 
> 
> thanks a lot.
> 
> 
> --
> Marcus



More information about the asterisk-ss7 mailing list