Analyzing blocked telemarketer calls from asterisk with MySQL