<p>Jenkins2 <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/8775">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Richard Mudgett: Looks good to me, but someone else must approve
George Joseph: Looks good to me, approved
Jenkins2: Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_musiconhold: Don't restart MOH from beginning after announcement.<br><br>This reverts a problem introduced by the fix for ASTERISK_24329.<br>Now, when an announcement is played while waiting in a queue, music on<br>hold will not restart from the beginning of the sound file and will<br>instead pick up where it left off. However, the incorrect behavior in<br>ASTERISK_24329 is now present again; if an announcement X seconds<br>long is played when music on hold starts, music on hold will start X<br>seconds into the file.<br><br>ASTERISK-27774 #close<br>Reported by: lvl<br><br>Change-Id: I86b2885ee7063268f9b9747eddb788336ade989b<br>---<br>M res/res_musiconhold.c<br>1 file changed, 0 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c<br>index 0afacf5..17bcd90 100644<br>--- a/res/res_musiconhold.c<br>+++ b/res/res_musiconhold.c<br>@@ -331,7 +331,6 @@<br> }<br> } else {<br> state->announcement = 0;<br>- state->samples = 0;<br> }<br> <br> if (!state->class->total_files) {<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/8775">change 8775</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/8775"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I86b2885ee7063268f9b9747eddb788336ade989b </div>
<div style="display:none"> Gerrit-Change-Number: 8775 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Benjamin Keith Ford <bford@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Benjamin Keith Ford <bford@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>