Update index.lua

This commit is contained in:
FusionPBX 2018-05-09 09:56:35 -06:00 committed by GitHub
parent b188aa1a69
commit 22cd7fd452
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -463,7 +463,6 @@
--add the row to the destinations array --add the row to the destinations array
destinations[x] = row; destinations[x] = row;
end end
--session:hangup();
else else
--set the values --set the values
external = "true"; external = "true";
@ -478,7 +477,7 @@
--freeswitch.consoleLog("NOTICE", "[ring_group] external "..external.."\n"); --freeswitch.consoleLog("NOTICE", "[ring_group] external "..external.."\n");
--get the dialplan data and save it to a table --get the dialplan data and save it to a table
if (external) then if (external == "true") then
dialplans = route_to_bridge.preload_dialplan( dialplans = route_to_bridge.preload_dialplan(
dbh, domain_uuid, {hostname = hostname, context = context} dbh, domain_uuid, {hostname = hostname, context = context}
) )