I remember that I experienced some headache over a similar matter a while ago. I did however find an alternative named: CDR Yada. It writes directly to the database and support custom table cells, oh and it also has a fail over function (write to file) in case it loses connection to the database.
Is there any way to do it without getting into the source code? I was thinking that there would be a config file somewhere that allowed me to define the MySQL query.
Even better, I was hoping that Asterisk would magically be able to construct the MySQL query from the cdr_custom.conf file.
Precisely what I was seeking to do. I too thought modifying cdr_custom.conf (and making the necessary changes to the database table) would get me a custom MySQL CDR database. Sigh. Anyone knows better of MySQL CDR?
Thanks afudali for pointing out cdr_yada. Will have to try that out.
Haven’t tried out cdr_adaptive_odbc yet, seems to be one of the preferred choices.