<p>Benjamin Keith Ford <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/14509">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_stir_shaken: Add outbound INVITE support.<br><br>Integrated STIR/SHAKEN support with outgoing INVITEs. When an INVITE is<br>sent, the caller ID will be checked to see if there is a certificate<br>that corresponds to it. If so, that information will be retrieved and an<br>Identity header will be added to the SIP message. The format is:<br><br>header.payload.signature;info=<public_key_url>alg=ES256;ppt=shaken<br><br>Header, payload, and signature are all BASE64 encoded. The public key<br>URL is retrieved from the certificate. Currently the algorithm and ppt<br>are ES256 and shaken, respectively. This message is signed and can be<br>used for verification on the receiving end.<br><br>Two new configuration options have been added to the certificate object:<br>attestation and origid. The attestation is required and must be A, B, or<br>C. origid is the origination identifier.<br><br>A new utility function has been added as well that takes a string,<br>allocates space, BASE64 encodes it, then returns it, eliminating the<br>need to calculate the size yourself.<br><br>Change-Id: I1f84d6a5839cb2ed152ef4255b380cfc2de662b4<br>---<br>M configs/samples/stir_shaken.conf.sample<br>M include/asterisk/res_stir_shaken.h<br>M include/asterisk/utils.h<br>M main/utils.c<br>M res/res_pjsip_stir_shaken.c<br>M res/res_stir_shaken.c<br>M res/res_stir_shaken/certificate.c<br>M res/res_stir_shaken/certificate.h<br>8 files changed, 234 insertions(+), 22 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/09/14509/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/14509">change 14509</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/+/14509"/><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: I1f84d6a5839cb2ed152ef4255b380cfc2de662b4 </div>
<div style="display:none"> Gerrit-Change-Number: 14509 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </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-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>