Call Statistics

I configure * as a auto-fallback dialer, which will first try SIP,
if congested or chaunavail, fallback to 2nd stage discounted call dialling(DCS),
and if failed again, finally send directly it to the carrier.

Now, I would like to collect call statistic, i.e., for a total number of
call coming in, what percentage dial out succesffully in SIP, what
percentage in DCS and so forth.

What is the easiest way to do this? Do I use DeadAGI to acheive this?
I was hoping something simpler…
Any pointer given is greatly appreciated.