Hi folks,
I want to receive my faxes in my email. I’ve tested the email configuration, my voicemails are working great. I also tested the fax2mail.php directly from terminal and also worked fine.
I’ve configured one Virtual Extension with voicemail on, email filled, this virtual extension has a user linked to it and has email there as well. Also I enabled the Fax option in user config.
The virtual extension is configured to go to a Fax Destination if busy. So when I call the virtual extension I go directly to fax. When I send a fax to this extension I can check that the fax is working, because the file is created in /var/spool/asterisk/fax but no email is sent.
Log:
[2017-02-07 14:54:07] VERBOSE[18071][C-00000000] pbx.c: Executing [200@ext-local:4] GotoIf("DAHDI/4-1", "1?ext-fax,10,1") in new stack
[2017-02-07 14:54:07] VERBOSE[18071][C-00000000] pbx_builtins.c: Goto (ext-fax,10,1)
[2017-02-07 14:54:07] VERBOSE[18071][C-00000000] pbx.c: Executing [10@ext-fax:1] Set("DAHDI/4-1", "FAX_FOR=Fax Soliton (10)") in new stack
[2017-02-07 14:54:07] VERBOSE[18071][C-00000000] pbx.c: Executing [10@ext-fax:2] NoOp("DAHDI/4-1", "Receiving Fax for: Fax Soliton (10), From: "Cozinha" <2112>") in new stack
[2017-02-07 14:54:07] VERBOSE[18071][C-00000000] pbx.c: Executing [10@ext-fax:3] Set("DAHDI/4-1", "FAX_RX_USER=10") in new stack
[2017-02-07 14:54:07] VERBOSE[18071][C-00000000] pbx.c: Executing [10@ext-fax:4] Set("DAHDI/4-1", "FAX_RX_EMAIL_LEN=21") in new stack
[2017-02-07 14:54:07] VERBOSE[18071][C-00000000] pbx.c: Executing [10@ext-fax:5] Goto("DAHDI/4-1", "s,receivefax") in new stack
[2017-02-07 14:54:07] VERBOSE[18071][C-00000000] pbx_builtins.c: Goto (ext-fax,s,3)
[2017-02-07 14:54:07] VERBOSE[18071][C-00000000] pbx.c: Executing [s@ext-fax:3] StopPlayTones("DAHDI/4-1", "") in new stack
[2017-02-07 14:54:07] VERBOSE[18071][C-00000000] pbx.c: Executing [s@ext-fax:4] ReceiveFAX("DAHDI/4-1", "/var/spool/asterisk/fax/1486486442.0.tif,f") in new stack
[2017-02-07 14:54:07] VERBOSE[18071][C-00000000] res_fax.c: Channel 'DAHDI/4-1' receiving FAX '/var/spool/asterisk/fax/1486486442.0.tif'
[2017-02-07 14:54:08] VERBOSE[18071][C-00000000] sig_analog.c: Channel 4 detected a CED tone towards the network.
[2017-02-07 14:54:52] Asterisk 13.13.1 built by mockbuild @ jenkins2.schmoozecom.net on a x86_64 running Linux on 2016-12-16 04:48:00 UTC
[Feb 7 14:54:52] VERBOSE[18136] config.c: Parsing '/etc/asterisk/logger_logfiles_custom.conf': Found
[2017-02-07 14:54:52] VERBOSE[18136] message.c: Message handler 'dialplan' registered.
[2017-02-07 14:54:52] VERBOSE[18136] pbx_functions.c: Registered custom function 'MESSAGE'
[2017-02-07 14:54:52] VERBOSE[18136] pbx_functions.c: Registered custom function 'MESSAGE_DATA'
[2017-02-07 14:54:52] VERBOSE[18136] pbx_app.c: Registered application 'MessageSend'
[2017-02-07 14:54:52] VERBOSE[18136] manager.c: Manager registered action MessageSend
[2017-02-07 14:54:52] VERBOSE[18136] manager.c: Manager registered action DataGet
[2017-02-07 14:54:52] VERBOSE[18136] channel.c: Registered channel type 'Surrogate' (Surrogate channel used to pull channel from an application)
[2017-02-07 14:54:52] VERBOSE[18136] manager.c: Manager registered action BridgeTechnologyList
[2017-02-07 14:54:52] VERBOSE[18136] manager.c: Manager registered action BridgeTechnologySuspend
[2017-02-07 14:54:52] VERBOSE[18136] manager.c: Manager registered action BridgeTechnologyUnsuspend
[2017-02-07 14:54:52] VERBOSE[18136] loader.c: Asterisk Dynamic Loader Starting:
[2017-02-07 14:54:52] VERBOSE[18136] config.c: Parsing '/etc/asterisk/modules.conf': Found
How to solve this?
Kind Regards, Ricardo