Frequently, it is necessary to put CDR information into a database such as PostgreSQL or other SQL and NoSQL databases. FreeSWITCH has various modules for writing CDRs directly to many databases, but the preferred architecture is writing CDRs to the disk or posting them to a web server, and then processing them so that they can be inserted into a database. Many engineering reasons lead to this architecture (for example, avoiding dependence on direct, real-time interaction with the database), and most of them relate it to integrity and resilience. This recipe discusses the recommended method of writing SQL-based CSV files and then using those to update a backend database.

FreeSWITCH 1.6 Cookbook
By :

FreeSWITCH 1.6 Cookbook
By:
Overview of this book
Table of Contents (14 chapters)
FreeSWITCH 1.6 Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Routing Calls
Connecting Telephones and Service Providers
Processing Call Detail Records
External Control
PBX Functionality
WebRTC and Mod_Verto
Dialplan Scripting with Lua
Index
Customer Reviews