mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-19 22:28:45 +05:00
72 lines
1.1 KiB
JSON
72 lines
1.1 KiB
JSON
{
|
|
// CGRateS Configuration file
|
|
//
|
|
// Used for cgradmin
|
|
// Starts rater, scheduler
|
|
|
|
"general": {
|
|
"default_tenant": "cgrates.com",
|
|
},
|
|
|
|
"logger": {
|
|
"level": 7
|
|
},
|
|
|
|
"listen": {
|
|
"rpc_json": ":2012", // RPC JSON listening address
|
|
"rpc_gob": ":2013", // RPC GOB listening address
|
|
"http": ":2080", // HTTP listening address
|
|
},
|
|
|
|
"db": {
|
|
"db_conns": {
|
|
"*default": {
|
|
"db_type": "*internal",
|
|
},
|
|
},
|
|
"opts":{
|
|
"internalDBRewriteInterval": "0s",
|
|
"internalDBDumpInterval": "0s"
|
|
}
|
|
},
|
|
|
|
"rates": {
|
|
"enabled": true,
|
|
},
|
|
|
|
"cdrs": {
|
|
"enabled": true,
|
|
},
|
|
|
|
"attributes": {
|
|
"enabled": true,
|
|
},
|
|
|
|
"chargers": {
|
|
"enabled": true,
|
|
"attributes_conns": ["*internal"],
|
|
},
|
|
|
|
|
|
"sessions": {
|
|
"enabled": true,
|
|
"attributes_conns": ["*localhost"],
|
|
"chargers_conns": ["*localhost"],
|
|
"rates_conns": ["*localhost"],
|
|
"cdrs_conns": ["*localhost"],
|
|
},
|
|
|
|
"diameter_agent": {
|
|
"enabled": true,
|
|
"listen_net":"sctp",
|
|
"listen": "127.0.0.1:3869", // address where to listen for diameter requests <x.y.z.y:1234>
|
|
"sessions_conns": ["*birpc_internal"],
|
|
"rar_template": "*rar",
|
|
},
|
|
|
|
"admins": {
|
|
"enabled": true,
|
|
},
|
|
|
|
}
|