[root@pbx asterisk]# grep C-00000002 full [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [40109898373780@from-internal:1] Macro("Local/40109898373780@from-internal-00000002;2", "user-callerid,LIMIT,EXTERNAL,") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-user-callerid:1] Set("Local/40109898373780@from-internal-00000002;2", "TOUCH_MONITOR=1521142746.7") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-user-callerid:2] Set("Local/40109898373780@from-internal-00000002;2", "AMPUSER=6689") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-user-callerid:3] GotoIf("Local/40109898373780@from-internal-00000002;2", "0?report") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-user-callerid:4] ExecIf("Local/40109898373780@from-internal-00000002;2", "1?Set(REALCALLERIDNUM=6689)") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-user-callerid:5] Set("Local/40109898373780@from-internal-00000002;2", "AMPUSER=") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-user-callerid:6] GotoIf("Local/40109898373780@from-internal-00000002;2", "0?limit") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-user-callerid:7] Set("Local/40109898373780@from-internal-00000002;2", "AMPUSERCIDNAME=") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-user-callerid:8] ExecIf("Local/40109898373780@from-internal-00000002;2", "0?Set(__CIDMASQUERADING=TRUE)") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-user-callerid:9] GotoIf("Local/40109898373780@from-internal-00000002;2", "1?report") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx_builtins.c: Goto (macro-user-callerid,s,16) [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-user-callerid:16] NoOp("Local/40109898373780@from-internal-00000002;2", "Macro Depth is 1") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-user-callerid:17] GotoIf("Local/40109898373780@from-internal-00000002;2", "1?report2:macroerror") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx_builtins.c: Goto (macro-user-callerid,s,18) [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-user-callerid:18] GotoIf("Local/40109898373780@from-internal-00000002;2", "1?continue") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx_builtins.c: Goto (macro-user-callerid,s,36) [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-user-callerid:36] Set("Local/40109898373780@from-internal-00000002;2", "CALLERID(number)=6689") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-user-callerid:37] Set("Local/40109898373780@from-internal-00000002;2", "CALLERID(name)=9898326689") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-user-callerid:38] GotoIf("Local/40109898373780@from-internal-00000002;2", "0?cnum") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-user-callerid:39] Set("Local/40109898373780@from-internal-00000002;2", "CDR(cnam)=9898326689") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-user-callerid:40] Set("Local/40109898373780@from-internal-00000002;2", "CDR(cnum)=6689") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-user-callerid:41] Set("Local/40109898373780@from-internal-00000002;2", "CHANNEL(language)=en") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [40109898373780@from-internal:2] Gosub("Local/40109898373780@from-internal-00000002;2", "sub-record-check,s,1(out,40109898373780,dontcare)") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@sub-record-check:1] GotoIf("Local/40109898373780@from-internal-00000002;2", "0?initialized") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@sub-record-check:2] Set("Local/40109898373780@from-internal-00000002;2", "__REC_STATUS=INITIALIZED") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@sub-record-check:3] Set("Local/40109898373780@from-internal-00000002;2", "NOW=1521142746") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@sub-record-check:4] Set("Local/40109898373780@from-internal-00000002;2", "__DAY=15") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@sub-record-check:5] Set("Local/40109898373780@from-internal-00000002;2", "__MONTH=03") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@sub-record-check:6] Set("Local/40109898373780@from-internal-00000002;2", "__YEAR=2018") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@sub-record-check:7] Set("Local/40109898373780@from-internal-00000002;2", "__TIMESTR=20180315-193906") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@sub-record-check:8] Set("Local/40109898373780@from-internal-00000002;2", "__FROMEXTEN=6689") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@sub-record-check:9] Set("Local/40109898373780@from-internal-00000002;2", "__MON_FMT=wav") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@sub-record-check:10] NoOp("Local/40109898373780@from-internal-00000002;2", "Recordings initialized") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@sub-record-check:11] ExecIf("Local/40109898373780@from-internal-00000002;2", "0?Set(ARG3=dontcare)") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@sub-record-check:12] Set("Local/40109898373780@from-internal-00000002;2", "REC_POLICY_MODE_SAVE=") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@sub-record-check:13] ExecIf("Local/40109898373780@from-internal-00000002;2", "0?Set(REC_STATUS=NO)") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@sub-record-check:14] GotoIf("Local/40109898373780@from-internal-00000002;2", "3?checkaction") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx_builtins.c: Goto (sub-record-check,s,17) [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@sub-record-check:17] GotoIf("Local/40109898373780@from-internal-00000002;2", "1?sub-record-check,out,1") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx_builtins.c: Goto (sub-record-check,out,1) [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [out@sub-record-check:1] NoOp("Local/40109898373780@from-internal-00000002;2", "Outbound Recording Check from 6689 to 40109898373780") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [out@sub-record-check:2] Set("Local/40109898373780@from-internal-00000002;2", "RECMODE=dontcare") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [out@sub-record-check:3] ExecIf("Local/40109898373780@from-internal-00000002;2", "1?Goto(routewins)") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx_builtins.c: Goto (sub-record-check,out,7) [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [out@sub-record-check:7] Gosub("Local/40109898373780@from-internal-00000002;2", "recordcheck,1(dontcare,out,40109898373780)") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp("Local/40109898373780@from-internal-00000002;2", "Starting recording check against dontcare") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [recordcheck@sub-record-check:2] Goto("Local/40109898373780@from-internal-00000002;2", "dontcare") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx_builtins.c: Goto (sub-record-check,recordcheck,3) [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [recordcheck@sub-record-check:3] Return("Local/40109898373780@from-internal-00000002;2", "") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [out@sub-record-check:8] Return("Local/40109898373780@from-internal-00000002;2", "") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [40109898373780@from-internal:3] Set("Local/40109898373780@from-internal-00000002;2", "MOHCLASS=default") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [40109898373780@from-internal:4] Set("Local/40109898373780@from-internal-00000002;2", "_NODEST=") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [40109898373780@from-internal:5] Macro("Local/40109898373780@from-internal-00000002;2", "dialout-trunk,3,40109898373780,,off") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:1] Set("Local/40109898373780@from-internal-00000002;2", "DIAL_TRUNK=3") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:2] GosubIf("Local/40109898373780@from-internal-00000002;2", "0?sub-pincheck,s,1()") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:3] ExecIf("Local/40109898373780@from-internal-00000002;2", "0?Set(CALLERID(num)=)") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:4] GotoIf("Local/40109898373780@from-internal-00000002;2", "0?disabletrunk,1") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:5] Set("Local/40109898373780@from-internal-00000002;2", "DIAL_NUMBER=40109898373780") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:6] Set("Local/40109898373780@from-internal-00000002;2", "DIAL_TRUNK_OPTIONS=HhTtr") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:7] Set("Local/40109898373780@from-internal-00000002;2", "OUTBOUND_GROUP=OUT_3") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:8] Set("Local/40109898373780@from-internal-00000002;2", "DIAL_TRUNK_OPTIONS=T") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:9] GotoIf("Local/40109898373780@from-internal-00000002;2", "1?nomax") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx_builtins.c: Goto (macro-dialout-trunk,s,11) [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:11] GotoIf("Local/40109898373780@from-internal-00000002;2", "0?skipoutcid") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:12] Macro("Local/40109898373780@from-internal-00000002;2", "outbound-callerid,3") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:1] NoOp("Local/40109898373780@from-internal-00000002;2", "6689") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:2] NoOp("Local/40109898373780@from-internal-00000002;2", "") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:3] NoOp("Local/40109898373780@from-internal-00000002;2", "off") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:4] ExecIf("Local/40109898373780@from-internal-00000002;2", "0?Set(CALLERPRES(name-pres)=)") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:5] ExecIf("Local/40109898373780@from-internal-00000002;2", "0?Set(CALLERPRES(num-pres)=)") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:6] ExecIf("Local/40109898373780@from-internal-00000002;2", "0?Set(REALCALLERIDNUM=6689)") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:7] GotoIf("Local/40109898373780@from-internal-00000002;2", "1?normcid") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx_builtins.c: Goto (macro-outbound-callerid,s,11) [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:11] Set("Local/40109898373780@from-internal-00000002;2", "USEROUTCID=") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:12] Set("Local/40109898373780@from-internal-00000002;2", "EMERGENCYCID=") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:13] Set("Local/40109898373780@from-internal-00000002;2", "TRUNKOUTCID=") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:14] GotoIf("Local/40109898373780@from-internal-00000002;2", "1?trunkcid") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx_builtins.c: Goto (macro-outbound-callerid,s,19) [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:19] ExecIf("Local/40109898373780@from-internal-00000002;2", "0?Set(CALLERID(all)=)") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:20] ExecIf("Local/40109898373780@from-internal-00000002;2", "0?Set(CALLERID(all)=)") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:21] ExecIf("Local/40109898373780@from-internal-00000002;2", "0?Set(CALLERID(all)=)") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:22] ExecIf("Local/40109898373780@from-internal-00000002;2", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:23] ExecIf("Local/40109898373780@from-internal-00000002;2", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:24] Set("Local/40109898373780@from-internal-00000002;2", "CDR(outbound_cnum)=6689") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-outbound-callerid:25] Set("Local/40109898373780@from-internal-00000002;2", "CDR(outbound_cnam)=9898326689") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:13] GosubIf("Local/40109898373780@from-internal-00000002;2", "0?sub-flp-3,s,1()") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:14] Set("Local/40109898373780@from-internal-00000002;2", "OUTNUM=40109898373780") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:15] Set("Local/40109898373780@from-internal-00000002;2", "custom=PJSIP") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:16] ExecIf("Local/40109898373780@from-internal-00000002;2", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:17] ExecIf("Local/40109898373780@from-internal-00000002;2", "0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:18] Macro("Local/40109898373780@from-internal-00000002;2", "dialout-trunk-predial-hook,") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/40109898373780@from-internal-00000002;2", "") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:19] GotoIf("Local/40109898373780@from-internal-00000002;2", "0?bypass,1") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:20] ExecIf("Local/40109898373780@from-internal-00000002;2", "0?Set(CONNECTEDLINE(num,i)=40109898373780)") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:21] ExecIf("Local/40109898373780@from-internal-00000002;2", "0?Set(CONNECTEDLINE(name,i)=CID:6689)") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:22] ExecIf("Local/40109898373780@from-internal-00000002;2", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)6689)") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:23] GotoIf("Local/40109898373780@from-internal-00000002;2", "0?customtrunk") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:24] Dial("Local/40109898373780@from-internal-00000002;2", "PJSIP/40109898373780@Mercury,300,Tb(func-apply-sipheaders^s^1)") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] app_stack.c: PJSIP/Mercury-00000002 Internal Gosub(func-apply-sipheaders,s,1) start [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@func-apply-sipheaders:1] NoOp("PJSIP/Mercury-00000002", "Applying SIP Headers to channel") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@func-apply-sipheaders:2] Set("PJSIP/Mercury-00000002", "SIPHEADERKEYS=") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@func-apply-sipheaders:3] While("PJSIP/Mercury-00000002", "0") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] app_while.c: Jumping to priority 6 [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] pbx.c: Executing [s@func-apply-sipheaders:7] Return("PJSIP/Mercury-00000002", "") in new stack [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] app_stack.c: Spawn extension (from-pstn-e164-us, 40109898373780, 1) exited non-zero on 'PJSIP/Mercury-00000002' [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] app_stack.c: PJSIP/Mercury-00000002 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL= [2018-03-15 19:39:06] VERBOSE[22129][C-00000002] app_dial.c: Called PJSIP/40109898373780@Mercury [2018-03-15 19:39:38] VERBOSE[22129][C-00000002] app_dial.c: Everyone is busy/congested at this time (1:0/0/1) [2018-03-15 19:39:38] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:25] NoOp("Local/40109898373780@from-internal-00000002;2", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 18") in new stack [2018-03-15 19:39:38] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-dialout-trunk:26] GotoIf("Local/40109898373780@from-internal-00000002;2", "0?continue,1:s-CHANUNAVAIL,1") in new stack [2018-03-15 19:39:38] VERBOSE[22129][C-00000002] pbx_builtins.c: Goto (macro-dialout-trunk,s-CHANUNAVAIL,1) [2018-03-15 19:39:38] VERBOSE[22129][C-00000002] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("Local/40109898373780@from-internal-00000002;2", "RC=18") in new stack [2018-03-15 19:39:38] VERBOSE[22129][C-00000002] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("Local/40109898373780@from-internal-00000002;2", "18,1") in new stack [2018-03-15 19:39:38] VERBOSE[22129][C-00000002] pbx_builtins.c: Goto (macro-dialout-trunk,18,1) [2018-03-15 19:39:38] VERBOSE[22129][C-00000002] pbx.c: Executing [18@macro-dialout-trunk:1] Goto("Local/40109898373780@from-internal-00000002;2", "s-NOANSWER,1") in new stack [2018-03-15 19:39:38] VERBOSE[22129][C-00000002] pbx_builtins.c: Goto (macro-dialout-trunk,s-NOANSWER,1) [2018-03-15 19:39:38] VERBOSE[22129][C-00000002] pbx.c: Executing [s-NOANSWER@macro-dialout-trunk:1] NoOp("Local/40109898373780@from-internal-00000002;2", "Dial failed due to trunk reporting NOANSWER - giving up") in new stack [2018-03-15 19:39:38] VERBOSE[22129][C-00000002] pbx.c: Executing [s-NOANSWER@macro-dialout-trunk:2] Progress("Local/40109898373780@from-internal-00000002;2", "") in new stack [2018-03-15 19:39:38] VERBOSE[22129][C-00000002] pbx.c: Executing [s-NOANSWER@macro-dialout-trunk:3] Playback("Local/40109898373780@from-internal-00000002;2", "number-not-answering,noanswer") in new stack [2018-03-15 19:39:38] VERBOSE[22129][C-00000002] file.c: Playing 'number-not-answering.slin16' (language 'en') [2018-03-15 19:39:40] VERBOSE[22129][C-00000002] pbx.c: Executing [s-NOANSWER@macro-dialout-trunk:4] Congestion("Local/40109898373780@from-internal-00000002;2", "20") in new stack [2018-03-15 19:39:40] VERBOSE[22129][C-00000002] app_macro.c: Spawn extension (macro-dialout-trunk, s-NOANSWER, 4) exited non-zero on 'Local/40109898373780@from-internal-00000002;2' in macro 'dialout-trunk' [2018-03-15 19:39:40] VERBOSE[22129][C-00000002] pbx.c: Spawn extension (from-internal, 40109898373780, 5) exited non-zero on 'Local/40109898373780@from-internal-00000002;2' [2018-03-15 19:39:40] VERBOSE[22129][C-00000002] pbx.c: Executing [h@from-internal:1] Macro("Local/40109898373780@from-internal-00000002;2", "hangupcall") in new stack [2018-03-15 19:39:40] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-hangupcall:1] GotoIf("Local/40109898373780@from-internal-00000002;2", "1?theend") in new stack [2018-03-15 19:39:40] VERBOSE[22129][C-00000002] pbx_builtins.c: Goto (macro-hangupcall,s,3) [2018-03-15 19:39:40] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-hangupcall:3] ExecIf("Local/40109898373780@from-internal-00000002;2", "0?Set(CDR(recordingfile)=)") in new stack [2018-03-15 19:39:40] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-hangupcall:4] NoOp("Local/40109898373780@from-internal-00000002;2", " monior file= ") in new stack [2018-03-15 19:39:40] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-hangupcall:5] AGI("Local/40109898373780@from-internal-00000002;2", "attendedtransfer-rec-restart.php,,") in new stack [2018-03-15 19:39:40] VERBOSE[22129][C-00000002] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php [2018-03-15 19:39:40] VERBOSE[22129][C-00000002] res_agi.c: AGI Script attendedtransfer-rec-restart.php completed, returning 0 [2018-03-15 19:39:40] VERBOSE[22129][C-00000002] pbx.c: Executing [s@macro-hangupcall:6] Hangup("Local/40109898373780@from-internal-00000002;2", "") in new stack [2018-03-15 19:39:40] VERBOSE[22129][C-00000002] app_macro.c: Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'Local/40109898373780@from-internal-00000002;2' in macro 'hangupcall' [2018-03-15 19:39:40] VERBOSE[22129][C-00000002] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on 'Local/40109898373780@from-internal-00000002;2' [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [9898326689@from-pstn-e164-us:1] Goto("PJSIP/Mercury-00000001", "from-pstn,9898326689,1") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx_builtins.c: Goto (from-pstn,9898326689,1) [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [9898326689@from-pstn:1] Set("PJSIP/Mercury-00000001", "__DIRECTION=INBOUND") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [9898326689@from-pstn:2] Gosub("PJSIP/Mercury-00000001", "sub-record-check,s,1(in,9898326689,dontcare)") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [s@sub-record-check:1] GotoIf("PJSIP/Mercury-00000001", "0?initialized") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [s@sub-record-check:2] Set("PJSIP/Mercury-00000001", "__REC_STATUS=INITIALIZED") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [s@sub-record-check:3] Set("PJSIP/Mercury-00000001", "NOW=1521144310") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [s@sub-record-check:4] Set("PJSIP/Mercury-00000001", "__DAY=15") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [s@sub-record-check:5] Set("PJSIP/Mercury-00000001", "__MONTH=03") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [s@sub-record-check:6] Set("PJSIP/Mercury-00000001", "__YEAR=2018") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [s@sub-record-check:7] Set("PJSIP/Mercury-00000001", "__TIMESTR=20180315-160510") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [s@sub-record-check:8] Set("PJSIP/Mercury-00000001", "__FROMEXTEN=unknown") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [s@sub-record-check:9] Set("PJSIP/Mercury-00000001", "__MON_FMT=wav") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [s@sub-record-check:10] NoOp("PJSIP/Mercury-00000001", "Recordings initialized") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [s@sub-record-check:11] ExecIf("PJSIP/Mercury-00000001", "0?Set(ARG3=dontcare)") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [s@sub-record-check:12] Set("PJSIP/Mercury-00000001", "REC_POLICY_MODE_SAVE=") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [s@sub-record-check:13] ExecIf("PJSIP/Mercury-00000001", "0?Set(REC_STATUS=NO)") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [s@sub-record-check:14] GotoIf("PJSIP/Mercury-00000001", "2?checkaction") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx_builtins.c: Goto (sub-record-check,s,17) [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [s@sub-record-check:17] GotoIf("PJSIP/Mercury-00000001", "1?sub-record-check,in,1") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx_builtins.c: Goto (sub-record-check,in,1) [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [in@sub-record-check:1] NoOp("PJSIP/Mercury-00000001", "Inbound Recording Check to 9898326689") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [in@sub-record-check:2] Set("PJSIP/Mercury-00000001", "FROMEXTEN=unknown") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [in@sub-record-check:3] ExecIf("PJSIP/Mercury-00000001", "10?Set(FROMEXTEN=2482288200)") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [in@sub-record-check:4] Gosub("PJSIP/Mercury-00000001", "recordcheck,1(dontcare,in,9898326689)") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/Mercury-00000001", "Starting recording check against dontcare") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [recordcheck@sub-record-check:2] Goto("PJSIP/Mercury-00000001", "dontcare") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx_builtins.c: Goto (sub-record-check,recordcheck,3) [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [recordcheck@sub-record-check:3] Return("PJSIP/Mercury-00000001", "") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [in@sub-record-check:5] Return("PJSIP/Mercury-00000001", "") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [9898326689@from-pstn:3] Set("PJSIP/Mercury-00000001", "__FROM_DID=9898326689") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [9898326689@from-pstn:4] Set("PJSIP/Mercury-00000001", "CDR(did)=9898326689") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [9898326689@from-pstn:5] ExecIf("PJSIP/Mercury-00000001", "0 ?Set(CALLERID(name)=2482288200)") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [9898326689@from-pstn:6] Set("PJSIP/Mercury-00000001", "__MOHCLASS=") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [9898326689@from-pstn:7] Set("PJSIP/Mercury-00000001", "__REVERSAL_REJECT=FALSE") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [9898326689@from-pstn:8] GotoIf("PJSIP/Mercury-00000001", "1?post-reverse-charge") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx_builtins.c: Goto (from-pstn,9898326689,10) [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [9898326689@from-pstn:10] NoOp("PJSIP/Mercury-00000001", "") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [9898326689@from-pstn:11] Set("PJSIP/Mercury-00000001", "__CALLINGNAMEPRES_SV=allowed_not_screened") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [9898326689@from-pstn:12] Set("PJSIP/Mercury-00000001", "__CALLINGNUMPRES_SV=allowed_not_screened") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [9898326689@from-pstn:13] Set("PJSIP/Mercury-00000001", "CALLERID(name-pres)=allowed_not_screened") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [9898326689@from-pstn:14] Set("PJSIP/Mercury-00000001", "CALLERID(num-pres)=allowed_not_screened") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [9898326689@from-pstn:15] NoOp("PJSIP/Mercury-00000001", "CallerID Entry Point") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [9898326689@from-pstn:16] Goto("PJSIP/Mercury-00000001", "ext-fax,1,1") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx_builtins.c: Goto (ext-fax,1,1) [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [1@ext-fax:1] Set("PJSIP/Mercury-00000001", "FAX_FOR=isd@co.midland.mi.us (1)") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [1@ext-fax:2] NoOp("PJSIP/Mercury-00000001", "Receiving Fax for: isd@co.midland.mi.us (1), From: "2482288200" <2482288200>") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [1@ext-fax:3] Set("PJSIP/Mercury-00000001", "FAX_RX_USER=1") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [1@ext-fax:4] Set("PJSIP/Mercury-00000001", "FAX_RX_EMAIL_LEN=26") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [1@ext-fax:5] ExecIf("PJSIP/Mercury-00000001", "1?Set(ARIUSER=1)") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [1@ext-fax:6] ExecIf("PJSIP/Mercury-00000001", "1?AGI(fax.agi)") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/fax.agi [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] res_agi.c: AGI Script fax.agi completed, returning 0 [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [1@ext-fax:7] Goto("PJSIP/Mercury-00000001", "s,receivefax") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx_builtins.c: Goto (ext-fax,s,3) [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [s@ext-fax:3] StopPlayTones("PJSIP/Mercury-00000001", "") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] pbx.c: Executing [s@ext-fax:4] ReceiveFAX("PJSIP/Mercury-00000001", "/var/spool/asterisk/fax/1521144310.3.tif,f") in new stack [2018-03-15 16:05:10] VERBOSE[20006][C-00000002] res_fax.c: Channel 'PJSIP/Mercury-00000001' receiving FAX '/var/spool/asterisk/fax/1521144310.3.tif' [2018-03-15 16:05:22] VERBOSE[20006][C-00000002] pbx.c: Spawn extension (ext-fax, s, 4) exited non-zero on 'PJSIP/Mercury-00000001' [2018-03-15 16:05:22] VERBOSE[20006][C-00000002] pbx.c: Executing [h@ext-fax:1] GotoIf("PJSIP/Mercury-00000001", "1?failed") in new stack [2018-03-15 16:05:22] VERBOSE[20006][C-00000002] pbx_builtins.c: Goto (ext-fax,h,104) [2018-03-15 16:05:22] VERBOSE[20006][C-00000002] pbx.c: Executing [h@ext-fax:104] NoOp("PJSIP/Mercury-00000001", "FAX FAILED for: isd@co.midland.mi.us (1) , From: "2482288200" <2482288200>") in new stack [2018-03-15 16:05:22] VERBOSE[20006][C-00000002] pbx.c: Executing [h@ext-fax:105] Macro("PJSIP/Mercury-00000001", "hangupcall,") in new stack [2018-03-15 16:05:22] VERBOSE[20006][C-00000002] pbx.c: Executing [s@macro-hangupcall:1] GotoIf("PJSIP/Mercury-00000001", "1?theend") in new stack [2018-03-15 16:05:22] VERBOSE[20006][C-00000002] pbx_builtins.c: Goto (macro-hangupcall,s,3) [2018-03-15 16:05:22] VERBOSE[20006][C-00000002] pbx.c: Executing [s@macro-hangupcall:3] ExecIf("PJSIP/Mercury-00000001", "0?Set(CDR(recordingfile)=)") in new stack [2018-03-15 16:05:22] VERBOSE[20006][C-00000002] pbx.c: Executing [s@macro-hangupcall:4] NoOp("PJSIP/Mercury-00000001", " monior file= ") in new stack [2018-03-15 16:05:22] VERBOSE[20006][C-00000002] pbx.c: Executing [s@macro-hangupcall:5] AGI("PJSIP/Mercury-00000001", "attendedtransfer-rec-restart.php,,") in new stack [2018-03-15 16:05:22] VERBOSE[20006][C-00000002] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php [2018-03-15 16:05:22] VERBOSE[20006][C-00000002] res_agi.c: AGI Script attendedtransfer-rec-restart.php completed, returning 0 [2018-03-15 16:05:22] VERBOSE[20006][C-00000002] pbx.c: Executing [s@macro-hangupcall:6] Hangup("PJSIP/Mercury-00000001", "") in new stack [2018-03-15 16:05:22] VERBOSE[20006][C-00000002] app_macro.c: Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'PJSIP/Mercury-00000001' in macro 'hangupcall' [2018-03-15 16:05:22] VERBOSE[20006][C-00000002] pbx.c: Spawn extension (ext-fax, h, 105) exited non-zero on 'PJSIP/Mercury-00000001'