O'Reilly logo

FreeSWITCH Cookbook by Raymond Chandler, Darren Schreiber, Michael S Collins, Anthony Minessale

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

Using a web server to handle XML CDRs

One feature of FreeSWITCH's mod_xml_cdr is that it can use HTTP POST actions to send CDR data to a web server which in turn can process those, perhaps putting them into a database. This mechanism has several advantages:

  • Modern web servers can handle enormous amounts of traffic
  • Multiple FreeSWITCH servers can post to a single CDR Server
  • Multiple web servers can be set up to allow failover and redundancy

The recipe presented here will focus on the steps needed to get a web server set up to process incoming POST requests with XML CDR data.

Getting ready

You will need an operational web server that you control. Most Linux/Unix and Windows systems can have an Apache web server installed. Detailed instructions on configuring ...

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