There is also mod_format_cdr which covers both json and XML formats. -- Nathan On 7/18/17 10:24 AM, jungle Boogie wrote:
On 17 July 2017 at 08:19, robert mundkowsky <rfmundkowsky@yahoo.com> wrote:
What are the best practice for writing Call Detail Records (CDRs) to a database?
Page 49 of Freeswitch Cookbook 1.6 reads in part: 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.
https://www.packtpub.com/networking-and-servers/freeswitch-16-cookbook
Following this section is mod_xml_cdr, which Steven mention in his email.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect