Alternatives to XML
We have mentioned that XML is the primary, and most popular, Dialplan parser used in FreeSWITCH but there are some other modules that people have committed that you can also use, such as YAML.
YAML
mod_yaml
provides a YAML interface to Dialplan configuration. This Dialplan module can be used in place of the XML Dialplan interface. While the module is not currently in development anymore due to lack of interest, the C code provides an interesting look into how one might write their own Dialplan processing routines.
If you are interested in creating your own Dialplan configuration processing engine, you could analyze components of the YAML Dialplan system.
Note
The history behind mod_yaml
is an interesting anecdote that highlights both the power and flexibility of the FreeSWITCH platform as well as Anthony's iron-like determination to prove that the FreeSWITCH developers are not whimsical when it comes to making important decisions about FreeSWITCH development, including what...