{ // CGRateS Configuration file // // Used for SessionSv1 integration tests "logger": { "level": 7 }, "listen": { "rpc_json": ":2012", "rpc_gob": ":2013", "http": ":2080", }, "db": { "db_conns": { "*default": { "db_type": "redis", "db_port": 6379, "db_name": "10", }, "StorDB": { // The id of the DB connection "db_type": "postgres", // db type: "db_host": "127.0.0.1", "db_port": 5432, // db port to reach the database "db_name": "cgrates", // the host to connect to "db_user": "cgrates", "db_password": "CGRateS.org" // password to use when connecting to the database }, }, "items": { "*cdrs": {"limit": -1, "ttl": "", "static_ttl": false, "remote":false, "replicate":false, "dbConn": "StorDB"} } }, "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"], }, "admins": { "enabled": true, }, }