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