{

// Real-time Online/Offline Charging System (OCS) for Telecom & ISP environments
// Copyright (C) ITsysCOM GmbH

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


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


"data_db": {
	"db_type": "*internal",
	"opts":{
		"internalDBStartTimeout": "1m",
		"internalDBDumpInterval": "-1",
		"internalDBRewriteInterval": "-2",
		"internalDBFileSizeLimit": "3.3KB"
	}
},


"stor_db": {
	"db_type": "*internal",
	"opts":{
		"internalDBStartTimeout": "1m",
		"internalDBDumpInterval": "-1",
		"internalDBRewriteInterval": "-2",
		"internalDBFileSizeLimit": "3.3KB"
	}
},

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


"rals": {
	"enabled": true,
	"thresholds_conns": ["*localhost"],
	"stats_conns": ["*localhost"],
},


"cdrs": {
	"enabled": true,
	"stats_conns": ["*localhost"],
	"chargers_conns": ["*internal"],
	"rals_conns": ["*localhost"],
	"sessions_cost_retries": 5,
},


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


"sessions": {
	"enabled": true,
	"rals_conns": ["*localhost"],
	"cdrs_conns": ["*localhost"],
	"resources_conns": ["*localhost"],
	"routes_conns": ["*localhost"],
	"attributes_conns": ["*localhost"],
	"stats_conns": ["*localhost"],
	"thresholds_conns": ["*localhost"],
	"chargers_conns": ["*internal"],
	"debit_interval": "5s",
	"channel_sync_interval":"7s",
	"backup_interval": "500ms",	
},


"freeswitch_agent": {
	"enabled": true,
	"event_socket_conns":[
		{"address": "127.0.0.1:8021", "password": "ClueCon", "reconnects": -1,"alias":""}
	],
	"sessions_conns": ["*birpc_internal"],
	"create_cdr": true
},


"attributes": {
	"enabled": true,
	"string_indexed_fields": ["*req.Account"],			
},


"resources": {
	"enabled": true,
	"string_indexed_fields": ["*req.Account"],
},


"stats": {
	"enabled": true,
	"string_indexed_fields": ["*req.Account","*req.RunID","*req.Destination"],
},


"thresholds": {
	"enabled": true,
	"string_indexed_fields": ["*req.Account"],
},


"routes": {
	"enabled": true,
	"resources_conns": ["*internal"],
	"stats_conns": ["*internal"],
	"rals_conns": ["*internal"],	
	"string_indexed_fields": ["*req.Account"],
},


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


}
