<p> Attention is currently required from: Joshua Colp. </p>
<p>Joshua Colp <strong>uploaded patch set #8</strong> to the change originally created by Andre Barbosa.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/15987">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_stasis_playback: Send PlaybackFinish event only once for errors<br><br>When we try to play a list of sound files in the same Play command,<br>we get only one PlaybackFinish event, after all sounds are played.<br><br>But in the case where the Play fails (because channel is destroyed<br>for example), Asterisk will send one PlaybackFinish event for each<br>sound file still to be played. If the list is big, Asterisk is<br>sending many events.<br><br>This patch adds a failed state so we can understand that the play<br>failed. On that case we don't send the event, if we still have a<br>list of sounds to be played.<br><br>When we reach the last sound, we send the PlaybackFinish with<br>the failed state.<br><br>ASTERISK-29464 #close<br><br>Change-Id: I4c2e5921cc597702513af0d7c6c2c982e1798322<br>---<br>A doc/CHANGES-staging/res_stasis_playback.txt<br>M include/asterisk/stasis_app_playback.h<br>M res/res_stasis_playback.c<br>M rest-api/api-docs/playbacks.json<br>4 files changed, 23 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/87/15987/8</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/15987">change 15987</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/+/15987"/><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: I4c2e5921cc597702513af0d7c6c2c982e1798322 </div>
<div style="display:none"> Gerrit-Change-Number: 15987 </div>
<div style="display:none"> Gerrit-PatchSet: 8 </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: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Attention: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>