[Asterisk-code-review] res_pjsip_logger: Add method-based logging option. (asterisk[master])

Sean Bright asteriskteam at digium.com
Mon Sep 5 09:23:32 CDT 2022


Attention is currently required from: N A, Joshua Colp, Alexei Gradinari.

Sean Bright has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/18824 )

Change subject: res_pjsip_logger: Add method-based logging option.
......................................................................


Patch Set 4: Code-Review-1

(1 comment)

Patchset:

PS3: 
> Ack
My original comment was marked resolved but it has not been. So the same comments as before really:

SIP methods can be anything, not just the list of ones that have been enumerated here. Put the methods that the user is interested in into a vector of strings.

You could also do a vector of pjsip_method pointers but then you would have to allocate custom ones for non-standard methods and then deallocate them and all that. I'm not sure the extra complexity would be worth it, so string comparisons are the path of least resistance.



-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/18824
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Idd03bd9b466b40e4bca7769437d52ac13a957cf9
Gerrit-Change-Number: 18824
Gerrit-PatchSet: 4
Gerrit-Owner: N A <mail at interlinked.x10host.com>
Gerrit-Reviewer: Alexei Gradinari <alex2grad at gmail.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-Reviewer: Sean Bright <sean at seanbright.com>
Gerrit-Attention: N A <mail at interlinked.x10host.com>
Gerrit-Attention: Joshua Colp <jcolp at sangoma.com>
Gerrit-Attention: Alexei Gradinari <alex2grad at gmail.com>
Gerrit-Comment-Date: Mon, 05 Sep 2022 14:23:32 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Sean Bright <sean at seanbright.com>
Comment-In-Reply-To: N A <mail at interlinked.x10host.com>
Comment-In-Reply-To: Alexei Gradinari <alex2grad at gmail.com>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220905/327ec8b9/attachment.html>


More information about the asterisk-code-review mailing list