<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><tt>Hi Denis,</tt></p>
<p><tt>I have fixed the sequential calls to also reset on interval /
day change, as well as adding a new param on the 2.3 and 2.2
branches, named "use_local_time" [1], so as not to break the
default behavior.</tt></p>
<p><tt>The default behavior will change in 2.4+, so it will use the
local time, as it's more intuitive. This can be disabled with
"use_utc_time" [2], of course.</tt></p>
<p><tt>Cheers,<br>
</tt></p>
<p><tt>[1]:
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/2.2.x/fraud_detection.html#param_use_local_time">http://www.opensips.org/html/docs/modules/2.2.x/fraud_detection.html#param_use_local_time</a><br>
[2]:
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/2.4.x/fraud_detection.html#param_use_utc_time">http://www.opensips.org/html/docs/modules/2.4.x/fraud_detection.html#param_use_utc_time</a><br>
</tt></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 04.04.2018 16:54, Denis via Users
wrote:<br>
</div>
<blockquote type="cite" cite="mid:220621522850073@web29j.yandex.ru">
<div>Ok, i will check it.</div>
<div> </div>
<div>And what about "sequential call"? Should i make TT?</div>
<div> </div>
<div>P.S. I will ask you about one thing yet.</div>
<div>Can i detect current 'time' using Opensips script? And
compare it someway?</div>
<div> </div>
<div>Thank you.</div>
<div> </div>
<div>-- </div>
<div>С уважением, Денис.</div>
<div>Best regards, Denis</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div>04.04.2018, 15:13, "Liviu Chircu" <a class="moz-txt-link-rfc2396E" href="mailto:liviu@opensips.org"><liviu@opensips.org></a>:</div>
<blockquote type="cite">
<p>Did OpenSIPS crash or restart between 0:25 - 3:20? I double
checked, and<br>
"total_calls" cannot be reset in another way.<br>
<br>
Another possibility is that the code sees GMT time. Since
Москва is on<br>
GMT+3, this may well explain the situation: first calls were
placed<br>
around 21:25 GMT, then the "total calls" limit was hit. At
0:00, the<br>
counters were reset, so another 29 calls successfully passed
through<br>
starting with 0:20.<br>
<br>
Let's keep an eye out for the "total calls" metric during
normal hours,<br>
for a couple of days, so we confirm the above hypothesis (or
not).<br>
<br>
Best regards,<br>
<br>
Liviu Chircu<br>
OpenSIPS Developer<br>
<a href="http://www.opensips-solutions.com/"
moz-do-not-send="true">http://www.opensips-solutions.com</a><br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org"
moz-do-not-send="true">Users@lists.opensips.org</a><br>
<a
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></p>
</blockquote>
<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>