# &adminguide;

## Overview

This module offers REDIS storage support for TOPOS module.

## Dependencies

### &kamailio; Modules

The following modules must be loaded before this module:

- ndb_redis module - for interaction with a REDIS server.

- topos module - to bind to as a storage engine.

### External Libraries or Applications

The following libraries or applications must be installed before running &kamailio; with this module loaded:

- hiredis - available at https://github.com/antirez/hiredis .

## Parameters

### `serverid` (str)

The name of the REDIS server to be used as provided to the 'name' attribute of 'server' parameter for NDB_REDIS module.

The 'storage' parameter for TOPOS module must be set to 'redis'.

Default value is NULL.

#### Set `serverid` parameter

    ...
    # ----- ndb_redis params -----
    modparam("ndb_redis", "server", "name=srv8;addr=127.0.0.1;port=6379;db=8")

    # ----- topos params -----
    modparam("topos", "storage", "redis")

    # ----- topos_redis params -----
    modparam("topos_redis", "serverid", "srv8")
    ...