Files
cgrates/data/conf/samples/diamagent_mongo/cgrates.json
2022-04-21 15:27:27 +02:00

64 lines
1.1 KiB
JSON

{
// CGRateS Configuration file
//
// Used for cgradmin
// Starts rater, scheduler
"general": {
"log_level": 7,
"default_tenant": "cgrates.com",
},
"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": "",
},
"cdrs": {
"enabled": true,
},
"attributes": {
"enabled": true,
},
"rates": {
"enabled": true,
},
"chargers": {
"enabled": true,
"attributes_conns": ["*internal"],
},
"sessions": {
"enabled": true,
"attributes_conns": ["*localhost"],
"chargers_conns": ["*localhost"],
"rates_conns": ["*localhost"],
"cdrs_conns": ["*localhost"],
},
"diameter_agent": {
"enabled": true,
"asr_template": "*asr",
"rar_template": "*rar",
"forced_disconnect": "*asr", // the request to send to diameter on DisconnectSession <*none|*asr|*rar>
},
"admins": {
"enabled": true,
},
}