[SR-Users] kamailio : how to xlog the value of "myself" ?

Henning Westerholt hw at gilawa.com
Thu Feb 24 08:56:37 CET 2022


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<https://gilawa.com/>

From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of Youssef Boujraf
Sent: Wednesday, February 23, 2022 1:49 PM
To: sr-users at 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<http://www.opengroup.org/onlinepubs/009695399/functions/log.html>("the request is for local processing\n");

    };
Best Regards,

--
Youssef BOUJRAF
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220224/e8802fe8/attachment.htm>


More information about the sr-users mailing list