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

Status
Not open for further replies.
only diffewrence is the last line
see if midifying helps out anyone

EDIT
4.5.26 is working OK
 
Last edited:
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?
 
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)?
 
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.