]> 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:51 +0000 (13:02 +0000)
commit879d4ff56a738d7b1c9bcd86fbc01f92296c4fcb
tree06811011dc23d38a083d379ac7f6553c00f7ea18
parent12f231c717c795993674e2ace1acd23a7ffc83b5
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