[SR-Users] How to turn on debugging in kamailio?

Olle E. Johansson oej at edvina.net
Wed Mar 26 22:01:34 CET 2014


I find that raising the debug level only helps when I have issues with connections to 3rd party systems,
like LDAP, Radius and databases. Otherwise, XLOG is your best friend. 

Kamailio logging goes to the syslog.

/O

On 26 Mar 2014, at 21:20, mark li <limark67 at yahoo.com> wrote:

> does this get logged to a file too or just the console?
> i've tried checking /var/log/syslog but it doesn't contain the same entries that are shown on the console.
> thanks.
> 
> 
> 
> On Wednesday, March 26, 2014 4:08:16 PM, Alex Balashov <abalashov at evaristesys.com> wrote:
> You can set the 'debug' core config parameter to something higher than 2. But be warned that even 3 is very verbose. Start there:
> 
> debug=3
> 
> 
> On 26 March 2014 15:53:31 GMT-04:00, mark li <limark67 at yahoo.com> wrote:
> is there a way to add debug statements in kamailio.cfg?  I'd like to be able to dump some of the variables and also see which path the calls are taking.  
> thanks
> 
> 
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> 
> --
> Sent from my mobile, and thus lacking in the refinement one might expect from a fully fledged keyboard. 
> 
> Alex Balashov - Principal 
> Evariste Systems LLC
> 235 E Ponce de Leon Ave
> Suite 106
> Decatur, GA 30030
> United States
> Tel: +1-678-954-0671
> Web: http://www.evaristesys.com/, http://www.alexbalashov.com
> 
> 
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140326/5f9207f0/attachment.html>


More information about the sr-users mailing list