Hi Denis,
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.
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.
Cheers,
[1]:
http://www.opensips.org/html/docs/modules/2.2.x/fraud_detection.html#param_use_local_time
[2]:
http://www.opensips.org/html/docs/modules/2.4.x/fraud_detection.html#param_use_utc_time
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
On 04.04.2018 16:54, Denis via Users wrote:
Ok, i will check it.
And what about "sequential call"? Should i make TT?
P.S. I will ask you about one thing yet.
Can i detect current 'time' using Opensips script? And compare it someway?
Thank you.
--
С уважением, Денис.
Best regards, Denis
04.04.2018, 15:13, "Liviu Chircu" <[email protected]>:
Did OpenSIPS crash or restart between 0:25 - 3:20? I double checked, and
"total_calls" cannot be reset in another way.
Another possibility is that the code sees GMT time. Since Москва is on
GMT+3, this may well explain the situation: first calls were placed
around 21:25 GMT, then the "total calls" limit was hit. At 0:00, the
counters were reset, so another 29 calls successfully passed through
starting with 0:20.
Let's keep an eye out for the "total calls" metric during normal hours,
for a couple of days, so we confirm the above hypothesis (or not).
Best regards,
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com <http://www.opensips-solutions.com/>
_______________________________________________
Users mailing list
[email protected] <mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users