Received faxes are not sent by eMail, but sent ones are.

Status
Not open for further replies.

mcs3ss2

Active Member
Sep 8, 2020
250
27
28
AU
only diffewrence is the last line
see if midifying helps out anyone

EDIT
4.5.26 is working OK
 
Last edited:

Nedo

Member
Jun 22, 2020
59
3
8
40
only diffewrence is the last line
see if midifying helps out anyone

EDIT
4.5.26 is working OK

My editing:

end
freeswitch.consoleLog("notice", "[fax] command: " .. cmd .. "\n");
result = api:executeString(cmd);
os.execute(cmd); <-I added this line according previuous posts, is right?
 

topogigio

Member
Jun 17, 2019
68
0
6
57
fusionpbx 4.5.26

Code:
--fax to email
    freeswitch.consoleLog("notice", "[fax] command: " .. cmd .. "\n");
    result = api:execute("system", cmd);

fusionpbx 5.0.1

Code:
--fax to email
   
 freeswitch.consoleLog("notice", "[fax] command: " .. cmd .. "\n");
    result = api:executeString(cmd);
so the problem is the last row in

fusionpbx/app/scripts/resources/scripts/app/fax/resources/scripts/hangup_rx.lua

that may be fixed as api:execute("system", cmd)?
 

topogigio

Member
Jun 17, 2019
68
0
6
57
meantime my working workaround is changing

Code:
result = api:executeString(cmd);
with

Code:
  result = api:execute("system", cmd);

at line 230 of /usr/share/freeswitch/scripts/app/fax/resources/scripts/hangup_rx.lua
 
Status
Not open for further replies.