[sr-dev] [kamailio/kamailio] Matching uri == myself fails when request uri has parameter (#2482)

Jukka Väisänen notifications at github.com
Tue Sep 22 17:55:14 CEST 2020


Ok thanks for taking the time to recreate this. We are actually using tel2sip in the config so your idea about empty host part may be right. Unfortunately this environment is not something we can easily duplicate in a test setup but we'll go through it.

I think comparing a null uri, uri with no host or tel: URI to `myself` with `==` is not worthy of an L_ERR message, clearly any URI without a host simply doesn't match and the equality is false. Now if I called `is_myself()` with such an URI, I could expect a log message like "is_myself() called without a host part in request URI" but again maybe not L_ERR... 

-- 
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/issues/2482#issuecomment-696811808
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200922/c96b0eb1/attachment.htm>


More information about the sr-dev mailing list