Chapter 5. Subscriber Management

In this chapter, you will learn how to use the database backends to authenticate the SIP requests and save data such as location and aliases tables. We will use MySQL as the reference database, but most examples can be easily adapted to any other supported database. This chapter is divided in two parts. In the first one, you will learn how to implement the authentication, and in the second one, you will learn how to deal with calls in each direction.

In this chapter, we will cover the following topics:

  • Configuring MySQL for the authentication
  • Using the opensipsctl utility for basic operations such as adding users
  • Changing the opensips.cfg script to connect to a database
  • Implementing the persistence for the location ...

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.