mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-14 12:49:54 +05:00
79 lines
1.2 KiB
JSON
79 lines
1.2 KiB
JSON
{
|
|
// CGRateS Configuration file
|
|
//
|
|
// Used for cgradmin
|
|
// Starts rater, scheduler
|
|
|
|
"general": {
|
|
"log_level": 7,
|
|
},
|
|
|
|
"listen": {
|
|
"rpc_json": ":2012", // RPC JSON listening address
|
|
"rpc_gob": ":2013", // RPC GOB listening address
|
|
"http": ":2080", // HTTP listening address
|
|
},
|
|
|
|
"data_db": {
|
|
"db_type": "*internal",
|
|
},
|
|
|
|
|
|
"stor_db": {
|
|
"db_type": "*internal",
|
|
},
|
|
|
|
"rals": {
|
|
"enabled": true, // enable Rater service: <true|false>
|
|
"max_computed_usage": { // do not compute usage higher than this, prevents memory overload
|
|
"*any": "189h",
|
|
"*voice": "72h",
|
|
"*data": "102400",
|
|
"*sms": "10000"
|
|
},
|
|
},
|
|
|
|
"schedulers": {
|
|
"enabled": true, // start Scheduler service: <true|false>
|
|
},
|
|
|
|
"cdrs": {
|
|
"enabled": true, // start the CDR Server service: <true|false>
|
|
},
|
|
|
|
"resources": {
|
|
"enabled": true,
|
|
"store_interval": "-1",
|
|
},
|
|
|
|
"attributes": {
|
|
"enabled": true,
|
|
},
|
|
|
|
"suppliers": {
|
|
"enabled": true,
|
|
},
|
|
|
|
"chargers": {
|
|
"enabled": true,
|
|
"attributes_conns": ["*internal"],
|
|
},
|
|
|
|
"sessions": {
|
|
"enabled": true,
|
|
"session_ttl": "50ms",
|
|
"rals_conns": ["*localhost"],
|
|
"cdrs_conns": ["*localhost"],
|
|
"chargers_conns": ["*internal"],
|
|
"alterable_fields": ["Extra1"],
|
|
},
|
|
|
|
|
|
"apiers": {
|
|
"enabled": true,
|
|
"scheduler_conns": ["*internal"],
|
|
},
|
|
|
|
|
|
}
|