If you've got PHP installed, here's one I made for our office:

http://horanappraisals.com/asterisk/total_account_codes/

Run it with no parameters to check Master.csv in the current directory, or pass the filename to parse as the first parameter.

# ./total_account_codes /var/log/asterisk/cdr-csv/Master.csv
"test" total is 310 seconds or 5.17 minutes or 0.09 hours
"" total is 33130 seconds or 552.17 minutes or 9.2 hours

#

The second line totals all lines with no account code specified.

hth moj

Jeremy wrote:
Im not looking for anything super detailed, just something to run through
the master.csv file and give total time per account code. . . .does anyone
out there have a script like this I could work from?

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


--
Mojo <[EMAIL PROTECTED]>
Office Manger, Horan & Company, LLC
(907) 747-6666 x112
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to