Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Freeswitch 1.6 Cookbook
  • Toc
  • feedback
Freeswitch 1.6 Cookbook

Freeswitch 1.6 Cookbook

By : Anthony Minessale II, Giovanni Maruzzelli
5 (3)
close
Freeswitch 1.6 Cookbook

Freeswitch 1.6 Cookbook

5 (3)
By: Anthony Minessale II, Giovanni Maruzzelli

Overview of this book

FreeSWITCH 1.6 Cookbook is written for anyone who wants to learn more about using FreeSWITCH in production. The information is presented in such a way that you can get up and running quickly. The cookbook approach eschews much of the foundational concepts, and instead focuses on discrete examples that illustrate specific features. If you need to implement a particular feature as quickly as possible, then this book is for you.
Table of Contents (9 chapters)
close
8
Index

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 them, and perhaps put 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

It will automatically retry in the event of a failure, on the same web server or on another web server. Eventually, if all the retries on all the web servers fail, it will write to the disk so that the record can be processed later.

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 get an Apache web server installed. Detailed instructions on configuring a web...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete