FreePBX: How to embed my code correctly?

Colleagues, I have been working with “clean” Asterisk all my life and I’m used to being in a situation where I write dialplan code “from scratch”.
Now I have a need to embed my code into an already working FreePBX installation and I don’t quite understand how to do it correctly. I really don’t want my code to be overwritten with new versions of the original FreePBХ files on the next update.

I need to include code to interact with the CRM information module, which would be executed when an incoming call comes in, when it is answered, and when the call ends. Queues are not used yet. Are there any standard methods for this in FreePBX?

Grateful for the replies,

Put your dialplan in: extensions_custom.conf

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.