app_queue: Add force_longest_waiting_caller option.

This adds an option 'force_longest_waiting_caller' which changes the
global behavior of the queue engine to prevent queue callers from
'jumping ahead' when an agent is in multiple queues.

Resolves: #108

Also closes old asterisk issues:
- ASTERISK-17732
- ASTERISK-17570

Change-Id: I0f84e27903fefbe2018d0afa2d67b23aa0b321ce
This commit is contained in:
Nathan Bruning
2023-01-24 14:50:39 +01:00
committed by asterisk-org-access-app[bot]
parent 642b84c9c9
commit 292834d1ba
2 changed files with 71 additions and 0 deletions

View File

@@ -51,6 +51,14 @@ monitor-type = MixMonitor
;
;log_membername_as_agent = no
;
; force_longest_waiting_caller will cause app_queue to make sure callers are offered
; in order (longest waiting first), even for callers across multiple queues.
; Before a call is offered to an agent, an additional check is made to see if the agent
; is a member of another queue with a call that's been waiting longer. If so, the current
; call is not offered to the agent. The default value is 'no'.
;
;force_longest_waiting_caller = no
;
;[markq]
;
; A sample call queue