mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
74 lines
1.3 KiB
JSON
74 lines
1.3 KiB
JSON
{
|
|
// Real-time Online/Offline Charging System (OCS) for Telecom & ISP environments
|
|
// Copyright (C) ITsysCOM GmbH
|
|
"general": {
|
|
"log_level": 7,
|
|
"node_id":"BackupReplication",
|
|
},
|
|
|
|
"listen": {
|
|
"rpc_json": "127.0.0.1:2012",
|
|
"rpc_gob": "127.0.0.1:2013",
|
|
"http": "127.0.0.1:2080",
|
|
},
|
|
|
|
"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 stordb
|
|
"db_name": "datadb",
|
|
"db_password": "",
|
|
},
|
|
|
|
"stor_db": {
|
|
"db_type": "mongo", // stor database type to use: <mysql|postgres>
|
|
"db_port": 27017, // the port to reach the stordb
|
|
"db_name": "stordb",
|
|
"db_password": "",
|
|
},
|
|
|
|
"rpc_conns": {
|
|
"rplConn": {
|
|
"strategy": "*broadcast_sync",
|
|
"conns": [{"address": "127.0.0.1:22012", "transport": "*json"}],
|
|
},
|
|
},
|
|
|
|
|
|
"rals": {
|
|
"enabled": true,
|
|
},
|
|
|
|
"schedulers": {
|
|
"enabled": true,
|
|
},
|
|
|
|
"cdrs": {
|
|
"enabled": true,
|
|
},
|
|
|
|
"attributes": {
|
|
"enabled": true,
|
|
},
|
|
|
|
|
|
"chargers": {
|
|
"enabled": true,
|
|
"attributes_conns": ["*localhost"],
|
|
},
|
|
|
|
"sessions": {
|
|
"enabled": true,
|
|
"replication_conns": ["rplConn"],
|
|
"rals_conns": ["*localhost"],
|
|
"cdrs_conns": ["*localhost"],
|
|
"chargers_conns": ["*localhost"],
|
|
"backup_interval": "500ms",
|
|
},
|
|
|
|
"apiers": {
|
|
"enabled": true,
|
|
"scheduler_conns": ["*localhost"],
|
|
},
|
|
|
|
}
|