mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-12 10:36:24 +05:00
74 lines
984 B
JSON
74 lines
984 B
JSON
{
|
|
// CGRateS Configuration file
|
|
//
|
|
|
|
|
|
"logger": {
|
|
"level": 7
|
|
},
|
|
|
|
|
|
"listen": {
|
|
"rpc_json": ":2012",
|
|
"rpc_gob": ":2013",
|
|
"http": ":2080",
|
|
},
|
|
|
|
"db": {
|
|
"db_conns": {
|
|
"*default": {
|
|
"db_type": "redis",
|
|
"db_port": 6379,
|
|
"db_name": "10"
|
|
},
|
|
"StorDB": {
|
|
"db_type": "internal",
|
|
"opts":{
|
|
"internalDBRewriteInterval": "0s",
|
|
"internalDBDumpInterval": "0s"
|
|
}
|
|
}
|
|
},
|
|
"items": {
|
|
"*cdrs": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false, "dbConn": "StorDB"}
|
|
}
|
|
},
|
|
|
|
"rates": {
|
|
"enabled": true,
|
|
},
|
|
|
|
|
|
"cdrs": {
|
|
"enabled": true,
|
|
"chargers_conns": ["*internal"],
|
|
"rates_conns": ["*internal"],
|
|
},
|
|
|
|
|
|
"attributes": {
|
|
"enabled": true,
|
|
},
|
|
|
|
"chargers": {
|
|
"enabled": true,
|
|
"attributes_conns": ["*internal"],
|
|
},
|
|
|
|
|
|
"sessions": {
|
|
"enabled": true,
|
|
"attributes_conns": ["*localhost"],
|
|
"cdrs_conns": ["*localhost"],
|
|
"rates_conns": ["*localhost"],
|
|
"chargers_conns": ["*internal"],
|
|
},
|
|
|
|
|
|
"admins": {
|
|
"enabled": true,
|
|
},
|
|
|
|
|
|
}
|