{

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

"db": {
	"db_conns": {
		"*default": {
			"db_type": "*internal",
			"opts":{
		"internalDBRewriteInterval": "0s",
		"internalDBDumpInterval": "0s"
	}
		},
	}
},

"schedulers": {
	"enabled": true,
	"cdrs_conns": ["*internal"]
},

"sessions": {
	"enabled": true,
	"attributes_conns": ["*localhost"],
	"rals_conns": ["*internal"],
	"cdrs_conns": ["*internal"],
	"chargers_conns": ["*internal"],
	"routes_conns": ["*localhost"],
	"opts": {
		"*attributes": [					
			{
				"Tenant": "*any",
				"FilterIDs": [],
				"Value": "true",
			},
		],
		"*routes": [						
			{
				"Tenant": "*any",
				"FilterIDs": ["*string:~*req.Account:1001"],
				"Value": "true",
			},
			{
				"Tenant": "*any",
				"FilterIDs": ["*string:~*req.Account:1002"],
				"Value": "true",
			},
			{
				"Tenant": "*any",
				"FilterIDs": ["*string:~*req.Account:1003"],
				"Value": "true",
			},
		],
	}
},


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

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

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


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

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

"tls": {
	"server_certificate" : "/usr/share/cgrates/tls/server.crt",			
	"server_key":"/usr/share/cgrates/tls/server.key",			
	"client_certificate" : "/usr/share/cgrates/tls/client.crt",			
	"client_key":"/usr/share/cgrates/tls/client.key",					
	"ca_certificate":"/usr/share/cgrates/tls/ca.crt"
},

"dns_agent": {
	"enabled": true,
	"listeners":[
		{
			"address":":2053",
			"network":"udp"
		},
		{
			"address":":2053",
			"network":"tcp"
		},
		{
			"address":":2054",
			"network":"tcp-tls"
		}
	],
	"sessions_conns": ["*localhost"]
},

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

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

}
