<html><head><title>Re: [OpenSIPS-Users] Fraud_detection module</title>
</head>
<body>
<span style=" font-family:'Times New Roman'; font-size: 12pt;">Hello, Liviu!<br>
<br>
Thank you for your answer.<br>
<br>
About 2)<br>
<br>
"Calls per minute" - ok, but what about other parameters?<br>
For example, "total calls"?<br>
Suppose we have 09:00 - 17:00, Mon-Fri, and "total calls" = 30.<br>
If in Mon user makes 25 calls, on Tue since 09:00 counts of "total calls" begin from 0 or 25?<br>
<br>
<span style=" font-family:'arial'; font-size: 10pt;"><i>-- <br>
С уважением,<br>
Путято Денис,<br>
Руководитель отдела телефонии<br>
АО "Квантум"<br>
Тел.: 8123364000, доб.244<br>
199178, Санкт-Петербург, наб.р.Смоленки, д.19/21 лит.Б<br>
</i></span></span><a style=" font-family:'arial'; font-size: 10pt;" href="http://www.ptl.ru">www.ptl.ru</a><span style=" font-family:'arial'; font-size: 10pt;"><i> </i></span><a style=" font-family:'arial'; font-size: 10pt;" href="mailto:d.putyato@ptl.ru">mailto:d.putyato@ptl.ru</a><br>
<br>
<table bgcolor="#ffffff">
<tr>
<td width=2 bgcolor= #0000ff><br>
</td>
<td><span style=" font-family:'courier new'; font-size: 12pt;">Hi, Deniz!<br>
Answers below.<br>
Regards,<br>
Liviu Chircu<br>
OpenSIPS Developer<br>
</span><a style=" font-family:'courier new'; font-size: 12pt;" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><br>
<span style=" font-family:'times new roman'; font-size: 12pt;">On 10.11.2016 15:18, Denis wrote:<br>
</span><table>
<tr>
<td width=2 bgcolor= #3200ff><br>
</td>
<td><span style=" font-family:'times new roman'; font-size: 12pt;">Re: Fraud_detection modul <br>
</span><table>
<tr>
<td width=2 bgcolor= #0000ff><br>
</td>
<td><span style=" font-family:'times new roman'; font-size: 12pt;">Hello!<br>
<br>
Opensips 2.2.1<br>
<br>
A couple of questions about fraud_detection:<br>
<br>
1) In documentation says "<span style=" font-size: 10pt; color: #666666;"><b>consecutive calls</b> to the same destination <span style=" font-size: 12pt; color: #000000;">". Same destination = same number, or prefix?</td>
</tr>
</table>
</td>
</tr>
</table>
<span style=" font-family:'courier new'; font-size: 12pt;">Same prefix, taken from the fraud detection rule <br>
</span><table>
<tr>
<td width=2 bgcolor= #6400ff><br>
</td>
<td><table>
<tr>
<td><span style=" font-family:'times new roman'; font-size: 12pt;">2) At the beginning of the next period, a counts of events begin 0?</td>
</tr>
</table>
</td>
</tr>
</table>
<span style=" font-family:'courier new'; font-size: 12pt;">The module uses a gliding window of 60 seconds, in order to keep track of "calls per minute". When changing time intervals, hence putting new thresholds in place, the "calls per minute" will not reset. In other words, when switching intervals, the new "calls per minute" thresholds will initially work with calls placed during the last minute when the old thresholds were in place. <br>
</span><table>
<tr>
<td width=2 bgcolor= #9600ff><br>
</td>
<td><table>
<tr>
<td><span style=" font-family:'times new roman'; font-size: 12pt;">3) is there any method to reset counts of events for certain user?</td>
</tr>
</table>
</td>
</tr>
</table>
<span style=" font-family:'times new roman'; font-size: 12pt;">Currently there is no way of doing this.<br>
<br>
</span><table>
<tr>
<td width=2 bgcolor= #c800ff><br>
</td>
<td><table>
<tr>
<td><span style=" font-family:'times new roman'; font-size: 12pt;">4) what is the value used to calculate duration in fraud_module, minutes or seconds?</td>
</tr>
</table>
</td>
</tr>
</table>
<span style=" font-family:'times new roman'; font-size: 12pt;">It should be "seconds", I will fix the misleading example in the tutorial. <br>
</span><table>
<tr>
<td width=2 bgcolor= #fa00ff><br>
</td>
<td><span style=" font-family:'times new roman'; font-size: 12pt;">______________________________________________ <br>
<span style=" font-family:'courier new';">Users mailing list<br>
</span></span><a style=" font-family:'courier new'; font-size: 12pt;" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<span style=" font-family:'courier new'; font-size: 12pt;">
</span><a style=" font-family:'courier new'; font-size: 12pt;" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<span style=" font-family:'courier new'; font-size: 12pt;">
</td>
</tr>
</table>
</td>
</tr>
</table>
</body></html>