From b9c7b13e21b0a4bd33dca41bba5a8e1ac919ef4e Mon Sep 17 00:00:00 2001 From: koldoa Date: Mon, 26 Oct 2015 17:17:02 +0100 Subject: [PATCH] This fixed a scenario where an outgoing call can be picked up if the callee returns a 183 session progress with sdp --- resources/install/scripts/intercept_group.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/install/scripts/intercept_group.lua b/resources/install/scripts/intercept_group.lua index 845666c96e..bfc82f5a18 100644 --- a/resources/install/scripts/intercept_group.lua +++ b/resources/install/scripts/intercept_group.lua @@ -186,6 +186,7 @@ end sql = sql .. ") "; sql = sql .. "and call_uuid is not null "; + sql = sql .. "and direction = 'outbound' "; --if (domain_count > 1) then -- sql = sql .. "and context = '"..context.."' "; --end