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

"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_type": "postgres",					// stor database type to use: <mysql|postgres>
	"db_port": 5432, 						// the port to reach the stordb
	"db_password": "CGRateS.org",
},


"rals": {
	"enabled": true,
	"thresholds_conns": ["*internal"],
},


"schedulers": {
	"enabled": true,					// start Scheduler service: <true|false>
},


"cdrs": {
	"enabled": true,					// start the CDR Server service:  <true|false>
},


"users": {
	"enabled": true,
	"indexes": ["Uuid"],
},


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


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


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


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


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


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



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


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


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

 //"sentrypeer":{
 //"url":"https://sentrypeer.com/api/",
 //"clientID":"",
 //"clientSecret":"",
 //},

}
