This is old post. Just adding response in case it helps others looking for similar answer. I did a similar solution little while ago.
It included a bash/expect script to telnet to 500+ devices and call out from 2 FXO ports on each device. I used CSIM START to call out from devices. Scrip was automated using cron jobs to run twice a week and it calls out to same number from all devices. When all devices are done, script compares calling numbers to baseline data of calling numbers and prints out lines that didn't call out. That gives you bad lines to work on. Simple solution -saves a lot of time and money