freepbx*CLI> == Spawn extension (ext-fax, s, 5) exited non-zero on 'SIP/From55-server-00000091' -- Executing [h@ext-fax:1] GotoIf("SIP/From55-server-00000091", "1?failed") in new stack -- Goto (ext-fax,h,105) -- Executing [h@ext-fax:105] NoOp("SIP/From55-server-00000091", "FAX FAILED for: 5001 (22) , From: "555454" <555454>") in new stack -- Executing [h@ext-fax:106] Macro("SIP/From55-server-00000091", "hangupcall,") in new stack -- Executing [s@macro-hangupcall:1] GotoIf("SIP/From55-server-00000091", "1?theend") in new stack -- Goto (macro-hangupcall,s,3) -- Executing [s@macro-hangupcall:3] ExecIf("SIP/From55-server-00000091", "0?Set(CDR(recordingfile)=)") in new stack -- Executing [s@macro-hangupcall:4] NoOp("SIP/From55-server-00000091", " montior file= /var/spool/asterisk/monitor/2019/08/01/in-996001-555454-20190801-100941-1564654181.1085.wav") in new stack -- Executing [s@macro-hangupcall:5] GotoIf("SIP/From55-server-00000091", "1?skipagi") in new stack -- Goto (macro-hangupcall,s,7) -- Executing [s@macro-hangupcall:7] Hangup("SIP/From55-server-00000091", "") in new stack == Spawn extension (macro-hangupcall, s, 7) exited non-zero on 'SIP/From55-server-00000091' in macro 'hangupcall' == Spawn extension (ext-fax, h, 106) exited non-zero on 'SIP/From55-server-00000091' -- SIP/From55-server-00000091 Internal Gosub(callaccounting-hangup,s,1) start -- Executing [s@callaccounting-hangup:1] NoOp("SIP/From55-server-00000091", "Calling call accounting AGI") in new stack -- Executing [s@callaccounting-hangup:2] AGI("SIP/From55-server-00000091", "agi://127.0.0.1/callaccounting_hangup.agi,2019-08-01 10:09:41,2019-08-01 10:09:41,32") in new stack -- AGI Script agi://127.0.0.1/callaccounting_hangup.agi completed, returning 0 -- Executing [s@callaccounting-hangup:3] Return("SIP/From55-server-00000091", "") in new stack == Spawn extension (ext-fax, h, 106) exited non-zero on 'SIP/From55-server-00000091' -- SIP/From55-server-00000091 Internal Gosub(callaccounting-hangup,s,1) complete GOSUB_RETVAL= == MixMonitor close filestream (mixed) == End MixMonitor Recording SIP/From55-server-00000091 == Using SIP RTP TOS bits 184 == Using SIP RTP TOS bits 184 in TCLASS field. == Using SIP RTP CoS mark 5 > 0x7fc10d66d9d0 -- Strict RTP learning after remote address set to: 192.168.3.55:16474 -- Executing [996001@from-pstn:1] Set("SIP/From55-server-00000092", "__DIRECTION=INBOUND") in new stack -- Executing [996001@from-pstn:2] DumpChan("SIP/From55-server-00000092", "") in new stack Dumping Info For Channel: SIP/From55-server-00000092: ================================================================================ Info: Name= SIP/From55-server-00000092 Type= SIP UniqueID= 1564654223.1086 LinkedID= 1564654223.1086 CallerIDNum= 555454 CallerIDName= (N/A) ConnectedLineIDNum= (N/A) ConnectedLineIDName=(N/A) DNIDDigits= 996001 RDNIS= (N/A) Parkinglot= default Language= en State= Ring (4) Rings= 0 NativeFormat= (ulaw) WriteFormat= ulaw ReadFormat= ulaw RawWriteFormat= ulaw RawReadFormat= ulaw WriteTranscode= No ReadTranscode= No 1stFileDescriptor= 55 Framesin= 0 Framesout= 0 TimetoHangup= 0 ElapsedTime= 0h0m0s BridgeID= (Not bridged) Context= from-pstn Extension= 996001 Priority= 2 CallGroup= PickupGroup= Application= DumpChan Data= (Empty) Blocking_in= (Not Blocking) Variables: DIRECTION=INBOUND SIPCALLID=6262dafb7dedf5a236211cb818b9fb68@192.168.3.221 SIPDOMAIN=192.168.3.221 SIPURI=sip:555454@192.168.3.55:5160 ================================================================================ -- Executing [996001@from-pstn:3] Gosub("SIP/From55-server-00000092", "sub-ratedecks,s,1(,555454,,IN,,)") in new stack -- Executing [s@sub-ratedecks:1] NoOp("SIP/From55-server-00000092", "Call accounting finding Rate card") in new stack -- Executing [s@sub-ratedecks:2] AGI("SIP/From55-server-00000092", "agi://127.0.0.1/callaccounting_find_ratecard.php,,555454,,IN,,") in new stack agi://127.0.0.1/callaccounting_find_ratecard.php,,555454,,IN,,: SELECT trunkid,channelid,usercontext FROM trunks WHERE tech ='sip' agi://127.0.0.1/callaccounting_find_ratecard.php,,555454,,IN,,: From55-server Fund trunk id =1 agi://127.0.0.1/callaccounting_find_ratecard.php,,555454,,IN,,: SELECT id, dial_pattern,timegroup FROM callaccounting_rate_patterns WHERE dial_pattern like '555454' and rate_deck_id ='' AND call_direction IN('Inbound','All') AND timegroup IN () LIMIT 1 -- AGI Script agi://127.0.0.1/callaccounting_find_ratecard.php completed, returning 0 -- Executing [s@sub-ratedecks:3] ExecIf("SIP/From55-server-00000092", "1?Set(CHANNEL(hangup_handler_wipe)=callaccounting-hangup,s,1)") in new stack -- Executing [s@sub-ratedecks:4] NoOp("SIP/From55-server-00000092", "Ratepattern id ") in new stack -- Executing [s@sub-ratedecks:5] Return("SIP/From55-server-00000092", "") in new stack -- Executing [996001@from-pstn:4] Gosub("SIP/From55-server-00000092", "sub-record-check,s,1(in,996001,force)") in new stack -- Executing [s@sub-record-check:1] GotoIf("SIP/From55-server-00000092", "0?initialized") in new stack -- Executing [s@sub-record-check:2] Set("SIP/From55-server-00000092", "__REC_STATUS=INITIALIZED") in new stack -- Executing [s@sub-record-check:3] Set("SIP/From55-server-00000092", "NOW=1564654223") in new stack -- Executing [s@sub-record-check:4] Set("SIP/From55-server-00000092", "__DAY=01") in new stack -- Executing [s@sub-record-check:5] Set("SIP/From55-server-00000092", "__MONTH=08") in new stack -- Executing [s@sub-record-check:6] Set("SIP/From55-server-00000092", "__YEAR=2019") in new stack -- Executing [s@sub-record-check:7] Set("SIP/From55-server-00000092", "__TIMESTR=20190801-101023") in new stack -- Executing [s@sub-record-check:8] Set("SIP/From55-server-00000092", "__FROMEXTEN=unknown") in new stack -- Executing [s@sub-record-check:9] Set("SIP/From55-server-00000092", "__MON_FMT=wav") in new stack -- Executing [s@sub-record-check:10] NoOp("SIP/From55-server-00000092", "Recordings initialized") in new stack -- Executing [s@sub-record-check:11] ExecIf("SIP/From55-server-00000092", "0?Set(ARG3=dontcare)") in new stack -- Executing [s@sub-record-check:12] Set("SIP/From55-server-00000092", "REC_POLICY_MODE_SAVE=") in new stack -- Executing [s@sub-record-check:13] ExecIf("SIP/From55-server-00000092", "0?Set(REC_STATUS=NO)") in new stack -- Executing [s@sub-record-check:14] GotoIf("SIP/From55-server-00000092", "2?checkaction") in new stack -- Goto (sub-record-check,s,17) -- Executing [s@sub-record-check:17] GotoIf("SIP/From55-server-00000092", "1?sub-record-check,in,1") in new stack -- Goto (sub-record-check,in,1) -- Executing [in@sub-record-check:1] NoOp("SIP/From55-server-00000092", "Inbound Recording Check to 996001") in new stack -- Executing [in@sub-record-check:2] Set("SIP/From55-server-00000092", "FROMEXTEN=unknown") in new stack -- Executing [in@sub-record-check:3] ExecIf("SIP/From55-server-00000092", "6?Set(FROMEXTEN=555454)") in new stack -- Executing [in@sub-record-check:4] Gosub("SIP/From55-server-00000092", "recordcheck,1(force,in,996001)") in new stack -- Executing [recordcheck@sub-record-check:1] NoOp("SIP/From55-server-00000092", "Starting recording check against force") in new stack -- Executing [recordcheck@sub-record-check:2] Goto("SIP/From55-server-00000092", "force") in new stack -- Goto (sub-record-check,recordcheck,5) -- Executing [recordcheck@sub-record-check:5] Set("SIP/From55-server-00000092", "__REC_POLICY_MODE=FORCE") in new stack -- Executing [recordcheck@sub-record-check:6] GotoIf("SIP/From55-server-00000092", "1?startrec") in new stack -- Goto (sub-record-check,recordcheck,16) -- Executing [recordcheck@sub-record-check:16] NoOp("SIP/From55-server-00000092", "Starting recording: in, 996001") in new stack -- Executing [recordcheck@sub-record-check:17] Set("SIP/From55-server-00000092", "__CALLFILENAME=in-996001-555454-20190801-101023-1564654223.1086") in new stack -- Executing [recordcheck@sub-record-check:18] MixMonitor("SIP/From55-server-00000092", "2019/08/01/in-996001-555454-20190801-101023-1564654223.1086.wav,abi(LOCAL_MIXMON_ID),") in new stack -- Executing [recordcheck@sub-record-check:19] Set("SIP/From55-server-00000092", "__MIXMON_ID=0x7fc154a551e0") in new stack -- Executing [recordcheck@sub-record-check:20] Set("SIP/From55-server-00000092", "__RECORD_ID=SIP/From55-server-00000092") in new stack -- Executing [recordcheck@sub-record-check:21] Set("SIP/From55-server-00000092", "__REC_STATUS=RECORDING") in new stack -- Executing [recordcheck@sub-record-check:22] Set("SIP/From55-server-00000092", "CDR(recordingfile)=in-996001-555454-20190801-101023-1564654223.1086.wav") in new stack == Begin MixMonitor Recording SIP/From55-server-00000092 -- Executing [recordcheck@sub-record-check:23] Return("SIP/From55-server-00000092", "") in new stack -- Executing [in@sub-record-check:5] Return("SIP/From55-server-00000092", "") in new stack -- Executing [996001@from-pstn:5] Set("SIP/From55-server-00000092", "CHANNEL(tonezone)=us") in new stack -- Executing [996001@from-pstn:6] Set("SIP/From55-server-00000092", "__FROM_DID=996001") in new stack -- Executing [996001@from-pstn:7] Set("SIP/From55-server-00000092", "returnhere=1") in new stack -- Executing [996001@from-pstn:8] Gosub("SIP/From55-server-00000092", "app-blacklist-check,s,1()") in new stack -- Executing [s@app-blacklist-check:1] GotoIf("SIP/From55-server-00000092", "0?blacklisted") in new stack -- Executing [s@app-blacklist-check:2] Set("SIP/From55-server-00000092", "CALLED_BLACKLIST=1") in new stack -- Executing [s@app-blacklist-check:3] Return("SIP/From55-server-00000092", "") in new stack -- Executing [996001@from-pstn:9] Set("SIP/From55-server-00000092", "CDR(did)=996001") in new stack -- Executing [996001@from-pstn:10] GotoIf("SIP/From55-server-00000092", "0?") in new stack -- Executing [996001@from-pstn:11] ExecIf("SIP/From55-server-00000092", "1 ?Set(CALLERID(name)=555454)") in new stack -- Executing [996001@from-pstn:12] Set("SIP/From55-server-00000092", "__MOHCLASS=") in new stack -- Executing [996001@from-pstn:13] Set("SIP/From55-server-00000092", "__REVERSAL_REJECT=FALSE") in new stack -- Executing [996001@from-pstn:14] GotoIf("SIP/From55-server-00000092", "1?post-reverse-charge") in new stack -- Goto (from-pstn,996001,16) -- Executing [996001@from-pstn:16] NoOp("SIP/From55-server-00000092", "") in new stack -- Executing [996001@from-pstn:17] Set("SIP/From55-server-00000092", "__CALLINGNAMEPRES_SV=allowed_not_screened") in new stack -- Executing [996001@from-pstn:18] Set("SIP/From55-server-00000092", "__CALLINGNUMPRES_SV=allowed_not_screened") in new stack -- Executing [996001@from-pstn:19] Set("SIP/From55-server-00000092", "CALLERID(name-pres)=allowed_not_screened") in new stack -- Executing [996001@from-pstn:20] Set("SIP/From55-server-00000092", "CALLERID(num-pres)=allowed_not_screened") in new stack -- Executing [996001@from-pstn:21] NoOp("SIP/From55-server-00000092", "CallerID Entry Point") in new stack -- Executing [996001@from-pstn:22] Set("SIP/From55-server-00000092", "FAX_DEST=ext-fax^22^1") in new stack -- Executing [996001@from-pstn:23] Set("SIP/From55-server-00000092", "FAXOPT(faxdetect)=yes") in new stack -- Executing [996001@from-pstn:24] Answer("SIP/From55-server-00000092", "") in new stack > 0x7fc10d66d9d0 -- Strict RTP switching to RTP target address 192.168.3.55:16474 as source -- Executing [996001@from-pstn:25] PlayTones("SIP/From55-server-00000092", "ring") in new stack -- Executing [996001@from-pstn:26] Wait("SIP/From55-server-00000092", "4") in new stack == Redirecting 'SIP/From55-server-00000092' to fax extension due to CNG detection == Spawn extension (from-pstn, fax, 1) exited non-zero on 'SIP/From55-server-00000092' -- Executing [fax@from-pstn:1] Set("SIP/From55-server-00000092", "__DIRECTION=INBOUND") in new stack -- Executing [fax@from-pstn:2] Goto("SIP/From55-server-00000092", "ext-fax,22,1") in new stack -- Goto (ext-fax,22,1) -- Executing [22@ext-fax:1] Set("SIP/From55-server-00000092", "FAX_FOR=5001 (22)") in new stack -- Executing [22@ext-fax:2] NoOp("SIP/From55-server-00000092", "Receiving Fax for: 5001 (22), From: "555454" <555454>") in new stack -- Executing [22@ext-fax:3] Set("SIP/From55-server-00000092", "FAX_RX_USER=22") in new stack -- Executing [22@ext-fax:4] Set("SIP/From55-server-00000092", "FAX_RX_EMAIL_LEN=0") in new stack -- Executing [22@ext-fax:5] ExecIf("SIP/From55-server-00000092", "0?Set(ARIUSER=22)") in new stack -- Executing [22@ext-fax:6] ExecIf("SIP/From55-server-00000092", "0?AGI(fax.agi)") in new stack -- Executing [22@ext-fax:7] Gosub("SIP/From55-server-00000092", "zulu-no-interaction,s,1()") in new stack -- Executing [s@zulu-no-interaction:1] Set("SIP/From55-server-00000092", "__ZULU_CALLVAR_NO_INTERACTION=true") in new stack -- Executing [s@zulu-no-interaction:2] Return("SIP/From55-server-00000092", "") in new stack -- Executing [22@ext-fax:8] Goto("SIP/From55-server-00000092", "s,receivefax") in new stack -- Goto (ext-fax,s,4) -- Executing [s@ext-fax:4] StopPlayTones("SIP/From55-server-00000092", "") in new stack -- Executing [s@ext-fax:5] ReceiveFAX("SIP/From55-server-00000092", "/var/spool/asterisk/fax/1564654223.1086.tif,f") in new stack -- Channel 'SIP/From55-server-00000092' receiving FAX '/var/spool/asterisk/fax/1564654223.1086.tif' > 0x7fc10d66d9d0 -- Strict RTP learning complete - Locking on source address 192.168.3.55:16474 [2019-08-01 10:10:36] WARNING[10572][C-00000088]: res_fax_spandsp.c:438 spandsp_log: WARNING T.30 ECM carrier not found -- Executing [s@ext-fax:6] ExecIf("SIP/From55-server-00000092", "0?Set(FAXSTATUS="FAILED: error: statusstr: OK")") in new stack -- Executing [s@ext-fax:7] Hangup("SIP/From55-server-00000092", "") in new stack == Spawn extension (ext-fax, s, 7) exited non-zero on 'SIP/From55-server-00000092' -- Executing [h@ext-fax:1] GotoIf("SIP/From55-server-00000092", "0?failed") in new stack -- Executing [h@ext-fax:2] Set("SIP/From55-server-00000092", "DELETE_AFTER_SEND=false") in new stack -- Executing [h@ext-fax:3] Gosub("SIP/From55-server-00000092", "zulu-no-interaction,s,1()") in new stack -- Executing [s@zulu-no-interaction:1] Set("SIP/From55-server-00000092", "__ZULU_CALLVAR_NO_INTERACTION=true") in new stack -- Executing [s@zulu-no-interaction:2] Return("SIP/From55-server-00000092", "") in new stack -- Executing [h@ext-fax:4] GotoIf("SIP/From55-server-00000092", "1?noemail") in new stack -- Goto (ext-fax,h,8) -- Executing [h@ext-fax:8] NoOp("SIP/From55-server-00000092", "ERROR: No Email Address to send FAX: status: [SUCCESS], From: ["555454" <555454>], trying system fax destination") in new stack -- Executing [h@ext-fax:9] ExecIf("SIP/From55-server-00000092", "0?system(/var/lib/asterisk/bin/faxpro_helper.php --action="receive" --user="" --dest="996001" --callerid="IjU1NTQ1NCIgPDU1NTQ1ND4=" --file="/var/spool/asterisk/fax/1564654223.1086.tif" --direction="in" --status="OK")") in new stack -- Executing [h@ext-fax:10] GotoIf("SIP/From55-server-00000092", "1?delfax") in new stack -- Goto (ext-fax,h,13) -- Executing [h@ext-fax:13] System("SIP/From55-server-00000092", "/var/lib/asterisk/bin/fax2mail.php --file /var/spool/asterisk/fax/1564654223.1086.tif --delete "false"") in new stack -- Executing [h@ext-fax:14] Macro("SIP/From55-server-00000092", "hangupcall,") in new stack -- Executing [s@macro-hangupcall:1] GotoIf("SIP/From55-server-00000092", "1?theend") in new stack -- Goto (macro-hangupcall,s,3) -- Executing [s@macro-hangupcall:3] ExecIf("SIP/From55-server-00000092", "0?Set(CDR(recordingfile)=)") in new stack -- Executing [s@macro-hangupcall:4] NoOp("SIP/From55-server-00000092", " montior file= /var/spool/asterisk/monitor/2019/08/01/in-996001-555454-20190801-101023-1564654223.1086.wav") in new stack -- Executing [s@macro-hangupcall:5] GotoIf("SIP/From55-server-00000092", "1?skipagi") in new stack -- Goto (macro-hangupcall,s,7) -- Executing [s@macro-hangupcall:7] Hangup("SIP/From55-server-00000092", "") in new stack == Spawn extension (macro-hangupcall, s, 7) exited non-zero on 'SIP/From55-server-00000092' in macro 'hangupcall' == Spawn extension (ext-fax, h, 14) exited non-zero on 'SIP/From55-server-00000092' -- SIP/From55-server-00000092 Internal Gosub(callaccounting-hangup,s,1) start -- Executing [s@callaccounting-hangup:1] NoOp("SIP/From55-server-00000092", "Calling call accounting AGI") in new stack -- Executing [s@callaccounting-hangup:2] AGI("SIP/From55-server-00000092", "agi://127.0.0.1/callaccounting_hangup.agi,2019-08-01 10:10:23,2019-08-01 10:10:23,166") in new stack -- AGI Script agi://127.0.0.1/callaccounting_hangup.agi completed, returning 0 -- Executing [s@callaccounting-hangup:3] Return("SIP/From55-server-00000092", "") in new stack == Spawn extension (ext-fax, h, 14) exited non-zero on 'SIP/From55-server-00000092' -- SIP/From55-server-00000092 Internal Gosub(callaccounting-hangup,s,1) complete GOSUB_RETVAL= == MixMonitor close filestream (mixed) == End MixMonitor Recording SIP/From55-server-00000092 freepbx*CLI>