Update index.lua (#2858)

Removal of the  ( ) in the sched_api cmd string allows the start_recording.lua to function as designed. 
Added "..scripts_dir.." as well.
This commit is contained in:
Adam Niedzwiedzki 2017-09-28 12:35:44 +10:00 committed by FusionPBX
parent ec6e5c85ff
commit 1e6bf55869
1 changed files with 1 additions and 1 deletions

View File

@ -775,7 +775,7 @@
end
--record the conference
if (record == "true") then
cmd="sched_api (+5 none lua app/conference_center/resources/scripts/start_recording.lua "..meeting_uuid.." "..domain_name.." "..record_ext.." )";
cmd="sched_api +5 none lua "..scripts_dir.."/app/conference_center/resources/scripts/start_recording.lua "..meeting_uuid.." "..domain_name.." "..record_ext;
api:executeString(cmd);
end
--send the call to the conference