forked from Mirrors/freeswitch
85dab893d9
1) The xml_curl now has a more enterprise config where it can have more than 1 url configured so you could have failover. (*note the syntax change*) 2) dialplan modules now take an extra arguement making it possible to pass runtime params to them. This is now used in mod_dialplan_xml to allow an alternate file path to be specified. dialplans were already stackable meaning you can configure a sofia profile, for example, to use enum followed by the default XML dialplan. e.g. <param name="dialplan" value="enum,XML"/> From now on, you can also specify :param after each dialplan name to allow param to be passed to the module. mod_dialplan_xml uses this param as a way to override where it looks for the dialplan making it possible to stack mutiple calls to the XML dialplan. e.g. <param name="dialplan" value="XML:/some/xml/file.xml,XML"/> With this you can search the local file file.xml first and if there is still no match the hunt will move on to the standard XML using the onboard XML registry and or the external gateways. *NOTE* this alternate path does not use the external bindings but it does parse the #includes etc. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4066 d0543943-73ff-0310-b7d9-9358b9ac24b2
14 lines
626 B
XML
14 lines
626 B
XML
<configuration name="xml_curl.conf" description="cURL XML Gateway">
|
|
<bindings>
|
|
<binding name="example">
|
|
<!-- The url to a gateway cgi that can generate xml similar to
|
|
what's in this file only on-the-fly (leave it commented if you dont
|
|
need it) -->
|
|
<!-- one or more |-delim of configuration|directory|dialplan -->
|
|
<param name="gateway-url" value="http://www.mydomain.com/test.cgi" bindings="dialplan"/>
|
|
<!-- set this to provide authentication credentials to the server -->
|
|
<!--<param name="gateway-credentials" value="muser:mypass"/>-->
|
|
</binding>
|
|
</bindings>
|
|
</configuration>
|