Files
cgrates/data/conf/samples/sessintjson/cgrates.json
2025-10-19 13:15:57 +02:00

92 lines
1.1 KiB
JSON

{
// CGRateS Configuration file
//
"general": {
"reply_timeout": "5m",
},
"logger": {
"level": 7
},
"db": {
"db_conns": {
"*default": {
"db_type": "*internal",
}
},
"opts":{
"internalDBRewriteInterval": "0s",
"internalDBDumpInterval": "0s"
}
},
"rates": {
"enabled": true,
},
"cdrs": {
"enabled": true,
"chargers_conns":["*localhost"],
},
"attributes": {
"enabled": true,
},
"chargers": {
"enabled": true,
"attributes_conns": ["*localhost"],
},
"resources": {
"enabled": true,
"store_interval": "-1",
"thresholds_conns": ["*localhost"]
},
"stats": {
"enabled": true,
"store_interval": "-1",
"thresholds_conns": ["*localhost"],
},
"thresholds": {
"enabled": true,
"store_interval": "-1",
},
"routes": {
"enabled": true,
"prefix_indexed_fields":["*req.Destination"],
"stats_conns": ["*localhost"],
"resources_conns": ["*localhost"],
},
"sessions": {
"enabled": true,
"routes_conns": ["*localhost"],
"resources_conns": ["*localhost"],
"attributes_conns": ["*localhost"],
"rates_conns": ["*localhost"],
"cdrs_conns": ["*localhost"],
"chargers_conns": ["*localhost"],
},
"admins": {
"enabled": true,
},
}