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

Jeroen Eeuwes jeroeneeuwes at gmail.com
Tue Apr 26 03:43:58 CDT 2011


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



More information about the asterisk-users mailing list