mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
91 lines
1.5 KiB
JSON
91 lines
1.5 KiB
JSON
{
|
|
// CGRateS Configuration file
|
|
//
|
|
// Used in apier_local_tests
|
|
// Starts rater, cdrs and mediator connecting over internal channel
|
|
|
|
"general": {
|
|
"log_level": 7,
|
|
"poster_attempts": 1,
|
|
},
|
|
|
|
|
|
"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": {
|
|
"enabled": true, // start the CDR Server service: <true|false>
|
|
"chargers_conns":[
|
|
{"address": "*internal"}
|
|
],
|
|
"rals_conns": [
|
|
{"address": "*internal"} // address where to reach the Rater <""|*internal|127.0.0.1:2013>
|
|
],
|
|
},
|
|
|
|
|
|
"attributes": { // Attribute service
|
|
"enabled": true, // starts Attribute service: <true|false>.
|
|
},
|
|
|
|
|
|
"resources": {
|
|
"enabled": true,
|
|
},
|
|
|
|
|
|
"stats": {
|
|
"enabled": true,
|
|
},
|
|
|
|
|
|
"thresholds": {
|
|
"enabled": true,
|
|
},
|
|
|
|
|
|
"chargers": {
|
|
"enabled": true,
|
|
},
|
|
|
|
|
|
"suppliers": {
|
|
"enabled": true,
|
|
},
|
|
|
|
|
|
"cdre": {
|
|
"*default": {
|
|
"export_path": "/tmp/cgrates/cdr/cdrexport/csv", // path where the exported CDRs will be placed
|
|
}
|
|
},
|
|
|
|
|
|
"apier": {
|
|
"scheduler_conns": [ // connections to SchedulerS for reloads
|
|
{"address": "*internal"},
|
|
],
|
|
},
|
|
|
|
}
|