O'Reilly logo

Building Telephony Systems with OpenSIPS - Second Edition by Bogdan-Andrei Iancu, Flavio E. Goncalves

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Selecting a backend

The proxy server uses the concept of Authentication, Authorization, and Accounting (AAA). Until now, we have seen how to use a database to only authenticate and authorize users. We can use many different backends such as databases, RADIUS servers, plain text, and log files. Each backend serves a different purpose. The following table compares the most popular choices:

Backend

Pros

Cons

Database

Simple.

Fast.

Corruption in a database can lead to billing problems and missing records.

RADIUS

Separation of the billing server.

Reusing the existing RADIUS infrastructure in the VoIP provider.

It is more complex. Dictionary additions and server configurations are sometimes tricky and time-consuming.

The data will end up in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required