{
// CGRateS Configuration file
//


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

"db": {
	"db_conns": {
		"*default": {
			"db_type": "redis",
			"db_host": "127.0.0.1",
			"db_port": 6379,
			"db_name": "10",
			"db_user": "cgrates"
		},
		"StorDB": {
			"db_type": "mysql",
			"db_host": "127.0.0.1",
			"db_port": 3306,
			"db_name": "cgrates",
			"db_user": "cgrates",
			"db_password": "CGRateS.org"
		}
	},
	"items": {
		"*cdrs": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false, "dbConn": "StorDB"}
	}
},

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

"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": ["*localhost"],
	"cdrs_conns": ["*localhost"],
	"rates_conns": ["*localhost"],
	"chargers_conns": ["*internal"],
},


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


}
