[Serusers] offline v unknown

Kevin Brennan kevin.brennan at redsquared.com
Mon Aug 29 14:56:49 CEST 2005


The server serves multiple domains but not using domains module, using 
multiple alias="xxxxx". We use E.164 numbers as usernames but these can 
be attached to multiple domains. br /Kev/

Andreas Granig wrote:
> 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.
> 
> Andy




More information about the sr-users mailing list