[Asterisk-Users] Freak incidents, who's to blame?
Andrew Kohlsmith
akohlsmith-asterisk at benshaw.com
Thu May 5 08:10:12 MST 2005
On May 5, 2005 10:05 am, Ryan Courtnage wrote:
> Dial(Zap/g2...): Looks in order 1, 2, 5, 8
> Dial(Zap/G2...): Looks in order 8, 5, 2, 1
> Dial(Zap/r2...): Looks in order 8, 1, 2, 5
> Dial(Zap/R2...): Looks in order 2, 1, 8, 5
Let's just be clear.
Round Robin (r and R) will go through all the channels in order (ascend or
decend) before reusing a channel.
group (g and G) will find the first available channel (lowest or highest).
So if you are using r, the order is always 1 2 3 4 5 6... and will not use 1
again until all of the others have been used.
And if you are using g, the order will be the same BUT if a lower-numbered
channel becomes free again it will be selected instead of the next numeric
ordered channel.
e.g.
call out: uses 1
call out: uses 2
call out: uses 3
(call on 1 finishes)
call out: uses 1
call out: uses 4
call out: uses 5
(call on 4 finishes)
call out: uses 4
call out: uses 6
as you can see, it always uses the first available channel. G is the same but
uses the highest numbered available channel.
If you're trying to avoid glare, use g. If you're going for "even usage" then
use r.
And please, for the sake of the list, trim your responses; there is no need to
include the ENTIRE email you're replying to.
-A.
More information about the asterisk-users
mailing list