Update intercept.lua

This commit is contained in:
FusionPBX
2024-03-07 16:21:06 -07:00
committed by GitHub
parent a0392f265e
commit fc21a1b2d3

View File

@@ -294,12 +294,12 @@
local is_child
dbh:query(sql, params, function(row)
--for key, val in pairs(row) do
-- log.notice("row "..key.." "..val);
-- log.notice("row "..key.." "..val);
--end
--log.notice("-----------------------");
is_child = (row.uuid == row.call_uuid)
uuid = row.uuid;
if (row.call_uuid) then
if (row.call_uuid ~= nil) then
uuid = row.call_uuid;
end
call_hostname = row.hostname;
@@ -390,3 +390,5 @@
--api = freeswitch.API();
--result = api:executeString(cmd);