Few months back I installed freepbx 2.10.1.9 on one of my office servers and since then pbx is working great. Now there is a requirement to make a minor change in App_AMD.c file of Asterisk. When I compile asterisk with my changes and overwrite app_amd.so which came with freepbx then it gives me following error-
“Module ‘app_amd.so’ was not compiled with the same compile-time options as this version of Asterisk.”
Freepbx installed asterisk 10.12.0 and I am compiling code from same branch.
What is recommended way to make customization in asterisk code when asterisk was originally installed by freepbx?
If I rebuild everything then those modules which are not included in asterisk code but were installed by freepbx would start complaining same thing.
Or there is no module which freepbx installs but which is not present in asterisk code.