From fc21a1b2d31cf22503ef4e9881a8f4d8b551bbbc Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 7 Mar 2024 16:21:06 -0700 Subject: [PATCH] Update intercept.lua --- app/switch/resources/scripts/intercept.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/switch/resources/scripts/intercept.lua b/app/switch/resources/scripts/intercept.lua index 7f3e0d5c2a..c94f0ee8bf 100644 --- a/app/switch/resources/scripts/intercept.lua +++ b/app/switch/resources/scripts/intercept.lua @@ -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); + +