Kevin Brennan writes:
The problem I have with does_uri_exist() is it matches
the full uri, I
may have requests from the same user using different domains in the uri
ex. calls from PSTN would have user(a)pstn.gateway.com
i accept your point regarding calls from pstn gw provided that the user
part of the r-uri is an e.164 number, which is unique.
others could also
have user(a)sip.domain.com or just plain old user(a)domain.com depending on
how they were resolved.
sip.domain.com example i don't see valid. that can happen, but sip ua
sending the request is somehow misconfigured.
one solution might be a new radius_does_uri_user_exist() function that
would return true if the user part exists and is unique, in which case
the domain would come back in reply item.
-- juha