Data Warehousing and Metrics with Asterisk PBX
Posted by Admin • Sunday, February 1. 2009 • Category: AsteriskAn Asterisk installation I am doing for a client has the promise of two interesting developments in the near future:
- Writing a CDR/Voicemail status-tracking application that makes sure that all client voicemails are handled within one hour and keeps track of what was done
- A future custom metrics/data warehouse implementation that will use both the CDR and VoiceMail data
With that in mind (and the fact that I'm using Mysql master-master replication across offices) I looked into storing the voicemails in the database as well. This is fairly well-documented. I had this up and running in no time, and now for each voicemail I have a neat row in my MySQL table.
The problem is - how do I connect the row in CDR table to the matching voicemail row? There are no columns that have data to allow you to do match one to the other. Even timestamps, if you were so desperate, are not exactly the same! So this is how I did it.
Continue reading "Data Warehousing and Metrics with Asterisk PBX"