[Serdev] does_uri_exist and aliases

Andres andres at telesip.net
Wed Aug 25 23:30:19 UTC 2004


Hi,

I have a question about this function (does_uri_exist) and its usage 
when handling aliases.

For example:
1.  Somebody dials an alias
2.  Our ser.cfg passes through lookup("aliases")
3.  Then it passes through
        if (does_uri_exist()) {
        ...complete call....
          break;
        };

Will the does_uri_exist evaluate the alias or the real subscriber?  If 
it looks up the alias in the subscriber table then it will fail to find 
it and the call won't complete.  I am just trying to get a sense of when 
it is proper to use the function and when it will break the calls.

Thanks,

-- 
Andres
Network Admin
http://www.telesip.net





More information about the Serdev mailing list