mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-19 01:25:09 +00:00
Use enabled for extensions and domain_enabled for domains
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user