]> 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:49 +0000 (13:15 +0000)
commitac2948dc8994f9e15ac019a4a86fc0aeb6136a65
treec075794219aef794cb97f088aa6ad2bd9b8b709f
parent733ecf00ff42864d32d5462b0f3c9393766d9299
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