Add a feature for global call block.

This commit is contained in:
FusionPBX
2021-01-01 23:20:17 -07:00
committed by GitHub
parent d25f1d393e
commit 597955da06

View File

@@ -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