Fax to email not working

The faxes show up in the UCP, but they are not being emailed (not receiving and don’t see in the message tracing at the mail host).

We get nightly emails with the backup status and I’ve verified the account credentials setup in SysAdmin Pro (it’s an O365 email situation).

I can send emails to the address configured for the fax recipient.

Nothing shows in the Postfix queue.

FreePBX 14.0.13.24
Fax Config 14.0.2.8
FaxConfigPro 14.0.12

There are files in /var/spool/asterisk/fax (both PDF and TIF)
There are PDF files in /var/spool/asterisk/fax/16/in

I feel like I’m missing something obvious, and it’s been a long week (month and year) and I may be having synapse misfires.

TIA

Log:
[2020-02-13 16:30:25] VERBOSE[12572][C-000008fc] pbx.c: Spawn extension (ext-fax, s, 5) exited non-zero on ‘SIP/ComcastPRI-0000078a’
[2020-02-13 16:30:25] VERBOSE[12572][C-000008fc] pbx.c: Executing [[email protected]:1] GotoIf(“SIP/ComcastPRI-0000078a”, “0?failed”) in new stack
[2020-02-13 16:30:25] VERBOSE[12572][C-000008fc] pbx.c: Executing [[email protected]:2] Set(“SIP/ComcastPRI-0000078a”, “DELETE_AFTER_SEND=false”) in new stack
[2020-02-13 16:30:25] VERBOSE[12572][C-000008fc] pbx.c: Executing [[email protected]:3] GotoIf(“SIP/ComcastPRI-0000078a”, “0?noemail”) in new stack
[2020-02-13 16:30:25] VERBOSE[12572][C-000008fc] pbx.c: Executing [[email protected]:4] System(“SIP/ComcastPRI-0000078a”, “/var/lib/asterisk/bin/fax2mail.php --remotestationid “” --user “16” --dest “42xxxxxxxx” --callerid “IkZBWCBHTE9CQUwiIDw0MDQ2MDE5MDAxPg==” --file /var/spool/asterisk/fax/1581640193.8975.tif --delete “false””) in new stack
[2020-02-13 16:30:25] VERBOSE[12572][C-000008fc] pbx.c: Executing [[email protected]:5] ExecIf(“SIP/ComcastPRI-0000078a”, “1?system(/var/lib/asterisk/bin/faxpro_helper.php --action=“receive” --user=“16” --dest=“4257096863” --callerid=“IkZBWCBHTE9CQUwiIDw0MDQ2MDE5MDAxPg==” --file=”/var/spool/asterisk/fax/1581640193.8975.tif" --direction=“in” --status=“OK”)") in new stack
[2020-02-13 16:30:26] VERBOSE[12572][C-000008fc] pbx.c: Executing [[email protected]:6] Macro(“SIP/ComcastPRI-0000078a”, “hangupcall,”) in new stack
[2020-02-13 16:30:26] VERBOSE[12572][C-000008fc] pbx.c: Executing [[email protected]:1] GotoIf(“SIP/ComcastPRI-0000078a”, “1?theend”) in new stack
[2020-02-13 16:30:26] VERBOSE[12572][C-000008fc] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2020-02-13 16:30:26] VERBOSE[12572][C-000008fc] pbx.c: Executing [[email protected]:3] ExecIf(“SIP/ComcastPRI-0000078a”, “0?Set(CDR(recordingfile)=)”) in new stack
[2020-02-13 16:30:26] VERBOSE[12572][C-000008fc] pbx.c: Executing [[email protected]:4] NoOp(“SIP/ComcastPRI-0000078a”, " montior file= ") in new stack
[2020-02-13 16:30:26] VERBOSE[12572][C-000008fc] pbx.c: Executing [[email protected]:5] GotoIf(“SIP/ComcastPRI-0000078a”, “1?skipagi”) in new stack
[2020-02-13 16:30:26] VERBOSE[12572][C-000008fc] pbx_builtins.c: Goto (macro-hangupcall,s,7)
[2020-02-13 16:30:26] VERBOSE[12572][C-000008fc] pbx.c: Executing [[email protected]:7] Hangup(“SIP/ComcastPRI-0000078a”, “”) in new stack
[2020-02-13 16:30:26] VERBOSE[12572][C-000008fc] app_macro.c: Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘SIP/ComcastPRI-0000078a’ in macro ‘hangupcall’
[2020-02-13 16:30:26] VERBOSE[12572][C-000008fc] pbx.c: Spawn extension (ext-fax, h, 6) exited non-zero on ‘SIP/ComcastPRI-0000078a’
[2020-02-13 16:30:26] VERBOSE[12572][C-000008fc] app_stack.c: SIP/ComcastPRI-0000078a Internal Gosub(crm-hangup,s,1) start
[2020-02-13 16:30:26] VERBOSE[12572][C-000008fc] pbx.c: Executing [[email protected]:1] NoOp(“SIP/ComcastPRI-0000078a”, “Sending Hangup to CRM”) in new stack
[2020-02-13 16:30:26] VERBOSE[12572][C-000008fc] pbx.c: Executing [[email protected]:2] NoOp(“SIP/ComcastPRI-0000078a”, “HANGUP CAUSE: 16”) in new stack
[2020-02-13 16:30:26] VERBOSE[12572][C-000008fc] pbx.c: Executing [[email protected]:3] ExecIf(“SIP/ComcastPRI-0000078a”, “0?Set(__CRM_VOICEMAIL=)”) in new stack
[2020-02-13 16:30:26] VERBOSE[12572][C-000008fc] pbx.c: Executing [[email protected]:4] NoOp(“SIP/ComcastPRI-0000078a”, “MASTER CHANNEL: 1581640193.8975 = 1581640193.8975”) in new stack
[2020-02-13 16:30:26] VERBOSE[12572][C-000008fc] pbx.c: Executing [[email protected]:5] GotoIf(“SIP/ComcastPRI-0000078a”, “0?return”) in new stack
[2020-02-13 16:30:26] VERBOSE[12572][C-000008fc] pbx.c: Executing [[email protected]:6] Set(“SIP/ComcastPRI-0000078a”, “__CRM_HANGUP=1”) in new stack
[2020-02-13 16:30:26] VERBOSE[12572][C-000008fc] pbx.c: Executing [[email protected]:7] AGI(“SIP/ComcastPRI-0000078a”, “sangomacrm.agi”) in new stack
[2020-02-13 16:30:26] VERBOSE[12572][C-000008fc] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
[2020-02-13 16:30:26] VERBOSE[12572][C-000008fc] res_agi.c: <SIP/ComcastPRI-0000078a>AGI Script sangomacrm.agi completed, returning 0
[2020-02-13 16:30:26] VERBOSE[12572][C-000008fc] pbx.c: Executing [[email protected]:8] Return(“SIP/ComcastPRI-0000078a”, “”) in new stack
[2020-02-13 16:30:26] VERBOSE[12572][C-000008fc] app_stack.c: Spawn extension (ext-fax, h, 6) exited non-zero on ‘SIP/ComcastPRI-0000078a’
[2020-02-13 16:30:26] VERBOSE[12572][C-000008fc] app_stack.c: SIP/ComcastPRI-0000078a Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=

After posting I ran fwconsole chown and that seems to have fixed the issue, or it was at least concurrent with fax-to-email starting to work.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.