We help IT Professionals succeed at work.

Remote editing of Asterisk Dialplan

Chokehold asked
Last Modified: 2010-08-05
I have been looking at the Asterisk Manager API, because i thought this would offer me the ability to connect to my Asterisk machine and edit the dial plan using some of the API commands/actions. .... ... I have found myself in a dead end ... Don't think it is possible to edit dialplan through Asterisk Manager API, or is IT ????

If it's not possible to edit dialplans through this API, are there any other simple ways. Is it even possible without running another service on the asterisk machine ???

Really need help on this one ...

Many Thanks ..

Watch Question


You can store the asterisk configuration in a database and then you can use any database programming in whatever language you are using to change the dialplan.



I've setup a MySql database to contain my configurations, in this case the extension.conf and the SIP.conf. I noticed that there is some talking about accesing this database through the Manager API on the www.voip-info.org page. Is it only possible/allowed through the manager API or is it also alowed to access it through a normal connection to the database and using sql queries ? ...

Another question: When i have updated the db with f.ex. a new (updated) dialplan, must i reload the configuration using the API commands ?

Many thanks for the reply, im really stuck with this and a total amateur using Asterisk ;)
This one is on us!
(Get your first solution completely free - no credit card required)
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.