Having an issue receiving inbound faxes. Configured a DID, inbound route with faxdetect yes, SIP, sending the destination to a fax enabled user with a valid email. All other email related functions work.
When receiving a fax I get the following CLI output
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> 0x7f18de567c70 – Strict RTP learning after remote address set to: x.xx.xx.xxx:17990
– Executing [2677932925@from-trunk-sip-BBD_1:1] Set(“SIP/BBD_1-0000016a”, “GROUP()=OUT_1”) in new stack
– Executing [2677932925@from-trunk-sip-BBD_1:2] Goto(“SIP/BBD_1-0000016a”, “from-trunk,2677932925,1”) in new stack
– Goto (from-trunk,2677932925,1)
– Executing [2677932925@from-trunk:1] Set(“SIP/BBD_1-0000016a”, “__DIRECTION=INBOUND”) in new stack
– Executing [2677932925@from-trunk:2] Gosub(“SIP/BBD_1-0000016a”, “sub-record-check,s,1(in,2677932925,no)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“SIP/BBD_1-0000016a”, “0?initialized”) in new stack
– Executing [s@sub-record-check:2] Set(“SIP/BBD_1-0000016a”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:3] Set(“SIP/BBD_1-0000016a”, “NOW=1515224033”) in new stack
– Executing [s@sub-record-check:4] Set(“SIP/BBD_1-0000016a”, “__DAY=06”) in new stack
– Executing [s@sub-record-check:5] Set(“SIP/BBD_1-0000016a”, “__MONTH=01”) in new stack
– Executing [s@sub-record-check:6] Set(“SIP/BBD_1-0000016a”, “__YEAR=2018”) in new stack
– Executing [s@sub-record-check:7] Set(“SIP/BBD_1-0000016a”, “__TIMESTR=20180106-073353”) in new stack
– Executing [s@sub-record-check:8] Set(“SIP/BBD_1-0000016a”, “__FROMEXTEN=unknown”) in new stack
– Executing [s@sub-record-check:9] Set(“SIP/BBD_1-0000016a”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:10] NoOp(“SIP/BBD_1-0000016a”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“SIP/BBD_1-0000016a”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“SIP/BBD_1-0000016a”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“SIP/BBD_1-0000016a”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“SIP/BBD_1-0000016a”, “2?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“SIP/BBD_1-0000016a”, “1?sub-record-check,in,1”) in new stack
– Goto (sub-record-check,in,1)
– Executing [in@sub-record-check:1] NoOp(“SIP/BBD_1-0000016a”, “Inbound Recording Check to 2677932925”) in new stack
– Executing [in@sub-record-check:2] Set(“SIP/BBD_1-0000016a”, “FROMEXTEN=unknown”) in new stack
– Executing [in@sub-record-check:3] ExecIf(“SIP/BBD_1-0000016a”, “10?Set(FROMEXTEN=6193694525)”) in new stack
– Executing [in@sub-record-check:4] Gosub(“SIP/BBD_1-0000016a”, “recordcheck,1(no,in,2677932925)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“SIP/BBD_1-0000016a”, “Starting recording check against no”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“SIP/BBD_1-0000016a”, “no”) in new stack
– Goto (sub-record-check,recordcheck,12)
– Executing [recordcheck@sub-record-check:12] Set(“SIP/BBD_1-0000016a”, “__REC_POLICY_MODE=NO”) in new stack
– Executing [recordcheck@sub-record-check:13] Return(“SIP/BBD_1-0000016a”, “”) in new stack
– Executing [in@sub-record-check:5] Return(“SIP/BBD_1-0000016a”, “”) in new stack
– Executing [2677932925@from-trunk:3] Gosub(“SIP/BBD_1-0000016a”, “app-blacklist-check,s,1()”) in new stack
– Executing [s@app-blacklist-check:1] GotoIf(“SIP/BBD_1-0000016a”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:2] Set(“SIP/BBD_1-0000016a”, “CALLED_BLACKLIST=1”) in new stack
– Executing [s@app-blacklist-check:3] Return(“SIP/BBD_1-0000016a”, “”) in new stack
– Executing [2677932925@from-trunk:4] Set(“SIP/BBD_1-0000016a”, “__FROM_DID=2677932925”) in new stack
– Executing [2677932925@from-trunk:5] Set(“SIP/BBD_1-0000016a”, “CDR(did)=2677932925”) in new stack
– Executing [2677932925@from-trunk:6] ExecIf(“SIP/BBD_1-0000016a”, “1 ?Set(CALLERID(name)=6193694525)”) in new stack
– Executing [2677932925@from-trunk:7] Set(“SIP/BBD_1-0000016a”, “__MOHCLASS=”) in new stack
– Executing [2677932925@from-trunk:8] Ringing(“SIP/BBD_1-0000016a”, “”) in new stack
– Executing [2677932925@from-trunk:9] Set(“SIP/BBD_1-0000016a”, “__RINGINGSENT=TRUE”) in new stack
– Executing [2677932925@from-trunk:10] Set(“SIP/BBD_1-0000016a”, “__REVERSAL_REJECT=FALSE”) in new stack
– Executing [2677932925@from-trunk:11] GotoIf(“SIP/BBD_1-0000016a”, “1?post-reverse-charge”) in new stack
– Goto (from-trunk,2677932925,13)
– Executing [2677932925@from-trunk:13] NoOp(“SIP/BBD_1-0000016a”, “”) in new stack
– Executing [2677932925@from-trunk:14] Wait(“SIP/BBD_1-0000016a”, “12”) in new stack
– Executing [2677932925@from-trunk:15] Set(“SIP/BBD_1-0000016a”, “__CALLINGNAMEPRES_SV=allowed_not_screened”) in new stack
– Executing [2677932925@from-trunk:16] Set(“SIP/BBD_1-0000016a”, “__CALLINGNUMPRES_SV=allowed_not_screened”) in new stack
– Executing [2677932925@from-trunk:17] Set(“SIP/BBD_1-0000016a”, “CALLERID(name-pres)=allowed_not_screened”) in new stack
– Executing [2677932925@from-trunk:18] Set(“SIP/BBD_1-0000016a”, “CALLERID(num-pres)=allowed_not_screened”) in new stack
– Executing [2677932925@from-trunk:19] Set(“SIP/BBD_1-0000016a”, “__RVOL=10”) in new stack
– Executing [2677932925@from-trunk:20] NoOp(“SIP/BBD_1-0000016a”, “CallerID Entry Point”) in new stack
– Executing [2677932925@from-trunk:21] Set(“SIP/BBD_1-0000016a”, “FAX_DEST=ext-fax^105^1”) in new stack
– Executing [2677932925@from-trunk:22] Set(“SIP/BBD_1-0000016a”, “FAXOPT(faxdetect)=yes”) in new stack
– Executing [2677932925@from-trunk:23] Answer(“SIP/BBD_1-0000016a”, “”) in new stack
> 0x7f18de567c70 – Strict RTP switching to RTP target address x.xx.xx.xx:17990 as source
– Executing [2677932925@from-trunk:24] Wait(“SIP/BBD_1-0000016a”, “4”) in new stack
> 0x7f18de567c70 – Strict RTP learning complete - Locking on source address 8.38.41.138:17990
– Executing [2677932925@from-trunk:25] Goto(“SIP/BBD_1-0000016a”, “ext-fax,105,1”) in new stack
– Goto (ext-fax,105,1)
– Executing [105@ext-fax:1] Set(“SIP/BBD_1-0000016a”, “FAX_FOR=291 (105)”) in new stack
– Executing [105@ext-fax:2] NoOp(“SIP/BBD_1-0000016a”, “Receiving Fax for: 291 (105), From: “6193694525” <6193694525>”) in new stack
– Executing [105@ext-fax:3] Set(“SIP/BBD_1-0000016a”, “FAX_RX_USER=105”) in new stack
– Executing [105@ext-fax:4] Set(“SIP/BBD_1-0000016a”, “FAX_RX_EMAIL_LEN=27”) in new stack
– Executing [105@ext-fax:5] Goto(“SIP/BBD_1-0000016a”, “s,receivefax”) in new stack
– Goto (ext-fax,s,3)
– Executing [s@ext-fax:3] StopPlayTones(“SIP/BBD_1-0000016a”, “”) in new stack
– Executing [s@ext-fax:4] ReceiveFAX(“SIP/BBD_1-0000016a”, “/var/spool/asterisk/fax/1515224033.487.tif,f”) in new stack
– Channel ‘SIP/BBD_1-0000016a’ receiving FAX ‘/var/spool/asterisk/fax/1515224033.487.tif’
[2018-01-06 07:34:14] WARNING[9847][C-00000154]: chan_sip.c:10649 process_sdp: Failed to initialize UDPTL, declining image stream
[2018-01-06 07:34:14] WARNING[9847][C-00000154]: chan_sip.c:10828 process_sdp: Failing due to no acceptable offer found
== Spawn extension (ext-fax, s, 4) exited non-zero on ‘SIP/BBD_1-0000016a’
– Executing [h@ext-fax:1] GotoIf(“SIP/BBD_1-0000016a”, “1?failed”) in new stack
– Goto (ext-fax,h,104)
– Executing [h@ext-fax:104] NoOp(“SIP/BBD_1-0000016a”, “FAX FAILED for: 291 (105) , From: “6193694525” <6193694525>”) in new stack
– Executing [h@ext-fax:105] Macro(“SIP/BBD_1-0000016a”, “hangupcall,”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/BBD_1-0000016a”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“SIP/BBD_1-0000016a”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] NoOp(“SIP/BBD_1-0000016a”, " monior file= ") in new stack
– Executing [s@macro-hangupcall:5] AGI(“SIP/BBD_1-0000016a”, “attendedtransfer-rec-restart.php,”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
– <SIP/BBD_1-0000016a>AGI Script attendedtransfer-rec-restart.php completed, returning 0
– Executing [s@macro-hangupcall:6] Hangup(“SIP/BBD_1-0000016a”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 6) exited non-zero on ‘SIP/BBD_1-0000016a’ in macro ‘hangupcall’
== Spawn extension (ext-fax, h, 105) exited non-zero on ‘SIP/BBD_1-0000016a’
Kind of at my wits end here. Bought the damn fax pro module and cant get the inbound working. Please help…