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 ...

Get FreeSWITCH 1.0.6 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.