<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><tt>Hi, Guillaume!</tt></p>
    <p><tt><br>
      </tt></p>
    <p><tt>That definitely looks like a bug. Most likely, we are either
        talking about a locking issue, causing too few increments, or a
        dialog callback issue, causing too many decrements. Marking this
        as a bug -- I will try to find some time and review the concerned
        code asap. <br>
      </tt></p>
    <p><tt><br>
      </tt></p>
    <p><tt>Best regards,</tt><br>
    </p>
    <pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 13.06.2018 12:24, Guillaume
      Montassier wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:DB6PR1001MB1224EBCE399A81AF1C60E7F2AD7E0@DB6PR1001MB1224.EURPRD10.PROD.OUTLOOK.COM">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;"
        dir="ltr">
        <p style="margin-top:0;margin-bottom:0">Hi list,</p>
        <p style="margin-top:0;margin-bottom:0"><br>
        </p>
        <p style="margin-top:0;margin-bottom:0">I have a strange
          behavior possibly a bug with opensips fraud module.</p>
        <p style="margin-top:0;margin-bottom:0"><br>
        </p>
        <p style="margin-top:0;margin-bottom:0">Sometime an call is
          block because of a critical
          <span>threshold</span> on <span>concurrent calls. The vast
            majority of the time it work really well. But sometime, when
            I raise <span>E_FRD_CRITICAL and check <span>$var(val);$var(thr)
                I got something like this  <span>-1;31. Meaning that on
                  a maximum of 31 calls the user is on -1.</span></span></span></span></p>
        <p style="margin-top:0;margin-bottom:0"><span><span><span><span><br>
                </span></span></span></span></p>
        <p style="margin-top:0;margin-bottom:0"><span><span><span><span>I
                  don't get where that -1 came from and why it raise a
                  critical alert. Also, that -1 appears uniquely on that
                  concurrent calls parameters, all the others parameters
                  work fine.</span></span></span></span></p>
        <p style="margin-top:0;margin-bottom:0"><span><span><span><span><br>
                </span></span></span></span></p>
        <p style="margin-top:0;margin-bottom:0"><span><span><span><span>Any
                  idea? or tips for debugging?</span></span></span></span></p>
        <p style="margin-top:0;margin-bottom:0"><span><span><span><span><br>
                </span></span></span></span></p>
        <p style="margin-top:0;margin-bottom:0"><span><span><span><span><br>
                </span></span></span></span></p>
        <p style="margin-top:0;margin-bottom:0"><span><span><span><span>Thanks,</span></span></span></span></p>
        <p style="margin-top:0;margin-bottom:0"><span><span><span><span><br>
                </span></span></span></span></p>
        <p style="margin-top:0;margin-bottom:0"><span><span><span><span>Guillaume
                  MONTASSIER</span></span></span></span></p>
      </div>
      <!--'"--><br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>