mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Limit the global intercept to the correct tenant domain.
This commit is contained in:
@@ -98,6 +98,8 @@ if ( session:ready() ) then
|
||||
sql = sql .. "where callstate = 'RINGING' ";
|
||||
if (extension) then
|
||||
sql = sql .. "and presence_id = '"..extension.."@"..domain_name.."' ";
|
||||
else
|
||||
sql = sql .. "and context = '"..domain_name.."' ";
|
||||
end
|
||||
if (debug["sql"]) then
|
||||
freeswitch.consoleLog("NOTICE", "sql "..sql.."\n");
|
||||
|
||||
Reference in New Issue
Block a user