{
// CGRateS Configuration file
//


"general": {
	"log_level": 7,
},


"listen": {
	"rpc_json": ":2012",
	"rpc_gob": ":2013",
	"http": ":2080",
},

"data_db": {								// database used to store runtime data (eg: accounts, cdr stats)
	"db_type": "redis",						// data_db type: <redis|mongo>
	"db_port": 6379, 						// data_db port to reach the database
	"db_name": "10", 						// data_db database name to connect to
},

"stor_db": {
	"db_password": "CGRateS.org",
},


"caches":{
	"partitions": {
		"*destinations": {"limit": 10000, "ttl":"0s", "precache": true},
		"*reverse_destinations": {"limit": 10000, "ttl":"0s", "precache": true},
		"*rating_plans": {"limit": 10000, "ttl":"0s","precache": true},
		"*rating_profiles": {"limit": 10000, "ttl":"0s", "precache": true},
		"*actions": {"limit": 10000, "ttl":"0s", "precache": true},
		"*action_plans": {"limit": 10000, "ttl":"0s", "precache": true},
		"*account_action_plans": {"limit": 10000, "ttl":"0s", "precache": true},
		"*action_triggers": {"limit": 10000, "ttl":"0s", "precache": true},
		"*shared_groups": {"limit": 10000, "ttl":"0s", "precache": true},
		"*resource_profiles": {"limit": 10000, "ttl":"0s", "precache": true},
		"*resources": {"limit": 10000, "ttl":"0s", "precache": true},
		"*statqueues": {"limit": 10000, "ttl":"0s", "precache": true},
		"*statqueue_profiles": {"limit": 10000, "ttl":"0s", "precache": true},
		"*thresholds": {"limit": 10000, "ttl":"0s", "precache": true},
		"*threshold_profiles": {"limit": 10000, "ttl":"0s", "precache": true},
		"*filters": {"limit": 10000, "ttl":"0s", "precache": true},
		"*route_profiles": {"limit": 10000, "ttl":"0s", "precache": true},
		"*attribute_profiles": {"limit": 10000, "ttl":"0s", "precache": true},
		"*resource_filter_indexes" :{"limit": 10000, "ttl":"0s", "precache": true},
		"*stat_filter_indexes" : {"limit": 10000, "ttl":"0s", "precache": true},
		"*threshold_filter_indexes" : {"limit": 10000, "ttl":"0s", "precache": true},
		"*route_filter_indexes" : {"limit": 10000, "ttl":"0s", "precache": true},
		"*attribute_filter_indexes" : {"limit": 10000, "ttl":"0s", "precache": true},
		"*charger_filter_indexes" : {"limit": 10000, "ttl":"0s", "precache": true},
		"*dispatcher_profiles" : {"limit": 10000, "ttl":"0s", "precache": true},
		"*dispatcher_hosts" : {"limit": 10000, "ttl":"0s", "precache": true},
		"*dispatcher_routes" : {"limit": 10000, "ttl":"0s", "precache": false},
		"*apiban" : {"limit": 254, "ttl":"0s", "precache": true}
	},
},


"rals": {
	"enabled": true,
},


"schedulers": {
	"enabled": true,
},


"migrator":{
	"out_stordb_password": "CGRateS.org",
	"users_filters":["Account"],
},


"apiers": {
	"enabled": true,
	"scheduler_conns": ["*internal"],
},


"apiban": {
	"keys": ["8b0622b2d29a1f1e43c648ac45737204","2efdcd5d3d1b3a3ab4d71636b7b6d847","4c8140a0d7ec506e03ac59283eea8a9a","559bbfa6808558b3197bf4960bbc1635"],
},


}
