From f7bfb86e12d444780229724babac58de89c0627b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20F=2E=20H=C3=B8gh?= Date: Thu, 30 Oct 2025 14:43:37 +0100 Subject: [PATCH] app_queue.c: Only announce to head caller if announce_to_first_user Only make announcements to head caller if announce_to_first_user is true Fixes: #1568 UserNote: When announce_to_first_user is false, no announcements are played to the head caller --- apps/app_queue.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/apps/app_queue.c b/apps/app_queue.c index 94c808d508..10ea569123 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -9103,13 +9103,12 @@ check_turns: goto stop; } } - } - makeannouncement = 1; - /* Make a periodic announcement, if enabled */ - if (qe.parent->periodicannouncefrequency) { - if ((res = say_periodic_announcement(&qe, ringing))) { - goto stop; + /* Make a periodic announcement, if enabled */ + if (qe.parent->periodicannouncefrequency) { + if ((res = say_periodic_announcement(&qe, ringing))) { + goto stop; + } } }