This file is indexed.

/usr/share/opensips/mysql/fraud_detection-create.sql is in opensips-mysql-module 2.2.2-3build4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
INSERT INTO version (table_name, table_version) values ('fraud_detection','1');
CREATE TABLE fraud_detection (
    ruleid INT(10) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL,
    profileid INT UNSIGNED NOT NULL,
    prefix CHAR(64) NOT NULL,
    start_hour CHAR(5) NOT NULL,
    end_hour CHAR(5) NOT NULL,
    daysoftheweek CHAR(64) NOT NULL,
    cpm_warning INT(5) UNSIGNED NOT NULL,
    cpm_critical INT(5) UNSIGNED NOT NULL,
    call_duration_warning INT(5) UNSIGNED NOT NULL,
    call_duration_critical INT(5) UNSIGNED NOT NULL,
    total_calls_warning INT(5) UNSIGNED NOT NULL,
    total_calls_critical INT(5) UNSIGNED NOT NULL,
    concurrent_calls_warning INT(5) UNSIGNED NOT NULL,
    concurrent_calls_critical INT(5) UNSIGNED NOT NULL,
    sequential_calls_warning INT(5) UNSIGNED NOT NULL,
    sequential_calls_critical INT(5) UNSIGNED NOT NULL
) ENGINE=InnoDB;