XML configuration driver
January 24, 2008 – 8:09 amI would like to see an XML based configuration format for the static configuration files. This can be done through the ARA realtime subsystem - without support for the dynamic objects, only static configurations. This would just be a wrapper around the current configuration files, but could optionally add some error-checking with XML schemas.
Example:
<device type=”peer” name=”ollesphone”><secret>terces</secret><host type=”dynamic”/><codecs><disallow>all</disallow><allow>gsm</allow><allow>ulaw</allow></codecs> </device>

2 Responses to “XML configuration driver”
Good idea, XML will very useful for auto-generated configs. But for human good idea to make configs Apache-like, it’ll help to decrease number of config files.
By IgorG on Mar 4, 2008
We are using libxml2 (in a abstracted way to support other xml library) for accessing the new XML applications/functions documentation. It will be possible to use this API to read the configuration.
see: http://svn.digium.com/svn/asterisk/team/group/appdocsxml
By eliel on Sep 29, 2008