[asterisk-ss7] IAM-REL instead of IAM-ACM-REL

Pavel Piankov pashah at me.com
Wed Mar 17 06:51:02 CDT 2010


chan_dahdi.conf:


[trunkgroups]

[channels]
switchtype=euroisdn
priindication = inband
signalling=ss7
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
context=ss7-incoming

ss7type = itu
ss7_called_nai=dynamic
ss7_calling_nai=dynamic


linkset = 1
ss7_explictacm=yes
ss7_autoacm=yes
ss7_use_echocontrol=yes
ss7_default_echocontrol=1



pointcode = 2001
adjpointcode = 4431
defaultdpc = 4431


networkindicator=international



cicbeginswith = 2
sigchan = 1
channel = 2-31



mtp3_timer.q707_t1 = 4000 
mtp3_timer.q707_t2 = 30000

mtp3_timer.t1 = 500
mtp3_timer.t2 = 700
mtp3_timer.t3 = 500
mtp3_timer.t4 = 500
mtp3_timer.t5 = 500
mtp3_timer.t6 = 500

mtp3_timer.t10 = 60000
mtp3_timer.t12 = 800
mtp3_timer.t13 = 800 
mtp3_timer.t14 = 2000 
mtp3_timer.t19 = 67000
mtp3_timer.t21 = 63000

mtp3_timer.t22 = 300000   
mtp3_timer.t23 = 300000

isup_timer.t1 = 30000 
isup_timer.t2 = 180000
isup_timer.t5 = 300000
isup_timer.t6 = 90000
isup_timer.t7 = 20000

isup_timer.t8 = 10000

isup_timer.t12 = 15000 
isup_timer.t13 = 300000
isup_timer.t14 = 15000 
isup_timer.t15 = 300000

isup_timer.t16 = 15000 
isup_timer.t17 = 300000
isup_timer.t18 = 15000 
isup_timer.t19 = 300000
isup_timer.t20 = 15000
isup_timer.t21 = 300000

isup_timer.t22 = 15000
isup_timer.t23 = 300000

isup_timer.t27 = 240000

isup_timer.t33 = 12000 
isup_timer.t35 = 15000 
isup_timer.digittimeout = 5000

inr_if_no_calling = yes
ss7_initialhwblo = no
non_isdn_access = yes  
cause_location = 1


debug and cli:

