]> 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)
committerStuart Henderson <sthen@users.noreply.github.com>
Wed, 3 Sep 2025 13:15:48 +0000 (13:15 +0000)
commitcfcb2456342ee1a6c4d9baf4573b78bde5f1b4de
tree1ddb984bf59a416f8e1c6da8d80f1d6c5008e0da
parent810d6ae665da297c489757e0b1e89e8f13f32ebb
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
apps/app_queue.c