diff --git a/resources/install/scripts/intercept.lua b/resources/install/scripts/intercept.lua index 218ef600e4..d6845a940b 100644 --- a/resources/install/scripts/intercept.lua +++ b/resources/install/scripts/intercept.lua @@ -16,7 +16,7 @@ -- -- The Initial Developer of the Original Code is -- Mark J Crane --- Copyright (C) 2010 - 2014 +-- Copyright (C) 2010 - 2015 -- the Initial Developer. All Rights Reserved. -- -- Contributor(s): @@ -121,7 +121,7 @@ if ( session:ready() ) then --check the database to get the uuid of a ringing call sql = "select call_uuid as uuid, hostname, callee_num, ip_addr from channels "; sql = sql .. "where callstate in ('RINGING', 'EARLY') "; - sql = sql .. "AND direction = 'outbound' "; + --sql = sql .. "AND direction = 'outbound' "; if (extension) then sql = sql .. "and presence_id = '"..extension.."@"..domain_name.."' "; else diff --git a/resources/install/scripts/intercept_group.lua b/resources/install/scripts/intercept_group.lua index eb768738ca..32b1f4ef17 100644 --- a/resources/install/scripts/intercept_group.lua +++ b/resources/install/scripts/intercept_group.lua @@ -165,7 +165,7 @@ call_hostname = ""; sql = "SELECT call_uuid AS uuid, hostname, ip_addr FROM channels "; sql = sql .. "WHERE callstate in ('RINGING', 'EARLY') "; - sql = sql .. "AND direction = 'outbound' "; + --sql = sql .. "AND direction = 'outbound' "; sql = sql .. "AND ("; x = 0; for key,extension in pairs(extensions) do