If you just want to control the debug level externally, take a look at the debug parameter: http://www.kamailio.org/wiki/cookbooks/3.3.x/core#debug It can be controlled via sercmd (kamcmd in future versions).
If you want to play with global flags, take a look at cfgutils: http://kamailio.org/docs/modules/3.3.x/modules_k/cfgutils.html http://kamailio.org/docs/modules/3.3.x/modules_k/cfgutils.html#id2533439 http://kamailio.org/docs/modules/3.3.x/modules_k/cfgutils.html#id2494518 http://kamailio.org/docs/modules/3.3.x/modules_k/cfgutils.html#id2494559
Regards, Ovidiu Sas
On Fri, Dec 21, 2012 at 7:17 AM, Mino Haluz mino.haluz@gmail.com wrote:
Hi,
I would like to set my custom different debug levels (with flag?) externally with kamctl command. So I neednt restart kamailio if I want to enable/disable debug.
Which module should I use in that case?
Thanks, Mino