March 17, 2018, 08:28:26 PM

News : Linux Help Community Forum..

Author Topic: Redirect sound output to modem  (Read 2448 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...