{
// CGRateS Configuration file
//


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


"listen": {
	"rpc_json": ":2012",
	"rpc_gob": ":2013",
	"http": ":2080",
	"rpc_json_tls":":2022",
	"rpc_gob_tls":":2023",
	"http_tls": "localhost:2280",
},


"rpc_conns": {
	"conn1": {
		"strategy": "*first",
		"conns": [{"address": "127.0.0.1:2013", "transport":"*gob"}],
	},
},


"tls": {
	"server_certificate" : "/usr/share/cgrates/tls/server.crt",			// path to server certificate(must conatin server.crt + ca.crt)
	"server_key":"/usr/share/cgrates/tls/server.key",					// path to server key
	"client_certificate" : "/usr/share/cgrates/tls/client.crt",			// path to client certificate(must conatin client.crt + ca.crt)
	"client_key":"/usr/share/cgrates/tls/client.key",					// path to client key
	"ca_certificate":"/usr/share/cgrates/tls/ca.crt",
},

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


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


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

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

"sessions": {
	"enabled": true,
	"attributes_conns": ["conn1"],
	"cdrs_conns": ["conn1"],
	"rates_conns": ["conn1"],
	"chargers_conns": ["*internal"],
},


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


}
