[SR-Users] Logging from cfg file

Muhammad Allaudin mallaudinqazi at gmail.com
Fri Dec 28 19:33:04 CET 2018


Hi everyone,

I have recently started working on Kamailio, I am trying to learn the
basics. For "Register" route, I am trying to print the log but log is not
appearing in log file. Other logs are there, only this one is missing.

*if(is_method("REGISTER")){*
* log(2, "Register request");*
*}*

I will be really helpful if you can help me with this.

Thanks & Kind Regards

*Regards,*
*M.Allaudin*
*Software EngineerNowtel GroupPhone # +92-333-8291874Blogger @
allaudin.github.io <http://allaudin.github.io>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20181228/7ecf014a/attachment.html>


More information about the sr-users mailing list