I would use SIP and a SIP proxy or SIP with DNS SRV records.<br><br><div><span class="gmail_quote">On 9/24/07, <b class="gmail_sendername">chav paskov</b> <<a href="mailto:chav@vocalscape.com">chav@vocalscape.com</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"><img src="cid:image002.gif@01C7FEB4.4612E400" height="397" width="554"></span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Hi Everybody,</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">The pic above describes /I hope/ what I'm willing to
accomplish using Freeswitch.</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">I think the pic is self explanatory and I have few questions
based on it.</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">1. Is there any mechanism /application/ that would allow me
to do round robin between Vendor 1 and Vendor 2. </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Currently my settings are:</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> <extension name="FreeSWITCH routing to IAX VENDORS"></span></font></p>
<p style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> <condition
field="destination_number" expression="^8888$"></span></font></p>
<p style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> <action
application="set" data="hangup_after_bridge=true"/></span></font></p>
<p style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> <action
application="set" data="continue_of_fail=true"/></span></font></p>
<p style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> <action
application="set" data="call_timeout=5"/></span></font></p>
<p style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> <action
application="set" data="no_media=true"/></span></font></p>
<p style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> <action
application="bridge"
data="iax/marko:moofoo@XXX.XXX.XXX.242/1234567890"/></span></font></p>
<p style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> <action
application="bridge" data="iax/marko:moofoo@XXX.XXX.XXX.243/1234567890"/></span></font></p>
<p style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </condition></span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </extension></span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Which gives me only Fail over functionality. </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">2. Can I apply the scenario described above using priority +
number of active connections.</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Example:</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">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.</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">I'd really appreciate if somebody replies to this
e-mail with some good examples, or at least a hint.</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Best regards</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><strong><b><font face="Courier" size="2"><span style="font-size: 10pt; font-family: Courier;">Chav Paskov</span></font></b></strong><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"></span>
</font></p>
<p><strong><b><font face="Courier" size="2"><span style="font-size: 10pt; font-family: Courier;">CTO Vocalscape Networks Inc.</span></font></b></strong><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">
</span></font></p>
<p><strong><b><font face="Courier" size="2"><span style="font-size: 10pt; font-family: Courier;">Office:+1 (604) 696-6313 ext 102</span></font></b></strong><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">
</span></font></p>
<p><strong><b><font face="Courier" size="2"><span style="font-size: 10pt; font-family: Courier;">Fax: +1 (604) 696-6315</span></font></b></strong><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">
</span></font></p>
<p><strong><b><font face="Courier" size="2"><span style="font-size: 10pt; font-family: Courier;">Cell:+1 (604) 761-6388</span></font></b></strong><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">
</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"><a href="mailto:chav@vocalscape.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><strong><b><font face="Courier">
<span style="font-family: Courier; text-decoration: none;">chav@vocalscape.com</span></font></b></strong></a></span></font><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"></span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
</div>
</div>
<br>_______________________________________________<br>Freeswitch-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.freeswitch.org" target="_blank">
http://www.freeswitch.org</a><br><br><br clear="all"></blockquote></div><br>