]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_queue: fix comparison for announce-position-only-up
authorStuart Henderson <sthen@users.noreply.github.com>
Thu, 21 Aug 2025 10:22:40 +0000 (10:22 +0000)
committerAsterisk Development Team <asteriskteam@digium.com>
Wed, 10 Sep 2025 19:55:24 +0000 (19:55 +0000)
commitc78d93e8230e3b9cffbf6ebd0e26426a88080866
treedd4266b37d6fe726159edbfd41232d792d78df92
parent1d1ac6973bd0195d1920d33fa164c4a89817af0e
app_queue: fix comparison for announce-position-only-up

Numerically comparing that the current queue position is less than
last_pos_said can only be done after at least one announcement has been
made, otherwise last_pos_said is at the default (0).

Fixes: #1386
(cherry picked from commit 0baf09b4559974688a3948bf01fd9166f58ed03d)
apps/app_queue.c