There’s no indication that FreePBX 14 recognizes the incoming call. The asterisk console doesn’t log any messages, even in verbose mode.
Running ‘wanpipemon -i w1g1 -c astats -m 2’ returns:
------- Voltage Status (FXO,port 1) -------
VOLTAGE : 49 Volts
------- Line Status (FXO,port 1) -------
Line : connected
The voltage goes up to ~120 Volts when ringing, which confirms that the line is connected correctly (but I already knew that).
By contast, FreePBX 13 showed me a rather lengthy log:
-- Executing [s@from-analog:1] NoOp("DAHDI/2-1", "Entering from-dahdi with DID == ") in new stack
-- Executing [s@from-analog:2] Ringing("DAHDI/2-1", "") in new stack
-- Executing [s@from-analog:3] Set("DAHDI/2-1", "DID=s") in new stack
-- Executing [s@from-analog:4] NoOp("DAHDI/2-1", "DID is now s") in new stack
-- Executing [s@from-analog:5] GotoIf("DAHDI/2-1", "1?dahdiok:checkzap") in new stack
-- Goto (from-analog,s,9)
-- Executing [s@from-analog:9] NoOp("DAHDI/2-1", "Is a DAHDi Channel") in new stack
-- Executing [s@from-analog:10] Set("DAHDI/2-1", "CHAN=2-1") in new stack
-- Executing [s@from-analog:11] Set("DAHDI/2-1", "CHAN=2") in new stack
-- Executing [s@from-analog:12] Macro("DAHDI/2-1", "from-dahdi-2,s,1") in new stack
[2018-12-10 09:01:19] WARNING[16984][C-00000007]: app_macro.c:310 _macro_exec: No such context 'macro-from-dahdi-2' for macro 'from-dahdi-2'. Was called by s@from-analog
-- Executing [s@from-analog:13] NoOp("DAHDI/2-1", "Returned from Macro from-dahdi-2") in new stack
-- Executing [s@from-analog:14] Goto("DAHDI/2-1", "from-pstn,s,1") in new stack
-- Goto (from-pstn,s,1)
-- Executing [s@from-pstn:1] Set("DAHDI/2-1", "__DIRECTION=INBOUND") in new stack
-- Executing [s@from-pstn:2] ExecIf("DAHDI/2-1", "1?Set(__FROM_DID=s)") in new stack
-- Executing [s@from-pstn:3] Set("DAHDI/2-1", "returnhere=1") in new stack
-- Executing [s@from-pstn:4] Gosub("DAHDI/2-1", "app-blacklist-check,s,1()") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("DAHDI/2-1", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("DAHDI/2-1", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("DAHDI/2-1", "") in new stack
-- Executing [s@from-pstn:5] Set("DAHDI/2-1", "CDR(did)=s") in new stack
-- Executing [s@from-pstn:6] GotoIf("DAHDI/2-1", "0?") in new stack
-- Executing [s@from-pstn:7] ExecIf("DAHDI/2-1", "1 ?Set(CALLERID(name)=)") in new stack
-- Executing [s@from-pstn:8] Set("DAHDI/2-1", "__MOHCLASS=") in new stack
-- Executing [s@from-pstn:9] Set("DAHDI/2-1", "__REVERSAL_REJECT=FALSE") in new stack
-- Executing [s@from-pstn:10] GotoIf("DAHDI/2-1", "1?post-reverse-charge") in new stack
-- Goto (from-pstn,s,12)
-- Executing [s@from-pstn:12] NoOp("DAHDI/2-1", "") in new stack
-- Executing [s@from-pstn:13] Set("DAHDI/2-1", "__CALLINGNAMEPRES_SV=allowed_not_screened") in new stack
-- Executing [s@from-pstn:14] Set("DAHDI/2-1", "__CALLINGNUMPRES_SV=allowed_not_screened") in new stack
-- Executing [s@from-pstn:15] Set("DAHDI/2-1", "CALLERID(name-pres)=allowed_not_screened") in new stack
-- Executing [s@from-pstn:16] Set("DAHDI/2-1", "CALLERID(num-pres)=allowed_not_screened") in new stack
-- Executing [s@from-pstn:17] NoOp("DAHDI/2-1", "CallerID Entry Point") in new stack
-- Executing [s@from-pstn:18] Goto("DAHDI/2-1", "from-did-direct,225,1") in new stack
-- Goto (from-did-direct,225,1)
-- Executing [225@from-did-direct:1] GotoIf("DAHDI/2-1", "1?ext-local,225,1:followme-check,225,1") in new stack
-- Goto (ext-local,225,1)
-- Executing [225@ext-local:1] Set("DAHDI/2-1", "__RINGTIMER=15") in new stack
-- Executing [225@ext-local:2] Macro("DAHDI/2-1", "exten-vm,novm,225,0,0,0") in new stack
-- Executing [s@macro-exten-vm:1] Macro("DAHDI/2-1", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("DAHDI/2-1", "TOUCH_MONITOR=1544461273.12") in new stack
-- Executing [s@macro-user-callerid:2] Set("DAHDI/2-1", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("DAHDI/2-1", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("DAHDI/2-1", "1?Set(REALCALLERIDNUM=)") in new stack
-- Executing [s@macro-user-callerid:5] Set("DAHDI/2-1", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/2-1", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("DAHDI/2-1", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:8] ExecIf("DAHDI/2-1", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("DAHDI/2-1", "1?report") in new stack
-- Goto (macro-user-callerid,s,16)
-- Executing [s@macro-user-callerid:16] NoOp("DAHDI/2-1", "Macro Depth is 2") in new stack
-- Executing [s@macro-user-callerid:17] GotoIf("DAHDI/2-1", "1?report2:macroerror") in new stack
-- Goto (macro-user-callerid,s,18)
-- Executing [s@macro-user-callerid:18] GotoIf("DAHDI/2-1", "0?continue") in new stack
-- Executing [s@macro-user-callerid:19] ExecIf("DAHDI/2-1", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
-- Executing [s@macro-user-callerid:20] Set("DAHDI/2-1", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:21] GotoIf("DAHDI/2-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,37)
-- Executing [s@macro-user-callerid:37] Set("DAHDI/2-1", "CALLERID(number)=") in new stack
-- Executing [s@macro-user-callerid:38] Set("DAHDI/2-1", "CALLERID(name)=") in new stack
-- Executing [s@macro-user-callerid:39] GotoIf("DAHDI/2-1", "1?cnum") in new stack
-- Goto (macro-user-callerid,s,41)
-- Executing [s@macro-user-callerid:41] Set("DAHDI/2-1", "CDR(cnum)=") in new stack
[2018-12-10 09:01:19] WARNING[2343]: func_cdr.c:383 cdr_write_callback: CDR requires a value (CDR(variable)=value)
-- Executing [s@macro-user-callerid:42] Set("DAHDI/2-1", "CHANNEL(language)=en") in new stack
-- Executing [s@macro-exten-vm:2] Set("DAHDI/2-1", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("DAHDI/2-1", "__EXTTOCALL=225") in new stack
-- Executing [s@macro-exten-vm:4] Set("DAHDI/2-1", "__PICKUPMARK=225") in new stack
-- Executing [s@macro-exten-vm:5] Set("DAHDI/2-1", "RT=") in new stack
[2018-12-10 09:01:19] WARNING[16984][C-00000007]: chan_sip.c:22814 func_header_read: This function can only be used on SIP channels.
-- Executing [s@macro-exten-vm:6] ExecIf("DAHDI/2-1", "0?Macro(vm,novm,DIRECTDIAL,)") in new stack
[2018-12-10 09:01:19] WARNING[16984][C-00000007]: chan_sip.c:22814 func_header_read: This function can only be used on SIP channels.
[2018-12-10 09:01:19] WARNING[16984][C-00000007]: chan_sip.c:22814 func_header_read: This function can only be used on SIP channels.
-- Executing [s@macro-exten-vm:7] ExecIf("DAHDI/2-1", "0?MacroExit()") in new stack
[2018-12-10 09:01:19] WARNING[16984][C-00000007]: chan_sip.c:22814 func_header_read: This function can only be used on SIP channels.
[2018-12-10 09:01:19] WARNING[16984][C-00000007]: chan_sip.c:22814 func_header_read: This function can only be used on SIP channels.
-- Executing [s@macro-exten-vm:8] ExecIf("DAHDI/2-1", "0?Gosub(ext-intercom,*80225,1())") in new stack
[2018-12-10 09:01:19] WARNING[16984][C-00000007]: chan_sip.c:22814 func_header_read: This function can only be used on SIP channels.
[2018-12-10 09:01:19] WARNING[16984][C-00000007]: chan_sip.c:22814 func_header_read: This function can only be used on SIP channels.
-- Executing [s@macro-exten-vm:9] ExecIf("DAHDI/2-1", "0?MacroExit()") in new stack
[2018-12-10 09:01:19] WARNING[16984][C-00000007]: chan_sip.c:22814 func_header_read: This function can only be used on SIP channels.
[2018-12-10 09:01:19] WARNING[16984][C-00000007]: chan_sip.c:22814 func_header_read: This function can only be used on SIP channels.
-- Executing [s@macro-exten-vm:10] ExecIf("DAHDI/2-1", "0?ChanSpy(PJSIP/225,q)") in new stack
[2018-12-10 09:01:19] WARNING[16984][C-00000007]: chan_sip.c:22814 func_header_read: This function can only be used on SIP channels.
[2018-12-10 09:01:19] WARNING[16984][C-00000007]: chan_sip.c:22814 func_header_read: This function can only be used on SIP channels.
-- Executing [s@macro-exten-vm:11] ExecIf("DAHDI/2-1", "0?MacroExit()") in new stack
[2018-12-10 09:01:19] WARNING[16984][C-00000007]: chan_sip.c:22814 func_header_read: This function can only be used on SIP channels.
[2018-12-10 09:01:19] ERROR[16984][C-00000007]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
-- Executing [s@macro-exten-vm:12] ExecIf("DAHDI/2-1", "0?Macro(vm,novm,DIRECTDIAL,)") in new stack
[2018-12-10 09:01:19] ERROR[16984][C-00000007]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
[2018-12-10 09:01:19] ERROR[16984][C-00000007]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
-- Executing [s@macro-exten-vm:13] ExecIf("DAHDI/2-1", "0?MacroExit()") in new stack
[2018-12-10 09:01:19] ERROR[16984][C-00000007]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
[2018-12-10 09:01:19] ERROR[16984][C-00000007]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
-- Executing [s@macro-exten-vm:14] ExecIf("DAHDI/2-1", "0?Gosub(ext-intercom,*80225,1())") in new stack
[2018-12-10 09:01:19] ERROR[16984][C-00000007]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
[2018-12-10 09:01:19] ERROR[16984][C-00000007]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
-- Executing [s@macro-exten-vm:15] ExecIf("DAHDI/2-1", "0?MacroExit()") in new stack
[2018-12-10 09:01:19] ERROR[16984][C-00000007]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
[2018-12-10 09:01:19] ERROR[16984][C-00000007]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
-- Executing [s@macro-exten-vm:16] ExecIf("DAHDI/2-1", "0?ChanSpy(PJSIP/225,q)") in new stack
[2018-12-10 09:01:19] ERROR[16984][C-00000007]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
[2018-12-10 09:01:19] ERROR[16984][C-00000007]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
-- Executing [s@macro-exten-vm:17] ExecIf("DAHDI/2-1", "0?MacroExit()") in new stack
[2018-12-10 09:01:19] ERROR[16984][C-00000007]: res_pjsip_header_funcs.c:461 func_read_header: This function requires a PJSIP channel.
-- Executing [s@macro-exten-vm:18] Gosub("DAHDI/2-1", "sub-record-check,s,1(exten,225,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("DAHDI/2-1", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("DAHDI/2-1", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("DAHDI/2-1", "NOW=1544461279") in new stack
-- Executing [s@sub-record-check:4] Set("DAHDI/2-1", "__DAY=10") in new stack
-- Executing [s@sub-record-check:5] Set("DAHDI/2-1", "__MONTH=12") in new stack
-- Executing [s@sub-record-check:6] Set("DAHDI/2-1", "__YEAR=2018") in new stack
-- Executing [s@sub-record-check:7] Set("DAHDI/2-1", "__TIMESTR=20181210-090119") in new stack
-- Executing [s@sub-record-check:8] Set("DAHDI/2-1", "__FROMEXTEN=unknown") in new stack
-- Executing [s@sub-record-check:9] Set("DAHDI/2-1", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("DAHDI/2-1", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("DAHDI/2-1", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("DAHDI/2-1", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("DAHDI/2-1", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("DAHDI/2-1", "5?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("DAHDI/2-1", "1?sub-record-check,exten,1") in new stack
-- Goto (sub-record-check,exten,1)
-- Executing [exten@sub-record-check:1] NoOp("DAHDI/2-1", "Exten Recording Check between unknown and 225") in new stack
-- Executing [exten@sub-record-check:2] Set("DAHDI/2-1", "CALLTYPE=external") in new stack
-- Executing [exten@sub-record-check:3] ExecIf("DAHDI/2-1", "0?Set(CALLTYPE=)") in new stack
-- Executing [exten@sub-record-check:4] Set("DAHDI/2-1", "CALLEE=dontcare") in new stack
-- Executing [exten@sub-record-check:5] ExecIf("DAHDI/2-1", "0?Set(CALLEE=dontcare)") in new stack
-- Executing [exten@sub-record-check:6] GotoIf("DAHDI/2-1", "1?callee") in new stack
-- Goto (sub-record-check,exten,11)
-- Executing [exten@sub-record-check:11] Gosub("DAHDI/2-1", "recordcheck,1(dontcare,external,225)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("DAHDI/2-1", "Starting recording check against dontcare") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("DAHDI/2-1", "dontcare") in new stack
-- Goto (sub-record-check,recordcheck,3)
-- Executing [recordcheck@sub-record-check:3] Return("DAHDI/2-1", "") in new stack
-- Executing [exten@sub-record-check:12] Return("DAHDI/2-1", "") in new stack
-- Executing [s@macro-exten-vm:19] GotoIf("DAHDI/2-1", "1?macrodial") in new stack
-- Goto (macro-exten-vm,s,25)
-- Executing [s@macro-exten-vm:25] GosubIf("DAHDI/2-1", "0?clrheader,1()") in new stack
-- Executing [s@macro-exten-vm:26] Macro("DAHDI/2-1", "dial-one,,Ttr,225") in new stack
-- Executing [s@macro-dial-one:1] Set("DAHDI/2-1", "DEXTEN=225") in new stack
-- Executing [s@macro-dial-one:2] ExecIf("DAHDI/2-1", "0?Set(__EXTTOCALL=225)") in new stack
-- Executing [s@macro-dial-one:3] Set("DAHDI/2-1", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("DAHDI/2-1", "0?screen,1()") in new stack
-- Executing [s@macro-dial-one:5] GosubIf("DAHDI/2-1", "0?cf,1()") in new stack
-- Executing [s@macro-dial-one:6] GotoIf("DAHDI/2-1", "1?skip1") in new stack
-- Goto (macro-dial-one,s,9)
-- Executing [s@macro-dial-one:9] GotoIf("DAHDI/2-1", "0?nodial") in new stack
-- Executing [s@macro-dial-one:10] GotoIf("DAHDI/2-1", "0?continue") in new stack
-- Executing [s@macro-dial-one:11] Set("DAHDI/2-1", "EXTHASCW=ENABLED") in new stack
-- Executing [s@macro-dial-one:12] GotoIf("DAHDI/2-1", "0?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,24)
-- Executing [s@macro-dial-one:24] GotoIf("DAHDI/2-1", "0?next3:continue") in new stack
-- Goto (macro-dial-one,s,26)
-- Executing [s@macro-dial-one:26] GotoIf("DAHDI/2-1", "0?nodial") in new stack
-- Executing [s@macro-dial-one:27] GosubIf("DAHDI/2-1", "1?dstring,1():dlocal,1()") in new stack
-- Executing [dstring@macro-dial-one:1] Set("DAHDI/2-1", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("DAHDI/2-1", "DEVICES=225") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("DAHDI/2-1", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("DAHDI/2-1", "0?Set(DEVICES=25)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("DAHDI/2-1", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("DAHDI/2-1", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("DAHDI/2-1", "THISDIAL=PJSIP/225") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("DAHDI/2-1", "1?zap2dahdi,1()") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("DAHDI/2-1", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("DAHDI/2-1", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("DAHDI/2-1", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("DAHDI/2-1", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("DAHDI/2-1", "THISPART2=PJSIP/225") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("DAHDI/2-1", "0?Set(THISPART2=DAHDIIP/225)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("DAHDI/2-1", "NEWDIAL=PJSIP/225&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("DAHDI/2-1", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("DAHDI/2-1", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("DAHDI/2-1", "THISDIAL=PJSIP/225") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("DAHDI/2-1", "") in new stack
-- Executing [dstring@macro-dial-one:9] GotoIf("DAHDI/2-1", "0?docheck") in new stack
-- Executing [dstring@macro-dial-one:10] NoOp("DAHDI/2-1", "Debug: Found PJSIP Destination PJSIP/225") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("DAHDI/2-1", "0?doset") in new stack
-- Executing [dstring@macro-dial-one:12] NoOp("DAHDI/2-1", "Debug: Updating PJSIP Destination with PJSIP_DIAL_CONTACTS") in new stack
-- Executing [dstring@macro-dial-one:13] Set("DAHDI/2-1", "THISDIAL=PJSIP/225/sip:[email protected]:50745;ob") in new stack
-- Executing [dstring@macro-dial-one:14] GotoIf("DAHDI/2-1", "0?skipset") in new stack
-- Executing [dstring@macro-dial-one:15] Set("DAHDI/2-1", "DSTRING=PJSIP/225/sip:[email protected]:50745;ob&") in new stack
-- Executing [dstring@macro-dial-one:16] Set("DAHDI/2-1", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:17] GotoIf("DAHDI/2-1", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:18] ExecIf("DAHDI/2-1", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:19] Set("DAHDI/2-1", "DSTRING=PJSIP/225/sip:[email protected]:50745;ob") in new stack
-- Executing [dstring@macro-dial-one:20] Return("DAHDI/2-1", "") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("DAHDI/2-1", "0?nodial") in new stack
-- Executing [s@macro-dial-one:29] GotoIf("DAHDI/2-1", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:30] GosubIf("DAHDI/2-1", "0?ctset,1():ctclear,1()") in new stack
-- Executing [ctclear@macro-dial-one:1] NoOp("DAHDI/2-1", "Deleting: CALLTRACE/225 ") in new stack
-- Executing [ctclear@macro-dial-one:2] Return("DAHDI/2-1", "") in new stack
-- Executing [s@macro-dial-one:31] Set("DAHDI/2-1", "D_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dial-one:32] GosubIf("DAHDI/2-1", "0?func-set-sipheader,s,1(Alert-Info,)") in new stack
-- Executing [s@macro-dial-one:33] NoOp("DAHDI/2-1", "Blind Transfer: , Attended Transfer: , User: , Alert Info: ") in new stack
-- Executing [s@macro-dial-one:34] ExecIf("DAHDI/2-1", "0?Set(ALERT_INFO=)") in new stack
-- Executing [s@macro-dial-one:35] ExecIf("DAHDI/2-1", "0?Set(ALERT_INFO=)") in new stack
-- Executing [s@macro-dial-one:36] ExecIf("DAHDI/2-1", "0?Set(ALERT_INFO=)") in new stack
-- Executing [s@macro-dial-one:37] ExecIf("DAHDI/2-1", "0?Set(ALERT_INFO=Normal;volume=)") in new stack
-- Executing [s@macro-dial-one:38] ExecIf("DAHDI/2-1", "0?Set(ALERT_INFO=Normal;volume=)") in new stack
-- Executing [s@macro-dial-one:39] GosubIf("DAHDI/2-1", "0?func-set-sipheader,s,1(Alert-Info,)") in new stack
-- Executing [s@macro-dial-one:40] ExecIf("DAHDI/2-1", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [s@macro-dial-one:41] GosubIf("DAHDI/2-1", "0?qwait,1()") in new stack
-- Executing [s@macro-dial-one:42] Set("DAHDI/2-1", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:43] Set("DAHDI/2-1", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:44] GotoIf("DAHDI/2-1", "0?usegoto,1") in new stack
-- Executing [s@macro-dial-one:45] GotoIf("DAHDI/2-1", "1?godial") in new stack
-- Goto (macro-dial-one,s,50)
-- Executing [s@macro-dial-one:50] Macro("DAHDI/2-1", "dialout-one-predial-hook,") in new stack
-- Executing [s@macro-dialout-one-predial-hook:1] MacroExit("DAHDI/2-1", "") in new stack
-- Executing [s@macro-dial-one:51] ExecIf("DAHDI/2-1", "1?Set(D_OPTIONS=trI)") in new stack
-- Executing [s@macro-dial-one:52] NoOp("DAHDI/2-1", "") in new stack
-- Executing [s@macro-dial-one:53] ExecIf("DAHDI/2-1", "0?Set(D_OPTIONS=trIg)") in new stack
-- Executing [s@macro-dial-one:54] Dial("DAHDI/2-1", "PJSIP/225/sip:[email protected]:50745;ob,,trIb(func-apply-sipheaders^s^1)") in new stack
-- PJSIP/225-00000005 Internal Gosub(func-apply-sipheaders,s,1) start
-- Executing [s@func-apply-sipheaders:1] NoOp("PJSIP/225-00000005", "Applying SIP Headers to channel") in new stack
-- Executing [s@func-apply-sipheaders:2] Set("PJSIP/225-00000005", "SIPHEADERKEYS=") in new stack
-- Executing [s@func-apply-sipheaders:3] ExecIf("PJSIP/225-00000005", "0?Set(Rheader=1)") in new stack
-- Executing [s@func-apply-sipheaders:4] While("PJSIP/225-00000005", "0") in new stack
-- Jumping to priority 8
-- Executing [s@func-apply-sipheaders:9] ExecIf("PJSIP/225-00000005", "0?SIPRemoveHeader(Alert-Info:)") in new stack
-- Executing [s@func-apply-sipheaders:10] ExecIf("PJSIP/225-00000005", "0?Set(PJSIP_HEADER(remove,Alert-Info)=)") in new stack
-- Executing [s@func-apply-sipheaders:11] Return("PJSIP/225-00000005", "") in new stack
== Spawn extension (from-internal, 225, 1) exited non-zero on 'PJSIP/225-00000005'
-- PJSIP/225-00000005 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
-- Called PJSIP/225/sip:[email protected]:50745;ob
-- Connected line update to DAHDI/2-1 prevented.
-- PJSIP/225-00000005 is ringing
== Spawn extension (macro-dial-one, s, 54) exited non-zero on 'DAHDI/2-1' in macro 'dial-one'
== Spawn extension (macro-exten-vm, s, 26) exited non-zero on 'DAHDI/2-1' in macro 'exten-vm'
== Spawn extension (ext-local, 225, 2) exited non-zero on 'DAHDI/2-1'
-- Executing [h@ext-local:1] Macro("DAHDI/2-1", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/2-1", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("DAHDI/2-1", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] Hangup("DAHDI/2-1", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'DAHDI/2-1' in macro 'hangupcall'
== Spawn extension (ext-local, h, 1) exited non-zero on 'DAHDI/2-1'
-- Hanging up on 'DAHDI/2-1'
-- Hungup 'DAHDI/2-1'