mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update index.lua (#5239)
This commit is contained in:
@@ -786,8 +786,12 @@
|
||||
end
|
||||
--record the conference
|
||||
if (record == "true") then
|
||||
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);
|
||||
if (wait_mod == "true" and member_type ~= "moderator") then
|
||||
--don't start recording yet
|
||||
else
|
||||
cmd="sched_api +3 none lua "..scripts_dir.."/app/conference_center/resources/scripts/start_recording.lua "..meeting_uuid.." "..domain_name.." "..record_ext;
|
||||
api:executeString(cmd);
|
||||
end
|
||||
end
|
||||
--send the call to the conference
|
||||
cmd = meeting_uuid.."@"..domain_name.."@"..profile.."+flags{".. flags .."}";
|
||||
|
||||
Reference in New Issue
Block a user