I am desinging a rule that will be run a command on a linux box by a UPS when the power fails. I would like to have the application dial a (arbitrary) phone number, then play a (again, arbitrary) sound file out through the modem that will explain to the recipient that a power failure has occured, so come and fix it. My question is this: is there a command-line application (open-source or proprietary) that will (or can) dial a phone number, output a sound file, then hang up?
The closest thing I can find is wxDialer (Search freshmeat for more info), but that is still very much in beta. Also (to my knowledge) it requires user interaction. Any help you can give will be appreciated.