I’ll make a “Reset” module for FreePBX, which will do the following:
- Factory Default Reset -> Most settings erased (extensions, trunks, dialplan…) except administrators, global variables…
- Reset of selected modules (admin can select which modules to erase the content).
I though to do it via Mysql “truncate tables X”, and my question is - if I let’s say truncate table extensions, and then press “reload” at the top - will this be affected in asterisk?
How does FreePBX exactly work with asterisk configuration files when reload? Does it take the info from SQL and put it in the conf files?