← Volver al índice de módulos

uri_db

Various checks related to SIP URI.
🛠️ Utilidades y Varios Kamailio 6.1 14 parámetros 8 funciones

Descripción general

Various checks related to SIP URI.

Documentación oficial: https://www.kamailio.org/docs/modules/stable/modules/uri_db.html
Código fuente: https://github.com/kamailio/kamailio/tree/master/src/modules/uri_db

Parámetros de configuración

ParámetroTipoDescripción
db_url string 3.2. db_table (string) 3.3. user_column (string) 3.4. domain_column (string) 3.5. uriuser_column (string) 3.6. use_uri_table (integer) 3.7. use_domain (integer)
db_table string 3.3. user_column (string) 3.4. domain_column (string) 3.5. uriuser_column (string) 3.6. use_uri_table (integer) 3.7. use_domain (integer)
user_column string 3.4. domain_column (string) 3.5. uriuser_column (string) 3.6. use_uri_table (integer) 3.7. use_domain (integer)
domain_column string 3.5. uriuser_column (string) 3.6. use_uri_table (integer) 3.7. use_domain (integer)
uriuser_column string 3.6. use_uri_table (integer) 3.7. use_domain (integer)
use_uri_table integer 3.7. use_domain (integer)
use_domain integer 3.1. db_url (string)
db_url string URL of the database to be used.
db_table string The DB table that should be used. It is possible to use the “subscriber” and “uri” table. If the “uri” table should be used, an additional parameter “use_uri_table”) must be set.
user_column string Column holding usernames in the table.
domain_column string Column holding domain in the table.
uriuser_column string Column holding URI username in the table.
use_uri_table integer Specify if the “uri” table should be used for checking instead of “subscriber” table. A non-zero value means true.
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.

Funciones exportadas

check_to()

4.2. check_from() 4.3. check_uri(uri) 4.4. does_uri_exist()

check_from()

4.3. check_uri(uri) 4.4. does_uri_exist()

check_uri(uri)

4.4. does_uri_exist()

does_uri_exist()

4.1. check_to()

check_to()

Check “To” username against URI table (if use_uri_table is set) or digest credentials (no DB backend required).

check_from()

Check “From” username against URI table (if use_uri_table is set) or digest credentials (no DB backend required).

check_uri(uri)

Check the username from the given uri against URI table (if use_uri_table is set) or digest credentials (no DB backend required).

does_uri_exist()

Check if username in the request URI belongs to an existing user.

Autores y contribuidores

Jan JanakFhG FOKUSBogdan-Andrei Iancu

Copyright © 2003 FhG FOKUS
Copyright © 2005 Voice Sistem SRL

Módulos relacionados

auth_web3 auth_xkeys avp avpops benchmark blst call_control call_obj