mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-14 20:59:53 +05:00
47 lines
1.1 KiB
JSON
47 lines
1.1 KiB
JSON
{
|
|
// CGRateS Configuration file
|
|
//
|
|
// Used in apier_local_tests
|
|
// Starts rater, cdrs and mediator connecting over internal channel
|
|
|
|
"listen": {
|
|
"rpc_json": ":2012", // RPC JSON listening address
|
|
"rpc_gob": ":2013", // RPC GOB listening address
|
|
"http": ":2080", // HTTP listening address
|
|
},
|
|
|
|
"rals": {
|
|
"enabled": true, // enable Rater service: <true|false>
|
|
"aliases_conns": [
|
|
{"address": "*internal"}
|
|
],
|
|
},
|
|
|
|
"scheduler": {
|
|
"enabled": true, // start Scheduler service: <true|false>
|
|
},
|
|
|
|
"cdrs": {
|
|
"enabled": true, // start the CDR Server service: <true|false>
|
|
"rals_conns": [
|
|
{"address": "*internal"} // address where to reach the Rater <""|*internal|127.0.0.1:2013>
|
|
],
|
|
},
|
|
|
|
"aliases": {
|
|
"enabled": true, // start the CDR Server service: <true|false>
|
|
},
|
|
|
|
"cdre": {
|
|
"*default": {
|
|
"export_dir": "/tmp/cgrates/cdr/cdrexport/csv", // path where the exported CDRs will be placed
|
|
}
|
|
},
|
|
|
|
"cdrstats": {
|
|
"enabled": true, // starts the cdrstats service: <true|false>
|
|
"save_interval": "0s", // interval to save changed stats into dataDb storage
|
|
},
|
|
|
|
}
|