Files
cgrates/data/conf/samples/dispatcher_opts/cgrates.json

66 lines
1.3 KiB
JSON

{
"general": {
"node_id": "HOST1",
},
"logger": {
"level": 7
},
"listen": {
"rpc_json": ":2012",
"rpc_gob": ":2013",
"http": ":2080"
},
"data_db": {
"db_type": "redis",
"db_port": 6379,
"db_name": "10"
},
"stor_db": {
"db_password": "CGRateS.org"
},
"attributes": {
"enabled": true
},
"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
},
"rpc_conns": {
"gob_cache": {
"strategy": "*first",
"conns": [
{"address": "127.0.0.1:2013", "transport":"*gob"}
]
}
}
}