I’m looking to create a dashboard for users where they can login and create conferences and PIN numbers for those conferences. That way the companies I manage can do that on their on. I have a few questions:
Can this be done with the API? and does anyone have any examples or docs to get me started?
Would it be best to grab and write this to the DB directly?
How would I initial a “reload config” once a conference/pin is created or deleted?
Creating them in the database (as @dicko suggests) is the simplest and probably most effective way to get this done in Asterisk. The only thing that might become an issue is that I’m not sure about how FreePBX will react to these externally generated conferences.
FreePBX maintains its own database for a lot of this stuff, so it may not be able to manage these. It might - I don’t know. If it does, you’re golden. If not, you might have to dig around in the FreePBX MySQL tables and find the corresponding updates there.
This shouldn’t be challenging at all - make two database updates in your application is really not much harder than doing just one.