Copyright © 2003 FhG FOKUS
Copyright © 2005 voice-system.ro
Revision History | |
---|---|
Revision $Revision: 4473 $ | $Date: 2008-07-11 23:16:22 +0200 (Fri, 11 Jul 2008) $ |
Table of Contents
List of Examples
The following modules must be loaded before this module:
a OpenSIPS database module .
URL of the database to be used.
If the db_url string is empty, the default database URL will be used.
Default value is “mysql://opensipsro:opensipsro@localhost/opensips”.
Example 1.1. Set db_url
parameter
... modparam("uri_db", "db_url", "mysql://username:password@localhost/opensips") ...
The DB table that should be used. Its possible to use the
“subscriber” and “uri” table. If the
“uri” table should be used, an additional parameter
(Section 1.3.6, “use_uri_table
(integer)”) must be set.
Default value is “subscriber”.
Column holding usernames in the table.
Default value is “username”.
Column holding domain in the table.
Default value is “domain”.
Column holding URI username in the table.
Default value is “uri_user”.
Specify if the “uri” table should be used for checkings instead of “subscriber” table. A non-zero value means true.
Default value is “0 (false)”.
Specify if the domain part of the URI should be used to identify the users (along with username). This is useful in multi domain setups, a non-zero value means true.
This parameter is only evaluated for calls to “does_uri_exist”, all other functions checks the digest username and realm against the given username, if the “uri” table is used.
Default value is “0 (false)”.
Check To username against URI table (if use_uri_table is set) or digest credentials (no DB backend required).
This function can be used from REQUEST_ROUTE.
Check From username against URI table (if use_uri_table is set) or digest credentials (no DB backend required).
This function can be used from REQUEST_ROUTE.