November 23, 2024, 02:58:19 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Redirect sound output to modem  (Read 6966 times)

Offline cmarks03

  • New Member
  • Posts: 1
Redirect sound output to modem
« 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...