One feature of FreeSWITCH's
mod_xml_cdr is that it can use
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.
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 a web server are beyond the scope of this book, however such instructions are available in numerous books and on the Internet. This recipe will assume a clean install of the Apache web server, but the principles apply to other servers such as...