<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<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"><span style="font-size: 12pt;">Thank you for this quick answer.</span><br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Guillaume MONTASSIER</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>De :</b> Users <users-bounces@lists.opensips.org> de la part de Liviu Chircu <liviu@opensips.org><br>
<b>Envoyé :</b> mercredi 13 juin 2018 13:07:20<br>
<b>À :</b> users@lists.opensips.org<br>
<b>Objet :</b> Re: [OpenSIPS-Users] Fraud module strange behavior</font>
<div> </div>
</div>
<meta content="text/html; charset=Windows-1252">
<div style="background-color:#FFFFFF">
<p><tt>On a side note, the good news is that you can easily bypass this bug within the event_route: simply ignore any negative "concurrent calls" reports! Hopefully, it won't take long until we get to the bottom of it, and provide the official fix.<br>
</tt></p>
<p><br>
</p>
<p><tt>Cheers,</tt><br>
</p>
<pre class="x_moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="x_moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="x_moz-cite-prefix">On 13.06.2018 14:04, Liviu Chircu wrote:<br>
</div>
<blockquote type="cite">
<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="x_moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="x_moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="x_moz-cite-prefix">On 13.06.2018 12:24, Guillaume Montassier wrote:<br>
</div>
<blockquote type="cite"><style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<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="x_mimeAttachmentHeader"></fieldset> <br>
<pre>_______________________________________________
Users mailing list
<a class="x_moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="x_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>
<br>
<fieldset class="x_mimeAttachmentHeader"></fieldset> <br>
<pre>_______________________________________________
Users mailing list
<a class="x_moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="x_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>
</div>
</body>
</html>