{ // CGRateS Configuration file // // Used for sessions/sessions_volume_discount_it_test.go "general": { "log_level": 7, "reply_timeout": "10s", }, "data_db": { // database used to store runtime data (eg: accounts, cdr stats) "db_type": "redis", // data_db type: "db_port": 6379, // data_db port to reach the database "db_name": "10", // data_db database name to connect to }, "stor_db": { "db_password": "CGRateS.org", }, "sessions": { "enabled": true, "routes_conns": ["*localhost"], "cdrs_conns": ["*localhost"], }, "attributes": { "enabled": true, "opts":{ // "*processRuns": [ { "Tenant": "*any", "Value": 2, }, ], }, }, "cdrs": { "enabled": true, "chargers_conns": ["*localhost"], "accounts_conns": ["*localhost"], "rates_conns": ["*localhost"], "ees_conns":["*localhost"], "opts": { "*chargerS": [ { "Tenant": "*any", "FilterIDs": ["*notstring:~*req.Account:sipp"], "Value": true, }, ], "*rateS": [ { "Tenant": "*any", "FilterIDs": ["*notstring:~*req.Account:sipp|1001"], "Value": true, }, { "Tenant": "*any", "FilterIDs": ["*string:~*req.RunID:customers"], "Value": true, }, ], "*accountS": [ { "Tenant": "*any", "FilterIDs": ["*string:~*req.Account:1001", "*string:~*req.RunID:suppliers"], "Value": true, }, ], "*eeS": [ { "Tenant": "*any", "Value": true, }, ], }, }, "ees": { "enabled": true, "exporters": [ { "id": "MyLogger", "type": "*log", } ] }, "chargers": { "enabled": true, "attributes_conns": ["*localhost"], }, "rates": { "enabled": true, "string_indexed_fields": ["*req.RunID"], "rate_string_indexed_fields": [], "rate_prefix_indexed_fields": ["*req.Destination"], "opts":{ "*profileIgnoreFilters": [ { "Tenant": "*any", "Value": true, }, ], }, }, "accounts": { "enabled": true, "rates_conns": ["*localhost"], "opts":{ "*usage": [ { "Tenant": "*any", "Value": "1m", }, ], }, }, "loaders": [ { "id": "*default", "enabled": true, "tenant": "cgrates.org", "tp_in_dir": "/usr/share/cgrates/tariffplans/sessions_discount_volume/routes1", "tp_out_dir": "", "lockfile_path": "", }, ], "routes": { "enabled": true, "accounts_conns": ["*localhost"], "rates_conns": ["*localhost"], "*ignoreErrors": [ { "Tenant": "*any", "Value": true, }, ], }, "admins": { "enabled": true, }, }