# &adminguide;

## Overview

This module offers storage support for topos module using htable module.

## Dependencies

### &kamailio; Modules

The following modules must be loaded before this module:

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

- htable module - to bind to as a shm storage engine.

### External Libraries or Applications

No libraries or applications must be installed before running &kamailio; with this module loaded.

## Parameters

### `topos_htable_dialog` (string)

Definition of dialog htable, with all parameters.

Default value is topos_dialog=>size=4;autoexpire=7200;dmqreplicate=1.

#### Set `topos_htable_dialog` parameter

    ...
    modparam("topos_htable", "topos_htable_dialog", "my_dialogs=>size=4;autoexpire=7200;dmqreplicate=1")
    ...

### `topos_htable_transaction` (string)

Definition of transaction htable, with all parameters.

Default value is topos_transaction=>size=4;autoexpire=7200.

#### Set `topos_htable_transaction` parameter

    ...
    modparam("topos_htable", "topos_htable_transaction", "my_transactions=>size=4;autoexpire=7200")
    ...

### `topos_htable_base64` (int)

Enable or disable base64 encoding of htable values. Useful when individual values stored in htable contain delimiter value "|".

Default value is 0.

#### Set `topos_htable_base64` parameter

    ...
    modparam("topos_htable", "topos_htable_base64", 1)
    ...