Update index.lua

This commit is contained in:
FusionPBX 2020-02-13 18:51:02 -07:00 committed by GitHub
parent ce4cc2f41f
commit eee2f6eff0
1 changed files with 5 additions and 5 deletions

View File

@ -378,7 +378,7 @@
destination_number = api:executeString(cmd);
--freeswitch.consoleLog("notice", "[ring groups][call forward all] " .. count .. " " .. cmd .. " ".. destination_number .."\n");
count = count + 1;
if (count < 5) then
if (count < 3) then
count, destination_number = get_forward_all(count, destination_number, domain_name);
end
end
@ -892,7 +892,7 @@
session:execute("bridge", app_data);
if (session:getVariable("originate_disposition") == "NO_ANSWER" ) then
timeout = timeout + destination_timeout;
timeout = timeout + destination_timeout;
end
--increment the value of x