mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-12 06:04:59 +00:00
Make the ring group timeout action work better.
This commit is contained in:
@@ -88,11 +88,12 @@
|
||||
|
||||
--session actions
|
||||
if (session:ready()) then
|
||||
session:answer();
|
||||
session:execute("set", "hangup_after_bridge=true");
|
||||
session:execute("set", "continue_on_fail=true");
|
||||
session:execute("bridge", app_data);
|
||||
session:execute(ring_group_timeout_app, ring_group_timeout_data);
|
||||
if (not session:answered()) then
|
||||
session:execute(ring_group_timeout_app, ring_group_timeout_data);
|
||||
end
|
||||
end
|
||||
|
||||
--actions
|
||||
|
||||
Reference in New Issue
Block a user