{
// CGRateS Configuration file
//
// Used for cgradmin
// Starts rater, scheduler

"general": {
	"log_level": 7,
	"default_tenant": "cgrates.com",
},

"listen": {
	"rpc_json": ":2012",				// RPC JSON listening address
	"rpc_gob": ":2013",					// RPC GOB listening address
	"http": ":2080",					// HTTP listening address
},

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

"rpc_conns": {
	"*gobbirpc": {
		"conns": [{"address": "127.0.0.1:2015", "transport":"*birpc_gob"}],
	},
},	

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

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

"cdrs": {
	"enabled": true,
},

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

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


"sessions": {
	"enabled": true,
	"listen_bigob": "127.0.0.1:2015",
	"attributes_conns": ["*localhost"],
	"chargers_conns": ["*localhost"],
	"rals_conns": ["*localhost"],
	"cdrs_conns": ["*localhost"],
},

"diameter_agent": {
	"enabled": true,
	"sessions_conns": ["*gobbirpc"],
	"asr_template": "*asr",
	"rar_template": "*rar",
	"forced_disconnect": "*asr",								// the request to send to diameter on DisconnectSession <*none|*asr|*rar>
},

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

}
