Hello!
I am running SHMZ release 6.4(Final) with Asterisk 11.7.0 and FreePBX 12.0.37. I have an issue with my Fax and can’t get my faxes emailed. I have configured an inbound route with my fax recipient(Extension 91). Detect Faxes is set to No and in my extension, the fax checkbox is enabled.
Do you have any clues? I have done the same thing elsewhere and it worked in 2 minutes…
Here is the logfile when receiving a fax:
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [7015260@from-pstn:1] Set(“SIP/Patton3331-0000005d”, “__FROM_DID=7015260”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [7015260@from-pstn:2] Gosub(“SIP/Patton3331-0000005d”, “sub-record-check,s,1(in,7015260,dontcare)”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [s@sub-record-check:1] GotoIf(“SIP/Patton3331-0000005d”, “0?initialized”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [s@sub-record-check:2] Set(“SIP/Patton3331-0000005d”, “__REC_STATUS=INITIALIZED”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [s@sub-record-check:3] Set(“SIP/Patton3331-0000005d”, “NOW=1423819286”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [s@sub-record-check:4] Set(“SIP/Patton3331-0000005d”, “__DAY=13”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [s@sub-record-check:5] Set(“SIP/Patton3331-0000005d”, “__MONTH=02”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [s@sub-record-check:6] Set(“SIP/Patton3331-0000005d”, “__YEAR=2015”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [s@sub-record-check:7] Set(“SIP/Patton3331-0000005d”, “__TIMESTR=20150213-102126”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [s@sub-record-check:8] Set(“SIP/Patton3331-0000005d”, “__FROMEXTEN=unknown”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [s@sub-record-check:9] Set(“SIP/Patton3331-0000005d”, “__MON_FMT=wav”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [s@sub-record-check:10] NoOp(“SIP/Patton3331-0000005d”, “Recordings initialized”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [s@sub-record-check:11] ExecIf(“SIP/Patton3331-0000005d”, “0?Set(ARG3=dontcare)”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [s@sub-record-check:12] Set(“SIP/Patton3331-0000005d”, “REC_POLICY_MODE_SAVE=”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [s@sub-record-check:13] ExecIf(“SIP/Patton3331-0000005d”, “0?Set(REC_STATUS=NO)”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [s@sub-record-check:14] GotoIf(“SIP/Patton3331-0000005d”, “2?checkaction”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Goto (sub-record-check,s,17)
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [s@sub-record-check:17] GotoIf(“SIP/Patton3331-0000005d”, “1?sub-record-check,in,1”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Goto (sub-record-check,in,1)
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [in@sub-record-check:1] NoOp(“SIP/Patton3331-0000005d”, “Inbound Recording Check to 7015260”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [in@sub-record-check:2] Set(“SIP/Patton3331-0000005d”, “FROMEXTEN=unknown”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [in@sub-record-check:3] ExecIf(“SIP/Patton3331-0000005d”, “10?Set(FROMEXTEN=0216952200)”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [in@sub-record-check:4] Gosub(“SIP/Patton3331-0000005d”, “recordcheck,1(dontcare,in,7015260)”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [recordcheck@sub-record-check:1] NoOp(“SIP/Patton3331-0000005d”, “Starting recording check against dontcare”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [recordcheck@sub-record-check:2] Goto(“SIP/Patton3331-0000005d”, “dontcare”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Goto (sub-record-check,recordcheck,3)
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [recordcheck@sub-record-check:3] Return(“SIP/Patton3331-0000005d”, “”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [in@sub-record-check:5] Return(“SIP/Patton3331-0000005d”, “”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [7015260@from-pstn:3] Gosub(“SIP/Patton3331-0000005d”, “app-blacklist-check,s,1()”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [s@app-blacklist-check:1] GotoIf(“SIP/Patton3331-0000005d”, “0?blacklisted”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [s@app-blacklist-check:2] Set(“SIP/Patton3331-0000005d”, “CALLED_BLACKLIST=1”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [s@app-blacklist-check:3] Return(“SIP/Patton3331-0000005d”, “”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [7015260@from-pstn:4] Set(“SIP/Patton3331-0000005d”, “CDR(did)=7015260”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [7015260@from-pstn:5] ExecIf(“SIP/Patton3331-0000005d”, “1 ?Set(CALLERID(name)=0216952200)”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [7015260@from-pstn:6] Set(“SIP/Patton3331-0000005d”, “CHANNEL(musicclass)=default”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [7015260@from-pstn:7] Set(“SIP/Patton3331-0000005d”, “__MOHCLASS=default”) in new stack
[2015-02-13 10:21:26] WARNING[8860][C-00000029] func_channel.c: Unknown or unavailable item requested: ‘reversecharge’
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [7015260@from-pstn:8] GotoIf(“SIP/Patton3331-0000005d”, “0?macro-hangupcall”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [7015260@from-pstn:9] Set(“SIP/Patton3331-0000005d”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [7015260@from-pstn:10] Set(“SIP/Patton3331-0000005d”, “CALLERPRES()=allowed_not_screened”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [7015260@from-pstn:11] Goto(“SIP/Patton3331-0000005d”, “ext-fax,91,1”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Goto (ext-fax,91,1)
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [91@ext-fax:1] Set(“SIP/Patton3331-0000005d”, “FAX_FOR=Fax (91)”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [91@ext-fax:2] NoOp(“SIP/Patton3331-0000005d”, “Receiving Fax for: Fax (91), From: “0216952200” <0216952200>”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [91@ext-fax:3] Set(“SIP/Patton3331-0000005d”, “FAX_ATTACH_FORMAT=pdf”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [91@ext-fax:4] Set(“SIP/Patton3331-0000005d”, “FAX_RX_EMAIL=******@gmail.com”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [91@ext-fax:5] Goto(“SIP/Patton3331-0000005d”, “s,receivefax”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Goto (ext-fax,s,3)
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [s@ext-fax:3] StopPlayTones(“SIP/Patton3331-0000005d”, “”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] pbx.c: – Executing [s@ext-fax:4] ReceiveFAX(“SIP/Patton3331-0000005d”, “/var/spool/asterisk/fax/1423819286.93.tif,f”) in new stack
[2015-02-13 10:21:26] VERBOSE[8860][C-00000029] res_fax.c: – Channel ‘SIP/Patton3331-0000005d’ receiving FAX ‘/var/spool/asterisk/fax/1423819286.93.tif’
[2015-02-13 10:21:51] VERBOSE[8860][C-00000029] pbx.c: – Executing [s@ext-fax:5] ExecIf(“SIP/Patton3331-0000005d”, “1?Set(FAXSTATUS=“FAILED: error: Disconnected after permitted retries statusstr: Disconnected after permitted retries”)”) in new stack
[2015-02-13 10:21:51] VERBOSE[8860][C-00000029] pbx.c: – Executing [s@ext-fax:6] Hangup(“SIP/Patton3331-0000005d”, “”) in new stack
[2015-02-13 10:21:51] VERBOSE[8860][C-00000029] pbx.c: == Spawn extension (ext-fax, s, 6) exited non-zero on ‘SIP/Patton3331-0000005d’
[2015-02-13 10:21:51] VERBOSE[8860][C-00000029] pbx.c: – Executing [h@ext-fax:1] GotoIf(“SIP/Patton3331-0000005d”, “1?failed”) in new stack
[2015-02-13 10:21:51] VERBOSE[8860][C-00000029] pbx.c: – Goto (ext-fax,h,103)
**[2015-02-13 10:21:51] VERBOSE[8860][C-00000029] pbx.c: – Executing [h@ext-fax:103] NoOp(“SIP/Patton3331-0000005d”, "FAX “FAILED: error: Disconnected after permitted retries statusstr: Disconnected after permitted retries” for: ****@gmail.com , From: “0216952200” <0216952200>") in new stack
[2015-02-13 10:21:51] VERBOSE[8860][C-00000029] pbx.c: – Executing [h@ext-fax:104] Macro(“SIP/Patton3331-0000005d”, “hangupcall,”) in new stack
[2015-02-13 10:21:51] VERBOSE[8860][C-00000029] pbx.c: – Executing [s@macro-hangupcall:1] ExecIf(“SIP/Patton3331-0000005d”, “0?Set(CDR(recordingfile)=.wav)”) in new stack
[2015-02-13 10:21:51] VERBOSE[8860][C-00000029] pbx.c: – Executing [s@macro-hangupcall:2] GotoIf(“SIP/Patton3331-0000005d”, “1?theend”) in new stack
[2015-02-13 10:21:51] VERBOSE[8860][C-00000029] pbx.c: – Goto (macro-hangupcall,s,4)
[2015-02-13 10:21:51] VERBOSE[8860][C-00000029] pbx.c: – Executing [s@macro-hangupcall:4] ExecIf(“SIP/Patton3331-0000005d”, “0?Set(CDR(recordingfile)=)”) in new stack
[2015-02-13 10:21:51] VERBOSE[8860][C-00000029] pbx.c: – Executing [s@macro-hangupcall:5] Hangup(“SIP/Patton3331-0000005d”, “”) in new stack
[2015-02-13 10:21:51] VERBOSE[8860][C-00000029] app_macro.c: == Spawn extension (macro-hangupcall, s, 5) exited non-zero on ‘SIP/Patton3331-0000005d’ in macro ‘hangupcall’
[2015-02-13 10:21:51] VERBOSE[8860][C-00000029] pbx.c: == Spawn extension (ext-fax, h, 104) exited non-zero on ‘SIP/Patton3331-0000005d’
Thank you for your help.