{

// Real-time Online/Offline Charging System (OCS) for Telecom & ISP environments
// Copyright (C) ITsysCOM GmbH
//
// This file contains the default configuration hardcoded into CGRateS.
// This is what you get when you load CGRateS with an empty configuration file.


"general": {
	"log_level": 7,											// control the level of messages logged (0-emerg to 7-debug)
},

"data_db": {
	"db_type": "mongo",
	"db_name": "10",
	"db_port": 27017,
},


"stor_db": {
	"db_type": "mongo",
	"db_name": "cgrates",
	"db_port": 27017,
	"db_password": "",
},



"schedulers": {
	"enabled": true,
	"cdrs_conns": ["*internal"],
},


"sessions": {
	"enabled": true,
	"attributes_conns": ["*localhost"],
	"rals_conns": ["*internal"],
	"cdrs_conns": ["*internal"],
	"chargers_conns": ["*internal"],
	"routes_conns": ["*localhost"],
},


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


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


"chargers": {
	"enabled": true,
},


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


"routes": {
	"enabled": true,
},

"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",
},

"dns_agent": {
	"enabled": true,
	"listeners":[
		{
			"address":":2053",
			"network":"udp"
		},
		{
			"address":":2053",
			"network":"tcp"
		},
		{
			"address":":2054",
			"network":"tcp-tls"
		},
    ],
	"sessions_conns": ["*localhost"],
},


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