when analyzing the weird problem, where request uri gets rewritten with aor's contact even when there is no command in config file that would do it, i noticed these lines in syslog:
Aug 31 16:41:50 /usr/sbin/kamailio[23139]: DBG:core:rewrite_uri: rewriting Request-URI with 'sip:foo.bar@ip-address:5060;transport=UDP' Aug 31 16:41:50 opensipg /usr/sbin/kamailio[23139]: DBG:registrar:lookup: 'foo.bar@ip-address' Not found in usrloc Aug 31 16:41:50 opensipg /usr/sbin/kamailio[23139]: DBG:registrar:lookup: 'foo.bar@ip-address' Not found in usrloc
any one has any idea why lookup was called even when it is not in the script?
this is getting very weird. looks like kamailio is executing statements on its own.
-- juha