Files
cgrates/data/conf/samples/dispatcher_opts_admin/cgrates.json
2023-05-03 10:05:28 +02:00

67 lines
1.4 KiB
JSON

{
"general": {
"node_id": "HOST2",
"log_level": 7
},
"listen": {
"rpc_json": ":4012",
"rpc_gob": ":4013",
"http": ":4080"
},
"data_db": {
"db_type": "redis",
"db_port": 6379,
"db_name": "10"
},
"stor_db": {
"db_password": "CGRateS.org"
},
"dispatchers":{
"enabled": true,
"opts": {
"*dispatchers": [
{
"Tenant": "cgrates.org",
"FilterIDs": ["*string:~*opts.*subsys:*dispatchers"],
"Value": false
}
]
}
},
"caches":{
"partitions": {
"*dispatcher_profiles": {"limit": -1, "ttl": "", "static_ttl": false, "remote":true, "replicate": false},
"*dispatcher_routes": {"limit": -1, "ttl": "", "static_ttl": false, "remote":true, "replicate": false},
"*dispatchers": {"limit": -1, "ttl": "", "static_ttl": false, "remote":true, "replicate": false}
},
"remote_conns": ["gob_cache"]
},
"admins": {
"enabled": true,
"caches_conns":["broadcast_cache"]
},
"rpc_conns": {
"broadcast_cache": {
"strategy": "*broadcast",
"conns": [
{"address": "127.0.0.1:2012", "transport":"*json"},
{"address": "127.0.0.1:4012", "transport":"*json"}
]
},
"gob_cache": {
"strategy": "*first",
"conns": [
{"address": "127.0.0.1:4013", "transport":"*gob"}
]
}
}
}