mod_xml_curl configuration

Configuration of mod_xml_curl is where all modules' configurations are, in /usr/local/freeswitch/conf/autoload_configs/xml_curl.conf.xml.

Its XML tree in its simplest form is like this:

<configuration name="xml_curl.conf" description="cURL XML Gateway"> 
<bindings> 
<binding name="localhostweb"> 
<param name="gateway-url" value="http://127.0.0.1/xml_handler.php" bindings="directory"/> 
</binding> 
</bindings> 
</configuration> 

Let's see its most important tags:

  • configuration is the document container, and it specifies that this particular XML configuration snippet is "xml_curl.conf" (mod_xml_curl will look for it when loaded).
    • bindings contains all the "binding" tags.
      • binding each binding tag contains specifications ...

Get FreeSWITCH 1.8 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.