diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-07-30 16:10:51 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-07-30 16:10:51 +0000 |
commit | fab8b0d20a1cba7362aab1f1ea15eaec7956915b (patch) | |
tree | 6a3f552fff0fe4a471b94d822ffc21f06bf63099 /configs | |
parent | 0c8f2a559e91262a6ccdac0e0e3d4b174dc384dc (diff) |
Add alternate queueing strategies. Implment ringall, roundrobin, and random
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1238 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs')
-rwxr-xr-x | configs/queues.conf.sample | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/configs/queues.conf.sample b/configs/queues.conf.sample index e0da44ccf..3e7341ac2 100755 --- a/configs/queues.conf.sample +++ b/configs/queues.conf.sample @@ -25,6 +25,16 @@ ; ;announce = queue-markq ; +; A strategy may be specified. Valid strategies include: +; +; ringall - ring all available channels until one answers (default) +; roundrobin - take turns ringing each available interface +; leastrecent - ring interface which least recently had a call +; fewestcalls - ring interface which has had fewest completed calls +; random - ring random interface +; +;strategy = ringall +; ; A context may be specified, in which if the user types a SINGLE ; digit extension while they are in the queue, they will be taken out ; of the queue and sent to that extension in this context. @@ -44,7 +54,9 @@ ;maxlen = 0 ; ; Each member of this call queue is listed on a separate line in -; the form technology/dialstring +; the form technology/dialstring. "member" means a normal member of a +; queue. An optional penalty may be specified after a comma, such that +; entries with higher penalties are considered last. ; ;member => Zap/1 ;member => Zap/2 @@ -52,4 +64,6 @@ ;member => Agent/1002 ;member => Agent/@1 ; Any agent in group 1 -;member => Agent/:1 ; Any agent in group 1, wait for first. +;member => Agent/:1,1 ; Any agent in group 1, wait for first + ; available, but consider with penalty + |