Hello,

 

Try it like this:

 

root@kam01: # kamcmd corex.debug

{

        debug: 2

}

root@kam01:# kamcmd corex.debug 3

{

        old: 2

        new: 3

}

root@kam01:# kamcmd corex.debug 2

{

        old: 3

        new: 2

}

 

Cheers,

 

Henning

 

--

Henning Westerholt – https://skalatan.de/blog/

Kamailio services – https://gilawa.com

 

From: sr-users <sr-users-bounces@lists.kamailio.org> On Behalf Of Sam Ware
Sent: Monday, June 29, 2020 9:37 PM
To: sr-users@lists.sip-router.org
Subject: [SR-Users] Changing Debug Level on the fly

 

I am trying to change the debug level without restarting the service.  My research says this is right but I get an error message.

 

$ sudo -u kamailio kamcmd dbg.set_mod_level core 2
error: 500 - cannot store parameter

 

--

Sam  D Ware