]> 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 20:18:53 +0000 (20:18 +0000)
commit347788f354db123e139c4a29a9394ca660579a73
tree1ddb984bf59a416f8e1c6da8d80f1d6c5008e0da
parenta8e7f3c396fe401ec35074deaab513f3dae550ee
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 cfcb2456342ee1a6c4d9baf4573b78bde5f1b4de)
apps/app_queue.c