Asterisk call log report

Hi,
I am totally new to asterisk and have to enable a report generation for logging calls for the specific extension number . Please let me know if there is a way I can automate the process of generating the weekly report for specific extension and converting it in pdf format.
Thanking you.

if you know any scripting (Perl, sh, etc…) you can parse the asterisk logfile (/var/log/asterisk here) and convert the output to PDF easily.

areski.net/areski/index.php?opti … &Itemid=54

why reinvent the wheel ?? you might need to automate the auto-pdf-generation though.