mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-12 18:46:24 +05:00
67 lines
1.4 KiB
JSON
67 lines
1.4 KiB
JSON
{
|
|
// Real-time Online/Offline Charging System (OCS) for Telecom & ISP environments
|
|
// Copyright (C) ITsysCOM GmbH
|
|
"general": {
|
|
"log_level": 7,
|
|
"node_id":"SlaveReplication",
|
|
},
|
|
|
|
"listen": {
|
|
"rpc_json": "127.0.0.1:22012", // RPC JSON listening address
|
|
"rpc_gob": "127.0.0.1:22013", // RPC GOB listening address
|
|
"http": "127.0.0.1:22080", // HTTP listening address
|
|
},
|
|
|
|
"rpc_conns": {
|
|
"conn1": {
|
|
"strategy": "*first",
|
|
"conns": [{"address": "127.0.0.1:22012", "transport":"*json"}],
|
|
},
|
|
"rplConn": {
|
|
"strategy": "*broadcast_sync",
|
|
"conns": [{"address": "127.0.0.1:2012", "transport": "*json"}],
|
|
}
|
|
},
|
|
|
|
|
|
"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, // start the CDR Server service: <true|false>
|
|
},
|
|
|
|
"rates": {
|
|
"enabled": true,
|
|
},
|
|
|
|
"attributes": {
|
|
"enabled": true,
|
|
},
|
|
|
|
|
|
"chargers": {
|
|
"enabled": true,
|
|
"attributes_conns": ["*internal"],
|
|
},
|
|
|
|
"sessions": {
|
|
"enabled": true, // starts SessionManager service: <true|false>
|
|
"listen_bijson": "127.0.0.1:22014", // address where to listen for bidirectional JSON-RPC requests
|
|
"replication_conns": ["rplConn"],
|
|
"rates_conns": ["conn1"],
|
|
"cdrs_conns": ["*internal"],
|
|
"chargers_conns": ["*internal"],
|
|
},
|
|
|
|
"admins": {
|
|
"enabled": true,
|
|
},
|
|
|
|
}
|