[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 16:36:34 CEST 2020


I understand perfectly how uri==myself works... or doesn't in this case. This is not about how to use Kamailio, I have only 8 years of experience with Kamailio but I think I can wrangle it a bit.

The example.com is not supposed to match myself, I know that. This is beside the point, the point is that my log floods with errors:
` 5(22698) ERROR: <core> [core/resolve.c:1808]: str2ip6buf(): invalid name, no conversion to IP address possible`

Looking at the source code in resolve.c this error is generated if str2ip6buf(str* st, ip_addr_t* ipb)  is called with a null or zero length string. This is obviously an error somewhere higher up in the processing. And I have isolated that in the config this error is emitted always when `ruri==myself` is evaluated and there is `;user=phone` as part of the ruri.

I have removed the unnecessary ip:port alias (now there are now aliases listed on startup) and the situation is the same. Also the same if I add the FQDN of the server there (with port).



-- 
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-696763599
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200922/18c90107/attachment-0001.htm>


More information about the sr-dev mailing list