<div dir="ltr">Yes, i already figured it out , stupid me.<div>Thx so much for the response</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Aug 15, 2020 at 11:10 AM Liviu Chircu <<a href="mailto:liviu@opensips.org">liviu@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <div>On 12.08.2020 23:43, morris edery
      wrote:<br>
    </div>
    <blockquote type="cite">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>
        <table 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 cols="72">-- 
Liviu Chircu
<a href="http://www.twitter.com/liviuchircu" target="_blank">www.twitter.com/liviuchircu</a> | <a href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a>

OpenSIPS Summit 2020 Distributed
  <a href="http://www.opensips.org/events/Summit-2020Distributed" target="_blank">www.opensips.org/events/Summit-2020Distributed</a></pre>
  </div>

_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>