mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-12 02:26:26 +05:00
Configuration samples for SMG replication
This commit is contained in:
30
data/conf/samples/smgreplcmaster/cgrates.json
Normal file
30
data/conf/samples/smgreplcmaster/cgrates.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
// Real-time Online/Offline Charging System (OCS) for Telecom & ISP environments
|
||||
// Copyright (C) ITsysCOM GmbH
|
||||
|
||||
"listen": {
|
||||
"rpc_json": ":2012",
|
||||
"rpc_gob": ":2013",
|
||||
"http": ":2080",
|
||||
},
|
||||
|
||||
"rals": {
|
||||
"enabled": true,
|
||||
},
|
||||
|
||||
"scheduler": {
|
||||
"enabled": true,
|
||||
},
|
||||
|
||||
"cdrs": {
|
||||
"enabled": true,
|
||||
},
|
||||
|
||||
"sm_generic": {
|
||||
"enabled": true,
|
||||
"smg_replication_conns": [
|
||||
{"address": "127.0.0.1:22012", "transport": "*json"},
|
||||
],
|
||||
},
|
||||
|
||||
}
|
||||
25
data/conf/samples/smgreplcslave/cgrates.json
Normal file
25
data/conf/samples/smgreplcslave/cgrates.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
// Real-time Online/Offline Charging System (OCS) for Telecom & ISP environments
|
||||
// Copyright (C) ITsysCOM GmbH
|
||||
|
||||
|
||||
"listen": {
|
||||
"rpc_json": ":22012", // RPC JSON listening address
|
||||
"rpc_gob": ":22013", // RPC GOB listening address
|
||||
"http": ":22080", // HTTP listening address
|
||||
},
|
||||
|
||||
"rals": {
|
||||
"enabled": true, // enable Rater service: <true|false>
|
||||
},
|
||||
|
||||
"cdrs": {
|
||||
"enabled": true, // start the CDR Server service: <true|false>
|
||||
},
|
||||
|
||||
"sm_generic": {
|
||||
"enabled": true, // starts SessionManager service: <true|false>
|
||||
"listen_bijson": "127.0.0.1:22014", // address where to listen for bidirectional JSON-RPC requests
|
||||
},
|
||||
|
||||
}
|
||||
@@ -24,6 +24,7 @@
|
||||
"cache_dump_dir": "", // cache dump for faster start (leave empty to disable)
|
||||
},
|
||||
|
||||
|
||||
"rals": {
|
||||
"enabled": true,
|
||||
"cdrstats_conns": [
|
||||
|
||||
Reference in New Issue
Block a user