Book Image

Building Telephony Systems with OpenSER

Book Image

Building Telephony Systems with OpenSER

Overview of this book

Table of Contents (18 chapters)
Building Telephony Systems with OpenSER
Credits
About the Author
About the Reviewers
Preface
6
Building the User Portal with SerMyAdmin
Index

Chapter 10. OpenSER Accounting and Billing

In the last chapter we learned how to implement NAT traversal; now it is time to focus on the most important thing for a VoIP provider, the revenue. The accounting feature will allow you to determine the exact duration of each call. We will show you two methods. The first one is using MySQL and later using a RADIUS server. RADIUS is a de facto standard for AAA (Authentication, Authorization, and Accounting). Duration in minutes is not enough to bill the customers. You will also need a rating tool. This tool is able to convert minutes to whatever currency you will use to bill your customer.