mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Add a feature for global call block.
This commit is contained in:
@@ -93,7 +93,7 @@
|
||||
|
||||
--check to see if the call should be blocked
|
||||
sql = "select * from v_call_block\n";
|
||||
sql = sql .. "where domain_uuid = :domain_uuid \n";
|
||||
sql = sql .. "where (domain_uuid = :domain_uuid or domain_uuid is null) \n";
|
||||
sql = sql .. "and call_block_enabled = 'true' \n";
|
||||
sql = sql .. "and call_block_direction = :call_block_direction \n";
|
||||
sql = sql .. "and ( \n";
|
||||
@@ -244,4 +244,4 @@
|
||||
freeswitch.consoleLog("notice", "[call_block] " .. call_block_cache_key .. " source: cache\n");
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user