[Asterisk-code-review] STIR/SHAKEN: Option split and response codes. (asterisk[16])
Benjamin Keith Ford
asteriskteam at digium.com
Thu Oct 21 12:44:50 CDT 2021
Attention is currently required from: Joshua Colp, George Joseph, Kevin Harwell.
Benjamin Keith Ford has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/16497 )
Change subject: STIR/SHAKEN: Option split and response codes.
......................................................................
Patch Set 7:
(3 comments)
File include/asterisk/res_pjsip.h:
https://gerrit.asterisk.org/c/asterisk/+/16497/comment/62353504_acb6db40
PS6, Line 516: enum ast_sip_stir_shaken_behavior {
: /*! Don't do any STIR/SHAKEN operations */
: AST_SIP_STIR_SHAKEN_OFF = (1 << 0),
: /*! Only do STIR/SHAKEN attestation */
: AST_SIP_STIR_SHAKEN_ATTEST = (1 << 1),
: /*! Only do STIR/SHAKEN verification */
: AST_SIP_STIR_SHAKEN_VERIFY = (1 << 2),
: /*! Do STIR/SHAKEN attestation and verification */
: AST_SIP_STIR_SHAKEN_ON = (1 << 3),
: };
:
: /
> I don't think this is right. I think it should be […]
Done
File res/res_pjsip_session.c:
https://gerrit.asterisk.org/c/asterisk/+/16497/comment/351755f7_daf57339
PS6, Line 4071: if ((endpoint->stir_shaken == AST_SIP_STIR_SHAKEN_VERIFY ||
: endpoint->stir_shaken == AST_SIP_STIR_SHAKEN_ON) &&
> This is what I mean... You can reduce this to […]
Completely missed this part in my last pass anyways. Fixed.
File res/res_pjsip_stir_shaken.c:
https://gerrit.asterisk.org/c/asterisk/+/16497/comment/72820f8d_527b05cb
PS6, Line 476: (session->endpoint->stir_shaken & (AST_SIP_STIR_SHAKEN_ATTEST | AST_SIP_STIR_SHAKEN_ON))
> Again, can be reduced to […]
Done
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/16497
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I4ac1ecf652cd0e336006b0ca638dc826b5b1ebf7
Gerrit-Change-Number: 16497
Gerrit-PatchSet: 7
Gerrit-Owner: Benjamin Keith Ford <bford at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-Attention: Joshua Colp <jcolp at sangoma.com>
Gerrit-Attention: George Joseph <gjoseph at digium.com>
Gerrit-Attention: Kevin Harwell <kharwell at digium.com>
Gerrit-Comment-Date: Thu, 21 Oct 2021 17:44:50 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: George Joseph <gjoseph at digium.com>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20211021/c2608d1b/attachment.html>
More information about the asterisk-code-review
mailing list