[asterisk-ss7] USING TIMESLOT OTHER THAN 16 FOR SIGNALLING
Marcelo Pacheco
marcelo at m2j.com.br
Tue Jun 16 14:59:46 CDT 2009
Obviously I miss comunicated. My point was asking the mobile operator
not to use SCCP, use only ISUP.
ISUP is for straight voice.
SCCP is for pretty much everything else, including SMS.
There's a proper MTP3 that Asterisk can reply to SCCP traffic that tells
the other switch it can't talk SCCP, instead of considering it a
critical error, that's an usefull feature that should be implemented.
research at businesstz.com wrote:
> Dear all
>
> Im struggling to get the linkset up.. the B-Part has confirmed that the
> signaling is indeed on channel number 1 but still is a problem on my
> side.. i can see it drop the sccp messages but atleast i should get the
> layer 1 and 2 up. any advice
>
> ***********
> [root at localhost libss7-trunk]# ./ss7linktest 1 itu 1311 12545
> 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 = 3 [ 83 84 00 ]
> FSN: 4 FIB 1
> BSN: 3 BIB 1
> <[0] FISU
>
> Huh?! Got FISU in link state 1
> Len = 4 [ 83 84 01 03 ]
> FSN: 4 FIB 1
> BSN: 3 BIB 1
> <[0] LSSU SIOS
>
> Link state change: NOTALIGNED -> NOTALIGNED
> 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
> T4 expired!
> Link state change: PROVING -> ALIGNEDREADY
> Len = 3 [ ff ff 00 ]
> FSN: 127 FIB 1
> BSN: 127 BIB 1
>
>> [0] FISU
>>
>
> Len = 3 [ ff ff 00 ]
> FSN: 127 FIB 1
> BSN: 127 BIB 1
> <[0] FISU
>
> Link state change: ALIGNEDREADY -> INSERVICE
> [0] MTP2 link up
> Len = 9 [ ff 80 06 80 01 f1 47 01 17 ]
> FSN: 0 FIB 1
> BSN: 127 BIB 1
>
>> [0] MSU
>>
> [ ff 80 06 ]
> Network Indicator: 2 Priority: 0 User Part: NET_MNG (0)
> [ 80 ]
> OPC 1311 DPC 12545 SLS 0
> [ 01 f1 47 01 ]
> H0: 7 H1: 1
> Message type: TRA
> [ 17 ]
>
> Len = 20 [ ff 81 11 81 01 f1 47 01 11 a0 32 35 36 34 32 38 36 32 38 38 ]
> FSN: 1 FIB 1
> BSN: 127 BIB 1
>
>> [0] MSU
>>
> [ ff 81 11 ]
> Network Indicator: 2 Priority: 0 User Part: STD_TEST (1)
> [ 81 ]
> OPC 1311 DPC 12545 SLS 0
> [ 01 f1 47 01 ]
> H0: 1 H1: 1
> [ 11 ]
>
> Len = 25 [ ff 80 16 81 1f 45 40 0c 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: 2 Priority: 0 User Part: STD_TEST (1)
> [ 81 ]
> OPC 12545 DPC 1311 SLS 0
> [ 1f 45 40 0c ]
> H0: 1 H1: 1
> [ 11 ]
>
> [0] --- SS7 Up ---
> Len = 25 [ 80 82 16 81 01 f1 47 01 21 f0 aa aa aa aa aa aa aa aa aa aa aa
> aa aa aa aa ]
> FSN: 2 FIB 1
> BSN: 0 BIB 1
>
>> [0] MSU
>>
> [ 80 82 16 ]
> Network Indicator: 2 Priority: 0 User Part: STD_TEST (1)
> [ 81 ]
> OPC 1311 DPC 12545 SLS 0
> [ 01 f1 47 01 ]
> H0: 1 H1: 2
> [ 21 ]
>
> Len = 14 [ 80 83 0b 85 01 f1 47 01 01 00 17 01 01 17 ]
> FSN: 3 FIB 1
> BSN: 0 BIB 1
>
>> [0] MSU
>>
> [ 80 83 0b ]
> Network Indicator: 2 Priority: 0 User Part: ISUP (5)
> [ 85 ]
> OPC 1311 DPC 12545 SLS 0
> [ 01 f1 47 01 ]
> CIC: 1
> [ 01 00 ]
> Message Type: GRS
> [ 17 ]
> --VARIABLE LENGTH PARMS[1]--
> Range and status:
> Range: 23
> [ 01 17 ]
>
> Len = 20 [ 81 81 11 81 1f 45 40 0c 21 a0 32 35 36 34 32 38 36 32 38 38 ]
> FSN: 1 FIB 1
> BSN: 1 BIB 1
> <[0] MSU
> [ 81 81 11 ]
> Network Indicator: 2 Priority: 0 User Part: STD_TEST (1)
> [ 81 ]
> OPC 12545 DPC 1311 SLS 0
> [ 1f 45 40 0c ]
> H0: 1 H1: 2
> [ 21 ]
>
> Len = 12 [ 83 82 09 80 1f 45 40 0c 1a 01 31 05 ]
> FSN: 2 FIB 1
> BSN: 3 BIB 1
> <[0] MSU
> [ 83 82 09 ]
> Network Indicator: 2 Priority: 0 User Part: NET_MNG (0)
> [ 80 ]
> OPC 12545 DPC 1311 SLS 0
> [ 1f 45 40 0c ]
> H0: a H1: 1
> Message type: UPU
> [ 1a ]
>
> Len = 9 [ 83 83 06 80 1f 45 40 0c 17 ]
> FSN: 3 FIB 1
> BSN: 3 BIB 1
> <[0] MSU
> [ 83 83 06 ]
> Network Indicator: 2 Priority: 0 User Part: NET_MNG (0)
> [ 80 ]
> OPC 12545 DPC 1311 SLS 0
> [ 1f 45 40 0c ]
> H0: 7 H1: 1
> Message type: TRA
> [ 17 ]
>
> [0] --- SS7 Up ---
> Len = 14 [ 83 84 0b 85 01 f1 47 01 01 00 17 01 01 17 ]
> FSN: 4 FIB 1
> BSN: 3 BIB 1
>
>> [0] MSU
>>
> [ 83 84 0b ]
> Network Indicator: 2 Priority: 0 User Part: ISUP (5)
> [ 85 ]
> OPC 1311 DPC 12545 SLS 0
> [ 01 f1 47 01 ]
> CIC: 1
> [ 01 00 ]
> Message Type: GRS
> [ 17 ]
> --VARIABLE LENGTH PARMS[1]--
> Range and status:
> Range: 23
> [ 01 17 ]
>
> Len = 12 [ 84 84 09 80 1f 45 40 0c 1a 01 31 05 ]
> FSN: 4 FIB 1
> BSN: 4 BIB 1
> <[0] MSU
> [ 84 84 09 ]
> Network Indicator: 2 Priority: 0 User Part: NET_MNG (0)
> [ 80 ]
> OPC 12545 DPC 1311 SLS 0
> [ 1f 45 40 0c ]
> H0: a H1: 1
> Message type: UPU
> [ 1a ]
>
> Len = 25 [ 84 85 16 83 1f 45 40 2c 09 00 03 05 07 02 42 01 02 42 01 05 03
> 08 1f 05 00 ]
> FSN: 5 FIB 1
> BSN: 4 BIB 1
> <[0] MSU
> [ 84 85 16 ]
> Network Indicator: 2 Priority: 0 User Part: SCCP (3)
> [ 83 ]
> OPC 12545 DPC 1311 SLS 2
> [ 1f 45 40 2c ]
>
> Unable to process message destined for userpart 3; dropping message
>
> [root at localhost libss7-trunk]#
>
> ***********
>
>
>> Now i have another problem.. I have installed the new link to the Ericsson
>> Switch (mobile operator) but does not seems to work!! any idea what am i
>> doing wrong..
>>
>> ======
>> ss7 debug linkset 1 shows the following info
>> ======
>> Len = 20 [ 80 81 11 81 1f 45 40 0c 21 a0 32 35 36 34 32 38 36 32 38 38 ]
>> FSN: 1 FIB 1
>> BSN: 0 BIB 1
>> <[0] MSU
>> [ 80 81 11 ]
>> Network Indicator: 2 Priority: 0 User Part: STD_TEST (1)
>> [ 81 ]
>> OPC 12545 DPC 1311 SLS 0
>> [ 1f 45 40 0c ]
>> H0: 1 H1: 2
>> [ 21 ]
>>
>> Len = 25 [ 81 82 16 83 1f 45 40 bc 09 00 03 05 07 02 42 01 02 42 01 05 03
>> 08 1f 05 00 ]
>> FSN: 2 FIB 1
>> BSN: 1 BIB 1
>> <[0] MSU
>> [ 81 82 16 ]
>> Network Indicator: 2 Priority: 0 User Part: SCCP (3)
>> [ 83 ]
>> OPC 12545 DPC 1311 SLS 11
>> [ 1f 45 40 bc ]
>>
>> Unable to process message destined for userpart 3; dropping message
>>
>> INVPBX01*CLI>
>> INVPBX01*CLI>
>> INVPBX01*CLI>
>> Len = 4 [ 81 83 01 03 ]
>> FSN: 3 FIB 1
>> BSN: 1 BIB 1
>> <[0] LSSU SIOS
>>
>> Link state change: INSERVICE -> IDLE
>> Link state change: IDLE -> NOTALIGNED
>> [Jun 15 18:39:49] WARNING[22596]: chan_dahdi.c:9458 ss7_linkset: MTP2 link
>> down (SLC 0)
>> 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
>> T4 expired!
>> Link state change: PROVING -> ALIGNEDREADY
>> Len = 3 [ ff ff 00 ]
>> FSN: 127 FIB 1
>> BSN: 127 BIB 1
>>
>>> [0] FISU
>>>
>> Len = 3 [ ff ff 00 ]
>> FSN: 127 FIB 1
>> BSN: 127 BIB 1
>> <[0] FISU
>>
>> Link state change: ALIGNEDREADY -> INSERVICE
>> MTP2 link up (SLC 0)
>> Len = 20 [ ff 80 11 81 01 f1 47 01 11 a0 32 35 36 34 32 38 36 32 38 38 ]
>> FSN: 0 FIB 1
>> BSN: 127 BIB 1
>>
>>> [0] MSU
>>>
>> [ ff 80 11 ]
>> Network Indicator: 2 Priority: 0 User Part: STD_TEST (1)
>> [ 81 ]
>> OPC 1311 DPC 12545 SLS 0
>> [ 01 f1 47 01 ]
>> H0: 1 H1: 1
>> [ 11 ]
>>
>> Len = 25 [ ff 80 16 81 1f 45 40 0c 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: 2 Priority: 0 User Part: STD_TEST (1)
>> [ 81 ]
>> OPC 12545 DPC 1311 SLS 0
>> [ 1f 45 40 0c ]
>> H0: 1 H1: 1
>> [ 11 ]
>>
>> Len = 25 [ 80 81 16 81 01 f1 47 01 21 f0 aa aa aa aa aa aa aa aa aa aa aa
>> aa aa aa aa ]
>> FSN: 1 FIB 1
>> BSN: 0 BIB 1
>>
>>> [0] MSU
>>>
>> [ 80 81 16 ]
>> Network Indicator: 2 Priority: 0 User Part: STD_TEST (1)
>> [ 81 ]
>> INVPBX01OPC 1311 DPC 12545 SLS 0
>> INVPBX01[ 01 f1 47 01 ]
>> INVPBX01H0: 1 H1: 2
>> [ 21 ]
>>
>> Len = 4 [ ff ff 01 03 ]
>> FSN: 127 FIB 1
>> BSN: 127 BIB 1
>> <[0] LSSU SIOS
>>
>> Link state change: INSERVICE -> IDLE
>> Link state change: IDLE -> NOTALIGNED
>> [Jun 15 18:39:51] WARNING[22596]: chan_dahdi.c:9458 ss7_linkset: MTP2 link
>> down (SLC 0)
>> 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
>> T4 expired!I>
>> Link state change: PROVING -> ALIGNEDREADY
>> Len = 3 [ ff ff 00 ]
>> FSN: 127 FIB 1
>> BSN: 127 BIB 1
>>
>>> [0] FISU
>>>
>> Len = 3 [ ff ff 00 ]
>> FSN: 127 FIB 1
>> BSN: 127 BIB 1
>> <[0] FISU
>>
>> Link state change: ALIGNEDREADY -> INSERVICE
>> MTP2 link up (SLC 0)
>> Len = 20 [ ff 80 11 81 01 f1 47 01 11 a0 32 35 36 34 32 38 36 32 38 38 ]
>> FSN: 0 FIB 1
>> BSN: 127 BIB 1
>>
>>> [0] MSU
>>>
>> [ ff 80 11 ]
>> Network Indicator: 2 Priority: 0 User Part: STD_TEST (1)
>> [ 81 ]
>> OPC 1311 DPC 12545 SLS 0
>> [ 01 f1 47 01 ]
>> H0: 1 H1: 1
>> [ 11 ]
>>
>> Len = 25 [ ff 80 16 81 1f 45 40 0c 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: 2 Priority: 0 User Part: STD_TEST (1)
>> [ 81 ]
>> OPC 12545 DPC 1311 SLS 0
>> [ 1f 45 40 0c ]
>> H0: 1 H1: 1
>> [ 11 ]
>>
>> Len = 25 [ 80 81 16 81 01 f1 47 01 21 f0 aa aa aa aa aa aa aa aa aa aa aa
>> aa aa aa aa ]
>> FSN: 1 FIB 1
>> BSN: 0 BIB 1
>>
>>> [0] MSU
>>>
>> [ 80 81 16 ]
>> Network Indicator: 2 Priority: 0 User Part: STD_TEST (1)
>> [ 81 ]
>> OPC 1311 DPC 12545 SLS 0
>> [ 01 f1 47 01 ]
>> H0: 1 H1: 2
>> [ 21 ]
>>
>> Len = 20 [ 80 81 11 81 1f 45 40 0c 21 a0 32 35 36 34 32 38 36 32 38 38 ]
>> FSN: 1 FIB 1
>> BSN: 0 BIB 1
>> <[0] MSU
>> [ 80 81 11 ]
>> Network Indicator: 2 Priority: 0 User Part: STD_TEST (1)
>> [ 81 ]
>> OPC 12545 DPC 1311 SLS 0
>> [ 1f 45 40 0c ]
>> H0: 1 H1: 2
>> [ 21 ]
>>
>>
>>
>>
>> ======
>> system.conf
>> ======
>> # Autogenerated by /usr/sbin/dahdi_genconf on Wed Feb 18 13:51:09 2009 --
>> do not hand edit
>> # Dahdi Configuration File
>> #
>> # This file is parsed by the Dahdi Configurator, dahdi_cfg
>> #
>> # Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER) HDB3/CCS/CRC4 RED
>> span=1,1,0,ccs,hdb3,crc4
>> # termtype: te
>> bchan=2-31
>> mtp2=1
>> echocanceller=mg2,2-31
>>
>> # Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"
>> span=2,2,0,ccs,hdb3,crc4
>> # termtype: te
>> bchan=32-46,48-62
>> dchan=47
>> echocanceller=mg2,32-46,48-62
>>
>> # Global data
>>
>> loadzone = us
>> defaultzone = us
>>
>> =====
>> chan-dahdi.conf
>> =====
>> [trunkgroups]
>>
>> [channels]
>> ;new settings
>> language=en
>> context=default
>> switchtype=euroisdn
>>
>> pridialplan=unknown
>> prilocaldialplan=unknown
>>
>> signalling=ss7
>> usecallerid=yes
>> hidecallerid=no
>> callerid=asreceived
>>
>> callwaiting=yes
>> usecallingpres=yes
>> callwaitingcallerid=yes
>> threewaycalling=yes
>> facilityenable = yes
>> transfer=yes
>> callreturn=yes
>> busydetect=yes ;ADDED TO REDUCE ECHO
>>
>> hanguponpolarityswitch=yes
>> usecallingpres=yes
>>
>> ss7_called_nai=dynamic
>> ss7_calling_nai=dynamic
>>
>> ss7_internationalprefix = 00
>> ss7_nationalprefix = 0
>> ss7_subscriberprefix =
>> ss7_unknownprefix =
>>
>> #include dahdi-channels.conf
>>
>>
>>
>> =====
>> dahdi-channels.conf
>> =====
>> group=1
>> callgroup=1-2
>> pickupgroup=1-2
>>
>> signalling = ss7
>> context=emmergency-entry
>> ss7type = itu
>>
>> linkset = 1
>> slc=0
>> pointcode = 1311
>> adjpointcode = 12545
>> defaultdpc = 12545
>> cicbeginswith = 2
>> networkindicator=national
>> channel = 2-31
>> sigchan = 1
>>
>>
>> group =2
>> context=emmergency-entry
>> switchtype euroisdn
>> signalling = pri_cpe
>> channel => 32-46,48-62
>>
>>
>>
>>> Thanks Alejandro
>>>
>>> i just wanted to make sure. I have tested and indeed it works
>>>
>>> thanks
>>>
>>>
>>>>> ----- Original Message -----
>>>>> From: "Alejandro Mej?a Evertsz" <amejia at carmeltelecom.com>
>>>>> To: <asterisk-ss7 at lists.digium.com>
>>>>> Sent: Tuesday, June 09, 2009 12:22 PM
>>>>> Subject: Re: [asterisk-ss7] USING TIMESLOT OTHER THAN 16 FOR
>>>>> SIGNALLING
>>>>>
>>>>>
>>>>>
>>>>>> I'm just a newbie, but I guess it's completely possible to use ts1
>>>>>>
>>>>> for
>>>>>
>>>>>> signaling like this:
>>>>>>
>>>>>> ====system.conf====
>>>>>> span=1,0,0,ccs,hdb3
>>>>>> bchan=2-31
>>>>>> dchan=1
>>>>>>
>>>>>> ===chan_dahdi.conf====
>>>>>> signalling=ss7
>>>>>> ss7type=itu
>>>>>> ..blah blah
>>>>>> ..blah blah
>>>>>> sigchan = 1
>>>>>> channel => 2-31
>>>>>>
>>>>>> Good luck!
>>>>>>
>>>>>> Alex
>>>>>>
>>>>>> -----Mensaje original-----
>>>>>> De: asterisk-ss7-bounces at lists.digium.com
>>>>>> [mailto:asterisk-ss7-bounces at lists.digium.com] En nombre de
>>>>>> research at businesstz.com
>>>>>> Enviado el: Martes, 09 de Junio de 2009 01:56 a.m.
>>>>>> Para: asterisk-ss7 at lists.digium.com
>>>>>> Asunto: [asterisk-ss7] USING TIMESLOT OTHER THAN 16 FOR SIGNALLING
>>>>>>
>>>>>> Hi Team
>>>>>>
>>>>>> May you please advice if i can configure asterisk to use timeslot 1
>>>>>>
>>>>> for
>>>>>
>>>>>> signaling! I want to connect to a telko but they want me to use ts1.
>>>>>>
>>>>> Can
>>>>>
>>>>>> you be so kind to post system.conf and chan_dahdi.conf
>>>>>>
>>>>>> Kind regards
>>>>>> Sam
>>>>>>
>>>
>>>
>>
>
>
>
> _______________________________________________
> --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
>
>
More information about the asterisk-ss7
mailing list