]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_queue: Add 'prio' setting to the 'force_longest_waiting_caller' option
authorserfreeman1337 <serfreeman1337@gmail.com>
Thu, 29 Jan 2026 16:52:10 +0000 (21:52 +0500)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Wed, 4 Feb 2026 13:09:49 +0000 (13:09 +0000)
commitd6edc71a694575151d15d11e10e75aa4c0c1e3c8
treec9cfda64c88eca7ae203829b95e87bf3e1fb0a76
parent709ea320a7631e6d2a892f48a71b1042124dddb6
app_queue: Add 'prio' setting to the 'force_longest_waiting_caller' option

This adds a 'prio' setting to ensure that call priority is respected across multiple queues.
Using 'yes' could cause high-priority callers to be skipped if a caller
in another queue had a longer wait time, regardless of priority.

Resolves: #1637

UserNote: The 'force_longest_waiting_caller' option now supports a 'prio' setting.
When set to 'prio', calls are offered by priority first, then by wait time.
apps/app_queue.c
configs/samples/queues.conf.sample