]> 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 Development Team <asteriskteam@digium.com>
Wed, 6 Sep 2023 16:55:59 +0000 (16:55 +0000)
commitef7a9e91fe734f952a94a920e21cecbcb5699475
treefa929229cceb3a3b583cf69fcadc938ec070cc2d
parentc0898cb2658c020ebf66c969adfd673e71829b1d
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.

(cherry picked from commit 879d4ff56a738d7b1c9bcd86fbc01f92296c4fcb)
apps/app_queue.c