[Freeswitch-users] Routing, redundancy , balance between multiple vendors

chav paskov chav at vocalscape.com
Mon Sep 24 17:07:43 EDT 2007



 

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 at XXX.XXX.XXX.242/1234567890"/>

      <action application="bridge"
data="iax/marko:moofoo at 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

 <mailto:chav at vocalscape.com> chav at vocalscape.com

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20070924/9ffed58a/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/x-ms-wmz
Size: 15520 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20070924/9ffed58a/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 8838 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20070924/9ffed58a/attachment-0001.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 29496 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20070924/9ffed58a/attachment-0001.obj 


More information about the Freeswitch-users mailing list