Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Hardware Troubleshooting in Linux => Linux Audio Support => Topic started by: cmarks03 on June 23, 2005, 03:29:14 PM

Title: Redirect sound output to modem
Post by: cmarks03 on June 23, 2005, 03:29:14 PM
Here's what i need to do:

I need to make a script that will call our network admin when our server goes down and play some sort of message with what happened (system crash, kernel panic, etc).  Can I just do a simple redirect like this:

Code: [Select]
echo "ATDT9,4195551212" > /dev/ttya
/command/line/audio/player /modem_files/server_crash.wav > /dev/ttya


or is it not that simple?  If not, I want to avoid C coding as much as possible...