mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-20 02:11:12 -07:00
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
This commit is contained in:
committed by
Asterisk Development Team
parent
0f3e9fa565
commit
dfa9cbc437
+5
-6
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user