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


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

"data_db": {								// database used to store runtime data (eg: accounts, cdr stats)
    "db_type": "redis",						// data_db type: <redis|mongo>
    "db_port": 6379, 						// data_db port to reach the database
    "db_name": "10", 						// data_db database name to connect to
},

"stor_db": {
    "db_password": "CGRateS.org",
},

"rpc_conns": {
    "group_id": {
        "conn1": [
            {
                "address":"127.0.0.1:2012",
                "transport":"*json",
                "connect_attempts":5,
                "reconnects": -1,
                "connect_timeout":"1s",
                "reply_timeout":"2s",
                "tls": false,
                "client_key":"",
                "client_certificate":"",
                "ca_certificate":""
            }
        ]
    }
},

"rals": {
    "enabled": true,
    "thresholds_conns": ["*internal"],
    "max_increments":3000000,
},


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


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


"attributes": {
    "enabled": true,
    "stats_conns": ["*localhost"],
    "resources_conns": ["*localhost"],
    "apiers_conns": ["*localhost"]
},


"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"],
    "rals_conns": ["*internal"],
},


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


"migrator":{
    "out_stordb_password": "CGRateS.org",
    "users_filters":["Account"],
},


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


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