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> &lt;<a href="mailto:chav@vocalscape.com">chav@vocalscape.com</a>&gt; 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;">&nbsp;</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 &nbsp;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;">&nbsp;</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;">&nbsp;</span></font></p>

<p style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp; &lt;extension name=&quot;FreeSWITCH routing to IAX VENDORS&quot;&gt;</span></font></p>

<p style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp; &lt;condition
field=&quot;destination_number&quot; expression=&quot;^8888$&quot;&gt;</span></font></p>

<p style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action
application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;</span></font></p>

<p style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action
application=&quot;set&quot; data=&quot;continue_of_fail=true&quot;/&gt;</span></font></p>

<p style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action
application=&quot;set&quot; data=&quot;call_timeout=5&quot;/&gt;</span></font></p>

<p style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action
application=&quot;set&quot; data=&quot;no_media=true&quot;/&gt;</span></font></p>

<p style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action
application=&quot;bridge&quot;
data=&quot;iax/marko:moofoo@XXX.XXX.XXX.242/1234567890&quot;/&gt;</span></font></p>

<p style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action
application=&quot;bridge&quot; data=&quot;iax/marko:moofoo@XXX.XXX.XXX.243/1234567890&quot;/&gt;</span></font></p>

<p style=""><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp; &lt;/condition&gt;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp; &lt;/extension&gt;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</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;">&nbsp;</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&nbsp;
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;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">I'd really appreciate if&nbsp; somebody replies to this
e-mail&nbsp; 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;">&nbsp;</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;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</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;">&nbsp;</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>