# Parameters

## `default_code` (int)

Default reply status code.

Default value is 500.

### default_code example

    ...
    modparam("sl", "default_code", 505)
    ...

## `default_reason` (str)

Default reply reason phrase.

Default value is 'Internal Server Error'.

### default_reason example

    ...
    modparam("sl", "default_reason", "Server Error")
    ...

## `bind_tm` (int)

Controls if SL module should attempt to bind to TM module in order to send stateful reply when the transaction is created.

Default value is 1 (enabled).

### bind_tm example

    ...
    modparam("sl", "bind_tm", 0)  # feature disabled
    ...

## `rich_redirect` (int)

When sending a 3xx class reply, include additional branch info to the contacts such as path vector and branch flags.

- 0 - no extra info is added (default)

- 1 - include branch flags as contact header parameter

- 2 - include path as contact uri Route header

Values may be combined (added).

### rich_redirect example

    ...
    modparam("sl", "rich_redirect", 3)
    ...

## `event_callback_fl_ack` (str)

The name of the KEMI callback function to be executed instead of event_route[sl:filtered-ack]. This function receives a string parameter.

Default value: not set.

### event_callback_fl_ack example

    ...
    modparam("sl", "event_callback_fl_ack", "ksr_event_sl_filtered_ack")
    ...

## `event_callback_lres_sent` (str)

The name of the KEMI callback function to be executed instead of event_route[sl:local-response]. This function receives a string parameter.

Default value: not set.

### event_callback_lres_sent example

    ...
    modparam("sl", "event_callback_lres_sent", "ksr_event_sl_local_response")
    ...