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:
@@ -482,7 +482,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}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user