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@pstn.gateway.com others could also have user@sip.domain.com or just plain old user@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