]> 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)
committerasterisk-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Tue, 18 Jul 2023 13:03:06 +0000 (13:03 +0000)
commit6b6880072b047cdc9caa440d4681b7a77342f1e6
treec00831c963c022af27a5d97c6dc4f2d855bce265
parentd0e5f2f6be61c525c406b0d095c2deab15731935
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