[sr-dev] [kamailio/kamailio] siptrace: add methods_blacklist_auto modparam (#2374)

Nuno Ferreira notifications at github.com
Thu Jun 25 16:24:37 CEST 2020


Hi @miconda. Tks for looking at this.
Regarding the README it was my bad, I just noticed that I had included it after the PR creation.
Initially, I was implementing the modparam with the "is_method" approach but then I found the [methods_filter](https://www.kamailio.org/docs/modules/devel/modules/xlog.html#xlog.p.methods_filter) 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.

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. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2374#issuecomment-649580321
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200625/9bcff59a/attachment.html>


More information about the sr-dev mailing list