diff options
author | Mark Michelson <mmichelson@digium.com> | 2007-11-06 22:36:55 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2007-11-06 22:36:55 +0000 |
commit | 0cd3118a621eb1103bc6ab6d831c43ffb8008a64 (patch) | |
tree | 0a38a947c93f820dc5d0c20d4e69e8e3e0969839 /configs | |
parent | a06218ee6de24c3ee0ec51abc6cb5da31e43032b (diff) |
Adding the queue strategy wrandom
(closes issue #10942, reported and patched by julianjm, documentation changes by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89070 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r-- | configs/queues.conf.sample | 7 |
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 ; |