In Asterisk 1.8 and above are recommended as the backend for the CDR, use the ODBC driver. This driver is a layer between the Asterisk and the database. This allows connection between Asterisk and unify the various databases, I easily. Consider the record CDR log files using ODBC. Install the required packages