I've adapted a script for FreeSWITCH to maintain a blacklist based on FCC consumer complaint data. You can read more about it here.