<p><a href="https://gerrit.asterisk.org/10622">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/10622/1/main/stasis_channels.c">File main/stasis_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/10622/1/main/stasis_channels.c@461">Patch Set #1, Line 461:</a> <code style="font-family:monospace,monospace">     snapshot = ao2_alloc_options(sizeof(*snapshot), channel_snapshot_dtor,</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Could we have a situation where we could just bump/return the old snapshot?  That is no segments inv […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">I pondered this, but the ripples of trying to get things to a state where it knew it could do this was substantial because of the way some things are accessed through the channel internal API (it returns a flags structure, and that is operated on, so every caller then has to invalidate). To keep it simple I opted not to go down that path.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.asterisk.org/#/c/10622/1/pbx/pbx_realtime.c">File pbx/pbx_realtime.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/10622/1/pbx/pbx_realtime.c@351">Patch Set #1, Line 351:</a> <code style="font-family:monospace,monospace">                                      /* pbx_exec sets application name and data, but we don't want to log</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Creating/publishing the snapshot from here makes no sense to me. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Yeah... I didn't want to touch this minefield...</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/10622">change 10622</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/10622"/><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-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I5d7ef3df963a88ac47bc187d73c5225c315f8423 </div>
<div style="display:none"> Gerrit-Change-Number: 10622 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 (1000185) </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 13 Nov 2018 12:45:45 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>