<p>Kevin Harwell <strong>posted comments</strong> on this change.</p><p><a href="https://gerrit.asterisk.org/7486">View Change</a></p><p>Patch set 1:</p><p>(1 comment)</p><ul style="list-style: none; padding-left: 20px;"><li><p><a href="https://gerrit.asterisk.org/#/c/7486/1/res/res_pjsip/pjsip_options.c">File res/res_pjsip/pjsip_options.c:</a></p><ul style="list-style: none; padding-left: 20px;"><li><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/7486/1/res/res_pjsip/pjsip_options.c@1193">Patch Set #1, Line 1193:</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;"> /*<br> * It's possible that the AOR had some of it's fields updated prior to a<br> * reload. For instance qualifying could have been turned on or off by<br> * setting the qualify_frequency. Due to this we have to iterate through<br> * all contacts (static and dynamic), and not just ones where the frequency<br> * is greater than zero, updating any contact fields with the AOR's values.<br> */<br></pre></blockquote></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Instead of retrieving everything would it be possible to keep the specific </blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">You have to iterate over all items in order to update any field that might have changed. qualify_frequency is just an example of one field. Also the status itself potentially needs updating if qualify_frequency was set to 0.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Unfortunately, on reload, since there is no way to know which AOR/contact might have changed we have to go through all of them.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/7486">change 7486</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/7486"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I7a920170f89c683af9505d4723a44fc6841decdb </div>
<div style="display:none"> Gerrit-Change-Number: 7486 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 11 Dec 2017 15:36:16 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>