{ // CGRateS Configuration file "general": { "log_level": 7, "reply_timeout": "30s", }, "listen": { "rpc_json": ":2012", "rpc_gob": ":2013", "http": ":2080", }, "data_db": { "db_type": "*internal", }, "stor_db": { "db_type": "*internal", }, "rals": { "enabled": true, "thresholds_conns": [ {"address": "*internal"} ], "cdrstats_conns": [ {"address": "*internal"} ], "pubsubs_conns": [ {"address": "*internal"} ], "users_conns": [ {"address": "*internal"} ], "aliases_conns": [ {"address": "*internal"} ], }, "scheduler": { "enabled": true, }, "cdrs": { "enabled": true, "cdrstats_conns": [ {"address": "*internal"} ], }, "cdre": { "TestTutITExportCDR": { "content_fields": [ {"id": "CGRID", "type": "*composed", "value": "~CGRID"}, {"id": "RunID", "type": "*composed", "value": "~RunID"}, {"id":"OriginID", "type": "*composed", "value": "~OriginID"}, {"id":"RequestType", "type": "*composed", "value": "~RequestType"}, {"id":"Tenant", "type": "*composed", "value": "~Tenant"}, {"id":"Category", "type": "*composed", "value": "~Category"}, {"id":"Account", "type": "*composed", "value": "~Account"}, {"id":"Destination", "type": "*composed", "value": "~Destination"}, {"id":"AnswerTime", "type": "*composed", "value": "~AnswerTime", "layout": "2006-01-02T15:04:05Z07:00"}, {"id":"Usage", "type": "*composed", "value": "~Usage"}, {"id":"Cost", "type": "*composed", "value": "~Cost", "rounding_decimals": 4}, {"id":"MatchedDestinationID", "type": "*composed", "value": "~CostDetails:s/\"MatchedDestId\":.*_(\\w{4})/${1}/:s/\"MatchedDestId\":\"INTERNAL\"/ON010/"}, ], }, }, "cdrstats": { "enabled": true, }, "pubsubs": { "enabled": true, }, "users": { "enabled": true, "indexes": ["Uuid"], }, "resources": { "enabled": true, "store_interval": "1s", "thresholds_conns": [ {"address": "*internal"} ], }, "stats": { "enabled": true, "store_interval": "1s", "thresholds_conns": [ {"address": "*internal"} ], }, "thresholds": { "enabled": true, "store_interval": "1s", }, "suppliers": { "enabled": true, }, "attributes": { // Attribute service "enabled": true, // starts Alias service: . }, "aliases": { "enabled": true, }, "sessions": { "enabled": true, }, }