$Revision: 1.2 $
$Date: 2005/08/24 13:24:32 $

# Parameters

## `natping_interval` (integer)

Period of time in seconds between sending short UDP packets to all currently registered UAs to keep their NAT bindings alive. Value of 0 disables this functionality.

Default value is 0.

### Set `natping_interval` parameter

    ...
    modparam("nathelper", "natping_interval", 10)
    ...

## `ping_nated_only` (integer)

If this variable is set then only contacts that have "behind_NAT" flag in user location database set set will get ping.

Default value is 0.

### Set `ping_nated_only` parameter

    ...
    modparam("nathelper", "ping_nated_only", 1)
    ...

## `received_avp` (integer)

The number of the Attribute-Value-Pair (AVP) used to store the URI containing the received IP, port, and protocol. The URI is created by fix_nated_register function of nathelper module and the attribute is then used by the registrar to store the received parameters. Do not forget to change the value of corresponding parameter in registrar module if you change the value of this parameter.

Default value is 42.

### Set `received_avp` parameter

    ...
    modparam("nathelper", "received_avp", 43)
    ...