play sounds through modem
Posted on 2006-06-27
what the best/easiest way to play sounds through a modem.
Current we have a monitoring system that can run scripts when an event happens - like a failed ping. I want to make a script that does something like this
echo "atdt15554443333" >/dev/modem
#we might have to loop this a few times - since it will be hard to tell if the person has picked up
echo "System Down" | festival > /dev/modem
echo "+++ath0" >/dev/modem
Ideally I would like to use festival's text to speech capabiliy but I could deal with piping an mp3 as well.
Thanks for your help in advance