{
    // CGRateS Configuration file
    //
    // Used for SessionSv1 integration tests
    
    
    "logger": {
        "level": 7
    },
    
    
    "listen": {
        "rpc_json": ":2012",
        "rpc_gob": ":2013",
        "http": ":2080",
    },
    
    "rates": {
        "enabled": true,
    },
    
    
    "chargers": {
        "enabled": true,
        "attributes_conns": ["*internal"],
    },
    
    
    "resources": {
        "enabled": true,
    },
    
    
    "attributes": {
        "enabled": true,
    },
    
    
    "cdrs": {
        "enabled": true,
        "chargers_conns": ["*localhost"],
        "rates_conns": ["*internal"],
    },
    
    
    "sessions": {
        "enabled": true,
        "chargers_conns": ["*localhost"],
        "rates_conns": ["*internal"],
        "cdrs_conns": ["*internal"],
        "resources_conns": ["*internal"],
        "attributes_conns": ["*internal"],
    },
    
    
    "ers": {
        "enabled": true,
        "sessions_conns": ["*internal"],
        "readers": [
            {
                "id": "file_reader1",
                "run_delay":  "-1",
                "type": "*fileCSV",
                "flags": ["*dryRun"],
                "source_path": "/tmp/ers/in",
                "processed_path": "/tmp/ers/out",
                "content_fields":[									// import content_fields template, tag will match internally CDR field, in case of .csv value will be represented by index of the field value
                    {"tag": "ToR", "path": "ToR", "type": "*variable", "value": "~*req.2", "mandatory": true},
                    {"tag": "OriginID", "path": "OriginID", "type": "*variable", "value": "~*req.3", "mandatory": true},
                    {"tag": "RequestType", "path": "RequestType", "type": "*variable", "value": "~*req.4", "mandatory": true},
                    {"tag": "Tenant", "path": "Tenant", "type": "*variable", "value": "~*req.6", "mandatory": true},
                    {"tag": "Category", "path": "Category", "type": "*variable", "value": "~*req.7", "mandatory": true},
                    {"tag": "Account", "path": "Account", "type": "*variable", "value": "~*req.8", "mandatory": true},
                    {"tag": "Subject", "path": "Subject", "type": "*variable", "value": "~*req.9", "mandatory": true},
                    {"tag": "Destination", "path": "Destination", "type": "*variable", "value": "~*req.10", "mandatory": true},
                    {"tag": "SetupTime", "path": "SetupTime", "type": "*variable", "value": "~*req.11", "mandatory": true},
                    {"tag": "AnswerTime", "path": "AnswerTime", "type": "*variable", "value": "~*req.12", "mandatory": true},
                    {"tag": "Usage", "path": "Usage", "type": "*variable", "value": "~*req.13", "mandatory": true},
                ],
            },
        ],
    },
    
    
    "admins": {
        "enabled": true,
    },
    }
    