I need a REST API for creating new users.
I want to build a mini call center and need the ability to create new operators on my backend. FreePBX is not suitable.
There is no concept of users in Asterisk. You can create PJSIP endpoints over ARI, but that’s it. Asterisk is meant as a lower level component - that is you build an API on top of it for your needs.
The way that FreePBX does this is to build a complete .conf file, from its own database, and do a core reload. AMI provides some other options. Using ARI here sounds like using it because it is fashionable, rather than being the right tool for the job.
I think FreePBX also directly manipulates the AstDB database.