$Revision: 1.3 $
$Date: 2005/08/24 22:26:20 $

# Parameters

## `db_url` (string)

The URL of database where the table containing speed dial records.

Default value is DEFAULT_RODB_URL.

### Set `db_url` parameter

    ...
    modparam("speeddial", "db_url", "mysql://ser:xxx@localhost/ser")
    ...

## `user_column` (string)

The name of column storing the user name of the owner of the speed dial record.

Default value is "username".

### Set `user_column` parameter

    ...
    modparam("speeddial", "user_column", "userid")
    ...

## `domain_column` (string)

The name of column storing the domain of the owner of the speed dial record.

Default value is "domain".

### Set `domain_column` parameter

    ...
    modparam("speeddial", "domain_column", "userdomain")
    ...

## `sd_user_column` (string)

The name of the column storing the user part of the short dial address.

Default value is "sd_username".

### Set `sd_user_column` parameter

    ...
    modparam("speeddial", "sd_user_column", "short_user")
    ...

## `sd_domain_column` (string)

The name of the column storing the domain of the short dial address.

Default value is "sd_domain".

### Set `sd_domain_column` parameter

    ...
    modparam("speeddial", "sd_domain_column", "short_domain")
    ...

## `new_uri_column` (string)

The name of the column containing the URI that will be use to replace the short dial URI.

Default value is "new_uri".

### Set `new_uri_column` parameter

    ...
    modparam("speeddial", "new_uri_column", "real_uri")
    ...

## `domain_prefix` (string)

If the domain of the owner (From URI) starts with the value of this parameter, then it is stripped before performing the lookup of the short number.

Default value is NULL.

### Set `domain_prefix` parameter

    ...
    modparam("speeddial", "domain_prefix", "tel.")
    ...

## `use_domain` (int)

The parameter specifies wheter or not to use the domain when searching a speed dial record (0 - no domain, 1 - use domain from From URI, 2 - use both domains, from From URI and from request URI).

Default value is 0.

### Set `use_domain` parameter

    ...
    modparam("speeddial", "use_domain", 1)
    ...