<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,</p>
<p>try with the patch from commit:</p>
<p> *
<a class="moz-txt-link-freetext" href="https://github.com/kamailio/kamailio/commit/5411eda4e44a487479d00433583a68a328aca9a3">https://github.com/kamailio/kamailio/commit/5411eda4e44a487479d00433583a68a328aca9a3</a></p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 19.03.20 15:01, Daniel-Constantin
Mierla wrote:<br>
</div>
<blockquote type="cite"
cite="mid:2df781a6-ff74-1a9c-2000-55b89624e658@gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>Hello,</p>
<p>can you try:</p>
<p>kamcmd cfgutils.is_gflag i:1024</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 19.03.20 12:12, Yufei Tao wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAJwP0iRDTBpzwkbEumpcN8z6-dBoHfa5amq_hKq6Cd3gPEqhig@mail.gmail.com">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<div dir="ltr">
<div>Hi,</div>
<div><br>
</div>
<div>I got some problems with is_gflags:</div>
<div>1. Set the gflag:<br>
</div>
<div># kamcmd cfgutils.set_gflag 1024</div>
<div>2. Check the gflags - fine:<br>
</div>
<div># kamcmd cfgutils.get_gflags<br>
0x400 (1024)</div>
<div>3. Check using is_gflag - problem:</div>
<div># kamcmd cfgutils.is_gflag 1024<br>
FALSE</div>
<div><br>
</div>
<div>Seems is_gflag always returns FALSE somehow. Calling
function is_gflag() from the cfg file seems to always return
FALSE too.<br>
</div>
<div><br>
</div>
<div>I tried this on Kamailio 5.3.2 and 5.3.3 and the
behaviour is the same. <br>
</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Yufei<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com" moz-do-not-send="true">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" moz-do-not-send="true">www.linkedin.com/in/miconda</a></pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a></pre>
</body>
</html>