Chapter 9. Moving Beyond the Static XML Configuration
Up to now, we've concentrated on using the static XML example configuration files that get installed with FreeSWITCH by default. In this chapter, we'll move on to show you how you can have a fully configured FreeSWITCH with only the most minimal static XML. FreeSWITCH offers several ways of letting you control it dynamically. Although each method has a different focus, some of their functions overlap. For example, both mod_xml_curl
and the language bindings allow you to create dynamic configurations. In this chapter we will cover the following methods:
mod_xml_curl: This module allows you to pull a configuration file from a web server. Configurations include Dialplans, user directory, and general configuration files. It also allows for dynamic configuration with a static fallback in case of a server failure.
Language bindings: In a way similar to
mod_xml_curl
, you can use the supported scripting languages (Lua, Perl, Java, Python, and so...