Hello Dears,
I wonder how to rewrite the dial plan based on mysql database, like that happens in FreePBX or in any other production PBXs.
example: when you create new endpoint in freepbx and click “Apply Changes” then go check the " extensions.conf" you gonna find alot of lines have been written with the new extension that you created, so exactly how that happens?
An outside program/script/tool writes a new file according to its own implementation and any data from data sources, and then tells Asterisk to reload it.
I just want someway related to do that not exactly as same as the FreePBX, like using Asterisk Real Time to rewrite the PJSIP.conf, so I want someway to re write the dialplan.