[macro-dialisdn] ; ; Macro: dial out via ISDN ... ; ; takes one arguement... the number to dial... places the call using CAPI/ISDN, ; on controller group 1, with the main switchboard number as the MSN ; exten => s,1,NoOp("ISDN: Dial out to: ${ARG1} from: ${CALLERIDNUM}") exten => s,2,SetCallerId(${THORCOM_MAIN}) exten => s,3,NoOp("ISDN: Updated our caller ID to: ${CALLERIDNUM} [Thorcom PBX]") exten => s,4,Dial(CAPI/g1/${ARG1}/b) exten => s,5,Hangup ;;; ;;; Test #1 - Call from Extension 2006 -> CAPI/ISDN to Orange Mobile ;;; ; ; Notes: ; ; 1. Just using the 'b' flag ; 2. Cisco 7960 displays "Proceeding (in 100)" ; 3. approx 2 second hang while call set up proceeds ; 4. Cisco 7960 displays "Ringing Destination (in 180)" and phone rings with US style rining from local phone ; ; ; Special Note: this is effectively "ISDN all the way" and works entirely as expected ; *CLI> -- Executing Macro("SIP/2006-f9c3", "dialisdn|07973225144") in new stack -- Executing NoOp("SIP/2006-f9c3", ""ISDN: Dial out to: 07973225144 from: 2006"") in new stack -- Executing SetCallerID("SIP/2006-f9c3", "6700") in new stack -- Executing NoOp("SIP/2006-f9c3", ""ISDN: Updated our caller ID to: 6700 [Thorcom PBX]"") in new stack -- Executing Dial("SIP/2006-f9c3", "CAPI/g1/07973225144/b") in new stack > data = g1/07973225144/b > parsed dialstring: 'g1' '' '07973225144' 'b' > capi request group = 2 > parsed dialstring: 'g1' '' '07973225144' 'b' == avm1: Call CAPI/avm1/07973225144-0 with B3 (pres=0x00, ton=0x00) CONNECT_REQ ID=001 #0x0009 LEN=0056 Controller/PLCI/NCCI = 0x1 CIPValue = 0x1 CalledPartyNumber = <80>07973225144 CallingPartyNumber = <00 80>6700 CalledPartySubaddress = default CallingPartySubaddress = default BProtocol B1protocol = 0x1 B2protocol = 0x1 B3protocol = 0x0 B1configuration = default B2configuration = default B3configuration = default BC = default LLC = default HLC = default AdditionalInfo BChannelinformation = <00 00> Keypadfacility = default Useruserdata = default Facilitydataarray = default -- Called g1/07973225144/b CONNECT_CONF ID=001 #0x0009 LEN=0014 Controller/PLCI/NCCI = 0x101 Info = 0x0 -- avm1: received CONNECT_CONF PLCI = 0x101 INFO_IND ID=001 #0xb2f3 LEN=0015 Controller/PLCI/NCCI = 0x101 InfoNumber = 0x8002 InfoElement = default INFO_RESP ID=001 #0xb2f3 LEN=0012 Controller/PLCI/NCCI = 0x101 -- avm1: info element CALL PROCEEDING CONNECT_B3_REQ ID=001 #0x000a LEN=0013 Controller/PLCI/NCCI = 0x101 NCPI = default INFO_IND ID=001 #0xb2f4 LEN=0016 Controller/PLCI/NCCI = 0x101 InfoNumber = 0x18 InfoElement = <89> INFO_RESP ID=001 #0xb2f4 LEN=0012 Controller/PLCI/NCCI = 0x101 -- avm1: info element CHANNEL IDENTIFICATION 89 CONNECT_B3_CONF ID=001 #0x000a LEN=0014 Controller/PLCI/NCCI = 0x101 Info = 0x2001 -- CAPI/avm1/07973225144-0 is proceeding passing it to SIP/2006-f9c3 Dec 28 11:11:12 WARNING[7671]: chan_capi.c:3334 show_capi_conf_error: avm1: conf_error 0x2001 PLCI=0x101 Command=CONNECT_B3_CONF,0x8487 > CAPI INFO 0x2001: Message not supported in current state INFO_IND ID=001 #0xb2f5 LEN=0015 Controller/PLCI/NCCI = 0x101 InfoNumber = 0x8001 InfoElement = default INFO_RESP ID=001 #0xb2f5 LEN=0012 Controller/PLCI/NCCI = 0x101 -- avm1: info element ALERTING -- CAPI/avm1/07973225144-0 is ringing == avm1: CAPI Hangingup -- avm1: activehangingup (cause=0) DISCONNECT_REQ ID=001 #0x000b LEN=0017 Controller/PLCI/NCCI = 0x101 AdditionalInfo BChannelinformation = default Keypadfacility = default Useruserdata = default Facilitydataarray = default == Spawn extension (macro-dialisdn, s, 4) exited non-zero on 'SIP/2006-f9c3' in macro 'dialisdn' == Spawn extension (from-local-phone, 07973225144, 1) exited non-zero on 'SIP/2006-f9c3' DISCONNECT_CONF ID=001 #0x000b LEN=0014 Controller/PLCI/NCCI = 0x101 Info = 0x0 DISCONNECT_IND ID=001 #0xb2f6 LEN=0014 Controller/PLCI/NCCI = 0x101 Reason = 0x3400 DISCONNECT_RESP ID=001 #0xb2f6 LEN=0012 Controller/PLCI/NCCI = 0x101 == avm1: Interface cleanup PLCI=0x101 ;;; ;;; Test #2 - Call from Extension 2006 to 0190527509 (local BT number, analogue subscriber) ;;; ; ; Notes: ; ; 1. Just using the 'b' flag ; 2. Cisco 7960 displays "Proceeding (in 100)" briefly ; 3. Cisco 7960 displays "Session Progress (in 183) ; 4. No ringing produced by phone -- just silence ; 5. when called party answers the 7960 displays 'Connected' and the call works ; ; ; Special note: the called party is on a British Telecom (BT) line that is ; analogue (this might be a clue?) ; ; *CLI> *CLI> *CLI> capi debug CAPI Debugging Enabled -- Executing Macro("SIP/2006-2ae0", "dialisdn|0190527509") in new stack -- Executing NoOp("SIP/2006-2ae0", ""ISDN: Dial out to: 0190527509 from: 2006"") in new stack -- Executing SetCallerID("SIP/2006-2ae0", "6700") in new stack -- Executing NoOp("SIP/2006-2ae0", ""ISDN: Updated our caller ID to: 6700 [Thorcom PBX]"") in new stack -- Executing Dial("SIP/2006-2ae0", "CAPI/g1/0190527509/b") in new stack > data = g1/0190527509/b > parsed dialstring: 'g1' '' '0190527509' 'b' > capi request group = 2 > parsed dialstring: 'g1' '' '0190527509' 'b' == avm1: Call CAPI/avm1/0190527509-2 with B3 (pres=0x00, ton=0x00) CONNECT_REQ ID=001 #0x03e4 LEN=0055 Controller/PLCI/NCCI = 0x1 CIPValue = 0x1 CalledPartyNumber = <80>0190527509 CallingPartyNumber = <00 80>6700 CalledPartySubaddress = default CallingPartySubaddress = default BProtocol B1protocol = 0x1 B2protocol = 0x1 B3protocol = 0x0 B1configuration = default B2configuration = default B3configuration = default BC = default LLC = default HLC = default AdditionalInfo BChannelinformation = <00 00> Keypadfacility = default Useruserdata = default Facilitydataarray = default -- Called g1/0190527509/b CONNECT_CONF ID=001 #0x03e4 LEN=0014 Controller/PLCI/NCCI = 0x101 Info = 0x0 -- avm1: received CONNECT_CONF PLCI = 0x101 INFO_IND ID=001 #0xb6e9 LEN=0015 Controller/PLCI/NCCI = 0x101 InfoNumber = 0x8002 InfoElement = default INFO_RESP ID=001 #0xb6e9 LEN=0012 Controller/PLCI/NCCI = 0x101 -- avm1: info element CALL PROCEEDING CONNECT_B3_REQ ID=001 #0x03e5 LEN=0013 Controller/PLCI/NCCI = 0x101 NCPI = default INFO_IND ID=001 #0xb6ea LEN=0016 Controller/PLCI/NCCI = 0x101 InfoNumber = 0x18 InfoElement = <89> INFO_RESP ID=001 #0xb6ea LEN=0012 Controller/PLCI/NCCI = 0x101 -- avm1: info element CHANNEL IDENTIFICATION 89 -- CAPI/avm1/0190527509-2 is proceeding passing it to SIP/2006-2ae0 CONNECT_B3_CONF ID=001 #0x03e5 LEN=0014 Controller/PLCI/NCCI = 0x101 Info = 0x2001 Dec 28 11:18:15 WARNING[7721]: chan_capi.c:3334 show_capi_conf_error: avm1: conf_error 0x2001 PLCI=0x101 Command=CONNECT_B3_CONF,0x8487 > CAPI INFO 0x2001: Message not supported in current state INFO_IND ID=001 #0xb6eb LEN=0015 Controller/PLCI/NCCI = 0x101 InfoNumber = 0x8001 InfoElement = default INFO_RESP ID=001 #0xb6eb LEN=0012 Controller/PLCI/NCCI = 0x101 -- avm1: info element ALERTING INFO_IND ID=001 #0xb6ec LEN=0017 Controller/PLCI/NCCI = 0x101 InfoNumber = 0x1e InfoElement = <84 82> INFO_RESP ID=001 #0xb6ec LEN=0012 Controller/PLCI/NCCI = 0x101 -- avm1: info element PI 84 82 > avm1: Destination is non ISDN -- CAPI/avm1/0190527509-2 is ringing -- CAPI/avm1/0190527509-2 is making progress passing it to SIP/2006-2ae0 CONNECT_ACTIVE_IND ID=001 #0xb6ed LEN=0015 Controller/PLCI/NCCI = 0x101 ConnectedNumber = default ConnectedSubaddress = default LLC = default CONNECT_ACTIVE_RESP ID=001 #0xb6ed LEN=0012 Controller/PLCI/NCCI = 0x101 CONNECT_B3_REQ ID=001 #0x03e6 LEN=0013 Controller/PLCI/NCCI = 0x101 NCPI = default CONNECT_B3_CONF ID=001 #0x03e6 LEN=0014 Controller/PLCI/NCCI = 0x10101 Info = 0x0 CONNECT_B3_ACTIVE_IND ID=001 #0xb6ee LEN=0013 Controller/PLCI/NCCI = 0x10101 NCPI = default CONNECT_B3_ACTIVE_RESP ID=001 #0xb6ee LEN=0012 Controller/PLCI/NCCI = 0x10101 -- CAPI/avm1/0190527509-2 answered SIP/2006-2ae0 > avm1: too much voice to send for NCCI=0x10101 == avm1: CAPI Hangingup -- avm1: activehangingup (cause=0) DISCONNECT_B3_REQ ID=001 #0x0641 LEN=0013 Controller/PLCI/NCCI = 0x10101 NCPI = default == Spawn extension (macro-dialisdn, s, 4) exited non-zero on 'SIP/2006-2ae0' in macro 'dialisdn' == Spawn extension (from-local-phone, 0190527509, 1) exited non-zero on 'SIP/2006-2ae0' DISCONNECT_B3_CONF ID=001 #0x0641 LEN=0014 Controller/PLCI/NCCI = 0x10101 Info = 0x0 DISCONNECT_B3_IND ID=001 #0xb94d LEN=0015 Controller/PLCI/NCCI = 0x10101 Reason_B3 = 0x0 NCPI = default DISCONNECT_B3_RESP ID=001 #0xb94d LEN=0012 Controller/PLCI/NCCI = 0x10101 DISCONNECT_REQ ID=001 #0x0642 LEN=0017 Controller/PLCI/NCCI = 0x101 AdditionalInfo BChannelinformation = default Keypadfacility = default Useruserdata = default Facilitydataarray = default DISCONNECT_CONF ID=001 #0x0642 LEN=0014 Controller/PLCI/NCCI = 0x101 Info = 0x0 DISCONNECT_IND ID=001 #0xb94e LEN=0014 Controller/PLCI/NCCI = 0x101 Reason = 0x3400 DISCONNECT_RESP ID=001 #0xb94e LEN=0012 Controller/PLCI/NCCI = 0x101 == avm1: Interface cleanup PLCI=0x101 ;;; ;;; Test #3 - Call from Extension 2006 to 01905 757933 (Cable & Wireless number) ;;; ; ; Notes: ; ; 1. Just using the 'b' flag ; 2. Cisco 7960 displays "Proceeding (in 100)" briefly ; 3. Cisco 7960 displays "Session Progress (in 183) ; 4. approx 2 second delay while call setup occurs ; 5. Cisco 7960 displays "Ringing Destination (in 180)" ; 6. Double ringing occurs: BT exchange UK cadence + Cisco phone local USA cadance ; 7. when called party answers the 7960 displays 'Connected' and both sets of ringing stop ; ; ; Special Note: ; ; The subscriber (called party number) is on Cable & Wireless (LLU operator) ; in the same physical exchange as the ISDN2e for the calling party (01905756700) ; but are not beleived to be trunked locally (SS7 etc. on different networks) ; *CLI> *CLI> -- Executing Macro("SIP/2006-324c", "dialisdn|01905757933") in new stack -- Executing NoOp("SIP/2006-324c", ""ISDN: Dial out to: 01905757933 from: 2006"") in new stack -- Executing SetCallerID("SIP/2006-324c", "6700") in new stack -- Executing NoOp("SIP/2006-324c", ""ISDN: Updated our caller ID to: 6700 [Thorcom PBX]"") in new stack -- Executing Dial("SIP/2006-324c", "CAPI/g1/01905757933/b") in new stack > data = g1/01905757933/b > parsed dialstring: 'g1' '' '01905757933' 'b' > capi request group = 2 > parsed dialstring: 'g1' '' '01905757933' 'b' == avm1: Call CAPI/avm1/01905757933-2 with B3 (pres=0x00, ton=0x00) CONNECT_REQ ID=001 #0x016a LEN=0056 Controller/PLCI/NCCI = 0x1 CIPValue = 0x1 CalledPartyNumber = <80>01905757933 CallingPartyNumber = <00 80>6700 CalledPartySubaddress = default CallingPartySubaddress = default BProtocol B1protocol = 0x1 B2protocol = 0x1 B3protocol = 0x0 B1configuration = default B2configuration = default B3configuration = default BC = default LLC = default HLC = default AdditionalInfo BChannelinformation = <00 00> Keypadfacility = default Useruserdata = default Facilitydataarray = default -- Called g1/01905757933/b CONNECT_CONF ID=001 #0x016a LEN=0014 Controller/PLCI/NCCI = 0x101 Info = 0x0 -- avm1: received CONNECT_CONF PLCI = 0x101 INFO_IND ID=001 #0xbf41 LEN=0015 Controller/PLCI/NCCI = 0x101 InfoNumber = 0x800d InfoElement = default INFO_RESP ID=001 #0xbf41 LEN=0012 Controller/PLCI/NCCI = 0x101 -- avm1: info element SETUP ACK INFO_IND ID=001 #0xbf42 LEN=0017 Controller/PLCI/NCCI = 0x101 InfoNumber = 0x1e InfoElement = <82 88> INFO_RESP ID=001 #0xbf42 LEN=0012 Controller/PLCI/NCCI = 0x101 -- avm1: info element PI 82 88 > avm1: In-band information available CONNECT_B3_REQ ID=001 #0x016b LEN=0013 Controller/PLCI/NCCI = 0x101 NCPI = default INFO_IND ID=001 #0xbf43 LEN=0016 Controller/PLCI/NCCI = 0x101 InfoNumber = 0x18 InfoElement = <89> INFO_RESP ID=001 #0xbf43 LEN=0012 Controller/PLCI/NCCI = 0x101 -- avm1: info element CHANNEL IDENTIFICATION 89 -- CAPI/avm1/01905757933-2 is making progress passing it to SIP/2006-324c CONNECT_B3_CONF ID=001 #0x016b LEN=0014 Controller/PLCI/NCCI = 0x10101 Info = 0x0 CONNECT_B3_ACTIVE_IND ID=001 #0xbf44 LEN=0013 Controller/PLCI/NCCI = 0x10101 NCPI = default CONNECT_B3_ACTIVE_RESP ID=001 #0xbf44 LEN=0012 Controller/PLCI/NCCI = 0x10101 INFO_IND ID=001 #0xc02e LEN=0015 Controller/PLCI/NCCI = 0x101 InfoNumber = 0x8001 InfoElement = default INFO_RESP ID=001 #0xc02e LEN=0012 Controller/PLCI/NCCI = 0x101 -- avm1: info element ALERTING -- CAPI/avm1/01905757933-2 is ringing INFO_IND ID=001 #0xc02f LEN=0017 Controller/PLCI/NCCI = 0x101 InfoNumber = 0x1e InfoElement = <84 88> INFO_RESP ID=001 #0xc02f LEN=0012 Controller/PLCI/NCCI = 0x101 -- avm1: info element PI 84 88 > avm1: In-band information available CONNECT_ACTIVE_IND ID=001 #0xc1da LEN=0015 Controller/PLCI/NCCI = 0x101 ConnectedNumber = default ConnectedSubaddress = default LLC = default CONNECT_ACTIVE_RESP ID=001 #0xc1da LEN=0012 Controller/PLCI/NCCI = 0x101 -- CAPI/avm1/01905757933-2 answered SIP/2006-324c == avm1: CAPI Hangingup -- avm1: activehangingup (cause=0) DISCONNECT_B3_REQ ID=001 #0x034b LEN=0013 Controller/PLCI/NCCI = 0x10101 NCPI = default == Spawn extension (macro-dialisdn, s, 4) exited non-zero on 'SIP/2006-324c' in macro 'dialisdn' == Spawn extension (from-local-phone, 01905757933, 1) exited non-zero on 'SIP/2006-324c' DISCONNECT_B3_CONF ID=001 #0x034b LEN=0014 Controller/PLCI/NCCI = 0x10101 Info = 0x0 DISCONNECT_B3_IND ID=001 #0xc3bf LEN=0015 Controller/PLCI/NCCI = 0x10101 Reason_B3 = 0x0 NCPI = default DISCONNECT_B3_RESP ID=001 #0xc3bf LEN=0012 Controller/PLCI/NCCI = 0x10101 DISCONNECT_REQ ID=001 #0x034c LEN=0017 Controller/PLCI/NCCI = 0x101 AdditionalInfo BChannelinformation = default Keypadfacility = default Useruserdata = default Facilitydataarray = default DISCONNECT_CONF ID=001 #0x034c LEN=0014 Controller/PLCI/NCCI = 0x101 Info = 0x0 DISCONNECT_IND ID=001 #0xc3c0 LEN=0014 Controller/PLCI/NCCI = 0x101 Reason = 0x3400 DISCONNECT_RESP ID=001 #0xc3c0 LEN=0012 Controller/PLCI/NCCI = 0x101 == avm1: Interface cleanup PLCI=0x101 ;;; ;;; Test #4 - Call from extension 2006 to 01905888007 (Sipgate number) ;;; ; ; Notes: ; ; 1. Just using the 'b' flag ; 2. Cisco 7960 displays "Proceeding (in 100)" ; 3. approx 2 second hang while call set up proceeds ; 4. Cisco 7960 displays "Ringing Destination (in 180)" and phone rings with US ; style rining from local phone ; ; ; Special note: this is the most complex test bescause I use the SIPgate/ ; Magrethea number as a "find me anywhere" number and the call path was: ; ; Extn2006 -> ISDN/CAPI out on 01905756700 -> 01905888007 when then came ; back in as a SIP call to asterisk.thorcom.net (a different box) which ; then split the call into a SIP call to my desk and a new outgoimng (ISDN) ; call to my mobile. ; ; No matter how complex -- this works as expected :o) ; ; *CLI> *CLI> *CLI> *CLI> *CLI> *CLI> *CLI> -- Executing Macro("SIP/2006-029e", "dialisdn|01905888007") in new stack -- Executing NoOp("SIP/2006-029e", ""ISDN: Dial out to: 01905888007 from: 2006"") in new stack -- Executing SetCallerID("SIP/2006-029e", "6700") in new stack -- Executing NoOp("SIP/2006-029e", ""ISDN: Updated our caller ID to: 6700 [Thorcom PBX]"") in new stack -- Executing Dial("SIP/2006-029e", "CAPI/g1/01905888007/b") in new stack > data = g1/01905888007/b > parsed dialstring: 'g1' '' '01905888007' 'b' > capi request group = 2 > parsed dialstring: 'g1' '' '01905888007' 'b' == avm1: Call CAPI/avm1/01905888007-0 with B3 (pres=0x00, ton=0x00) CONNECT_REQ ID=001 #0x0009 LEN=0056 Controller/PLCI/NCCI = 0x1 CIPValue = 0x1 CalledPartyNumber = <80>01905888007 CallingPartyNumber = <00 80>6700 CalledPartySubaddress = default CallingPartySubaddress = default BProtocol B1protocol = 0x1 B2protocol = 0x1 B3protocol = 0x0 B1configuration = default B2configuration = default B3configuration = default BC = default LLC = default HLC = default AdditionalInfo BChannelinformation = <00 00> Keypadfacility = default Useruserdata = default Facilitydataarray = default -- Called g1/01905888007/b CONNECT_CONF ID=001 #0x0009 LEN=0014 Controller/PLCI/NCCI = 0x101 Info = 0x0 -- avm1: received CONNECT_CONF PLCI = 0x101 INFO_IND ID=001 #0xc3c1 LEN=0015 Controller/PLCI/NCCI = 0x101 InfoNumber = 0x8002 InfoElement = default INFO_RESP ID=001 #0xc3c1 LEN=0012 Controller/PLCI/NCCI = 0x101 -- avm1: info element CALL PROCEEDING CONNECT_B3_REQ ID=001 #0x000a LEN=0013 Controller/PLCI/NCCI = 0x101 NCPI = default INFO_IND ID=001 #0xc3c2 LEN=0016 Controller/PLCI/NCCI = 0x101 InfoNumber = 0x18 InfoElement = <89> INFO_RESP ID=001 #0xc3c2 LEN=0012 Controller/PLCI/NCCI = 0x101 -- avm1: info element CHANNEL IDENTIFICATION 89 -- CAPI/avm1/01905888007-0 is proceeding passing it to SIP/2006-029e CONNECT_B3_CONF ID=001 #0x000a LEN=0014 Controller/PLCI/NCCI = 0x101 Info = 0x2001 Dec 28 11:31:31 WARNING[7879]: chan_capi.c:3334 show_capi_conf_error: avm1: conf_error 0x2001 PLCI=0x101 Command=CONNECT_B3_CONF,0x8487 > CAPI INFO 0x2001: Message not supported in current state -- Accepting UNAUTHENTICATED call from 193.82.116.220: > requested format = alaw, > requested prefs = (alaw|ulaw), > actual format = alaw, > host prefs = (alaw|ulaw|g723|g729|gsm), > priority = mine -- Executing NoOp("IAX2/thorcom-1", ""IAX Trunk In: Call from: 01905756700"") in new stack -- Executing AGI("IAX2/thorcom-1", "what2do") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/what2do Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.5/Asterisk/AGI.pm line 587, line 19. what2do: callerid_num=01905756700 callerid_name=unknown unique_id=1135769493.2 extension=8109901 Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.5/Asterisk/AGI.pm line 587, line 20. what2do: search results: id=58 cid_name=Thorcom Systems Switchboard action=1 new_number= new_context= call_count=1 Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.5/Asterisk/AGI.pm line 587, line 21. what2do: search: callerid_num=01905756700 found id=58 cid_name=Thorcom Systems Switchboard action=1 Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.5/Asterisk/AGI.pm line 587, line 22. what2do: action=1: updating callerid to: Thorcom -- AGI Script what2do completed, returning 0 -- Executing Goto("IAX2/thorcom-1", "from-trunk2|8109901|1") in new stack -- Goto (from-trunk2,8109901,1) -- Executing NoOp("IAX2/thorcom-1", ""Thorcom 8N6 call -- from: 01905756700 to: 8109901"") in new stack -- Executing Goto("IAX2/thorcom-1", "local-numbers|9901|1") in new stack -- Goto (local-numbers,9901,1) -- Executing Dial("IAX2/thorcom-1", "SIP/9901&CAPI/g1/07973225144/b") in new stack -- Called 9901 > data = g1/07973225144/b > parsed dialstring: 'g1' '' '07973225144' 'b' > capi request group = 2 > parsed dialstring: 'g1' '' '07973225144' 'b' == avm1: Call CAPI/avm1/07973225144-1 with B3 (pres=0x00, ton=0x00) CONNECT_REQ ID=001 #0x000b LEN=0063 Controller/PLCI/NCCI = 0x1 CIPValue = 0x1 CalledPartyNumber = <80>07973225144 CallingPartyNumber = <00 80>01905756700 CalledPartySubaddress = default CallingPartySubaddress = default BProtocol B1protocol = 0x1 B2protocol = 0x1 B3protocol = 0x0 B1configuration = default B2configuration = default B3configuration = default BC = default LLC = default HLC = default AdditionalInfo BChannelinformation = <00 00> Keypadfacility = default Useruserdata = default Facilitydataarray = default -- Called g1/07973225144/b CONNECT_CONF ID=001 #0x000b LEN=0014 Controller/PLCI/NCCI = 0x201 Info = 0x0 -- avm1: received CONNECT_CONF PLCI = 0x201 INFO_IND ID=001 #0xc3c3 LEN=0015 Controller/PLCI/NCCI = 0x201 InfoNumber = 0x8002 InfoElement = default INFO_RESP ID=001 #0xc3c3 LEN=0012 Controller/PLCI/NCCI = 0x201 -- avm1: info element CALL PROCEEDING CONNECT_B3_REQ ID=001 #0x000c LEN=0013 Controller/PLCI/NCCI = 0x201 NCPI = default INFO_IND ID=001 #0xc3c4 LEN=0016 Controller/PLCI/NCCI = 0x201 InfoNumber = 0x18 InfoElement = <8a> INFO_RESP ID=001 #0xc3c4 LEN=0012 Controller/PLCI/NCCI = 0x201 -- avm1: info element CHANNEL IDENTIFICATION 8a -- CAPI/avm1/07973225144-1 is proceeding passing it to IAX2/thorcom-1 CONNECT_B3_CONF ID=001 #0x000c LEN=0014 Controller/PLCI/NCCI = 0x201 Info = 0x2001 Dec 28 11:31:33 WARNING[7879]: chan_capi.c:3334 show_capi_conf_error: avm1: conf_error 0x2001 PLCI=0x201 Command=CONNECT_B3_CONF,0x8487 > CAPI INFO 0x2001: Message not supported in current state -- SIP/9901-da83 is ringing INFO_IND ID=001 #0xc3c5 LEN=0015 Controller/PLCI/NCCI = 0x101 InfoNumber = 0x8001 InfoElement = default INFO_RESP ID=001 #0xc3c5 LEN=0012 Controller/PLCI/NCCI = 0x101 -- avm1: info element ALERTING -- CAPI/avm1/01905888007-0 is ringing INFO_IND ID=001 #0xc3c6 LEN=0015 Controller/PLCI/NCCI = 0x201 InfoNumber = 0x8001 InfoElement = default INFO_RESP ID=001 #0xc3c6 LEN=0012 Controller/PLCI/NCCI = 0x201 -- avm1: info element ALERTING -- CAPI/avm1/07973225144-1 is ringing == avm1: CAPI Hangingup -- avm1: activehangingup (cause=0) DISCONNECT_REQ ID=001 #0x000d LEN=0017 Controller/PLCI/NCCI = 0x101 AdditionalInfo BChannelinformation = default Keypadfacility = default Useruserdata = default Facilitydataarray = default == Spawn extension (macro-dialisdn, s, 4) exited non-zero on 'SIP/2006-029e' in macro 'dialisdn' == Spawn extension (from-local-phone, 01905888007, 1) exited non-zero on 'SIP/2006-029e' DISCONNECT_CONF ID=001 #0x000d LEN=0014 Controller/PLCI/NCCI = 0x101 Info = 0x0 DISCONNECT_IND ID=001 #0xc3c7 LEN=0014 Controller/PLCI/NCCI = 0x101 Reason = 0x3400 DISCONNECT_RESP ID=001 #0xc3c7 LEN=0012 Controller/PLCI/NCCI = 0x101 == avm1: Interface cleanup PLCI=0x101 == avm1: CAPI Hangingup -- avm1: activehangingup (cause=0) DISCONNECT_REQ ID=001 #0x000e LEN=0017 Controller/PLCI/NCCI = 0x201 AdditionalInfo BChannelinformation = default Keypadfacility = default Useruserdata = default Facilitydataarray = default == Spawn extension (local-numbers, 9901, 1) exited non-zero on 'IAX2/thorcom-1' DISCONNECT_CONF ID=001 #0x000e LEN=0014 Controller/PLCI/NCCI = 0x201 Info = 0x0 -- Hungup 'IAX2/thorcom-1' DISCONNECT_IND ID=001 #0xc3c8 LEN=0014 Controller/PLCI/NCCI = 0x201 Reason = 0x3400 DISCONNECT_RESP ID=001 #0xc3c8 LEN=0012 Controller/PLCI/NCCI = 0x201 == avm1: Interface cleanup PLCI=0x201