mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-13 11:06:25 +05:00
72 lines
1.3 KiB
JSON
Executable File
72 lines
1.3 KiB
JSON
Executable File
{
|
|
// 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": "redis", // data_db type: <redis|mongo>
|
|
"db_port": 6379, // data_db port to reach the database
|
|
"db_name": "10", // data_db database name to connect to
|
|
},
|
|
|
|
"stor_db": {
|
|
"db_password": "CGRateS.org",
|
|
},
|
|
|
|
"rals": {
|
|
"enabled": true,
|
|
},
|
|
|
|
"schedulers": {
|
|
"enabled": true,
|
|
},
|
|
|
|
"cdrs": {
|
|
"enabled": true,
|
|
},
|
|
|
|
"attributes": {
|
|
"enabled": true,
|
|
},
|
|
|
|
"chargers": {
|
|
"enabled": true,
|
|
"attributes_conns": ["*internal"],
|
|
},
|
|
|
|
|
|
"sessions": {
|
|
"enabled": true,
|
|
"attributes_conns": ["*localhost"],
|
|
"chargers_conns": ["*localhost"],
|
|
"rals_conns": ["*localhost"],
|
|
"cdrs_conns": ["*localhost"],
|
|
},
|
|
|
|
"diameter_agent": {
|
|
"enabled": true,
|
|
"listen_net":"sctp",
|
|
"listen": "127.0.0.1:3869", // address where to listen for diameter requests <x.y.z.y:1234>
|
|
"sessions_conns": ["*birpc_internal"],
|
|
"rar_template": "*rar",
|
|
},
|
|
|
|
"admins": {
|
|
"enabled": true,
|
|
"scheduler_conns": ["*internal"],
|
|
},
|
|
|
|
}
|