[fax] replace bg_system with os.execute (#6462)
to support systems that have the system commands disabled
This commit is contained in:
parent
e51f48b17f
commit
d52695b29f
|
|
@ -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 ";
|
||||
|
|
|
|||
Loading…
Reference in New Issue