Have had FreePBX working at a customer for almost 4 months now, last month they did a module update and the way emails worked seems to have changed.
First had to redefine the domain and mail address that was being used, and now they can receive User Manager notifications from the PBX, but received faxes appear never to be sent.
The bug report I opened was closed based on “This is not a bug. Confirmed email are working for us.” http://issues.freepbx.org/browse/FREEPBX-11943
Any suggestions why the received fax seems to not be emailed? User Manager Notifications appear in the maillog while faxes don’t. The .tif file is properly stored on the server.
They are using the 1 free Digium fax license
Asterisk Version: 11.20.0
Distro Version: 13.0.95
This is what we see in the log:
Fax attempt:
[2016-03-31 11:27:48] VERBOSE[4595][C-0000c476] app_dial.c: – SIP/5008-0001825b is ringing
[2016-03-31 11:27:49] VERBOSE[4346][C-0000c472] pbx.c: == Spawn extension (ext-fax, s, 4) exited non-zero on ‘SIP/99665000-00018254’
[2016-03-31 11:27:49] VERBOSE[4346][C-0000c472] pbx.c: – Executing [h@ext-fax:1] GotoIf(“SIP/99665000-00018254”, “0?failed”) in new stack
[2016-03-31 11:27:49] VERBOSE[4346][C-0000c472] pbx.c: – Executing [h@ext-fax:2] GotoIf(“SIP/99665000-00018254”, “0?noemail”) in new stack
[2016-03-31 11:27:49] VERBOSE[4346][C-0000c472] pbx.c: – Executing [h@ext-fax:3] Set(“SIP/99665000-00018254”, “DELETE_AFTER_SEND=true”) in new stack
[2016-03-31 11:27:49] VERBOSE[4346][C-0000c472] pbx.c: – Executing [h@ext-fax:4] System(“SIP/99665000-00018254”, “/var/lib/asterisk/bin/fax2mail.php --remotestationid “” --to "[email protected]” --dest “99665021” --callerid '“Anonymous” ’ --file /var/spool/asterisk/fax/1459412755.134924.tif --exten “Nir Cohen (1)” --delete “true” --attachformat “both”") in new stack
[2016-03-31 11:27:49] VERBOSE[4346][C-0000c472] pbx.c: – Executing [h@ext-fax:5] Macro(“SIP/99665000-00018254”, “hangupcall,”) in new stack
[2016-03-31 11:27:49] VERBOSE[4346][C-0000c472] pbx.c: – Executing [s@macro-hangupcall:1] ExecIf(“SIP/99665000-00018254”, “0?Set(CDR(recordingfile)=.wav)”) in new stack
[2016-03-31 11:27:49] VERBOSE[4346][C-0000c472] pbx.c: – Executing [s@macro-hangupcall:2] GotoIf(“SIP/99665000-00018254”, “1?theend”) in new stack
[2016-03-31 11:27:49] VERBOSE[4346][C-0000c472] pbx.c: – Goto (macro-hangupcall,s,4)
[2016-03-31 11:27:49] VERBOSE[4346][C-0000c472] pbx.c: – Executing [s@macro-hangupcall:4] ExecIf(“SIP/99665000-00018254”, “0?Set(CDR(recordingfile)=)”) in new stack
[2016-03-31 11:27:49] VERBOSE[4346][C-0000c472] pbx.c: – Executing [s@macro-hangupcall:5] Hangup(“SIP/99665000-00018254”, “”) in new stack
[2016-03-31 11:27:49] VERBOSE[4346][C-0000c472] app_macro.c: == Spawn extension (macro-hangupcall, s, 5) exited non-zero on ‘SIP/99665000-00018254’ in macro ‘hangupcall’
[2016-03-31 11:27:49] VERBOSE[4346][C-0000c472] pbx.c: == Spawn extension (ext-fax, h, 5) exited non-zero on ‘SIP/99665000-00018254’
As I said, this was working fine for more than 2 months, and suddenly stopped and we can not see why, so any advice would be helpful.