Hello,

 

this value cannot be logged from the cfg file. Please refer to the docs for more information about this keyword.

 

http://www.kamailio.org/wiki/cookbooks/5.5.x/core#myself

 

You can print the configured aliases and also sockets with e.g. kamcmd core/corex commands. They are of course also visible in the configuration.

 

Cheers,

 

Henning

 

--

Henning Westerholt – https://skalatan.de/blog/

Kamailio services – https://gilawa.com

 

From: sr-users <sr-users-bounces@lists.kamailio.org> On Behalf Of Youssef Boujraf
Sent: Wednesday, February 23, 2022 1:49 PM
To: sr-users@lists.kamailio.org
Subject: [SR-Users] kamailio : how to xlog the value of "myself" ?

 

Dear

I 'd like to xlog the value of the "myself" ?

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

Best Regards,

--
Youssef BOUJRAF