Unfortunately it doesn’t seem to have CLI-commands. The bulk handler handles the import/export of (wiki > display/FPG/Bulk+Handler+User+Guide):
Extensions
Users
Groups
Contacts (address book)
That’s about the same as I was able to achieve by using the bootstrap example (wiki > display/FOP/Bootstrap). If someone can explain me where to get more of these values, I can probably use bootstrap:
Install modules: fwconsole ma downloadinstall backup fwconsole ma enable backup
Apply config (if it haven’t done so) fwconsole reload
Thing that’ll have to be done manually:
Adding extensions
Adding Inbound routes
Adding outbound routes
The best part has now been automated. I’ll document the last steps (especially the - extremely difficult Twilio integration) somewhere else (Evernote I guess ).
Last but not least, for those who are wondering. Setting up your own VM with Ubuntu is pretty easy. Just follow this guide.
p.s. While it can, I do not recommend to use NGINX for FreePBX. While it is possible, you’ll have to made a lot of modifications to the server. CHECKREFERER has also to be disabled.