I am running a Fax2Email server on fusionpbx 5.07. Everything works great most of the time. I receive a fax and it emails it to me. However, once in a while, fusionpbx does NOT send the email and the fusionpbx log clearly shows that it's not sending the email. After the lua command:
API-Command: lua
API-Command-Argument: app/fax/resources/scripts/hangup_rx.lua
I am missing the following line (below) when the Fax2Email fails.
2023-01-19 00:55:12.098751 97.57% [NOTICE] switch_cpp.cpp:1465 [fax] command: /usr/bin/php /var/www/fusionpbx/secure/fax_to_email.php email=faxes@domain.net extension=15141234567 name=/var/lib/freeswitch/storage/fax/fpbx.netrotel.com/15141234567/inbox/14161234567-2023-01-19-00-54-08.tif messages='result:OK sender:TD Serv - MBO pages:2' domain=fpbx.abc.com caller_id_name=14161234567 caller_id_number=14161234567 fax_relay=false fax_prefix=false
and the log skips right away to:
2023-01-19 00:14:58.118754 99.17% [INFO] switch_cpp.cpp:1465 fax_success: '1'
Has anyone encountered the same error? I am assuming it's a bug where the lua command in not executed to send the email but I am not a programmer and can't fix this.
API-Command: lua
API-Command-Argument: app/fax/resources/scripts/hangup_rx.lua
I am missing the following line (below) when the Fax2Email fails.
2023-01-19 00:55:12.098751 97.57% [NOTICE] switch_cpp.cpp:1465 [fax] command: /usr/bin/php /var/www/fusionpbx/secure/fax_to_email.php email=faxes@domain.net extension=15141234567 name=/var/lib/freeswitch/storage/fax/fpbx.netrotel.com/15141234567/inbox/14161234567-2023-01-19-00-54-08.tif messages='result:OK sender:TD Serv - MBO pages:2' domain=fpbx.abc.com caller_id_name=14161234567 caller_id_number=14161234567 fax_relay=false fax_prefix=false
and the log skips right away to:
2023-01-19 00:14:58.118754 99.17% [INFO] switch_cpp.cpp:1465 fax_success: '1'
Has anyone encountered the same error? I am assuming it's a bug where the lua command in not executed to send the email but I am not a programmer and can't fix this.