Use enabled for extensions and domain_enabled for domains
This commit is contained in:
parent
18430f2abe
commit
600d5db942
|
|
@ -102,7 +102,9 @@
|
|||
--add the domains
|
||||
if (row.access_control_name == 'providers' or row.access_control_name == 'domains') then
|
||||
sql = "select domain_name, domain_description from v_domains ";
|
||||
sql = sql .. "where domain_uuid in (select distinct(domain_uuid) from v_extensions where domain_enabled = 'true') ";
|
||||
sql = sql .. "where domain_uuid in (select distinct(domain_uuid) ";
|
||||
sql = sql .. "from v_extensions where enabled = 'true') ";
|
||||
sql = sql .. "and domain_enabled = 'true' ";
|
||||
local params = {}
|
||||
if (debug["sql"]) then
|
||||
freeswitch.consoleLog("notice", "[xml_handler] SQL: " .. sql .. ";\n");
|
||||
|
|
|
|||
Loading…
Reference in New Issue