{
// CGRateS Configuration file
//


"general": {
	"reply_timeout": "50s",
},

"logger": {
    "level": 7
},

"listen": {
	"rpc_json": "*env:DOCKER_IP:2012",			// RPC JSON listening address
	"rpc_gob": "*env:DOCKER_IP:2013",			// RPC GOB listening address
	"http": "*env:DOCKER_IP:2080",				// HTTP listening address
	"rpc_json_tls" : "*env:DOCKER_IP:2022",		// RPC JSON TLS listening address
	"rpc_gob_tls": "*env:DOCKER_IP:2023",		// RPC GOB TLS listening address
	"http_tls": "*env:DOCKER_IP:2280",			// HTTP TLS listening address
},

"rpc_conns": {
	"conn1": {
		"strategy": "*first",
		"conns": [{"address": "*env:DOCKER_IP:2012", "transport":"*json"}],
	},
},


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


"rates": {
	"enabled": true,
},


"cdrs": {
	"enabled": true,
	"chargers_conns":["*internal"],
},


"attributes": {
	"enabled": true,
},


"chargers": {
	"enabled": true,
	"attributes_conns": ["*internal"],
},


"resources": {
	"enabled": true,
	"store_interval": "-1",
	"thresholds_conns": ["*internal"]
},


"stats": {
	"enabled": true,
	"store_interval": "-1",
	"thresholds_conns": ["*internal"],
},

"thresholds": {
	"enabled": true,
	"store_interval": "-1",
},


"routes": {
	"enabled": true,
	"prefix_indexed_fields":["*req.Destination"],
	"stats_conns": ["*internal"],
	"resources_conns": ["*internal"],
	"rates_conns": ["*internal"],
},


"sessions": {
	"enabled": true,
	"listen_bijson": "*env:DOCKER_IP:2014",
	"routes_conns": ["*internal"],
	"resources_conns": ["*internal"],
	"attributes_conns": ["*internal"],
	"rates_conns": ["*internal"],
	"cdrs_conns": ["*internal"],
	"chargers_conns": ["*internal"],
},


"admins": {
	"enabled": true,
},


"filters": {								
	"accounts_conns": ["*internal"],
},

"accounts": {
	"enabled": true,
},

}
