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