$Revision: 1.4 $
$Date: 2005/12/15 23:19:40 $

# Parameters

## `avp_url` (string)

DB URL for database connection.

This parameter is optional, it's default value being NULL.

### Set `avp_url` parameter

    ...
    modparam("avpops","avp_url","mysql://user:passwd@host/database")
    ...

## `avp_table` (string)

DB table to be used.

This parameter is optional, it's default value being NULL.

### Set `avp_table` parameter

    ...
    modparam("avpops","avp_table","avptable")
    ...

## `avp_aliases` (string)

Contains a multiple definition of aliases for AVP names.

This parameter is optional.

### Set `avp_aliases` parameter

    ...
    modparam("avpops","avp_aliases","uid=I:660;email=s:email_addr;fwd=i:753")
    ...

## `use_domain` (integer)

If the domain part of the an URI should be used for identifying an AVP in DB operations.

Default value is 0 (no).

### Set `use_domain` parameter

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

## `uid_column` (string)

Name of column containing the uid (unique user id).

Default value is "uid".

### Set `uid_column` parameter

    ...
    modparam("avpops","uid_column","uid")
    ...

## `username_column` (string)

Name of column containing the username.

Default value is "username".

### Set `username_column` parameter

    ...
    modparam("avpops","username_column","username")
    ...

## `domain_column` (string)

Name of column containing the domain name.

Default value is "domain".

### Set `domain_column` parameter

    ...
    modparam("avpops","domain_column","domain")
    ...

## `attribute_column` (string)

Name of column containing the attribute name (AVP name).

Default value is "attribute".

### Set `attribute_column` parameter

    ...
    modparam("avpops","attribute_column","attribute")
    ...

## `value_column` (string)

Name of column containing the AVP value.

Default value is "value".

### Set `value_column` parameter

    ...
    modparam("avpops","value_column","value")
    ...

## `type_column` (string)

Name of column containing the AVP type.

Default value is "type".

### Set `type_column` parameter

    ...
    modparam("avpops","type_column","type")
    ...

## `db_scheme` (string)

Definition of a DB schemeto be used for non-standard access to Database information.

Default value is "NULL".

### Set `db_scheme` parameter

    ...
    modparam("avpops","db_scheme", "scheme1:table=subscriber;uid_column=uid;value_column=first_name")
    ...