January 2016
Intermediate to advanced
384 pages
8h 6m
English
In this chapter, you learned how to implement one of the most sensitive components of a VoIP provider: the accounting. The first step is to choose a backend. Databases are the primary choice, but if you want to have redundancy and encryption, RADIUS can be an option. Remember that it can be tricky to add all the extra attributes to RADIUS. In the end, the records will finish in a database. Make sure that you use at least one method to handle missing BYEs. For residential implementations, an in-dialog ping makes sense. For wholesale, the SIP session timers and a media timeout are more appropriate. You can use OpenSIPS-CP to view CDRs, but in this case, only MySQL and PostgreSQL are supported.
Read now
Unlock full access