<div dir="ltr">Hello Sebastian,<div>hi List,</div><div><br></div><div>the cfg_rpc module seems to be the right thing.</div><div><br></div><div>But i am confused how to set an key.value in my kamailio.cfg. </div><div><br></div><div>For example - this breaks my kamailio.cfg - it won't start:</div><div>mylog.switch = "0" desc "logging"<br></div><div><br></div><div><br></div><div>mylog.foo = "0" desc "logging" is allowed and kamailio starts.</div><div><div>kamcmd> cfg.get mylog foo<br></div><div>0</div></div><div><br></div><div>Are there hidden, unallowed "keywords" that i didnt can use?</div><div>I tried "mylog.enable", "mylog.on" and "mylog.switch" - all of them breaks the startup of kamailio:</div><div><br></div><div><div>Not starting : invalid configuration file!</div><div>CRITICAL: <core> [core/cfg.y:3411]: yyerror_at(): parse error in config file //etc/kamailio/kamailio.cfg, line 182, column 7-12: syntax error</div><div>CRITICAL: <core> [core/cfg.y:3411]: yyerror_at(): parse error in config file //etc/kamailio/kamailio.cfg, line 182, column 7-12:</div><div>ERROR: bad config file (2 errors)</div></div><div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-08-31 15:59 GMT+02:00 Sebastian Damm <span dir="ltr"><<a href="mailto:damm@sipgate.de" target="_blank">damm@sipgate.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I think you are looking for cfg_rpc:<br>
<a href="http://www.kamailio.net/docs/modules/5.0.x/modules/cfg_rpc.html" rel="noreferrer" target="_blank">http://www.kamailio.net/docs/<wbr>modules/5.0.x/modules/cfg_rpc.<wbr>html</a><br>
<br>
HTH<br>
Sebastian<br>
<div><div class="h5"><br></div></div></blockquote></div><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Kind Regards<br>*Karsten Horsmann*<br></div>
</div></div>