Asterisk call log report

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. … &Itemid=54

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