Fraud has been one of the major problems for carriers. The CFCA (http://www.cfca.org/) has measured fraud in approximately eight billion dollars in 2013. There are many companies specialized in fraud systems for carriers. OpenSIPS now has a software module called fraud_detection
(http://www.opensips.org/html/docs/modules/2.1.x/fraud_detection) that is able to substantially reduce the risks of fraud by defining alert levels on different metrics. This is a brand new module for OpenSIPS 2.1.
Using the dialog
module, the fraud detection module monitors the following statistics:
Calls per minute
Call duration
Total calls
Concurrent calls
Consecutive calls to the same destination
The module generates alarms at two levels, warning and critical, and you can create rules organized by the hour of the day and days of the week. The system stores the rules in a database as follows. You created this table when you installed extra tables in Chapter 4, OpenSIPS Language and Routing...