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 ...
- bindings contains all the "binding" tags.