Prometheus001 at gmx.net Guest
|
Posted: Wed Oct 07, 2009 12:21 pm Post subject: [Freeswitch-users] xml_curl configuration for failover clust |
|
|
Hello,
I read in the wiki that binding blocks are processed in sequential order
in a failover matter.
So I created the following bindings for XML-Curl:
However grepping the network traffic I can see that Freewitch always
fetches both servers fo one binding. So there is no real failover.
How can I avoid that?
Best regards
Peter
<configuration name="xml_curl.conf" description="CURL XML Gateway">
<bindings>
<!-- Configuration -->
<!-- FIRST Application server -->
<binding name="configuration">
<param name="gateway-url"
value="http://localhost/xml_curls/configuration" bindings="configuration"/>
</binding>
<!-- SECOND Application server -->
<binding name="configuration_backup">
<param name="gateway-url"
value="http://10.0.0.104/xml_curls/configuration" bindings="configuration"/>
</binding>
<!-- Directory -->
<!-- FIRST Application server -->
<binding name="directory">
<param name="gateway-url"
value="http://localhost/xml_curls/directory" bindings="directory"/>
</binding>
<!-- SECOND Application server -->
<binding name="directory_backup">
<param name="gateway-url"
value="http://10.0.0.104/xml_curls/directory" bindings="directory"/>
</binding>
<!-- Dialplan -->
<!-- FIRST Application server -->
<binding name="dialplan">
<param name="gateway-url"
value="http://localhost/xml_curls/dialplan" bindings="dialplan"/>
</binding>
<!-- SECOND Application server -->
<binding name="dialpla_backup">
<param name="gateway-url"
value="http://10.0.0.104/xml_curls/dialplan" bindings="dialplan"/>
</binding>
</bindings>
</configuration>
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|