<p> Attention is currently required from: Andre Barbosa. </p>
<p>Andre Barbosa <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/16141">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_stasis_playback: Check for chan hangup on play_on_channels<br><br>Verify `ast_check_hangup` before looping to the next sound file.<br>If the call is already hangup we just break the cycle.<br>It also ensures that the PlaybackFinished event is sent if the call was hangup.<br><br>This is also use-full when we are playing a big list of file for a channel that is hangup.<br>Before this patch Asterisk will give a warning for every sound not played and fire a PlaybackStart for every sound file on the list tried to be played.<br><br>With the patch we just break the playback cycle when the chan is hangup.<br><br>ASTERISK-29501 #close<br><br>Change-Id: Ic4e1c01b974c9a1f2d9678c9d6b380bcfc69feb8<br>---<br>M res/res_stasis_playback.c<br>1 file changed, 13 insertions(+), 4 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/41/16141/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/16141">change 16141</a>. To unsubscribe, or for help writing mail filters, 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/c/asterisk/+/16141"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ic4e1c01b974c9a1f2d9678c9d6b380bcfc69feb8 </div>
<div style="display:none"> Gerrit-Change-Number: 16141 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Andre Barbosa <andre.emanuel.barbosa@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Attention: Andre Barbosa <andre.emanuel.barbosa@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>