31 May
2011
31 May
'11
12:17 p.m.
2011/5/9 Jan Janak <jan@ryngle.com>:
Are you sure lookup("location") does not retrieve SIP contacts in the case you describe? Because it should. The function uses only username and domain parts of the Request-URI when doing lookups in the user location database.
Function modules_k/registrar/lookup.c:lookup calls modules_k/registrar/common.c:extract_aor which ignores the scheme of the URI.
Ok, not sure which kind of tests I did some time ago but indeed lockup() retrieves locations regardless the SIP scheme of the AoR. So it was my error. Sorry. -- Iñaki Baz Castillo <ibc@aliax.net>