mirror of
https://github.com/asterisk/asterisk.git
synced 2025-12-04 20:21:55 +00: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
github-actions[bot]
parent
c1e5258497
commit
1a594fcb21
@@ -8972,8 +8972,6 @@ check_turns:
|
|||||||
goto stop;
|
goto stop;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
makeannouncement = 1;
|
|
||||||
|
|
||||||
/* Make a periodic announcement, if enabled */
|
/* Make a periodic announcement, if enabled */
|
||||||
if (qe.parent->periodicannouncefrequency) {
|
if (qe.parent->periodicannouncefrequency) {
|
||||||
@@ -8981,6 +8979,7 @@ check_turns:
|
|||||||
goto stop;
|
goto stop;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* A request to withdraw this call from the queue arrived */
|
/* A request to withdraw this call from the queue arrived */
|
||||||
if (qe.withdraw) {
|
if (qe.withdraw) {
|
||||||
|
|||||||
Reference in New Issue
Block a user