]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_musiconhold: Don't restart MOH from beginning after announcement.
authorBen Ford <bford@digium.com>
Fri, 13 Apr 2018 19:32:48 +0000 (14:32 -0500)
committerBenjamin Keith Ford <bford@digium.com>
Fri, 13 Apr 2018 21:29:55 +0000 (15:29 -0600)
commit972b6e140f607f8459e96691cec0326006ef8452
tree217949d52ff1386bc0bfd7cbc84c24461f257932
parent54a6bb5f8ae8f983768bca7eb5410cce2469943d
res_musiconhold: Don't restart MOH from beginning after announcement.

This reverts a problem introduced by the fix for ASTERISK_24329.
Now, when an announcement is played while waiting in a queue, music on
hold will not restart from the beginning of the sound file and will
instead pick up where it left off. However, the incorrect behavior in
ASTERISK_24329 is now present again; if an announcement X seconds
long is played when music on hold starts, music on hold will start X
seconds into the file.

ASTERISK-27774 #close
Reported by: lvl

Change-Id: I86b2885ee7063268f9b9747eddb788336ade989b
res/res_musiconhold.c