[Asterisk-code-review] res_pjsip_stir_shaken: Fix JSON field ordering and disallowed TN char... (asterisk[master])
N A
asteriskteam at digium.com
Wed Mar 8 17:34:30 CST 2023
Attention is currently required from: Sean Bright, Joshua Colp.
N A has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/19897 )
Change subject: res_pjsip_stir_shaken: Fix JSON field ordering and disallowed TN characters.
......................................................................
Patch Set 9:
(2 comments)
File res/ari/cli.c:
https://gerrit.asterisk.org/c/asterisk/+/19897/comment/e29c7367_896d0aae
PS8, Line 63: switch (conf->general->format) {
: case AST_JSON_COMPACT:
: ast_cli(a->fd, "compact");
: break;
: case AST_JSON_PRETTY:
: ast_cli(a->fd, "pretty");
: break;
: case AST_JSON_SORTED:
: ast_cli(a->fd, "sorted");
: break;
: }
> Because we're retroactively making these things flags (and seeing as conf->general->format can never […]
Done
File res/res_pjsip_stir_shaken.c:
https://gerrit.asterisk.org/c/asterisk/+/19897/comment/d619cf3b_9f4a84df
PS8, Line 407: char *new = dest_tn;
> Don't use `new` as an identifier as it's a C++ keyword and can confuse the code highlighter and mayb […]
Done
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/19897
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Iab76d39447c4b8cf133de85657dba02fda07f9a2
Gerrit-Change-Number: 19897
Gerrit-PatchSet: 9
Gerrit-Owner: N A <asterisk at phreaknet.org>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Sean Bright <sean at seanbright.com>
Gerrit-CC: Joshua Colp <jcolp at sangoma.com>
Gerrit-Attention: Sean Bright <sean at seanbright.com>
Gerrit-Attention: Joshua Colp <jcolp at sangoma.com>
Gerrit-Comment-Date: Wed, 08 Mar 2023 23:34:30 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Sean Bright <sean at seanbright.com>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20230308/ea244988/attachment-0001.html>
More information about the asterisk-code-review
mailing list