[SR-Users] uri=myself question

Andres andres at telesip.net
Sat Apr 18 14:15:32 CEST 2015


I have a question about about 'myself' usage.

for example:
     if(uri==myself) {
         log("the request is for local processing\n");

I have always expected the above to hold true for any 'alias' definition 
in the config file.  But I never really though about the domain module 
since I use the test "is_uri_host_local()" for that.

So my question is, if we have an entry in the domain module will it 
resolve to true for the "(uri==myself)" test even if it's not an alias?


Technical Support

More information about the sr-users mailing list