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

Daniel-Constantin Mierla miconda at gmail.com
Thu Mar 27 09:44:55 CET 2014


To see which lines from configuration file are executed per sip message, 
set cfgtrace parameter for debugger module.

Cheers,
Daniel

On 26/03/14 22:01, Olle E. Johansson wrote:
> 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 
> <mailto: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 <mailto: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 
>> <mailto: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 <mailto: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.evaristesys.com/>/, 
>> http://www.alexbalashov.com <http://www.alexbalashov.com/>
>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
> _______________________________________________
> 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

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference - April 2-4, 2014, Berlin, Germany
http://www.kamailioworld.com

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


More information about the sr-users mailing list