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.
Hi Jan, that is what I expected as I've never seen any kaamilio/sr module taking into account the URI schema. Let me check it again under the latest version and will come back.
Thanks.