Thanks for the replies, yes i can confirm that extension to extension calling is fine and can hear each other no problems.
Below is log of call out and call in neither work.
In call:
freepbxCLI>
– Starting simple switch on ‘DAHDI/1-1’
freepbxCLI>
– Executing [s@from-analog:1] NoOp(“DAHDI/1-1”, "Entering from-dahdi with DID == ") in new stack
– Executing [s@from-analog:2] Ringing(“DAHDI/1-1”, “”) in new stack
– Executing [s@from-analog:3] Set(“DAHDI/1-1”, “DID=s”) in new stack
– Executing [s@from-analog:4] NoOp(“DAHDI/1-1”, “DID is now s”) in new stack
– Executing [s@from-analog:5] GotoIf(“DAHDI/1-1”, “1?dahdiok:checkzap”) in new stack
– Goto (from-analog,s,9)
– Executing [s@from-analog:9] NoOp(“DAHDI/1-1”, “Is a DAHDi Channel”) in new stack
– Executing [s@from-analog:10] Set(“DAHDI/1-1”, “CHAN=1-1”) in new stack
– Executing [s@from-analog:11] Set(“DAHDI/1-1”, “CHAN=1”) in new stack
– Executing [s@from-analog:12] Macro(“DAHDI/1-1”, “from-dahdi-1,s,1”) in new stack
[2020-02-14 18:20:27] WARNING[5409][C-00000006]: app_macro.c:329 _macro_exec: No such context ‘macro-from-dahdi-1’ for macro ‘from-dahdi-1’. Was called by s@from-analog
– Executing [s@from-analog:13] NoOp(“DAHDI/1-1”, “Returned from Macro from-dahdi-1”) in new stack
– Executing [s@from-analog:14] Goto(“DAHDI/1-1”, “from-pstn,s,1”) in new stack
– Goto (from-pstn,s,1)
– Executing [s@from-pstn:1] Set(“DAHDI/1-1”, “__DIRECTION=INBOUND”) in new stack
– Executing [s@from-pstn:2] Set(“DAHDI/1-1”, “CHANNEL(language)=en”) in new stack
– Executing [s@from-pstn:3] Gosub(“DAHDI/1-1”, “sub-record-check,s,1(in,s,dontcare)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“DAHDI/1-1”, “0?initialized”) in new stack
– Executing [s@sub-record-check:2] Set(“DAHDI/1-1”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:3] Set(“DAHDI/1-1”, “NOW=1581704427”) in new stack
– Executing [s@sub-record-check:4] Set(“DAHDI/1-1”, “__DAY=14”) in new stack
– Executing [s@sub-record-check:5] Set(“DAHDI/1-1”, “__MONTH=02”) in new stack
– Executing [s@sub-record-check:6] Set(“DAHDI/1-1”, “__YEAR=2020”) in new stack
– Executing [s@sub-record-check:7] Set(“DAHDI/1-1”, “__TIMESTR=20200214-182027”) in new stack
– Executing [s@sub-record-check:8] Set(“DAHDI/1-1”, “__FROMEXTEN=unknown”) in new stack
– Executing [s@sub-record-check:9] Set(“DAHDI/1-1”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:10] NoOp(“DAHDI/1-1”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“DAHDI/1-1”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“DAHDI/1-1”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“DAHDI/1-1”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“DAHDI/1-1”, “2?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“DAHDI/1-1”, “1?sub-record-check,in,1”) in new stack
– Goto (sub-record-check,in,1)
– Executing [in@sub-record-check:1] NoOp(“DAHDI/1-1”, “Inbound Recording Check to s”) in new stack
– Executing [in@sub-record-check:2] Set(“DAHDI/1-1”, “FROMEXTEN=unknown”) in new stack
– Executing [in@sub-record-check:3] ExecIf(“DAHDI/1-1”, “0?Set(FROMEXTEN=)”) in new stack
– Executing [in@sub-record-check:4] Gosub(“DAHDI/1-1”, “recordcheck,1(dontcare,in,s)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“DAHDI/1-1”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“DAHDI/1-1”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“DAHDI/1-1”, “”) in new stack
– Executing [in@sub-record-check:5] Return(“DAHDI/1-1”, “”) in new stack
– Executing [s@from-pstn:4] Set(“DAHDI/1-1”, “CHANNEL(tonezone)=uk”) in new stack
– Executing [s@from-pstn:5] ExecIf(“DAHDI/1-1”, “1?Set(__FROM_DID=s)”) in new stack
– Executing [s@from-pstn:6] Set(“DAHDI/1-1”, “returnhere=1”) in new stack
– Executing [s@from-pstn:7] Gosub(“DAHDI/1-1”, “app-blacklist-check,s,1()”) in new stack
– Executing [s@app-blacklist-check:1] GotoIf(“DAHDI/1-1”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:2] Set(“DAHDI/1-1”, “CALLED_BLACKLIST=1”) in new stack
– Executing [s@app-blacklist-check:3] Return(“DAHDI/1-1”, “”) in new stack
– Executing [s@from-pstn:8] Set(“DAHDI/1-1”, “CDR(did)=s”) in new stack
– Executing [s@from-pstn:9] GotoIf(“DAHDI/1-1”, “0?”) in new stack
– Executing [s@from-pstn:10] ExecIf(“DAHDI/1-1”, “1 ?Set(CALLERID(name)=)”) in new stack
– Executing [s@from-pstn:11] Set(“DAHDI/1-1”, “__MOHCLASS=”) in new stack
– Executing [s@from-pstn:12] Ringing(“DAHDI/1-1”, “”) in new stack
– Executing [s@from-pstn:13] Set(“DAHDI/1-1”, “__RINGINGSENT=TRUE”) in new stack
– Executing [s@from-pstn:14] Set(“DAHDI/1-1”, “__REVERSAL_REJECT=FALSE”) in new stack
– Executing [s@from-pstn:15] GotoIf(“DAHDI/1-1”, “1?post-reverse-charge”) in new stack
– Goto (from-pstn,s,17)
– Executing [s@from-pstn:17] NoOp(“DAHDI/1-1”, “”) in new stack
– Executing [s@from-pstn:18] Set(“DAHDI/1-1”, “__CALLINGNAMEPRES_SV=allowed_not_screened”) in new stack
– Executing [s@from-pstn:19] Set(“DAHDI/1-1”, “__CALLINGNUMPRES_SV=allowed_not_screened”) in new stack
– Executing [s@from-pstn:20] Set(“DAHDI/1-1”, “CALLERID(name-pres)=allowed_not_screened”) in new stack
– Executing [s@from-pstn:21] Set(“DAHDI/1-1”, “CALLERID(num-pres)=allowed_not_screened”) in new stack
– Executing [s@from-pstn:22] NoOp(“DAHDI/1-1”, “CallerID Entry Point”) in new stack
– Executing [s@from-pstn:23] Goto(“DAHDI/1-1”, “from-did-direct,101,1”) in new stack
– Goto (from-did-direct,101,1)
– Executing [101@from-did-direct:1] GotoIf(“DAHDI/1-1”, “1?ext-local,101,1:followme-check,101,1”) in new stack
– Goto (ext-local,101,1)
– Executing [101@ext-local:1] Set(“DAHDI/1-1”, “__RINGTIMER=15”) in new stack
– Executing [101@ext-local:2] Macro(“DAHDI/1-1”, “exten-vm,novm,101,0,0,0”) in new stack
– Executing [s@macro-exten-vm:1] Macro(“DAHDI/1-1”, “user-callerid,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“DAHDI/1-1”, “TOUCH_MONITOR=1581704417.5”) in new stack
– Executing [s@macro-user-callerid:2] Set(“DAHDI/1-1”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:3] Set(“DAHDI/1-1”, “HOTDESCKCHAN=1-1”) in new stack
– Executing [s@macro-user-callerid:4] Set(“DAHDI/1-1”, “HOTDESKEXTEN=1”) in new stack
– Executing [s@macro-user-callerid:5] Set(“DAHDI/1-1”, “HOTDESKCALL=0”) in new stack
– Executing [s@macro-user-callerid:6] ExecIf(“DAHDI/1-1”, “0?Set(HOTDESKCALL=1)”) in new stack
– Executing [s@macro-user-callerid:7] ExecIf(“DAHDI/1-1”, “0?Set(CALLERID(name)=)”) in new stack
– Executing [s@macro-user-callerid:8] GotoIf(“DAHDI/1-1”, “0?report”) in new stack
– Executing [s@macro-user-callerid:9] ExecIf(“DAHDI/1-1”, “1?Set(REALCALLERIDNUM=)”) in new stack
– Executing [s@macro-user-callerid:10] Set(“DAHDI/1-1”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:11] GotoIf(“DAHDI/1-1”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:12] Set(“DAHDI/1-1”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:13] ExecIf(“DAHDI/1-1”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
– Executing [s@macro-user-callerid:14] GotoIf(“DAHDI/1-1”, “1?report”) in new stack
– Goto (macro-user-callerid,s,22)
– Executing [s@macro-user-callerid:22] NoOp(“DAHDI/1-1”, “Macro Depth is 2”) in new stack
– Executing [s@macro-user-callerid:23] GotoIf(“DAHDI/1-1”, “1?report2:macroerror”) in new stack
– Goto (macro-user-callerid,s,24)
– Executing [s@macro-user-callerid:24] GotoIf(“DAHDI/1-1”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:25] ExecIf(“DAHDI/1-1”, “1?Set(__CALLEE_ACCOUNCODE=)”) in new stack
– Executing [s@macro-user-callerid:26] Set(“DAHDI/1-1”, “__TTL=64”) in new stack
– Executing [s@macro-user-callerid:27] GotoIf(“DAHDI/1-1”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,43)
– Executing [s@macro-user-callerid:43] Set(“DAHDI/1-1”, “CALLERID(number)=”) in new stack
– Executing [s@macro-user-callerid:44] Set(“DAHDI/1-1”, “CALLERID(name)=”) in new stack
– Executing [s@macro-user-callerid:45] GotoIf(“DAHDI/1-1”, “1?cnum”) in new stack
– Goto (macro-user-callerid,s,47)
– Executing [s@macro-user-callerid:47] Set(“DAHDI/1-1”, “CDR(cnum)=”) in new stack
– Executing [s@macro-user-callerid:48] Set(“DAHDI/1-1”, “CHANNEL(language)=en”) in new stack
– Executing [s@macro-exten-vm:2] Set(“DAHDI/1-1”, “RingGroupMethod=none”) in new stack
– Executing [s@macro-exten-vm:3] Set(“DAHDI/1-1”, “__EXTTOCALL=101”) in new stack
– Executing [s@macro-exten-vm:4] Set(“DAHDI/1-1”, “__PICKUPMARK=101”) in new stack
– Executing [s@macro-exten-vm:5] Set(“DAHDI/1-1”, “RT=”) in new stack
[2020-02-14 18:20:27] WARNING[5409][C-00000006]: chan_sip.c:23160 func_header_read: This function can only be used on SIP channels.
– Executing [s@macro-exten-vm:6] ExecIf(“DAHDI/1-1”, “0?Macro(vm,novm,DIRECTDIAL,)”) in new stack
[2020-02-14 18:20:27] WARNING[5409][C-00000006]: chan_sip.c:23160 func_header_read: This function can only be used on SIP channels.
[2020-02-14 18:20:27] WARNING[5409][C-00000006]: chan_sip.c:23160 func_header_read: This function can only be used on SIP channels.
– Executing [s@macro-exten-vm:7] ExecIf(“DAHDI/1-1”, “0?MacroExit()”) in new stack
[2020-02-14 18:20:27] WARNING[5409][C-00000006]: chan_sip.c:23160 func_header_read: This function can only be used on SIP channels.
[2020-02-14 18:20:27] WARNING[5409][C-00000006]: chan_sip.c:23160 func_header_read: This function can only be used on SIP channels.
– Executing [s@macro-exten-vm:8] ExecIf(“DAHDI/1-1”, “0?Gosub(ext-intercom,*80101,1())”) in new stack
[2020-02-14 18:20:27] WARNING[5409][C-00000006]: chan_sip.c:23160 func_header_read: This function can only be used on SIP channels.
[2020-02-14 18:20:27] WARNING[5409][C-00000006]: chan_sip.c:23160 func_header_read: This function can only be used on SIP channels.
– Executing [s@macro-exten-vm:9] ExecIf(“DAHDI/1-1”, “0?MacroExit()”) in new stack
[2020-02-14 18:20:27] WARNING[5409][C-00000006]: chan_sip.c:23160 func_header_read: This function can only be used on SIP channels.
[2020-02-14 18:20:27] WARNING[5409][C-00000006]: chan_sip.c:23160 func_header_read: This function can only be used on SIP channels.
– Executing [s@macro-exten-vm:10] ExecIf(“DAHDI/1-1”, “0?ChanSpy(PJSIP/101,q)”) in new stack
[2020-02-14 18:20:27] WARNING[5409][C-00000006]: chan_sip.c:23160 func_header_read: This function can only be used on SIP channels.
[2020-02-14 18:20:27] WARNING[5409][C-00000006]: chan_sip.c:23160 func_header_read: This function can only be used on SIP channels.
– Executing [s@macro-exten-vm:11] ExecIf(“DAHDI/1-1”, “0?MacroExit()”) in new stack
[2020-02-14 18:20:27] WARNING[5409][C-00000006]: chan_sip.c:23160 func_header_read: This function can only be used on SIP channels.
[2020-02-14 18:20:27] ERROR[5409][C-00000006]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:12] ExecIf(“DAHDI/1-1”, “0?Macro(vm,novm,DIRECTDIAL,)”) in new stack
[2020-02-14 18:20:27] ERROR[5409][C-00000006]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
[2020-02-14 18:20:27] ERROR[5409][C-00000006]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:13] ExecIf(“DAHDI/1-1”, “0?MacroExit()”) in new stack
[2020-02-14 18:20:27] ERROR[5409][C-00000006]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
[2020-02-14 18:20:27] ERROR[5409][C-00000006]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:14] ExecIf(“DAHDI/1-1”, “0?Gosub(ext-intercom,*80101,1())”) in new stack
[2020-02-14 18:20:27] ERROR[5409][C-00000006]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
[2020-02-14 18:20:27] ERROR[5409][C-00000006]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:15] ExecIf(“DAHDI/1-1”, “0?MacroExit()”) in new stack
[2020-02-14 18:20:27] ERROR[5409][C-00000006]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
[2020-02-14 18:20:27] ERROR[5409][C-00000006]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:16] ExecIf(“DAHDI/1-1”, “0?ChanSpy(PJSIP/101,q)”) in new stack
[2020-02-14 18:20:27] ERROR[5409][C-00000006]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
[2020-02-14 18:20:27] ERROR[5409][C-00000006]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:17] ExecIf(“DAHDI/1-1”, “0?MacroExit()”) in new stack
[2020-02-14 18:20:27] ERROR[5409][C-00000006]: res_pjsip_header_funcs.c:454 func_read_header: This function requires a PJSIP channel.
– Executing [s@macro-exten-vm:18] Gosub(“DAHDI/1-1”, “sub-record-check,s,1(exten,101,dontcare)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“DAHDI/1-1”, “7?initialized”) in new stack
– Goto (sub-record-check,s,10)
– Executing [s@sub-record-check:10] NoOp(“DAHDI/1-1”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“DAHDI/1-1”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“DAHDI/1-1”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“DAHDI/1-1”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“DAHDI/1-1”, “5?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“DAHDI/1-1”, “1?sub-record-check,exten,1”) in new stack
– Goto (sub-record-check,exten,1)
– Executing [exten@sub-record-check:1] NoOp(“DAHDI/1-1”, “Exten Recording Check between unknown and 101”) in new stack
– Executing [exten@sub-record-check:2] Set(“DAHDI/1-1”, “CALLTYPE=external”) in new stack
– Executing [exten@sub-record-check:3] ExecIf(“DAHDI/1-1”, “0?Set(CALLTYPE=)”) in new stack
– Executing [exten@sub-record-check:4] Set(“DAHDI/1-1”, “CALLEE=dontcare”) in new stack
– Executing [exten@sub-record-check:5] ExecIf(“DAHDI/1-1”, “0?Set(CALLEE=dontcare)”) in new stack
– Executing [exten@sub-record-check:6] GotoIf(“DAHDI/1-1”, “1?callee”) in new stack
– Goto (sub-record-check,exten,11)
– Executing [exten@sub-record-check:11] Gosub(“DAHDI/1-1”, “recordcheck,1(dontcare,external,101)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“DAHDI/1-1”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“DAHDI/1-1”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“DAHDI/1-1”, “”) in new stack
– Executing [exten@sub-record-check:12] Return(“DAHDI/1-1”, “”) in new stack
– Executing [s@macro-exten-vm:19] GotoIf(“DAHDI/1-1”, “1?macrodial”) in new stack
– Goto (macro-exten-vm,s,25)
– Executing [s@macro-exten-vm:25] GosubIf(“DAHDI/1-1”, “0?clrheader,1()”) in new stack
– Executing [s@macro-exten-vm:26] Macro(“DAHDI/1-1”, “dial-one,HhTtr,101”) in new stack
– Executing [s@macro-dial-one:1] Set(“DAHDI/1-1”, “DEXTEN=101”) in new stack
– Executing [s@macro-dial-one:2] ExecIf(“DAHDI/1-1”, “0?Set(__EXTTOCALL=101)”) in new stack
– Executing [s@macro-dial-one:3] Set(“DAHDI/1-1”, “DIALSTATUS_CW=”) in new stack
– Executing [s@macro-dial-one:4] GosubIf(“DAHDI/1-1”, “0?screen,1()”) in new stack
– Executing [s@macro-dial-one:5] GosubIf(“DAHDI/1-1”, “0?cf,1()”) in new stack
– Executing [s@macro-dial-one:6] GotoIf(“DAHDI/1-1”, “1?skip1”) in new stack
– Goto (macro-dial-one,s,9)
– Executing [s@macro-dial-one:9] GotoIf(“DAHDI/1-1”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:10] GotoIf(“DAHDI/1-1”, “0?continue”) in new stack
– Executing [s@macro-dial-one:11] Set(“DAHDI/1-1”, “EXTHASCW=ENABLED”) in new stack
– Executing [s@macro-dial-one:12] GotoIf(“DAHDI/1-1”, “0?next1:cwinusebusy”) in new stack
– Goto (macro-dial-one,s,24)
– Executing [s@macro-dial-one:24] GotoIf(“DAHDI/1-1”, “0?next3:continue”) in new stack
– Goto (macro-dial-one,s,26)
– Executing [s@macro-dial-one:26] GotoIf(“DAHDI/1-1”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:27] GosubIf(“DAHDI/1-1”, “1?dstring,1():dlocal,1()”) in new stack
– Executing [dstring@macro-dial-one:1] Set(“DAHDI/1-1”, “DSTRING=”) in new stack
– Executing [dstring@macro-dial-one:2] Set(“DAHDI/1-1”, “DEVICES=101”) in new stack
– Executing [dstring@macro-dial-one:3] ExecIf(“DAHDI/1-1”, “0?Return()”) in new stack
– Executing [dstring@macro-dial-one:4] ExecIf(“DAHDI/1-1”, “0?Set(DEVICES=01)”) in new stack
– Executing [dstring@macro-dial-one:5] Set(“DAHDI/1-1”, “LOOPCNT=1”) in new stack
– Executing [dstring@macro-dial-one:6] Set(“DAHDI/1-1”, “ITER=1”) in new stack
– Executing [dstring@macro-dial-one:7] Set(“DAHDI/1-1”, “THISDIAL=PJSIP/101”) in new stack
– Executing [dstring@macro-dial-one:8] GotoIf(“DAHDI/1-1”, “0?docheck”) in new stack
– Executing [dstring@macro-dial-one:9] NoOp(“DAHDI/1-1”, “Debug: Found PJSIP Destination PJSIP/101”) in new stack
– Executing [dstring@macro-dial-one:10] GotoIf(“DAHDI/1-1”, “0?doset”) in new stack
– Executing [dstring@macro-dial-one:11] NoOp(“DAHDI/1-1”, “Debug: Updating PJSIP Destination with PJSIP_DIAL_CONTACTS”) in new stack
– Executing [dstring@macro-dial-one:12] Set(“DAHDI/1-1”, “THISDIAL=PJSIP/101/sip:[email protected]:5060”) in new stack
– Executing [dstring@macro-dial-one:13] ExecIf(“DAHDI/1-1”, “0?Set(DIALSTATUS=CHANUNAVAIL)”) in new stack
– Executing [dstring@macro-dial-one:14] GotoIf(“DAHDI/1-1”, “0?skipset”) in new stack
– Executing [dstring@macro-dial-one:15] Set(“DAHDI/1-1”, “DSTRING=PJSIP/101/sip:[email protected]:5060&”) in new stack
– Executing [dstring@macro-dial-one:16] Set(“DAHDI/1-1”, “ITER=2”) in new stack
– Executing [dstring@macro-dial-one:17] GotoIf(“DAHDI/1-1”, “0?begin”) in new stack
– Executing [dstring@macro-dial-one:18] ExecIf(“DAHDI/1-1”, “0?Return()”) in new stack
– Executing [dstring@macro-dial-one:19] Set(“DAHDI/1-1”, “DSTRING=PJSIP/101/sip:[email protected]:5060”) in new stack
– Executing [dstring@macro-dial-one:20] Return(“DAHDI/1-1”, “”) in new stack
– Executing [s@macro-dial-one:28] GotoIf(“DAHDI/1-1”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:29] GotoIf(“DAHDI/1-1”, “0?skiptrace”) in new stack
– Executing [s@macro-dial-one:30] GosubIf(“DAHDI/1-1”, “0?ctset,1():ctclear,1()”) in new stack
– Executing [ctclear@macro-dial-one:1] NoOp(“DAHDI/1-1”, "Deleting: CALLTRACE/101 ") in new stack
– Executing [ctclear@macro-dial-one:2] Return(“DAHDI/1-1”, “”) in new stack
– Executing [s@macro-dial-one:31] Set(“DAHDI/1-1”, “D_OPTIONS=HhTtr”) in new stack
– Executing [s@macro-dial-one:32] GosubIf(“DAHDI/1-1”, “0?func-set-sipheader,s,1(Alert-Info,)”) in new stack
– Executing [s@macro-dial-one:33] NoOp(“DAHDI/1-1”, "Blind Transfer: , Attended Transfer: , User: , Alert Info: ") in new stack
– Executing [s@macro-dial-one:34] ExecIf(“DAHDI/1-1”, “0?Set(ALERT_INFO=)”) in new stack
– Executing [s@macro-dial-one:35] ExecIf(“DAHDI/1-1”, “0?Set(ALERT_INFO=)”) in new stack
– Executing [s@macro-dial-one:36] ExecIf(“DAHDI/1-1”, “0?Set(ALERT_INFO=)”) in new stack
– Executing [s@macro-dial-one:37] ExecIf(“DAHDI/1-1”, “0?Set(ALERT_INFO=Normal;volume=)”) in new stack
– Executing [s@macro-dial-one:38] ExecIf(“DAHDI/1-1”, “0?Set(ALERT_INFO=Normal;volume=)”) in new stack
– Executing [s@macro-dial-one:39] GosubIf(“DAHDI/1-1”, “0?func-set-sipheader,s,1(Alert-Info,)”) in new stack
– Executing [s@macro-dial-one:40] ExecIf(“DAHDI/1-1”, “0?Set(CHANNEL(musicclass)=)”) in new stack
– Executing [s@macro-dial-one:41] GosubIf(“DAHDI/1-1”, “0?qwait,1()”) in new stack
– Executing [s@macro-dial-one:42] Set(“DAHDI/1-1”, “__CWIGNORE=”) in new stack
– Executing [s@macro-dial-one:43] Set(“DAHDI/1-1”, “__KEEPCID=TRUE”) in new stack
– Executing [s@macro-dial-one:44] GotoIf(“DAHDI/1-1”, “0?usegoto,1”) in new stack
– Executing [s@macro-dial-one:45] GotoIf(“DAHDI/1-1”, “1?godial”) in new stack
– Goto (macro-dial-one,s,50)
– Executing [s@macro-dial-one:50] Macro(“DAHDI/1-1”, “dialout-one-predial-hook,”) in new stack
– Executing [s@macro-dialout-one-predial-hook:1] MacroExit(“DAHDI/1-1”, “”) in new stack
– Executing [s@macro-dial-one:51] ExecIf(“DAHDI/1-1”, “1?Set(D_OPTIONS=HhtrI)”) in new stack
– Executing [s@macro-dial-one:52] ExecIf(“DAHDI/1-1”, “0?Set(CWRING=r(callwaiting)):Set(CWRING=)”) in new stack
– Executing [s@macro-dial-one:53] NoOp(“DAHDI/1-1”, “”) in new stack
– Executing [s@macro-dial-one:54] ExecIf(“DAHDI/1-1”, “0?Set(D_OPTIONS=HhtrIg)”) in new stack
– Executing [s@macro-dial-one:55] Dial(“DAHDI/1-1”, “PJSIP/101/sip:[email protected]:5060,HhtrIb(func-apply-sipheaders^s^1)”) in new stack
– PJSIP/101-00000003 Internal Gosub(func-apply-sipheaders,s,1) start
– Executing [s@func-apply-sipheaders:1] NoOp(“PJSIP/101-00000003”, “Applying SIP Headers to channel PJSIP/101-00000003”) in new stack
– Executing [s@func-apply-sipheaders:2] Set(“PJSIP/101-00000003”, “TECH=PJSIP”) in new stack
– Executing [s@func-apply-sipheaders:3] Set(“PJSIP/101-00000003”, “SIPHEADERKEYS=”) in new stack
– Executing [s@func-apply-sipheaders:4] While(“PJSIP/101-00000003”, “0”) in new stack
– Jumping to priority 12
– Executing [s@func-apply-sipheaders:13] Return(“PJSIP/101-00000003”, “”) in new stack
== Spawn extension (from-internal, 101, 1) exited non-zero on ‘PJSIP/101-00000003’
– PJSIP/101-00000003 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
– Called PJSIP/101/sip:[email protected]:5060
== Using SIP RTP Audio TOS bits 184
== Using SIP RTP Audio TOS bits 184 in TCLASS field.
== Using SIP RTP Audio CoS mark 5
– Connected line update to DAHDI/1-1 prevented.
– PJSIP/101-00000003 is ringing
– PJSIP/101-00000003 is ringing
> 0x7f6a2c0792a0 – Strict RTP learning after remote address set to: 192.168.5.2:12468
– PJSIP/101-00000003 answered DAHDI/1-1
– Channel PJSIP/101-00000003 joined ‘simple_bridge’ basic-bridge <41eda9a4-d73c-4984-b0d9-a99dedf801b1>
– Channel DAHDI/1-1 joined ‘simple_bridge’ basic-bridge <41eda9a4-d73c-4984-b0d9-a99dedf801b1>
> 0x7f6a2c0792a0 – Strict RTP switching to RTP target address 192.168.5.2:12468 as source
> 0x7f6a2c0792a0 – Strict RTP learning complete - Locking on source address 192.168.5.2:12468
– Channel PJSIP/101-00000003 left ‘simple_bridge’ basic-bridge <41eda9a4-d73c-4984-b0d9-a99dedf801b1>
– Channel DAHDI/1-1 left ‘simple_bridge’ basic-bridge <41eda9a4-d73c-4984-b0d9-a99dedf801b1>
== Spawn extension (macro-dial-one, s, 55) exited non-zero on ‘DAHDI/1-1’ in macro ‘dial-one’
== Spawn extension (macro-exten-vm, s, 26) exited non-zero on ‘DAHDI/1-1’ in macro ‘exten-vm’
== Spawn extension (ext-local, 101, 2) exited non-zero on ‘DAHDI/1-1’
– Executing [h@ext-local:1] Macro(“DAHDI/1-1”, “hangupcall,”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“DAHDI/1-1”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“DAHDI/1-1”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] NoOp(“DAHDI/1-1”, "PJSIP/101-00000003 montior file= ") in new stack
– Executing [s@macro-hangupcall:5] GotoIf(“DAHDI/1-1”, “1?skipagi”) in new stack
– Goto (macro-hangupcall,s,7)
– Executing [s@macro-hangupcall:7] Hangup(“DAHDI/1-1”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘DAHDI/1-1’ in macro ‘hangupcall’
== Spawn extension (ext-local, h, 1) exited non-zero on ‘DAHDI/1-1’
– Hanging up on ‘DAHDI/1-1’
– Hungup ‘DAHDI/1-1’