<p style="white-space: pre-wrap; word-wrap: break-word;">I have some concerns about the sorcery objects.  The commit message says "some other structure will probably be needed" but I think it should be "will be needed" ðŸ˜Š</p><p style="white-space: pre-wrap; word-wrap: break-word;">I think a "callerid" object should be created who's sorcery id is the callerid with a reference to a certificate object.  This automatically makes callerid a primary key and therefore lookups much more eefficient.  The "certificate" object's id could be its signature which would facilitate lookups based on incoming identity header.  It's data could include a list of callerid that were included in the cert.<br></p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/13960">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/13960">change 13960</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/+/13960"/><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: Ic4bc1416fab5d6afe15a8e2d32f7ddd4e023295f </div>
<div style="display:none"> Gerrit-Change-Number: 13960 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Benjamin Keith Ford <bford@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-CC: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 25 Mar 2020 12:43:51 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>