Also, you can have a cron job collect these more frequently than once per day. There are folks out there we grab them several times per minute and process them so that it is almost real-time. Of course, using mod_xml_cdr requires more effort up front but it *IS* real-time and more scalable.

-MC

On Tue, Jan 12, 2010 at 3:39 AM, Sergey Okhapkin <sos@sokhapkin.dyndns.org> wrote:
Look at default config for mod_cdr_csv, sql template. It can produce a
sequence of SQL INSERT statements which can be later fed (after daily log
rotation) to mysql client program.

I see no reason to employ xml for this task, the language hard to read and
parse for both human and computer.