Thank you for your prompt response.
Is there any setting that controls the number of max allowed connections in sofia/IAX or in the context xml.
I'm not 100% positive but DNS SRV gives you redundancy /which is good / but doesn't allow you to control the actual load sent to Vendor 1 or Vendor 2.
Pls correct me if I'm wrong.
Regards
Chav Paskov
CTO Vocalscape Networks Inc.
Office:+1 (604) 696-6313 ext 102
Fax: +1 (604) 696-6315
Cell:+1 (604) 761-6388
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Jason Garland
Sent: Monday, September 24, 2007 4:34 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Routing, redundancy ,balance between multiple vendors
I would use SIP and a SIP proxy or SIP with DNS SRV records.
On 9/24/07, chav paskov <chav@vocalscape.com> wrote:
Hi Everybody,
The pic above describes /I hope/ what I'm willing to accomplish using Freeswitch.
I think the pic is self explanatory and I have few questions based on it.
1. Is there any mechanism /application/ that would allow me to do round robin between Vendor 1 and Vendor 2.
Currently my settings are:
<extension name="FreeSWITCH routing to IAX VENDORS">
<condition field="destination_number" expression="^8888$">
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_of_fail=true"/>
<action application="set" data="call_timeout=5"/>
<action application="set" data="no_media=true"/>
<action application="bridge" data="iax/marko:moofoo@XXX.XXX.XXX.242/1234567890"/>
<action application="bridge" data="iax/marko:moofoo@XXX.XXX.XXX.243/1234567890"/>
</condition>
</extension>
Which gives me only Fail over functionality.
2. Can I apply the scenario described above using priority + number of active connections.
Example:
I'd like to be able to send all calls to Vendor 1 until the number of active connections reaches 250. All calls generated later on to be sent to Vendor 2.
I'd really appreciate if somebody replies to this e-mail with some good examples, or at least a hint.
Best regards
Chav Paskov
CTO Vocalscape Networks Inc.
Office:+1 (604) 696-6313 ext 102
Fax: +1 (604) 696-6315
Cell:+1 (604) 761-6388
_______________________________________________
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
_______________________________________________
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