Update dialplan.lua

This commit is contained in:
FusionPBX
2020-08-27 13:02:38 -06:00
committed by GitHub
parent 2d838ff4d1
commit 8c1f42f50d

View File

@@ -98,7 +98,7 @@
table.insert(xml, [[ <context name="]] .. call_context .. [[">]]);
--get the dialplan xml
if (context_name == 'public' and dialplan_method == 'single') then
if (context_name == 'public' and dialplan_mode == 'single') then
sql = "SELECT d.domain_name, dialplan_xml FROM v_dialplans AS p, v_domains AS d ";
sql = sql .. "WHERE ( ";
sql = sql .. " p.dialplan_uuid IN ( ";