mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-05 11:13:50 +00:00
Ring groups add a work around for Freeswitch's native voicemail.
This commit is contained in:
@@ -359,6 +359,9 @@
|
||||
session:execute("bridge", app_data);
|
||||
end
|
||||
if (session:getVariable("originate_disposition") == "ALLOTTED_TIMEOUT" or session:getVariable("originate_disposition") == "NO_ANSWER") then
|
||||
if (ring_group_timeout_app == "voicemail") then
|
||||
session:answer();
|
||||
end
|
||||
session:execute(ring_group_timeout_app, ring_group_timeout_data);
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user