Any way to modify what a feature code does?


I have a few feature codes of which I would like to see the ‘insides.’

Chanspy would be one of them.

Is there a dial plan config for this orrrr ?


The vast majority of FreePBX generated dialplan is in /etc/asterisk/extensions_additional.conf. It is usually no harder than searching thru that file for the feature code and reading what it does. In the case of Chanspy, you will find the relevant section in the context [app-chanspy]. Changing FreePBX generated code is possible; you can redefine this (or most any other) context by copying it to: /etc/asterisk/extensions_override_freepbx.conf, making whatever changes you want and reloading the dialplan. The caveat is that there is no guarantee that changes you make today will be compatible with future updates to the system, so one tries to avoid using the override file. If you do use it, add a noop line stating what was modified (and where) so you can at least track down issues a year later when you have forgotten all about editing the override file.

Thank you! Very informative and good advice!