mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-12 02:26:26 +05:00
NEW configuration format - cgrates.json
This commit is contained in:
31
data/conf/samples/tutorial/tutorial.json
Normal file
31
data/conf/samples/tutorial/tutorial.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
// CGRateS Configuration file
|
||||
//
|
||||
// Used in mediator_local_test
|
||||
// Starts rater, cdrs and mediator connecting over internal channel
|
||||
|
||||
"rater": {
|
||||
"enabled": true, // enable Rater service: <true|false>
|
||||
},
|
||||
|
||||
"scheduler": {
|
||||
"enabled": true, // start Scheduler service: <true|false>
|
||||
},
|
||||
|
||||
"cdrs": {
|
||||
"enabled": true, // start the CDR Server service: <true|false>
|
||||
"mediator": "internal", // address where to reach the Mediator.
|
||||
},
|
||||
|
||||
"cdre": {
|
||||
"*default": {
|
||||
"export_dir": "/tmp", // path where the exported CDRs will be placed
|
||||
}
|
||||
},
|
||||
|
||||
"mediator": {
|
||||
"enabled": true, // starts Mediator service: <true|false>.
|
||||
"cdrstats": "internal",
|
||||
},
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user