<p> Attention is currently required from: N A. </p>
<p>Patch set 1:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #ddd; color: #000000;">-Code-Review</span></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/9f01a04d_9cdc5a68">Patch Set #1, Line 103:</a> <code style="font-family:monospace,monospace">struct pjsip_method_logger {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Lack of other methods:<br>SUBSCRIBE<br>NOTIFY<br>PUBLISH<br>PRACK<br>INFO<br>REFER<br>MESSAGE<br>UPDATE</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/6a456fc2_2688100e">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;">This is the code to check if a message should not be logged, so if we know it should be, log it. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">My bad. I thought return 1 - not logging.<br>But in this case this code does not take into account ip-address filter.<br>So I can not set filter by ip-address and method(s)</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/790e3793_b42dbef9">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;">Correct, so they get reset each time. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">My bad. I didn't pay attention that this is substring comparison.<br>Personally, I don't like it because there is not checking on correct separator or the lack of a separator.</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: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 21 Jul 2022 19:49:32 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: Yes </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>