You can check asterisk CDR (call detail records).
You should have a csv file in /var/log/asterisk/cdr-csv/Master.csv
You can also configure it to write the CDR in a database
http://www.voip-info.org/wiki-Asterisk+cdr+mysql
Then you can just write a script that will look at your database and
send
Hi All,
i have asterisk with 9 SIP accounts on it.
i was wondering if theres a way to setup asterisk, to send the amount of
minutes each SIP account have spent incoming as well as outgoing and if
possible the number it called!
any advice?!
any help would truly be appreciated..!
thanks in a