[Serusers] offline v unknown

Kevin Brennan kevin.brennan at redsquared.com
Mon Aug 29 15:50:21 CEST 2005


Juha Heinanen wrote:
> 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.
> 

ref to http://mit.edu/sip/sip.edu/dns.shtml

A SIP UA wanting to initiate a call to sip:bigcheese at bigu.edu will first 
send a DNS SRV lookup to bigu.edu. With a successful return, the SIP URI 
may be re-written to sip:bigcheese at sipserver1.bigu.edu.

> 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