{
// CGRateS Configuration file
//

"general": {
 	"node_id": "DispatcherS1",
	"log_level": 6,
 	"reconnects": 1,	
},


"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": "mongo",					// stor database type to use: <mysql|postgres>
	"db_port": 27017, 						// the port to reach the stordb
	"db_name": "datadb",
	"db_password": "",
},

"stor_db": {
	"db_type": "mongo",					// stor database type to use: <mysql|postgres>
	"db_port": 27017, 						// the port to reach the stordb
	"db_name": "stordb",
	"db_password": "",
},

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

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

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

"dispatchers":{
 	"enabled": true,
},

"sessions": {
	"enabled": true,
	"debit_interval": "10s",
},


"radius_agent": {
	"enabled": true,
	"sessions_conns": ["*localhost"],
	"listeners":[
		{
			"network": "udp",
			"auth_address": "127.0.0.1:1812",
			"acct_address": "127.0.0.1:1813"
		},
		{
			"network": "tcp",
			"auth_address": "127.0.0.1:1812",
			"acct_address": "127.0.0.1:1813"
		},
	],	
},

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