]> 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:46:46 +0000 (16:46 +0000)
commit248e7249288c4db8d02d03fae11a9943eeff3131
treebffae0e27381cc9763774394456fdf57bb92dd74
parentfd910a65b92b9b8e29250957665fe7d37616d1c9
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 71558e23d0cbf89ffc865335990ce8f121b39f9a)
apps/app_queue.c