How to Log CDR in ORACLE?

Hi,
I want asterisk( 1.8 ) log CDR in Oracle, how can i do it?
is there any guide or program(free or business)?

thanks in advanced