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.<br>
<br>-MC<br><br><div class="gmail_quote">On Tue, Jan 12, 2010 at 3:39 AM, Sergey Okhapkin <span dir="ltr">&lt;<a href="mailto:sos@sokhapkin.dyndns.org">sos@sokhapkin.dyndns.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Look at default config for mod_cdr_csv, sql template. It can produce a<br>
sequence of SQL INSERT statements which can be later fed (after daily log<br>
rotation) to mysql client program.<br>
<br>
I see no reason to employ xml for this task, the language hard to read and<br>
parse for both human and computer.<br></blockquote><br></div><br>