From ba27ac87701a0d330671059d377568cd3d2f28e3 Mon Sep 17 00:00:00 2001 From: konradSC Date: Wed, 9 May 2018 11:54:41 -0400 Subject: [PATCH] Bug Fix: Wrong Variable Type (#3050) The variable "external" is set as a String not as a Boolean. Changed the If statement to reflect. --- resources/install/scripts/app/ring_groups/index.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/install/scripts/app/ring_groups/index.lua b/resources/install/scripts/app/ring_groups/index.lua index 5aa59828e7..9b0801dd49 100644 --- a/resources/install/scripts/app/ring_groups/index.lua +++ b/resources/install/scripts/app/ring_groups/index.lua @@ -482,7 +482,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} )