{
// CGRateS Configuration file
//

"general": {
    "log_level": 7,
},


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

"rpc_conns": {
	"conn1": {
		"strategy": "*first",
		"conns": [{"address": "127.0.0.1:2013", "transport":"*gob"}],
	},
},



"data_db": {
	"db_type": "*internal",	
},


"stor_db": {
	"db_type": "*internal",	
},

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

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

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

"resources": {
	"enabled": true,
	"store_interval": "-1",
},

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

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

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

"sessions": {
	"enabled": true,
	"attributes_conns": ["conn1"],
	"cdrs_conns": ["conn1"],
	"rals_conns": ["conn1"],
	"resources_conns": ["conn1"],
	"chargers_conns": ["*internal"],
	"debit_interval": "10s",
},

"radius_agent": {
	"enabled": true,
	"sessions_conns": ["conn1"],
	"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"],
},


}
