Update hangup_rx.lua
Working on replacing this php command for sending the email. It appears this is locking freeswitch and not completing. Reverting this commit. - https://github.com/fusionpbx/fusionpbx/commit/63e1f7741e165ab549bdb33f69f395317ef3cb10
This commit is contained in:
@@ -225,9 +225,7 @@
|
|||||||
cmd = cmd .. "fax_prefix=false ";
|
cmd = cmd .. "fax_prefix=false ";
|
||||||
end
|
end
|
||||||
freeswitch.consoleLog("notice", "[fax] command: " .. cmd .. "\n");
|
freeswitch.consoleLog("notice", "[fax] command: " .. cmd .. "\n");
|
||||||
local handle = io.popen(cmd);
|
result = api:execute("system", cmd);
|
||||||
result = handle:read("*a");
|
|
||||||
handle:close();
|
|
||||||
|
|
||||||
--add to fax logs
|
--add to fax logs
|
||||||
sql = "insert into v_fax_logs ";
|
sql = "insert into v_fax_logs ";
|
||||||
|
|||||||
Reference in New Issue
Block a user