On 12.08.2020 23:43, morris edery wrote:
Hello , i am having an issue with fraud detection in openesips 2.4.
config below.

fraud_detection table


*rule id* *profile id* *prefix* *start hour* *end hour* *days of the week* *cpm warning* *cpm critical* *call duration warning* *call duration critical* *total calls warning* *total calls critical* *concurrent calls warning* *concurrent calls critical* *sequential calls warning* *sequential calls critical*
1       1       99      00:00   23:59   Sat,Sun         3       5       7200    
13200   3       5       3       5       3       5



dialed number over 5 times  9913057772211

opensips.cfg

Hi, Morris!

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.

Best,

--
Liviu Chircu
www.twitter.com/liviuchircu | www.opensips-solutions.com

OpenSIPS Summit 2020 Distributed
  www.opensips.org/events/Summit-2020Distributed

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to