<div>Hello, Liviu!</div><div> </div><div>Thank you very much!</div><div> </div><div>I will try your fix.</div><div> </div><div>And, What does "Sequential calls" mean? These are calls to one number?</div><div> </div><div>So, if we have situation dealing with reset counters, i want to make one thing.</div><div>I want to check the time when fraud has been detected and if this time, say, after 19:00 make some actions. How can i check time of the call processing?</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>05.04.2018, 14:54, "Liviu Chircu" <liviu@opensips.org>:</div><blockquote type="cite"><div bgcolor="#FFFFFF"><p>Hi Denis,</p><p>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.</p><p>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.</p><p>Cheers,</p><p>[1]: <a 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 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></p><pre>Liviu Chircu
OpenSIPS Developer
<a href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a></pre><div>On 04.04.2018 16:54, Denis via Users wrote:</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 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/">http://www.opensips-solutions.com</a><br /><br /><br />_______________________________________________<br />Users mailing list<br /><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br /><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></p></blockquote> <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre></blockquote></div>,<p>_______________________________________________<br />Users mailing list<br /><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br /><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></p></blockquote>