Fax2Email intermittent problems

Status
Not open for further replies.

dcitelecom

Member
Oct 20, 2021
130
3
18
60
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.
 

dcitelecom

Member
Oct 20, 2021
130
3
18
60
So I did a Winmerge log comparison between 2 other faxes where one emailed the page to me and the other one did not. As far as I can tell, the ONLY difference between the 2 logs is as follows:

FAX2EMAIL FAILS
Remote station id: CGI SEE/PERCEPTÿÿÿÿ
fax_remote_station_id: CGI%20SEE/PERCEPT%FF%FF%FF%FF%20
variable_fax_remote_station_id: CGI%20SEE/PERCEPT%FF%FF%FF%FF%20

FAX2EMAIL WORKED
Remote station id:
blank line
blank line
 

dcitelecom

Member
Oct 20, 2021
130
3
18
60
No one? It is driving me crazy. Every incoming fax works and triggers the email queue except for ONE number. Whenever I get a fax from that specific number, fusionpbx does not email the fax to me even though everything else looks ok. Fax received ok. Tif and PDF is in the inbox. There has got to be a way to figure this out.
 

dcitelecom

Member
Oct 20, 2021
130
3
18
60
So I got it narrowed down to fax initially failing and then going through on the second attempt (not sure if it's the same call or new call)

d75bfed2-f65f-4694-a83a-b33b78d7240b Fax processing not successful - result (49) The call dropped prematurely.
..
d75bfed2-f65f-4694-a83a-b33b78d7240b 2023-01-24 07:42:31.360106 98.90% [DEBUG] switch_channel.c:2380 (sofia/external/15141234567@45.17.200.20) Callstate Change ACTIVE -> RINGING
..
d75bfed2-f65f-4694-a83a-b33b78d7240b Dialplan: sofia/external/15141234567@45.17.200.20 parsing [fpbx.mydomain.com->caller-details] continue=true
..
and on the second attempt the fax is received ok but the email queue is not generated and email is not sent

This happens ALL the time with faxes from one vendor and I can duplicate the behaviour consistently
 

dcitelecom

Member
Oct 20, 2021
130
3
18
60
I have a ticket open for this so if anyone experiences a similar issue where a fax is received by FusionPBX but it does not trigger the email, PLEASE open a ticket . I suspect they are waiting for other people to report the same issue to fix this.
 

dcitelecom

Member
Oct 20, 2021
130
3
18
60
How long does it take on average for a ticket that's been accepted to be resolved? What's the average wait time?
 
Status
Not open for further replies.