mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-21 18:36:31 +00:00
[fax] replace bg_system with os.execute (#6462)
to support systems that have the system commands disabled
This commit is contained in:
@@ -233,7 +233,8 @@
|
||||
cmd = cmd .. "fax_prefix=false ";
|
||||
end
|
||||
freeswitch.consoleLog("notice", "[fax] command: " .. cmd .. "\n");
|
||||
result = api:executeString("bg_system "..cmd);
|
||||
os.execute(cmd);
|
||||
|
||||
|
||||
--add to fax logs
|
||||
sql = "insert into v_fax_logs ";
|
||||
|
||||
Reference in New Issue
Block a user