XML/Curl
mod_xml_curl
can be used to dynamically control the behavior of FreeSWITCH. mod_xml_curl
hooks into FreeSWITCH at times when configuration files or sections of configuration files are requested. Instead of retrieving the data for those requested configuration options from the in-memory XML structure, mod_xml_curl
will look to see if the configuration category matches a known mod_xml_curl
category and will then attempt to retrieve the configuration data, real-time, from an external source. By using mod_xml_curl
you can provide configurations to multiple instances of FreeSWITCH without having to duplicate the configuration, and the configurations can be served up by any software program that can generate XML. The software does not even need to be on the same server that FreeSWITCH is on. This solution is very helpful when building out robust, multi-server platforms.
mod_xml_curl
can be used to get any information that would normally be in freeswitch.xml
. XML configuration section...