]> 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)
committerGeorge Joseph <gjoseph@sangoma.com>
Wed, 17 Sep 2025 20:04:27 +0000 (14:04 -0600)
commit18f6b254259bcc30fa174941182b759d48260376
tree6ac6b85250f822f0b69c4e102582b3e0d3ba51dc
parentdfeb54a00faa1a27fb9a9e1fbd4197af71cfd861
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 a32fe8572534f071dbf0a2d2ea9c7c0217426117)
apps/app_queue.c