[SR-Users] uri=myself question

Andres andres at telesip.net
Sat Apr 18 14:55:20 CEST 2015


On 4/18/15 8:22 AM, Daniel-Constantin Mierla wrote:
> Hello,
>
> On 18/04/15 14:15, Andres wrote:
>> Hi,
>>
>> 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?
> this is a matter of config parameter for domain module:
>
>    - http://kamailio.org/docs/modules/4.2.x/modules/domain.html#idp15450672
Nice, it now makes it easy and clear to understand it.  Version ser 
0.9.6 did not have that parameter.
> Cheers,
> Daniel
>


-- 
Technical Support
http://www.cellroute.net




More information about the sr-users mailing list