[asterisk-users] How does wrandom strategy works with Queue?

Asterisk Man theasteriskman at gmail.com
Tue Apr 26 04:02:43 CDT 2011


Thanks Jaron,
I understood the point from your explanation.
What should I do if I always want to ring a particular Queue member first
whenever he is available?

Yes, I can dial that member first before sending the call to Queue and
achieve the result but just wanted to know views from others.

Regards,
--AM

On Tue, Apr 26, 2011 at 2:13 PM, Jeroen Eeuwes <jeroeneeuwes at gmail.com>wrote:

> Hi AM,
>
> > I tried this on Asterisk 1.8.0 and found different behaviors each time.
>
> Isn't that part of the definition of "random"? If Asterisk would
> behave the same each time it wouldn't be random but predictable, I
> would say.
>
> AFAIK the metric just means that you get a higher or lower chance of
> being selected instead of being completely random. So instead of
> picking between person A or B choices it will choose between -let's
> say- 10 marbles. 3 of them are white and 7 of them are black. So black
> gets a higher chance of being selected. But it does not mean a white
> marble won't be selected.
>
> Best regards,
> Jeroen Eeuwes
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> 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/20110426/47433cea/attachment.htm>


More information about the asterisk-users mailing list