The AUTH_DB module

The database authentication is performed by the AUTH_DB module. Other types of authentication such as RADIUS can be performed using AUTH_AAA. The AUTH_DB module works with database modules such as MySQL and Postgres. In the following table, we have some of the most important parameters:

Parameter

Default

Description

db_url

mysql://opensipsro:opensipsro@localhost/opensips

This is the URL of the database

user_column

username

This is the name of the column holding the names of users

domain_column

domain

This is the name of the column holding the domains of users

password column

ha1

This is the name of the column holding the passwords

password_column2

ha1b

This is the name of the column holding ...

Get Building Telephony Systems with OpenSIPS - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.