Bug Fix: Wrong Variable Type (#3050)

The variable "external" is set as a String not as a Boolean. Changed the If statement to reflect.
This commit is contained in:
konradSC
2018-05-09 11:54:41 -04:00
committed by FusionPBX
parent 41a2a18a0a
commit ff23a9c69c

View File

@@ -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}
)