Update 010_get_domain.lua.noload
This commit is contained in:
@@ -52,7 +52,7 @@
|
|||||||
sql = sql .. "AND n.destination_type = 'inbound' "
|
sql = sql .. "AND n.destination_type = 'inbound' "
|
||||||
sql = sql .. "AND n.domain_uuid = d.domain_uuid "
|
sql = sql .. "AND n.domain_uuid = d.domain_uuid "
|
||||||
--freeswitch.consoleLog("notice", "SQL:" .. sql .. "\n");
|
--freeswitch.consoleLog("notice", "SQL:" .. sql .. "\n");
|
||||||
assert(dbh:query(sql, function(row)
|
dbh:query(sql, function(row)
|
||||||
--set the local variables
|
--set the local variables
|
||||||
domain_uuid = row.domain_uuid;
|
domain_uuid = row.domain_uuid;
|
||||||
domain_name = row.domain_name;
|
domain_name = row.domain_name;
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
--set the source
|
--set the source
|
||||||
source = "database";
|
source = "database";
|
||||||
|
|
||||||
end));
|
end);
|
||||||
|
|
||||||
else
|
else
|
||||||
--add the function
|
--add the function
|
||||||
|
|||||||
Reference in New Issue
Block a user