]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_musiconhold: Start playlist after initial announcement
authorSean Bright <sean.bright@gmail.com>
Thu, 14 Dec 2017 18:14:10 +0000 (13:14 -0500)
committerSean Bright <sean.bright@gmail.com>
Thu, 14 Dec 2017 18:17:11 +0000 (12:17 -0600)
commit4d4f43f2a06e94c3aedca7816c5f033410ccb542
treefa78b02b6623c3c7fc354d068df0306b7252c8b2
parente2f928df533d71609c57f47056f9ad040e15932f
res_musiconhold: Start playlist after initial announcement

Reset the samples counter to zero when we are done playing an
announcement so that we don't skip into the middle of the first file in
the playlist.

Also add the selected annoucement to the output of 'moh show classes.'

ASTERISK-24329 #close
Reported by: Thomas Frederiksen

Change-Id: I2a5f986a31279c981592f49391409ebf38d6f6d0
res/res_musiconhold.c