]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_queue.c: Fix announcements when announce-to-first-user not enabled.
authorRichard Mudgett <rmudgett@digium.com>
Thu, 28 Sep 2017 22:37:15 +0000 (17:37 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 28 Sep 2017 23:48:09 +0000 (18:48 -0500)
commit3344fe4ff9fc6920fe3580c397e4cc1d808ce86e
treec9f20cfb5e41d945ad8dd0865d15f3b7cc7e07e8
parentb4e511c41b26933ea9d3f0d487765f7a02e619a9
app_queue.c: Fix announcements when announce-to-first-user not enabled.

The previous patch for ASTERISK-27216 made it so you wouldn't get any
position or periodic announcements unless you had announce-to-first-user
enabled.  The announce-to-first-user feature was added by ASTERISK_21782
as a result of the patch which introduced the redundant announcements that
ASTERISK-27216 removes.

* By noting that the makeannouncement variable is used to suppresses the
first user announcement, we set its initial value to the
announce-to-first-user enable setting.

ASTERISK-27216

Change-Id: Ieaeb7dbea8ae7073086b775fbafe0625b000b10a
apps/app_queue.c