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.
- 63e1f7741e
This commit is contained in:
FusionPBX
2022-03-23 11:06:15 -06:00
committed by GitHub
parent 62b793efde
commit 291277bf4b

View File

@@ -225,9 +225,7 @@
cmd = cmd .. "fax_prefix=false ";
end
freeswitch.consoleLog("notice", "[fax] command: " .. cmd .. "\n");
local handle = io.popen(cmd);
result = handle:read("*a");
handle:close();
result = api:execute("system", cmd);
--add to fax logs
sql = "insert into v_fax_logs ";