ARI: Dynamic change of the dialplan

Hello,

I have looked at the ARI interface and found a way to configure PJSIP subscribers using ARI’s dynamic PUSH configuration. When I use the Sorcery framework, the configuration is always stored in the astDb persitent. This works fine.

Now I have a question, can I also configure the dialplan dynamically via ARI? Or is the only way to change the extention.conf and reload the configuration?

Thanks in advance!

There is no such thing in ARI. You would need to do as you say, or use realtime dialplan but that tightly couples your Asterisk to a database which has implications.

Not by ARI, but the ARI server can also be an AMI client or shell to the the Asterisk CLI.