mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-16 21:59:53 +05:00
49 lines
847 B
JSON
49 lines
847 B
JSON
{
|
|
// CGRateS Configuration file
|
|
//
|
|
// Used for cgradmin
|
|
// Starts rater, scheduler
|
|
|
|
"general": {
|
|
"node_id": "DispatcherS1",
|
|
"log_level": 7,
|
|
"reconnects": 1
|
|
},
|
|
|
|
"listen": {
|
|
"rpc_json": ":2012", // RPC JSON listening address
|
|
"rpc_gob": ":2013", // RPC GOB listening address
|
|
"http": ":2080" // HTTP listening address
|
|
},
|
|
|
|
"data_db": { // database used to store runtime data (eg: accounts, cdr stats)
|
|
"db_type": "mongo", // stor database type to use: <mysql|postgres>
|
|
"db_port": 27017, // the port to reach the datadb
|
|
"db_name": "datadb",
|
|
"db_password": ""
|
|
},
|
|
|
|
|
|
|
|
"attributes": {
|
|
"enabled": true
|
|
},
|
|
|
|
"dispatchers":{
|
|
"enabled": true,
|
|
"attributes_conns": ["*internal"]
|
|
},
|
|
|
|
|
|
"diameter_agent": {
|
|
"enabled": true,
|
|
"sessions_conns": ["*localhost"],
|
|
"asr_template": "*asr"
|
|
},
|
|
|
|
|
|
"admins": {
|
|
"enabled": true,
|
|
}
|
|
}
|