aboutsummaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-06 22:36:55 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-06 22:36:55 +0000
commitfed34a6362c74a4f65bae5fb89bcae3f58db5f27 (patch)
tree0a38a947c93f820dc5d0c20d4e69e8e3e0969839 /configs
parent7c0bc4fa08d5e0b7a45e0e954003e23e900d6890 (diff)
Adding the queue strategy wrandom
(closes issue #10942, reported and patched by julianjm, documentation changes by me) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89070 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs')
-rw-r--r--configs/queues.conf.sample7
1 files changed, 7 insertions, 0 deletions
diff --git a/configs/queues.conf.sample b/configs/queues.conf.sample
index a7dd92a73..531a2d665 100644
--- a/configs/queues.conf.sample
+++ b/configs/queues.conf.sample
@@ -96,6 +96,13 @@ shared_lastcall=no
; linear - rings interfaces in the order specified in this configuration file.
; If you use dynamic members, the members will be rung in the order in
; which they were added
+; wrandom - rings random interface, but uses the member's penalty as a weight
+; when calculating their metric. So a member with penalty 0 will have
+; a metric somewhere between 0 and 1000, and a member with penalty 1 will
+; have a metric between 0 and 2000, and a member with penalty 2 will have
+; a metric between 0 and 3000. Please note, if using this strategy, the member
+; penalty is not the same as when using other queue strategies. It is ONLY used
+; as a weight for calculating metric.
;
;strategy = ringall
;