lgaetz
(Lorne Gaetz)
October 11, 2021, 11:04pm
5
If you want to use the context macro-dialout-one-predial-hook then just create it in the file extensions_custom.conf. There is no need to touch any other files.
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 …