<p>Joshua Colp <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/6578">View Change</a></p><div style="white-space:pre-wrap">Approvals:
George Joseph: Looks good to me, but someone else must approve
Joshua Colp: Looks good to me, approved; Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">app_stream_echo: Don't echo declined streams<br><br>Discovered while experimenting with Cyber Mega Phone 2K Ultimate Dynamic<br>Edition after accepting the audio request but declining the video one.<br><br>Change-Id: Iaa86d41fccfbc1b559a30ccf740d78a3b5f8a98c<br>---<br>M apps/app_stream_echo.c<br>1 file changed, 5 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/apps/app_stream_echo.c b/apps/app_stream_echo.c<br>index 9695dcc..717ed1c 100644<br>--- a/apps/app_stream_echo.c<br>+++ b/apps/app_stream_echo.c<br>@@ -249,6 +249,11 @@<br> continue;<br> }<br> <br>+ if (ast_stream_get_state(stream) == AST_STREAM_STATE_REMOVED) {<br>+ /* Don't copy removed/declined streams */<br>+ continue;<br>+ }<br>+<br> do {<br> stream = ast_stream_clone(stream, NULL);<br> <br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/6578">change 6578</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/6578"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 15.0 </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: Iaa86d41fccfbc1b559a30ccf740d78a3b5f8a98c </div>
<div style="display:none"> Gerrit-Change-Number: 6578 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Sean Bright <sean.bright@gmail.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: Joshua Colp <jcolp@digium.com> </div>