I think to do what you want, you would have to copy the entire context [macro-hangupcall] from extensions_additional.conf to extensions_override_freepbx.conf and make whatever changes you want there. The problem with this approach is that the contents of the override file literally override the contexts created automatically by FreePBX, so there is no guarantee that some future update will be compatible with what is placed in the override file, maybe long after you've forgotten about the edits. If you do this, add a noop line that will log a clue where the context is defined in case of future issues.
↧