<p> Attention is currently required from: Alexei Gradinari. </p>
<p><a href="https://gerrit.asterisk.org/c/asterisk/+/18824">View Change</a></p><p>3 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="null">File res/res_pjsip_logger.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/18824/comment/e2805fcc_c7111f50">Patch Set #1, Line 103:</a> <code style="font-family:monospace,monospace">struct pjsip_method_logger {</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Lack of other methods: […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">The methods included are the methods that PJSIP seems to natively support: https://www.pjsip.org/pjsip/docs/html/group__PJSIP__MSG__METHOD.htm</p><p style="white-space: pre-wrap; word-wrap: break-word;">Not sure if there's an easy way to add those other ones or not.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/18824/comment/7b41f492_eaa089d0">Patch Set #1, Line 183:</a> <code style="font-family:monospace,monospace"> if (session->log_methods.log_method_invite && !pjsip_method_cmp(method, &pjsip_invite_method)) {</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">My bad. I thought return 1 - not logging. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Well, it does take it into consideration, it's just that it does an OR instead of an AND.<br>The existing logging mechanism uses an OR, so this is consistent with that.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/18824/comment/75d69c50_c8d72ca9">Patch Set #1, Line 443:</a> <code style="font-family:monospace,monospace"> memset(&default_logger->log_methods, 0, sizeof(default_logger->log_methods));</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">My bad. I didn't pay attention that this is substring comparison. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">I suppose that could be done, but then we'd have to check for starting with str, ending with it, or a pipe on either side. Technically a user could use a different delimiter and it would work, you are right. Didn't seem like an issue to me but if folks feel that way I guess we could change that - just seemed a little more efficient than using strsep and doing a loop through to check them all. I could go either way.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/18824">change 18824</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/+/18824"/><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: Idd03bd9b466b40e4bca7769437d52ac13a957cf9 </div>
<div style="display:none"> Gerrit-Change-Number: 18824 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-Reviewer: Alexei Gradinari <alex2grad@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Attention: Alexei Gradinari <alex2grad@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 21 Jul 2022 23:55:13 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Comment-In-Reply-To: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Comment-In-Reply-To: Alexei Gradinari <alex2grad@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>