{


"general": {
	"reply_timeout": "50s"
},

"logger": {
	"level": 7
},

"listen": {
	"rpc_json": ":2012",
	"rpc_gob": ":2013",
	"http": ":2080"
},

"db": {
	"db_conns": {
		"*default": {
			"db_type": "*redis",		
			"db_port": 6379, 	
			"db_name": "10",
		},
		"intrnl": {
			"db_type": "*internal",
			"opts": {
				"internalDBDumpPath": "/tmp/internal_db/db",
				"internalDBRewriteInterval": "0s"
			}
		},
		"redis2": {
			"db_type": "*redis",		
			"db_port": 6379, 	
			"db_name": "11"
		},
		"StorDB": {
			"db_type": "mysql",
			"db_host": "127.0.0.1",
			"db_port": 3306,
			"db_name": "cgrates",
			"db_user": "cgrates",
			"db_password": "CGRateS.org"
		}
	},
	"items":{
		"*charger_profiles": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false, "dbConn": "redis2"},
		"*charger_filter_indexes" : {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate": false, "dbConn": "intrnl"},
		"*cdrs": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false, "dbConn": "StorDB"}
	}
},

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


"attributes": {
	"enabled": true,
	"stats_conns": ["*internal"],
	"resources_conns": ["*internal"],
	"accounts_conns": ["*internal"]
},

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


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


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


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


"routes": {
	"enabled": true,
	"prefix_indexed_fields":["*req.Destination"],
	"stats_conns": ["*internal"],
	"resources_conns": ["*internal"],
	"rates_conns": ["*internal"]
},


"sessions": {
	"enabled": true,
	"routes_conns": ["*internal"],
	"resources_conns": ["*internal"],
	"attributes_conns": ["*internal"],
	"rates_conns": ["*internal"],
	"cdrs_conns": ["*internal"],
	"chargers_conns": ["*internal"]
},


"migrator":{

	"users_filters":["Account"]
},


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


"rates": {
	"enabled": true
},


"actions": {
	"enabled": true,
	"accounts_conns": ["*internal"]
},


"accounts": {
	"enabled": true
},


"filters": {
	"stats_conns": ["*internal"],
	"resources_conns": ["*internal"],
	"accounts_conns": ["*internal"]
},

"tpes": {
	"enabled": true
},

"loaders": [
	{
		"enabled":true,
		"id": "*default",
		"tp_in_dir": "/usr/share/cgrates/tariffplans/testit",
		"tp_out_dir": "",
		"lockfile_path": ".cgr.lck"
	}
]

}
