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

chav@vocalscape.com