<p>Friendly Automation <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/11011">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Joshua C. Colp: Looks good to me, but someone else must approve
George Joseph: Looks good to me, approved
Friendly Automation: Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">chan_pjsip: Changed to continued after invalid media for pjsip show channelstats<br><br>Currently, the pjsip show channelstats cli does not show channel's<br>stats after hits the invalid channel info. This makes hard to use<br>this cli. Changed to keep iterate after hits the invalid channel<br>info.<br><br>ASTERISK-28292<br><br>Change-Id: I3efdff1c9e1b1efd3c971fb82ae77aa133a6f43c<br>---<br>M channels/pjsip/cli_commands.c<br>1 file changed, 3 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/channels/pjsip/cli_commands.c b/channels/pjsip/cli_commands.c</span><br><span>index 33d0e02..7e932da 100644</span><br><span>--- a/channels/pjsip/cli_commands.c</span><br><span>+++ b/channels/pjsip/cli_commands.c</span><br><span>@@ -354,7 +354,7 @@</span><br><span> </span><br><span> if (!channel) {</span><br><span> ast_str_append(&context->output_buffer, 0, " %s not valid\n", snapshot->name);</span><br><span style="color: hsl(0, 100%, 40%);">- return -1;</span><br><span style="color: hsl(120, 100%, 40%);">+ return 0;</span><br><span> }</span><br><span> </span><br><span> ast_channel_lock(channel);</span><br><span>@@ -364,7 +364,7 @@</span><br><span> ast_str_append(&context->output_buffer, 0, " %s not valid\n", snapshot->name);</span><br><span> ast_channel_unlock(channel);</span><br><span> ao2_cleanup(channel);</span><br><span style="color: hsl(0, 100%, 40%);">- return -1;</span><br><span style="color: hsl(120, 100%, 40%);">+ return 0;</span><br><span> }</span><br><span> </span><br><span> media = session->active_media_state->default_session[AST_MEDIA_TYPE_AUDIO];</span><br><span>@@ -372,7 +372,7 @@</span><br><span> ast_str_append(&context->output_buffer, 0, " %s not valid\n", snapshot->name);</span><br><span> ast_channel_unlock(channel);</span><br><span> ao2_cleanup(channel);</span><br><span style="color: hsl(0, 100%, 40%);">- return -1;</span><br><span style="color: hsl(120, 100%, 40%);">+ return 0;</span><br><span> }</span><br><span> </span><br><span> rtp = ao2_bump(media->rtp);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/11011">change 11011</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/11011"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I3efdff1c9e1b1efd3c971fb82ae77aa133a6f43c </div>
<div style="display:none"> Gerrit-Change-Number: 11011 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: sungtae kim <pchero21@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation (1000185) </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Joshua C. Colp <jcolp@digium.com> </div>