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
___
SIP Express Router (SER) and
Ok I see that it is possible with pv module and shv_set MI command. How can
I get value of this shared variable inside code?
On Fri, Dec 21, 2012 at 1:17 PM, Mino Haluz mino.ha...@gmail.com wrote:
Hi,
I would like to set my custom different debug levels (with flag?)
externally with kamctl
Hello,
look at the code in pv module for the mi/rpc command shv_get.
Cheers,
Daniel
On 12/21/12 2:02 PM, Mino Haluz wrote:
Ok I see that it is possible with pv module and shv_set MI command.
How can I get value of this shared variable inside code?
On Fri, Dec 21, 2012 at 1:17 PM, Mino
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:
21 dec 2012 kl. 17:10 skrev Ovidiu Sas o...@voipembedded.com:
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
On 12/21/12 5:15 PM, Olle E. Johansson wrote:
21 dec 2012 kl. 17:10 skrev Ovidiu Sas o...@voipembedded.com:
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
Ok I did it like this, every xlog I'm calling is in the form:
xlog(L_INFO,XLOG: $ci [ROUTENAME] debuginformation);
and also after every sql_query I have
xlog(L_INFO,XLOG: $ci [ROUTENAME] SQL: select * from );
and when SIP message is received/sent
xlog(L_INFO,XLOG: $ci [MAIN] $mb);
21 dec 2012 kl. 17:34 skrev Mino Haluz mino.ha...@gmail.com:
Ok I did it like this, every xlog I'm calling is in the form:
xlog(L_INFO,XLOG: $ci [ROUTENAME] debuginformation);
and also after every sql_query I have
xlog(L_INFO,XLOG: $ci [ROUTENAME] SQL: select * from );
and when