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 [[email protected]:1] NoOp("DAHDI/2-1", "Entering from-dahdi with DID == ") in new stack
-- Executing [[email protected]:2] Ringing("DAHDI/2-1", "") in new stack
-- Executing [[email protected]:3] Set("DAHDI/2-1", "DID=s") in new stack
-- Executing [[email protected]:4] NoOp("DAHDI/2-1", "DID is now s") in new stack
-- Executing [[email protected]:5] GotoIf("DAHDI/2-1", "1?dahdiok:checkzap") in new stack
-- Goto (from-analog,s,9)
-- Executing [[email protected]:9] NoOp("DAHDI/2-1", "Is a DAHDi Channel") in new stack
-- Executing [[email protected]:10] Set("DAHDI/2-1", "CHAN=2-1") in new stack
-- Executing [[email protected]:11] Set("DAHDI/2-1", "CHAN=2") in new stack
-- Executing [[email protected]: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 [email protected]
-- Executing [[email protected]:13] NoOp("DAHDI/2-1", "Returned from Macro from-dahdi-2") in new stack
-- Executing [[email protected]:14] Goto("DAHDI/2-1", "from-pstn,s,1") in new stack
-- Goto (from-pstn,s,1)
-- Executing [[email protected]:1] Set("DAHDI/2-1", "__DIRECTION=INBOUND") in new stack
-- Executing [[email protected]:2] ExecIf("DAHDI/2-1", "1?Set(__FROM_DID=s)") in new stack
-- Executing [[email protected]:3] Set("DAHDI/2-1", "returnhere=1") in new stack
-- Executing [[email protected]:4] Gosub("DAHDI/2-1", "app-blacklist-check,s,1()") in new stack
-- Executing [[email protected]:1] GotoIf("DAHDI/2-1", "0?blacklisted") in new stack
-- Executing [[email protected]:2] Set("DAHDI/2-1", "CALLED_BLACKLIST=1") in new stack
-- Executing [[email protected]:3] Return("DAHDI/2-1", "") in new stack
-- Executing [[email protected]:5] Set("DAHDI/2-1", "CDR(did)=s") in new stack
-- Executing [[email protected]:6] GotoIf("DAHDI/2-1", "0?") in new stack
-- Executing [[email protected]:7] ExecIf("DAHDI/2-1", "1 ?Set(CALLERID(name)=)") in new stack
-- Executing [[email protected]:8] Set("DAHDI/2-1", "__MOHCLASS=") in new stack
-- Executing [[email protected]:9] Set("DAHDI/2-1", "__REVERSAL_REJECT=FALSE") in new stack
-- Executing [[email protected]:10] GotoIf("DAHDI/2-1", "1?post-reverse-charge") in new stack
-- Goto (from-pstn,s,12)
-- Executing [[email protected]:12] NoOp("DAHDI/2-1", "") in new stack
-- Executing [[email protected]:13] Set("DAHDI/2-1", "__CALLINGNAMEPRES_SV=allowed_not_screened") in new stack
-- Executing [[email protected]:14] Set("DAHDI/2-1", "__CALLINGNUMPRES_SV=allowed_not_screened") in new stack
-- Executing [[email protected]:15] Set("DAHDI/2-1", "CALLERID(name-pres)=allowed_not_screened") in new stack
-- Executing [[email protected]:16] Set("DAHDI/2-1", "CALLERID(num-pres)=allowed_not_screened") in new stack
-- Executing [[email protected]:17] NoOp("DAHDI/2-1", "CallerID Entry Point") in new stack
-- Executing [[email protected]:18] Goto("DAHDI/2-1", "from-did-direct,225,1") in new stack
-- Goto (from-did-direct,225,1)
-- Executing [[email protected]:1] GotoIf("DAHDI/2-1", "1?ext-local,225,1:followme-check,225,1") in new stack
-- Goto (ext-local,225,1)
-- Executing [[email protected]:1] Set("DAHDI/2-1", "__RINGTIMER=15") in new stack
-- Executing [[email protected]:2] Macro("DAHDI/2-1", "exten-vm,novm,225,0,0,0") in new stack
-- Executing [[email protected]:1] Macro("DAHDI/2-1", "user-callerid,") in new stack
-- Executing [[email protected]:1] Set("DAHDI/2-1", "TOUCH_MONITOR=1544461273.12") in new stack
-- Executing [[email protected]:2] Set("DAHDI/2-1", "AMPUSER=") in new stack
-- Executing [[email protected]:3] GotoIf("DAHDI/2-1", "0?report") in new stack
-- Executing [[email protected]:4] ExecIf("DAHDI/2-1", "1?Set(REALCALLERIDNUM=)") in new stack
-- Executing [[email protected]:5] Set("DAHDI/2-1", "AMPUSER=") in new stack
-- Executing [[email protected]:6] GotoIf("DAHDI/2-1", "0?limit") in new stack
-- Executing [[email protected]:7] Set("DAHDI/2-1", "AMPUSERCIDNAME=") in new stack
-- Executing [[email protected]:8] ExecIf("DAHDI/2-1", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
-- Executing [[email protected]:9] GotoIf("DAHDI/2-1", "1?report") in new stack
-- Goto (macro-user-callerid,s,16)
-- Executing [[email protected]:16] NoOp("DAHDI/2-1", "Macro Depth is 2") in new stack
-- Executing [[email protected]:17] GotoIf("DAHDI/2-1", "1?report2:macroerror") in new stack
-- Goto (macro-user-callerid,s,18)
-- Executing [[email protected]:18] GotoIf("DAHDI/2-1", "0?continue") in new stack
-- Executing [[email protected]:19] ExecIf("DAHDI/2-1", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
-- Executing [[email protected]:20] Set("DAHDI/2-1", "__TTL=64") in new stack
-- Executing [[email protected]:21] GotoIf("DAHDI/2-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,37)
-- Executing [[email protected]:37] Set("DAHDI/2-1", "CALLERID(number)=") in new stack
-- Executing [[email protected]:38] Set("DAHDI/2-1", "CALLERID(name)=") in new stack
-- Executing [[email protected]:39] GotoIf("DAHDI/2-1", "1?cnum") in new stack
-- Goto (macro-user-callerid,s,41)
-- Executing [[email protected]: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 [[email protected]:42] Set("DAHDI/2-1", "CHANNEL(language)=en") in new stack
-- Executing [[email protected]:2] Set("DAHDI/2-1", "RingGroupMethod=none") in new stack
-- Executing [[email protected]:3] Set("DAHDI/2-1", "__EXTTOCALL=225") in new stack
-- Executing [[email protected]:4] Set("DAHDI/2-1", "__PICKUPMARK=225") in new stack
-- Executing [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]: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 [[email protected]:18] Gosub("DAHDI/2-1", "sub-record-check,s,1(exten,225,dontcare)") in new stack
-- Executing [[email protected]:1] GotoIf("DAHDI/2-1", "0?initialized") in new stack
-- Executing [[email protected]:2] Set("DAHDI/2-1", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [[email protected]:3] Set("DAHDI/2-1", "NOW=1544461279") in new stack
-- Executing [[email protected]:4] Set("DAHDI/2-1", "__DAY=10") in new stack
-- Executing [[email protected]:5] Set("DAHDI/2-1", "__MONTH=12") in new stack
-- Executing [[email protected]:6] Set("DAHDI/2-1", "__YEAR=2018") in new stack
-- Executing [[email protected]:7] Set("DAHDI/2-1", "__TIMESTR=20181210-090119") in new stack
-- Executing [[email protected]:8] Set("DAHDI/2-1", "__FROMEXTEN=unknown") in new stack
-- Executing [[email protected]:9] Set("DAHDI/2-1", "__MON_FMT=wav") in new stack
-- Executing [[email protected]:10] NoOp("DAHDI/2-1", "Recordings initialized") in new stack
-- Executing [[email protected]:11] ExecIf("DAHDI/2-1", "0?Set(ARG3=dontcare)") in new stack
-- Executing [[email protected]:12] Set("DAHDI/2-1", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [[email protected]:13] ExecIf("DAHDI/2-1", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [[email protected]:14] GotoIf("DAHDI/2-1", "5?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [[email protected]:17] GotoIf("DAHDI/2-1", "1?sub-record-check,exten,1") in new stack
-- Goto (sub-record-check,exten,1)
-- Executing [[email protected]:1] NoOp("DAHDI/2-1", "Exten Recording Check between unknown and 225") in new stack
-- Executing [[email protected]:2] Set("DAHDI/2-1", "CALLTYPE=external") in new stack
-- Executing [[email protected]:3] ExecIf("DAHDI/2-1", "0?Set(CALLTYPE=)") in new stack
-- Executing [[email protected]:4] Set("DAHDI/2-1", "CALLEE=dontcare") in new stack
-- Executing [[email protected]:5] ExecIf("DAHDI/2-1", "0?Set(CALLEE=dontcare)") in new stack
-- Executing [[email protected]:6] GotoIf("DAHDI/2-1", "1?callee") in new stack
-- Goto (sub-record-check,exten,11)
-- Executing [[email protected]:11] Gosub("DAHDI/2-1", "recordcheck,1(dontcare,external,225)") in new stack
-- Executing [[email protected]:1] NoOp("DAHDI/2-1", "Starting recording check against dontcare") in new stack
-- Executing [[email protected]:2] Goto("DAHDI/2-1", "dontcare") in new stack
-- Goto (sub-record-check,recordcheck,3)
-- Executing [[email protected]:3] Return("DAHDI/2-1", "") in new stack
-- Executing [[email protected]:12] Return("DAHDI/2-1", "") in new stack
-- Executing [[email protected]:19] GotoIf("DAHDI/2-1", "1?macrodial") in new stack
-- Goto (macro-exten-vm,s,25)
-- Executing [[email protected]:25] GosubIf("DAHDI/2-1", "0?clrheader,1()") in new stack
-- Executing [[email protected]:26] Macro("DAHDI/2-1", "dial-one,,Ttr,225") in new stack
-- Executing [[email protected]:1] Set("DAHDI/2-1", "DEXTEN=225") in new stack
-- Executing [[email protected]:2] ExecIf("DAHDI/2-1", "0?Set(__EXTTOCALL=225)") in new stack
-- Executing [[email protected]:3] Set("DAHDI/2-1", "DIALSTATUS_CW=") in new stack
-- Executing [[email protected]:4] GosubIf("DAHDI/2-1", "0?screen,1()") in new stack
-- Executing [[email protected]:5] GosubIf("DAHDI/2-1", "0?cf,1()") in new stack
-- Executing [[email protected]:6] GotoIf("DAHDI/2-1", "1?skip1") in new stack
-- Goto (macro-dial-one,s,9)
-- Executing [[email protected]:9] GotoIf("DAHDI/2-1", "0?nodial") in new stack
-- Executing [[email protected]:10] GotoIf("DAHDI/2-1", "0?continue") in new stack
-- Executing [[email protected]:11] Set("DAHDI/2-1", "EXTHASCW=ENABLED") in new stack
-- Executing [[email protected]:12] GotoIf("DAHDI/2-1", "0?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,24)
-- Executing [[email protected]:24] GotoIf("DAHDI/2-1", "0?next3:continue") in new stack
-- Goto (macro-dial-one,s,26)
-- Executing [[email protected]:26] GotoIf("DAHDI/2-1", "0?nodial") in new stack
-- Executing [[email protected]:27] GosubIf("DAHDI/2-1", "1?dstring,1():dlocal,1()") in new stack
-- Executing [[email protected]:1] Set("DAHDI/2-1", "DSTRING=") in new stack
-- Executing [[email protected]:2] Set("DAHDI/2-1", "DEVICES=225") in new stack
-- Executing [[email protected]:3] ExecIf("DAHDI/2-1", "0?Return()") in new stack
-- Executing [[email protected]:4] ExecIf("DAHDI/2-1", "0?Set(DEVICES=25)") in new stack
-- Executing [[email protected]:5] Set("DAHDI/2-1", "LOOPCNT=1") in new stack
-- Executing [[email protected]:6] Set("DAHDI/2-1", "ITER=1") in new stack
-- Executing [[email protected]:7] Set("DAHDI/2-1", "THISDIAL=PJSIP/225") in new stack
-- Executing [[email protected]:8] GosubIf("DAHDI/2-1", "1?zap2dahdi,1()") in new stack
-- Executing [[email protected]:1] ExecIf("DAHDI/2-1", "0?Return()") in new stack
-- Executing [[email protected]:2] Set("DAHDI/2-1", "NEWDIAL=") in new stack
-- Executing [[email protected]:3] Set("DAHDI/2-1", "LOOPCNT2=1") in new stack
-- Executing [[email protected]:4] Set("DAHDI/2-1", "ITER2=1") in new stack
-- Executing [[email protected]:5] Set("DAHDI/2-1", "THISPART2=PJSIP/225") in new stack
-- Executing [[email protected]:6] ExecIf("DAHDI/2-1", "0?Set(THISPART2=DAHDIIP/225)") in new stack
-- Executing [[email protected]:7] Set("DAHDI/2-1", "NEWDIAL=PJSIP/225&") in new stack
-- Executing [[email protected]:8] Set("DAHDI/2-1", "ITER2=2") in new stack
-- Executing [[email protected]:9] GotoIf("DAHDI/2-1", "0?begin2") in new stack
-- Executing [[email protected]:10] Set("DAHDI/2-1", "THISDIAL=PJSIP/225") in new stack
-- Executing [[email protected]:11] Return("DAHDI/2-1", "") in new stack
-- Executing [[email protected]:9] GotoIf("DAHDI/2-1", "0?docheck") in new stack
-- Executing [[email protected]:10] NoOp("DAHDI/2-1", "Debug: Found PJSIP Destination PJSIP/225") in new stack
-- Executing [[email protected]:11] GotoIf("DAHDI/2-1", "0?doset") in new stack
-- Executing [[email protected]:12] NoOp("DAHDI/2-1", "Debug: Updating PJSIP Destination with PJSIP_DIAL_CONTACTS") in new stack
-- Executing [[email protected]:13] Set("DAHDI/2-1", "THISDIAL=PJSIP/225/sip:[email protected]:50745;ob") in new stack
-- Executing [[email protected]:14] GotoIf("DAHDI/2-1", "0?skipset") in new stack
-- Executing [[email protected]:15] Set("DAHDI/2-1", "DSTRING=PJSIP/225/sip:[email protected]:50745;ob&") in new stack
-- Executing [[email protected]-one:16] Set("DAHDI/2-1", "ITER=2") in new stack
-- Executing [[email protected]:17] GotoIf("DAHDI/2-1", "0?begin") in new stack
-- Executing [[email protected]:18] ExecIf("DAHDI/2-1", "0?Return()") in new stack
-- Executing [[email protected]:19] Set("DAHDI/2-1", "DSTRING=PJSIP/225/sip:[email protected]:50745;ob") in new stack
-- Executing [[email protected]:20] Return("DAHDI/2-1", "") in new stack
-- Executing [[email protected]:28] GotoIf("DAHDI/2-1", "0?nodial") in new stack
-- Executing [[email protected]:29] GotoIf("DAHDI/2-1", "0?skiptrace") in new stack
-- Executing [[email protected]:30] GosubIf("DAHDI/2-1", "0?ctset,1():ctclear,1()") in new stack
-- Executing [[email protected]:1] NoOp("DAHDI/2-1", "Deleting: CALLTRACE/225 ") in new stack
-- Executing [[email protected]:2] Return("DAHDI/2-1", "") in new stack
-- Executing [[email protected]:31] Set("DAHDI/2-1", "D_OPTIONS=Ttr") in new stack
-- Executing [[email protected]:32] GosubIf("DAHDI/2-1", "0?func-set-sipheader,s,1(Alert-Info,)") in new stack
-- Executing [[email protected]:33] NoOp("DAHDI/2-1", "Blind Transfer: , Attended Transfer: , User: , Alert Info: ") in new stack
-- Executing [[email protected]:34] ExecIf("DAHDI/2-1", "0?Set(ALERT_INFO=)") in new stack
-- Executing [[email protected]:35] ExecIf("DAHDI/2-1", "0?Set(ALERT_INFO=)") in new stack
-- Executing [[email protected]:36] ExecIf("DAHDI/2-1", "0?Set(ALERT_INFO=)") in new stack
-- Executing [[email protected]:37] ExecIf("DAHDI/2-1", "0?Set(ALERT_INFO=Normal;volume=)") in new stack
-- Executing [[email protected]:38] ExecIf("DAHDI/2-1", "0?Set(ALERT_INFO=Normal;volume=)") in new stack
-- Executing [[email protected]:39] GosubIf("DAHDI/2-1", "0?func-set-sipheader,s,1(Alert-Info,)") in new stack
-- Executing [[email protected]:40] ExecIf("DAHDI/2-1", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [[email protected]:41] GosubIf("DAHDI/2-1", "0?qwait,1()") in new stack
-- Executing [[email protected]:42] Set("DAHDI/2-1", "__CWIGNORE=") in new stack
-- Executing [[email protected]:43] Set("DAHDI/2-1", "__KEEPCID=TRUE") in new stack
-- Executing [[email protected]:44] GotoIf("DAHDI/2-1", "0?usegoto,1") in new stack
-- Executing [[email protected]:45] GotoIf("DAHDI/2-1", "1?godial") in new stack
-- Goto (macro-dial-one,s,50)
-- Executing [[email protected]:50] Macro("DAHDI/2-1", "dialout-one-predial-hook,") in new stack
-- Executing [[email protected]:1] MacroExit("DAHDI/2-1", "") in new stack
-- Executing [[email protected]:51] ExecIf("DAHDI/2-1", "1?Set(D_OPTIONS=trI)") in new stack
-- Executing [[email protected]:52] NoOp("DAHDI/2-1", "") in new stack
-- Executing [[email protected]:53] ExecIf("DAHDI/2-1", "0?Set(D_OPTIONS=trIg)") in new stack
-- Executing [[email protected]: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 [[email protected]:1] NoOp("PJSIP/225-00000005", "Applying SIP Headers to channel") in new stack
-- Executing [[email protected]:2] Set("PJSIP/225-00000005", "SIPHEADERKEYS=") in new stack
-- Executing [[email protected]:3] ExecIf("PJSIP/225-00000005", "0?Set(Rheader=1)") in new stack
-- Executing [[email protected]:4] While("PJSIP/225-00000005", "0") in new stack
-- Jumping to priority 8
-- Executing [[email protected]:9] ExecIf("PJSIP/225-00000005", "0?SIPRemoveHeader(Alert-Info:)") in new stack
-- Executing [[email protected]:10] ExecIf("PJSIP/225-00000005", "0?Set(PJSIP_HEADER(remove,Alert-Info)=)") in new stack
-- Executing [[email protected]: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 [[email protected]:1] Macro("DAHDI/2-1", "hangupcall,") in new stack
-- Executing [[email protected]:1] GotoIf("DAHDI/2-1", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [[email protected]:3] ExecIf("DAHDI/2-1", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [[email protected]: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'