mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-15 05:09:54 +05:00
29 lines
1.1 KiB
JSON
29 lines
1.1 KiB
JSON
{
|
|
// CGRateS Configuration file
|
|
//
|
|
// Used in apier_local_tests
|
|
// Starts rater, cdrs and mediator connecting over internal channel
|
|
|
|
"rater": {
|
|
"enabled": true, // enable Rater service: <true|false>
|
|
},
|
|
|
|
"cdrs": {
|
|
"enabled": true, // start the CDR Server service: <true|false>
|
|
"mediator": "internal", // address where to reach the Mediator. Empty for disabling mediation. <""|internal>
|
|
"store_disable": true, // when true, CDRs will not longer be saved in stordb, useful for cdrstats only scenario
|
|
},
|
|
|
|
"mediator": {
|
|
"enabled": true, // starts Mediator service: <true|false>.
|
|
"cdrstats": "internal", // address where to reach the cdrstats service. Empty to disable stats gathering out of mediated CDRs <""|internal|x.y.z.y:1234>
|
|
"store_disable": true, // when true, CDRs will not longer be saved in stordb, useful for cdrstats only scenario
|
|
},
|
|
|
|
"cdrstats": {
|
|
"enabled": true, // starts the cdrstats service: <true|false>
|
|
"queue_length": 5, // number of items in the stats buffer
|
|
"time_window": "0", // will only keep the CDRs who's call setup time is not older than time.Now()-TimeWindow
|
|
},
|
|
|
|
} |