[SR-Users] uri=myself question

Daniel-Constantin Mierla miconda at gmail.com
Sat Apr 18 14:22:44 CEST 2015


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

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com




More information about the sr-users mailing list