Add bg_system to run the command as non blocking.

This commit is contained in:
FusionPBX 2022-05-27 16:58:32 -06:00 committed by GitHub
parent 5a89fa5081
commit 147956f655
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@
cmd = cmd .. "fax_prefix=false ";
end
freeswitch.consoleLog("notice", "[fax] command: " .. cmd .. "\n");
result = api:executeString(cmd);
result = api:executeString("bg_system "..cmd);
--add to fax logs
sql = "insert into v_fax_logs ";