[sr-dev] lockup("location") doesn't find a "sip" registration if RURI scheme is "sips"

Iñaki Baz Castillo ibc at aliax.net
Tue May 31 14:17:27 CEST 2011


2011/5/9 Jan Janak <jan at 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 at aliax.net>



More information about the sr-dev mailing list