<p><a href="https://gerrit.asterisk.org/c/asterisk/+/11579">View Change</a></p><p>2 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.asterisk.org/#/c/11579/25/res/ari/resource_channels.c">File res/ari/resource_channels.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/11579/25/res/ari/resource_channels.c@2145">Patch Set #25, Line 2145:</a> <code style="font-family:monospace,monospace">    struct ast_json *json_chan;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Don't need this anymore</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/11579/25/res/ari/resource_channels.c@2175">Patch Set #25, Line 2175:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;">       json_chan = response->message;<br>     response->message = ast_json_object_create();<br>      if (!response->message) {<br>          ast_channel_unref(chan);<br>              ast_json_unref(json_chan);<br>            ast_ari_response_alloc_failed(response);<br>              return;<br>       }<br><br>   ast_json_object_set(response->message, "channel", json_chan);<br>    ast_channel_lock(chan);<br>       vars = ast_channel_varshead(chan);<br>    if (vars && !AST_LIST_EMPTY(vars)) {<br>          ast_json_object_set(json_chan, "channelvars", ast_json_channel_vars(vars));<br> }<br></pre></blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Don't need this anymore.  After you rebase this against current master, use the same logic as rtp_udp.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/11579">change 11579</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/+/11579"/><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: Ie866e6c4fa13178ec76f2a6971ad3590a3a588b5 </div>
<div style="display:none"> Gerrit-Change-Number: 11579 </div>
<div style="display:none"> Gerrit-PatchSet: 25 </div>
<div style="display:none"> Gerrit-Owner: Seán C. McCord <ulexus@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Benjamin Keith Ford <bford@digium.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@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Seán C. McCord <ulexus@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 22 Oct 2019 12:43:24 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>