On Sep 30, 2010 at 14:15, Rouskol Andrey anry-dev@yandex.ru wrote:
Andrei,
30.09.10, 03:56, "Andrei Pelinescu-Onciul" andrei@iptel.org:
In the meantime I managed to reproduce it. It should be fixed in all the versions now.
Andrei
That's great! Because I could not reproduce this problem on system compiled with this debug flags.
By the way, I don't know, is it a bug or feature, but if I try to run kamailio (3.0.3) with default config on non-standard port 5062, this check "if (!uri==myself)" is failed. On port 5060 it works without problems.
It's a feature. If you don't listen on 5060 and the uri contains 5060 or no port at all it will not match (you could run several proxies on the same machine, on different ports).
With UDP connection and debug=4 syslog goes crazy, but I've got quite an interesting lines: Sep 30 13:51:40 siptest /usr/local/sbin/kamailio[21693]: DEBUG: <core> [socket_info.c:488]: grep_sock_info - checking if port 5061 matches port 5060 Sep 30 13:51:40 siptest /usr/local/sbin/kamailio[21692]: DEBUG: <core> [socket_info.c:488]: grep_sock_info - checking if port 5062 matches port 5060
If I enable multi-domain support it also works without problems even on non standard port.
You could also add alias=ip:5060 alias=domain:5060 and it will work.
Andrei