[Serusers] offline v unknown

Juha Heinanen jh at tutpro.com
Mon Aug 29 14:13:57 CEST 2005


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 at 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 at sip.domain.com or just plain old user at 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




More information about the sr-users mailing list