[asterisk-users] Round Robin SIP peers?

2007-06-27 Thread Mark Phillips
Hi all,

I have a cheapskate customer whom wants to leverage some cheap
all-you-can-eat VoIP connections rather than pay for a per minute
provider.

On the inbound side I think I have a solution in that I can activate the
call forward on busy option with his provider (some noname white label
house) but how do I balance his outgoing minutes?

Is there some way that I can set up a round robin where each outgoing
call goes out over a different line? If not is there some way that I can
create a pool of lines such that when 2 folks make a call they get
separate lines?

Thanks

Mark


___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Round Robin SIP peers?

2007-06-27 Thread Alex Balashov
On Wed, 27 Jun 2007, Mark Phillips wrote:

 Is there some way that I can set up a round robin where each outgoing
 call goes out over a different line? If not is there some way that I can
 create a pool of lines such that when 2 folks make a call they get
 separate lines?

   This might be possible to do with DUNDi, but I don't know a lot about
it.

   It seems to me that by far the most promising option is to build a
persistent in-memory or AstDB variable into your dial plan and rotate it
on each outbound call leg using some conditional logic that checks
for proceeding calls originated from that particular customer, and
increments/resets as needed.

   And, of course, the most elegant option at your disposal is probably
to employ AEL:

 http://www.voip-info.org/wiki/view/Asterisk+AEL

   ... or AGI, which both will allow you to build all the outboard logic
you want into the dial plan execution process.

Cheers,

-- Alex

--
Alex Balashov
Evariste Systems
Web: http://www.evaristesys.com/
Tel: +1-678-954-0670
Direct : +1-678-954-0671

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users