In Kamailio config I use empty global string variable
local.trace_troubleshooting_net = "" descr "trace all SIP messages from
given network"

When I check variable value I get blank string
kamcmd cfg.get local trace_troubleshooting_net

I can set new value
[root@host]# kamcmd cfg.sets local trace_troubleshooting_net "2600::/48"
[root@host]# kamcmd cfg.get local trace_troubleshooting_net
2600::/48

Now I want to set the empty custom  global variable using a command
kamcmd cfg.sets group trace_troubleshooting_net ""
But get error
error: 400 - error at parameter 2: expected string type but record doesn't
match type

How to properly set empty values?
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to