Output HTML From Asterisk's Call Data Record CSV Log
3rd Nov 2009, 16:45:31
One of the handy things about Asterisk is that it keeps a log of all calls placed and received by the household; no need to wait for the phone bill. The log itself is just a big old lump of CSV - not very convenient.
There are plenty of full-featured statistics packages for Asterisk out there. Most of these seem to be geared towards monitoring queue lengths, call volumes and other things that only call centres would care about. I just wanted something light which would give me a quick overview of my most recent calls.
I cobbled together a perl script to do the job. You just need an HTTP server with CGI. The script can be downloaded here: