Files
cgrates/data/conf/samples/actions/cgradmin.json
2019-02-19 16:42:33 +01:00

55 lines
1.1 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
},
"stor_db": { // database used to store offline tariff plans and CDRs
"db_password": "CGRateS.org", // password to use when connecting to stordb
},
"rals": {
"enabled": true, // enable Rater service: <true|false>
},
"scheduler": {
"enabled": true, // start Scheduler service: <true|false>
"cdrs_conns": [
{"address": "*internal"} // address where to reach CDR Server, empty to disable CDR capturing <*internal|x.y.z.y:1234>
],
},
"cdrs": {
"enabled": true, // start the CDR Server service: <true|false>
"chargers_conns":[
{"address": "127.0.0.1:2012", "transport":"*json"},
],
},
"chargers": {
"enabled": true,
},
"users": {
"enabled": true, // starts users service: <true|false>.
},
"thresholds": {
"enabled": true,
"store_interval": "1s",
},
}