diff --git a/resources/install/scripts/app/ring_groups/index.lua b/resources/install/scripts/app/ring_groups/index.lua index fb9293e51f..0c2a8535ed 100644 --- a/resources/install/scripts/app/ring_groups/index.lua +++ b/resources/install/scripts/app/ring_groups/index.lua @@ -463,7 +463,6 @@ --add the row to the destinations array destinations[x] = row; end ---session:hangup(); else --set the values external = "true"; @@ -478,7 +477,7 @@ --freeswitch.consoleLog("NOTICE", "[ring_group] external "..external.."\n"); --get the dialplan data and save it to a table - if (external) then + if (external == "true") then dialplans = route_to_bridge.preload_dialplan( dbh, domain_uuid, {hostname = hostname, context = context} )