<p></p>
<p>Hi <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/miconda/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/miconda">@miconda</a>. Tks for looking at this.<br>
Regarding the README it was my bad, I just noticed that I had included it after the PR creation.<br>
Initially, I was implementing the modparam with the "is_method" approach but then I found the <a href="https://www.kamailio.org/docs/modules/devel/modules/xlog.html#xlog.p.methods_filter" rel="nofollow">methods_filter</a> that seems more performant. Since it's static the string could be converted at the module initialization to the decimal representation allowing to keep the bitwise comparison.</p>
<p>About your event_route propose, I really like that approach because it also gives the script writer full control. I guess between native or script approaches the performance difference will be negligible.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/2374#issuecomment-649580321">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZJH6LRWOVCH2DQNOYLRYNM2LANCNFSM4OIFLFLA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZMSG75JWOIWREQVGV3RYNM2LA5CNFSM4OIFLFLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOE2346II.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/2374#issuecomment-649580321",
"url": "https://github.com/kamailio/kamailio/pull/2374#issuecomment-649580321",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>