I would be interested, however there is already a perl script that does exactly that called h323detail2db.pl in src/billing/ It is specific to Cisco h323 VSA records and my pqsl-voip schema but it can be trivially changed to work with "standard" records. If you give me a look at your script, maybe we can combine our work.
http://www.onlinebilling.ru/freeradius/rad-details/radvoiplogs2db.pl
I think this is much pretty script - it's easy to configure to different scheme.
It's only have no any preparations for open Cisco-AVPair since my FR parse all needed attributes self, but it can be easily done...
What is the copyright on this code? I like the way you have done it, and would like to use some of it in h323detail2db.pl Regards -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc