Nik,

There are a bunch of ways to do this ... mod_xml_cdr posts to a url then you can parse and dump ... or you can use mod_cdr_csv which allows you to dictate exactly what you want to collect and then parse the file and dump into mysql.

There are also a couple of examples here --> http://wiki.freeswitch.org/wiki/Mod_cdr for hacking up the cdr_csv.conf and making it do what you want.

SDR