Introduction
Call detail records (CDRs) are an important part of the accounting process on any phone system. They are also an invaluable resource for troubleshooting. FreeSWITCH provides several different methods for generating CDRs. The most common method is to create plain-text, comma-separated value (CSV) files. Each line in the CSV file represents one phone call (or, more accurately, one call leg). There are other options for processing CDRs, most notably using mod_xml_cdr
to store more detailed information about calls as well as using the event socket to process CDR information.