[asterisk-ss7] incoming call not going to context

peterpet peterpet at mail.ru
Wed Mar 24 08:51:21 CDT 2010


Thank you for everithing Attila,
you are the best.... :)


Attila Domjan wrote:
> On Wed, 2010-03-24 at 15:18 +0200, peterpet wrote:
>   
>> Hi Attila,
>> now everithing is ok, but why now this is not working with not included 
>> timers in configuration?????
>>     
> In my version:
>
> 1. starting dialplan on timeout works via  isup_timer.digittimeout timer
> expiry
> 2. for example, you send REL, the message lost somewhere (for example in
> an STP), my version won't use this circuit while not get an RLC. When
> you set up t1 and t5 isup timers, asterisk will repeat REL, and RSC on
> t5 expiry. There are many similar situation when the isup may come back
> from the stuck with timers.... I posted the timer configuration for my
> version on this list.
>
>   
>> I have 5 linksets , and in chan_dahdi linksets is without timers and 
>> everithing is ok, but with this
>> i need to setup timers.... :( why?
>> and _X. -> this is just a example, in real a have
>>
>> _0524[56]XXXX => I know exact digit lengths...
>>
>> But why this is happened?
>> Now my chan_dahdi looks like :
>> [trunkgroups]
>> [channels]
>> language=en
>> context=from-mtel-fix
>> switchtype=euroisdn
>> signalling=ss7
>> ;toneduration=100
>> ;usecallerid=yes
>> ;callwaiting=yes
>> ;usecallingpres=yes
>> ;callwaitingcallerid=yes
>> ;threewaycalling=yes
>> ;transfer=yes
>> ;canpark=yes
>> ;cancallforward=yes
>> ;callreturn=yes
>> echocancel=yes
>> echocancelwhenbridged=yes
>> group=1
>> ;callgroup=1
>> ;pickupgroup=1
>> ss7type = itu
>> ss7_called_nai=national
>> ss7_calling_nai=national
>> ss7_internationalprefix=00
>> ss7_nationalprefix=0
>> linkset = 1
>> pointcode = 5176
>> adjpointcode = 1522
>> defaultdpc = 1522
>> networkindicator=national
>> ;mtp2=16
>> cicbeginswith = 1
>> channel = 1-15
>> cicbeginswith = 17
>> channel = 17-31
>> sigchan = 16
>>
>> language=en
>> context=from-mtel-mobile
>> switchtype=euroisdn
>> signalling=ss7
>> ;toneduration=100
>> ;usecallerid=yes
>> ;callwaiting=yes
>> usecallingpres=yes
>> ;callwaitingcallerid=yes
>> ;threewaycalling=yes
>> ;transfer=yes
>> ;canpark=yes
>> ;cancallforward=yes
>> ;callreturn=yes
>> echocancel=yes
>> echocancelwhenbridged=yes
>> group=2
>> ;callgroup=1
>> ;pickupgroup=1
>> ss7type = itu
>> ss7_called_nai=national
>> ss7_calling_nai=national
>> ss7_internationalprefix=00
>> ss7_nationalprefix=0
>> linkset = 2
>> pointcode = 5176
>> adjpointcode = 1442
>> defaultdpc = 1442
>> networkindicator=national
>> ;mtp2=16
>> cicbeginswith = 1
>> channel = 32-46
>> cicbeginswith = 17
>> channel = 48-62
>> sigchan = 47
>>
>> language=en
>> context=from-btk-fix
>> switchtype=euroisdn
>> usecallerid=yes
>> callwaiting=yes
>> usecallingpres=yes
>> signalling=ss7
>> group=3
>> ss7type = itu
>> ss7_explicitacm=yes
>> ss7_autoacm=yes
>> ss7_called_nai=national
>> ss7_calling_nai=national
>> ss7_internationalprefix=00
>> ss7_nationalprefix=0
>> linkset = 3
>> pointcode = 5176
>> adjpointcode = 121
>> defaultdpc = 118
>> networkindicator=national
>> cicbeginswith = 1 
>> channel = 63-77
>> cicbeginswith = 17
>> channel = 79-93
>> sigchan = 78
>> isup_timer.digittimeout = 5000
>>
>> language=en
>> context=from-globul-mobile
>> switchtype=euroisdn
>> echocancel=yes
>> usecallingpres=yes
>> echocancelwhenbridged=yes
>> group=4
>> ss7type = itu
>> ss7_called_nai=national
>> ss7_calling_nai=national
>> ss7_internationalprefix=00
>> ss7_nationalprefix=0
>> linkset = 4
>> pointcode = 5176
>> adjpointcode = 1802
>> defaultdpc = 1802
>> networkindicator=national
>> cicbeginswith = 1
>> channel = 94-108
>> cicbeginswith = 17
>> channel = 110-124
>> sigchan = 109
>>
>> language=en
>> context=from-vivacom-mobile
>> switchtype=euroisdn
>> usecallerid=yes
>> callwaiting=yes
>> usecallingpres=yes
>> signalling=ss7
>> group=5
>> ss7type = itu
>> ss7_called_nai=national
>> ss7_calling_nai=national
>> ss7_internationalprefix=00
>> ss7_nationalprefix=0
>> linkset = 5
>> pointcode = 5176
>> adjpointcode = 1203
>> defaultdpc = 1203
>> networkindicator=national
>> cicbeginswith = 1 
>> channel = 125-139
>> cicbeginswith = 17
>> channel = 141-155
>> sigchan = 140
>>
>>
>>
>>
>>
>>
>> and i never setup a timer..... :(
>>
>>
>>
>> Attila Domjan wrote:
>>     
>>> Hi,
>>>
>>> you missed set up the timers....
>>>
>>> when you are using _X. like patterns, and you don't get end of pulse, on
>>> isup_timer.digittimeout expiry will start the execution the dialplan.
>>> set up all the timers, and avoid using _X. like patterns. When you know
>>> the exact digitlengths use:
>>>
>>> _0XXXXXXXX
>>>
>>> and asterisk won't wait the timer expiry on overlap dialing.
>>>
>>> A
>>>
>>> On Wed, 2010-03-24 at 14:18 +0200, peterpet wrote:
>>>   
>>>       
>>>> hi,
>>>> this is trace from call :
>>>>
>>>>
>>>>     Network Indicator: 2 Priority: 0 User Part: ISUP (5)
>>>>     [ 85 ]
>>>>     OPC 118 DPC 5176 SLS 11
>>>>     [ 38 94 1d b0 ]
>>>>         CIC: 11
>>>> ss7-mtel-fix*CLI[ 0b 00 ]
>>>>         Message Type: IAM
>>>>         [ 01 ]
>>>>         --FIXED LENGTH PARMS[4]--
>>>>         Nature of Connection Indicator:
>>>>             Satellites in connection: 0
>>>>             Continuity Check: Check not required (0)
>>>>             Outgoing half echo control device: not included (0)
>>>>             [ 00 ]
>>>>         Forward Call Indicators:
>>>>             Nat/Intl Call Ind: call to be treated as a national call (0)
>>>>             End to End Method Ind: no end-to-end method(s) available (0)
>>>>             Interworking Ind: no interworking encountered (0)
>>>>             End to End Info Ind: no end-to-end information available (0)
>>>>             ISDN User Part Ind: ISDN user part used all the way (1)
>>>>             ISDN User Part Pref Ind: ISDN user part not preferred all 
>>>> the way (1)
>>>>             ISDN Access Ind: originating access non-ISDN (0)
>>>>             SCCP Method Ind: no indication (0)
>>>>             P-M bits(0) P: 0 O: 0 N: 0 M: 0
>>>>             [ 60 00 ]
>>>>         Calling Party's Category:
>>>>             Category: Ordinary calling subscriber (10)
>>>>             [ 0a ]
>>>>         Transmission Medium Requirements:
>>>>             N x 64kbit/s unrestricted or possibly spare (3)
>>>>             [ 03 ]
>>>>         --VARIABLE LENGTH PARMS[1]--
>>>>         Called Party Number:
>>>>             Nature of address: 3
>>>>             NI: 0
>>>>             Numbering plan: 1
>>>>             Address signals: 52458843
>>>>             [ 06 03 10 25 54 88 34 ]
>>>>         --OPTIONAL PARMS--
>>>>         Optional forward call indicator:
>>>>             Closed user group call indicator: non-CUG call
>>>>             Simple segmentation indicator: no additional message will be 
>>>> sent
>>>>             Connected line identify request indicator not requested
>>>>             [ 08 01 00 ]
>>>>         Calling Party Number:
>>>>             Nature of address: 3
>>>>             NI: 0
>>>>             Numbering plan: 1
>>>>             Presentation: 0
>>>>             Screening: 3
>>>>             Address signals: 56843622
>>>>             [ 0a 06 03 13 65 48 63 22 ]
>>>>         Hop Counter:
>>>>             [ 3d 01 04 ]
>>>>
>>>> SS7 exten: 052458843 complete: 0
>>>> Len = 16 [ 97 9c 0d 85 38 94 1d b0 0b 00 0c 02 00 02 82 90 ]
>>>> FSN: 28 FIB 1
>>>> BSN: 23 BIB 1
>>>> <[0] MSU
>>>> [ 97 9c 0d ]
>>>>     Network Indicator: 2 Priority: 0 User Part: ISUP (5)
>>>>     [ 85 ]
>>>>     OPC 118 DPC 5176 SLS 11
>>>>     [ 38 94 1d b0 ]
>>>>         CIC: 11
>>>>         [ 0b 00 ]
>>>>         Message Type: REL
>>>>         [ 0c ]
>>>>         --VARIABLE LENGTH PARMS[1]--
>>>>         Cause Indicator:
>>>>             Coding Standard: 0
>>>>             Location: 2
>>>>             Cause Class: 1
>>>>             Cause Subclass: 0
>>>>             Cause: Normal call clearing (16)
>>>>             [ 02 82 90 ]
>>>>
>>>> REL on CIC 11 DPC 118 without owner!
>>>> Len = 12 [ 9c 98 09 85 76 00 0e b5 0b 00 10 00 ]
>>>> FSN: 24 FIB 1
>>>> BSN: 28 BIB 1
>>>>  >[0] MSU
>>>> [ 9c 98 09 ]
>>>>     Network Indicator: 2 Priority: 0 User Part: ISUP (5)
>>>>     [ 85 ]
>>>>     OPC 5176 DPC 118 SLS 11
>>>>     [ 76 00 0e b5 ]
>>>>         CIC: 11
>>>>         [ 0b 00 ]
>>>>         Message Type: RLC
>>>>         [ 10 ]
>>>>
>>>> Len = 40 [ 98 9d 25 85 38 94 1d d0 0d 00 01 00 60 00 0a 03 02 08 06 03 
>>>> 10 25 54 88 34 08 01 00 0a 06 03 13 65 48 63 22 3d 01 04 00 ]
>>>> FSN: 29 FIB 1
>>>> BSN: 24 BIB 1
>>>> <[0] MSU
>>>> [ 98 9d 25 ]
>>>>     Network Indicator: 2 Priority: 0 User Part: ISUP (5)
>>>>     [ 85 ]
>>>>     OPC 118 DPC 5176 SLS 13
>>>>     [ 38 94 1d d0 ]
>>>>         CIC: 13
>>>>         [ 0d 00 ]
>>>>         Message Type: IAM
>>>>         [ 01 ]
>>>>         --FIXED LENGTH PARMS[4]--
>>>>         Nature of Connection Indicator:
>>>>             Satellites in connection: 0
>>>>             Continuity Check: Check not required (0)
>>>>             Outgoing half echo control device: not included (0)
>>>>             [ 00 ]
>>>>         Forward Call Indicators:
>>>>             Nat/Intl Call Ind: call to be treated as a national call (0)
>>>>             End to End Method Ind: no end-to-end method(s) available (0)
>>>>             Interworking Ind: no interworking encountered (0)
>>>>             End to End Info Ind: no end-to-end information available (0)
>>>>             ISDN User Part Ind: ISDN user part used all the way (1)
>>>>             ISDN User Part Pref Ind: ISDN user part not preferred all 
>>>> the way (1)
>>>>             ISDN Access Ind: originating access non-ISDN (0)
>>>>             SCCP Method Ind: no indication (0)
>>>>             P-M bits(0) P: 0 O: 0 N: 0 M: 0
>>>>             [ 60 00 ]
>>>>         Calling Party's Category:
>>>>             Category: Ordinary calling subscriber (10)
>>>>             [ 0a ]
>>>>         Transmission Medium Requirements:
>>>>             N x 64kbit/s unrestricted or possibly spare (3)
>>>>             [ 03 ]
>>>>         --VARIABLE LENGTH PARMS[1]--
>>>>         Called Party Number:
>>>>             Nature of address: 3
>>>>             NI: 0
>>>>             Numbering plan: 1
>>>>             Address signals: 52458843
>>>>             [ 06 03 10 25 54 88 34 ]
>>>>         --OPTIONAL PARMS--
>>>>         Optional forward call indicator:
>>>>             Closed user group call indicator: non-CUG call
>>>>             Simple segmentation indicator: no additional message will be 
>>>> sent
>>>>             Connected line identify request indicator not requested
>>>>             [ 08 01 00 ]
>>>>         Calling Party Number:
>>>>             Nature of address: 3
>>>>             NI: 0
>>>>             Numbering plan: 1
>>>>             Presentation: 0
>>>>             Screening: 3
>>>>             Address signals: 56843622
>>>>             [ 0a 06 03 13 65 48 63 22 ]
>>>>         Hop Counter:
>>>>             [ 3d 01 04 ]
>>>>
>>>> SS7 exten: 052458843 complete: 0
>>>>
>>>> and this is the end........
>>>>
>>>> in my setup
>>>> chan_dahdi:
>>>>
>>>>
>>>> language=en
>>>> context=from
>>>> switchtype=euroisdn
>>>> usecallerid=yes
>>>> callwaiting=yes
>>>> usecallingpres=yes
>>>> signalling=ss7
>>>> group=3
>>>> ss7type = itu
>>>> ss7_called_nai=national
>>>> ss7_calling_nai=national
>>>> ;ss7_internationalprefix=00
>>>> ;ss7_nationalprefix=0
>>>> linkset = 3
>>>> pointcode = 5176
>>>> adjpointcode = 121
>>>> defaultdpc = 118
>>>> networkindicator=national
>>>> cicbeginswith = 1
>>>> channel = 63-77
>>>> cicbeginswith = 17
>>>> channel = 79-93
>>>> sigchan = 78
>>>>
>>>>
>>>> extensions.ael
>>>>
>>>> context from {
>>>>        _X. => {
>>>>        NoOp("Helllo i'm here");
>>>>     }
>>>> }
>>>>
>>>> where is my mistake.....?????
>>>> Any ideas?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>     
>>>>         
>>>   
>>>       
>>     
>
>   




More information about the asterisk-ss7 mailing list