lgaetz
(Lorne Gaetz)
July 6, 2022, 6:02pm
2
Nothing off the shelf. You’ll need to use some custom dialplan in the dialout-trunk-predial-hook macro to check each outbound call against your dbase and block.
Despite the frequency with which it arises here in the forum, there is not yet a good resource for learning to use dialplan hooks in FreePBX. This will probably end up in the wiki at some point, but until that happens, here are the broad strokes for leveraging dialplan hooks in FreePBX 14.
What is a dialplan hook?
A dialplan hook refers to several pre-defined FreePBX contexts that exist solely for users to add their own Asterisk Macros to be run at specific locations in the call flow. They all …