[asterisk-users] queues load balancing
Geraint Lee
geraint at gmail.com
Mon Jul 20 06:54:45 CDT 2009
Take a look at:
http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Random
You should be able to do what you want with this, it obviously won't take in
to account the actual amount of people still in the queue (for example if
someone hangs up while on hold). I'm sure there'd be a way of integrating
this in to it using some different functions, but for a quick fix random
will do just fine.
Cheers
2009/7/20 Joao Gomes Pereira <gomespereira at startel.pt>
> Hello
> I have 2 queues (queue_1 and queue_2 ) in my Asterisk, and I want to
> send 2/3 of the calls to queue_1 and 1/3 of the calls to queue_2
> How can I do that load balancing in extensions.conf?
>
> I have something like this:
> exten => 123,1,Ringing
> exten => 123,2,Wait(1)
> exten => 123,3,Answer
>
> ; 2 in 3 calls go to queue_1
> exten => 123,x,Queue(queue_1)
>
> ; 1 in 3 calls go to queue_2
> exten => 123,x,Queue(queue_2)
>
> But how can I configure this call distribution?
> Thanks
> Regards
> Joao Pereira
>
> --
> StarTel - A Rede Livre
> Joao Gomes Pereira
> www.startel.pt
> +351 304500650
> sip: gomespereira at startel.pt
>
>
> _______________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090720/f7553b88/attachment.htm
More information about the asterisk-users
mailing list