]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_queue: Add support for applying caller priority change immediately.
authorJoshua C. Colp <jcolp@sangoma.com>
Fri, 7 Jul 2023 14:29:07 +0000 (11:29 -0300)
committerJoshua C. Colp <jcolp@sangoma.com>
Tue, 18 Jul 2023 13:02:56 +0000 (13:02 +0000)
commit71558e23d0cbf89ffc865335990ce8f121b39f9a
treeec6ef40affcc2f1b906b520d7bae8af8d6727a86
parentaa038605043f7ddc22574980622ebb21c0adabb5
app_queue: Add support for applying caller priority change immediately.

The app_queue module provides both an AMI action and a CLI command
to change the priority of a caller in a queue. Up to now this change
of priority has only been reflected to new callers into the queue.

This change adds an "immediate" option to both the AMI action and
CLI command which immediately applies the priority change respective
to the other callers already in the queue. This can allow, for example,
a caller to be placed at the head of the queue immediately if their
priority is sufficient.

Resolves: #202

UserNote: The 'queue priority caller' CLI command and
'QueueChangePriorityCaller' AMI action now have an 'immediate'
argument which allows the caller priority change to be reflected
immediately, causing the position of a caller to move within the
queue depending on the priorities of the other callers.
apps/app_queue.c