auth_db is a module that has to be used together with auth module to provide authentication of SIP registration and calls. You need to use it if you store user profiles in databases, like MySQL, PostgreSQL, …. In addition of auth module, you need to load a database driver. Available database drivers in OpenSER 1.2.0:
- mysql
- postgres
- dbtext
- unixodbc
It exports functions to send authentication challenges: www_authorize() for registrations and proxy_authorize() for calls. Along with authentication, the module can load a set of values from subscriber table and store them in AVPs.