]> 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:53:00 +0000 (19:53 +0000)
commit892399234ded28c17a7c006eac9290a25a00a24a
tree39684038ff02de330a1d8450a8dc4a6bcf695d4b
parentf3cc44f4b13703071eb8a4fc7065f7aab75a0bff
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