$Revision: 1.1 $
$Date: 2006/12/11 18:52:26 $

# Parameters

## `db_url` (string)

The URL for accessing the database where the LCR tables reside

Default value is NULL.

### Set `db_url` parameter

    		...
    		modparam("lcr", "db_url", "mysql://ser:pwd@localhost/ser")
    		...

## `gw_table` (string)

The name of the table containing the list of gateways

Default value is gw.

### Set `gw_table` parameter

    		...
    		modparam("lcr", "gw_table", "mygateways")
    		...

## `gw_name_column` (string)

The name of the column that contains the actual name of the gateway

Default value is gw_name.

### Set `gw_name_column` parameter

    		...
    		modparam("lcr", "gw_name_column", "Agateway")
    		...

## `ip_addr_column` (string)

The name of the column that contains the IP address for a specific gateway

Default value is ip_addr.

### Set `ip_addr_column` parameter

    		...
    		modparam("lcr", "ip_addr_column", "gatewayIPs")
    		...

## `port_column` (string)

The name of the column that contains the port number through which this gateway communicates

Default value is port.

### Set `port_column` parameter

    		...
    		modparam("lcr", "port_column", "gatewayPort")
    		...

## `uri_scheme_column` (string)

The name of the column that contains the scheme to be used when rewriting the R-URI

Default value is uri_scheme.

### Set `uri_scheme_column` parameter

    		...
    		modparam("lcr", "uri_scheme", "myURIScheme")
    		...

## `transport_column` (string)

The name of the column that contains the transport to be used when contacting a gateway

Default value is transport.

### Set `transport_column` parameter

    		...
    		modparam("lcr", "transport", "mySIPXport")
    		...

## `grp_id_column` (string)

The name of the column that contains the gateway group ID number

Default value is grp_id.

### Set `grp_id_column` parameter

    		...
    		modparam("lcr", "grp_id_column", "GwyGroups")
    		...

## `lcr_table` (string)

The name of the column that contains the LCR table

Default value is lcr.

### Set `lcr_table` parameter

    		...
    		modparam("lcr", "lcr_table", "lcr")
    		...

## `prefix_column` (string)

The name of the column that contains the prefix to be prepended to the R-URI user part.

Default value is prefix.

### Set `prefix_column` parameter

    		...
    		modparam("lcr", "prefix_column", "prefix")
    		...

## `from_uri_column` (string)

The name of the column that contains the From URI which must match in order to select this gateway. Note that the values in this column may contain wildcard characters as mentioned earlier in this document.

Default value is from_uri.

### Set `from_uri_column` parameter

    		...
    		modparam("lcr", "from_uri_column", "FromURI")
    		...

## `priority_column` (string)

The name of the column that contains a number indicating the priority of this gateway

Default value is priority.

### Set `priority_column` parameter

    		...
    		modparam("lcr", "priority_column", "priority")
    		...