Len = 63 [ ac a6 3c 05 31 11 df 34 03 00 01 10 09 00 0a 03 02 0a 08 04 10 77 10 15 62 29 f8 0a 08 84 13 47 59 87 08 12 07 6f 08 04 10 77 10 15 62 29 f8 3d 01 14 31 02 00 00 39 06 6f c0 31 c0 3d c0 00 ]
FSN: 38 FIB 1
BSN: 44 BIB 1
<[0] MSU
[ ac a6 3c ]
	Network Indicator: 0 Priority: 0 User Part: ISUP (5)
	[ 05 ]
	OPC 4431 DPC 2001 SLS 3
	[ 31 11 df 34 ]
		CIC: 3
		[ 03 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: included (1)
			[ 10 ]
		Forward Call Indicators:
			Nat/Intl Call Ind: call to be treated as a international call (1)
			End to End Method Ind: no end-to-end method(s) available (0)
			Interworking Ind: interworking encountered (1)
			End to End Info Ind: no end-to-end information available (0)
			ISDN User Part Ind: ISDN user part not used all the way (0)
			ISDN User Part Pref Ind: ISDN user part preferred all the way (0)
			ISDN Access Ind: originating access non-ISDN (0)
			SCCP Method Ind: no indication (0)
			[ 09 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: 4
			NI: 0
			Numbering plan: 1
			Address signals: 7701#
			[ 08 04 10 77 10 15 62 29 f8 ]
		--OPTIONAL PARMS--
debian*CLI> coreCalling Party Number:
			Nature of address: 4
			NI: 0
			Numbering plan: 1
			Presentation: 0
			Screening: 3
			Address signals: 7494
			[ 0a 08 84 13 47 59 87 08 12 07 ]
		Unknown Parameter (0x6f):
			[ 04 10 77 10 15 62 29 f8 ]
		Hop Counter:
			[ 3d 01 14 ]
		Propagation Delay Counter:
			Delay: 0ms
			[ 31 02 00 00 ]
		Parameter Compatibility Information:
			[ 39 06 6f c0 31 c0 3d c0 ]

Unhandled optional parameter 0x6f 'Unknown'
[0x4 0x10 0x77 0x10 0x15 0x62 0x29 0xf8 ]
Unhandled optional parameter 0x31 'Propagation Delay Counter'
[0x0 0x0 ]
Unhandled optional parameter 0x39 'Parameter Compatibility Information'
[0x6f 0xc0 0x31 0xc0 0x3d 0xc0 ]
    -- Accepting call to '7701' on CIC 3
[Mar 17 08:07:55] WARNING[20073]: chan_dahdi.c:2008 dahdi_enable_ec: Unable to enable echo cancellation on channel 3 (No such device)
Len = 14 [ a6 ad 0b 05 7c 53 4c 34 03 00 06 40 14 00 ]
FSN: 45 FIB 1
BSN: 38 BIB 1
>[0] MSU
[ a6 ad 0b ]
	Network Indicator: 0 Priority: 0 User Part: ISUP (5)
	[ 05 ]
	OPC 2001 DPC 4431 SLS 3
	[ 7c 53 4c 34 ]
		CIC: 3
		[ 03 00 ]
		Message Type: ACM
		[ 06 ]
    -- Executing [7701 at ss7-incoming:1] Set("DAHDI/3-1", "PRI_CAUSE=34") in new stack
		--FIXED LENGTH PARMS[1]--
		Backward Call Indicator:
			Charge indicator: 0
			Called party's status indicator: 0
			Called party's category indicator: 0
			End to End method indicator: 1
    -- Executing [7701 at ss7-incoming:2] Hangup("DAHDI/3-1", "34") in new stack
			Interworking indicator: 0
			End to End information indicator: 0
			ISDN user part indicator: 1
  == Spawn extension (ss7-incoming, 7701, 2) exited non-zero on 'DAHDI/3-1'
			Holding indicator: 0
			ISDN access indicator: 1
			Echo control device indicator: 0
			SCCP method indicator: 0
			[ 40 14 ]

    -- Hungup 'DAHDI/3-1'
Len = 16 [ a6 ae 0d 05 7c 53 4c 34 03 00 0c 02 00 02 81 a2 ]
FSN: 46 FIB 1
BSN: 38 BIB 1
>[0] MSU
[ a6 ae 0d ]
	Network Indicator: 0 Priority: 0 User Part: ISUP (5)
	[ 05 ]
	OPC 2001 DPC 4431 SLS 3
	[ 7c 53 4c 34 ]
		CIC: 3
		[ 03 00 ]
		Message Type: REL
		[ 0c ]
		--VARIABLE LENGTH PARMS[1]--
		Cause Indicator:
			Coding Standard: 0
			Location: 1
			Cause Class: 2
			Cause Subclass: 2
			Cause: No circuit/channel available (34)
			[ 02 81 a2 ]

thanks
Pavel

On Mar 17, 2010, at 2:34 PM, Attila Domjan wrote:

> It is working for me!
> please send debug information ss7 messages + dialplan execution, and
> your chan_dahdi.conf
> 
> 
> On Wed, 2010-03-17 at 13:58 +0300, Pavel Piankov wrote:
>> Attilla,
>> 
>> getting the same results with files from your links.
>> 
>> Kindest regards
>> Pavel
>> 
>> On Mar 17, 2010, at 1:07 PM, Attila Domjan wrote:
>> 
>>> oops
>>> 
>>> https://observer.router.hu/repos_pub/chan_dahdi/trunk
>>> 
>>> On Wed, 2010-03-17 at 11:03 +0100, Attila Domjan wrote:
>>>> I published it many times in the list with configuration examples:
>>>> 
>>>> svn co https://observer.router.hu/repos_pub/libss7/trunk libss7
>>>> svn co https://observer.router.hu/repos/chan_dahdi/trunk chan_dahdi
>>>> 
>>>> added the ss7_autoacm function, you not needed call Proceeding, asterisk
>>>> will send automatically ACM before CPG if the called party "really" is
>>>> ringing.
>> 
>> 
> 
> -- 
> _____________________________________________________________________
> -- 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