{
	// CGRateS Configuration file
	//
	
	
	"general": {
		"reply_timeout": "50s",
	},

	"logger": {
		"level": 7
	},
	
	"db": {
		"db_conns": {
			"*default": {
				"db_type": "redis",
				"db_host": "127.0.0.1",
				"db_port": 6379,
				"db_name": "10",
				"db_user": "cgrates"
			},
			"StorDB": {
				"db_type": "mysql",
				"db_host": "127.0.0.1",
				"db_port": 3306,
				"db_name": "cgrates",
				"db_user": "cgrates",
				"db_password": "CGRateS.org"
			}
		},
		"items": {
			"*cdrs": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false, "dbConn": "StorDB"}
		}
	},
	
	"listen": {
		"rpc_json": ":2012",
		"rpc_gob": ":2013",
		"http": ":2080",
	},
		
	"loaders": [
		{
			"id": "*default",
			"enabled": true,
			"tenant": "cgrates.org",
			"lockfile_path": ".cgr.lck",
			"tp_in_dir": "/usr/share/cgrates/tariffplans/loadRateTest",
			"tp_out_dir": "",
		},
	],
	
	"rates": {
		"enabled": true
	},

	"cdrs": {
		"enabled": true,
		"chargers_conns":["*internal"],
		"accounts_conns": ["*localhost"],
		"rates_conns": ["*localhost"],
		"ees_conns": ["conn1"]
	},
	
	
	"chargers": {
		"enabled": true,
		"attributes_conns": ["*internal"],
	},
	
	"attributes": {
		"enabled": true,
		"stats_conns": ["*localhost"],
		"resources_conns": ["*localhost"],
		"accounts_conns": ["*localhost"]
	},

	"accounts": {
		"enabled": true,
		"rates_conns": ["*localhost"],
	},

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