<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 12.08.2020 23:43, morris edery
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CANv0ivvVm5YY9MMMyxQksMZ+pVVjrwTCf-emjuiRdLGX64xy0w@mail.gmail.com">Hello
, i am having an issue with fraud detection in openesips 2.4.
<div>config below.</div>
<div><br>
</div>
<div>fraud_detection table </div>
<div><br>
</div>
<div><br class="gmail-Apple-interchange-newline">
<table
style="font-size:13.008px;line-height:1.66em;color:rgb(102,102,102);font-family:"Trebuchet
MS",sans-serif,Verdana,Arial" border="1">
<tbody>
<tr>
<td align="center"><strong>rule id</strong></td>
<td align="center"><strong>profile id</strong></td>
<td align="center"><strong>prefix</strong></td>
<td align="center"><strong>start hour</strong></td>
<td align="center"><strong>end hour</strong></td>
<td align="center"><strong>days of the week</strong></td>
<td align="center"><strong>cpm warning</strong></td>
<td align="center"><strong>cpm critical</strong></td>
<td align="center"><strong>call duration warning</strong></td>
<td align="center"><strong>call duration critical</strong></td>
<td align="center"><strong>total calls warning</strong></td>
<td align="center"><strong>total calls critical</strong></td>
<td align="center"><strong>concurrent calls warning</strong></td>
<td align="center"><strong>concurrent calls critical</strong></td>
<td align="center"><strong>sequential calls warning</strong></td>
<td align="center"><strong>sequential calls critical</strong></td>
</tr>
<tr>
<td align="left">1</td>
<td align="center">1</td>
<td align="center">99</td>
<td align="center">00:00</td>
<td align="center">23:59</td>
<td align="center">Sat,Sun</td>
<td align="center">3</td>
<td align="center">5</td>
<td align="center">7200</td>
<td align="center">13200</td>
<td align="center">3</td>
<td align="center">5</td>
<td align="center">3</td>
<td align="center">5</td>
<td align="center">3</td>
<td align="center">5</td>
</tr>
</tbody>
</table>
</div>
<div><br>
</div>
<div><br>
</div>
<div>dialed number over 5 times 9913057772211</div>
<div><br>
</div>
<div>opensips.cfg</div>
</blockquote>
<p><tt>Hi, Morris!</tt></p>
<p><tt>It seems your rule will only match during weekends and since
you tested on a Wednesday, the rule failed to match. The
default value of that column is "Mon-Sun", which matches any day
of the week.<br>
</tt></p>
<p><tt>Best,</tt><br>
</p>
<pre class="moz-signature" cols="72">--
Liviu Chircu
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/liviuchircu">www.twitter.com/liviuchircu</a> | <a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a>
OpenSIPS Summit 2020 Distributed
<a class="moz-txt-link-abbreviated" href="http://www.opensips.org/events/Summit-2020Distributed">www.opensips.org/events/Summit-2020Distributed</a></pre>
</body>
</html>