O'Reilly logo

FreeSWITCH 1.6 Cookbook by Giovanni Maruzzelli, Michael S Collins, Anthony Minessale II

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

Chapter 3. Processing Call Detail Records

In this chapter, we will cover these recipes:

  • Using CSV CDRs
  • Using XML CDRs
  • Inserting CDRs into a backend database
  • Using a web server to handle XML CDRs
  • Using the event socket to handle CDRs
  • Directly inputting CDRs into various databases in real time

Introduction

Call detail records (CDR) are an important part of the accounting process of any phone system. They are also an invaluable resource for troubleshooting. FreeSWITCH provides several different methods for the generation of CDRs. The most common method is to create plain-text comma-separated values (CSV) files. Each line in a CSV file represents one phone call or, more accurately, one call leg. (A call is often made by two "legs": one leg, called leg A

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