When the ring group confirm is not set then do not request the confirm

This commit is contained in:
Mark Crane
2014-08-12 07:51:31 +00:00
parent 292bed896e
commit 8781180730

View File

@@ -98,9 +98,9 @@
end
--set confirm
session:execute("set", "group_confirm_key=exec");
session:execute("set", "group_confirm_file=lua ".. scripts_dir .."/confirm.lua");
-- session:execute("set", "group_confirm_key=exec");
-- session:execute("set", "group_confirm_file=lua ".. scripts_dir .."/confirm.lua");
--process the ring group
if (ring_group_forward_enabled == "true" and string.len(ring_group_forward_destination) > 0) then
--forward the ring group
@@ -428,10 +428,9 @@
end
end
--actions
--ACTIONS = {}
--table.insert(ACTIONS, {"set", "hangup_after_bridge=true"});
--table.insert(ACTIONS, {"set", "continue_on_fail=true"});
--table.insert(ACTIONS, {"bridge", app_data});
--table.insert(ACTIONS, {ring_group_timeout_app, ring_group_timeout_data});
--table.insert(ACTIONS, {ring_group_timeout_app, ring_group_timeout_data});