[Serusers] offline v unknown

Andreas Granig andreas.granig at inode.info
Mon Aug 29 14:04:05 CEST 2005

Kevin Brennan wrote:
> 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 others could also 
> have user at sip.domain.com or just plain old user at domain.com depending on 
> how they were resolved. I don't want to re-write the uri domain part 
> because I'm also serving multiple domains. I know I could add an alias 
> for all these but I was looking for a simpler alternative.

But if you use domains then a lookup(...) will fail like 
does_uri_exists() because it must match the user- and domain-part too.


More information about the sr-users mailing list