{
// CGRateS Configuration file
//


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

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

"rpc_conns": {
	"broadcast_conn": {
		"strategy": "*broadcast",
		"conns": [
			{"address": "127.0.0.1:2012", "transport":"*json"},
			{"address": "127.0.0.1:3012", "transport":"*json"},
		],
	},
},


"listen": {
	"rpc_json": ":3012",
	"rpc_gob": ":3013",
	"http": ":3080",
},


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

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


"cdrs": {
	"enabled": true,
	"chargers_conns":["broadcast_conn"],
},


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


"chargers": {
	"enabled": true,
	"attributes_conns": ["broadcast_conn"],
},


"resources": {
	"enabled": true,
	"store_interval": "-1",
	"thresholds_conns": ["broadcast_conn"]
},


"stats": {
	"enabled": true,
	"store_interval": "-1",
	"thresholds_conns": ["broadcast_conn"],
},

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


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


"sessions": {
	"enabled": true,
	"listen_bijson": "127.0.0.1:3014",		// address where to listen for bidirectional JSON-RPC requests
	"routes_conns": ["broadcast_conn"],
	"resources_conns": ["broadcast_conn"],
	"attributes_conns": ["broadcast_conn"],
	"rates_conns": ["broadcast_conn"],
	"cdrs_conns": ["broadcast_conn"],
	"chargers_conns": ["broadcast_conn"],
},


"admins": {
	"enabled": true,
},


}
