Copyright © 2003 FhG FOKUS
Copyright © 2005 voice-system.ro
db_url
(string)uri_table
(string)uri_user_column
(string)uri_domain_column
(string)uri_uriuser_column
(string)subscriber_table
(string)subscriber_user_column
(string)subscriber_domain_column
(string)use_uri_table
(integer)use_domain
(integer)check_to()
check_from()
does_uri_exist()
db_url
parameteruri_table
parameteruri_user_column
parameteruri_domain_column
parameteruri_uriuser_column
parametersubscriber_table
parametersubscriber_user_column
parametersubscriber_domain_column
parameteruse_uri_table
parameteruse_domain
parametercheck_to
usagecheck_from
usagedoes_uri_exist
usageVarious checks related to SIP URI.
The following modules must be loaded before this module:
a OpenSER database module .
The following libraries or applications must be installed before running OpenSER with this module loaded:
None.
db_url
(string)URL of the database to be used.
If the db_url string is empty, the default database URL will be used.
Default value is "DEFAULT_RODB_URL".
uri_table
(string)Table containing list of allowed URIs for each user.
Default value is "uri".
uri_user_column
(string)Column holding usernames in the URI table.
Default value is "username".
uri_domain_column
(string)Column holding domain in the URI table.
Default value is "domain".
uri_uriuser_column
(string)Column holding URI username in the URI table.
Default value is "uri_user".
subscriber_user_column
(string)Column holding username in subscriber table.
Default value is "username".
subscriber_domain_column
(string)Column holding domains in the subscriber table.
Default value is "domain".
use_uri_table
(integer)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)".
use_domain
(integer)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()
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()
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.
does_uri_exist()
Check if username in the request URI belongs to an existing user.
As the checking is done against URI table (if use_uri_table is set) or subscriber table.
This function can be used from REQUEST_ROUTE.
Take a look at http://www.openser-project.org/.
First at all check if your question was already answered on one of our mailing lists:
User Mailing List - http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
Developer Mailing List - http://lists.openser-project.org/cgi-bin/mailman/listinfo/devel
E-mails regarding any stable OpenSER release should be sent to
<users@lists.openser-project.org>
and e-mails regarding development versions
should be sent to <devel@lists.openser-project.org>
.
If you want to keep the mail private, send it to
<team@lists.openser-project.org>
.
Please follow the guidelines provided at: http://sourceforge.net/tracker/?group_id=139143.