Freebsd to dail phone number and play a audio file. Is this possible?
I read this from: http://www.freebsd.org/doc/en/books/handbook/dialout.html
-----------------------------------------------------------
How Can I Dial a Phone Number on the Command Line?
Put what is called a “generic†entry in your /etc/remote file.
For example:
tip115200|Dial any phone number at 115200 bps:
:dv=/dev/cuad0:br#115200:at=hayes
a=none:du:
tip57600|Dial any phone number at 57600 bps:
:dv=/dev/cuad0:br#57600:at=hayes
a=none:du:
------------------------------------------------------------
I guess that explains it pretty clearly how to dial a phone number but how would I play a audio file?
I'm trying to create a simple alert system that calls me when I server goes down and plays a file (or says something somehow)
Any advice would be much appreciated.
I read this from: http://www.freebsd.org/doc/en/books/handbook/dialout.html
-----------------------------------------------------------
How Can I Dial a Phone Number on the Command Line?
Put what is called a “generic†entry in your /etc/remote file.
For example:
tip115200|Dial any phone number at 115200 bps:
:dv=/dev/cuad0:br#115200:at=hayes

tip57600|Dial any phone number at 57600 bps:
:dv=/dev/cuad0:br#57600:at=hayes

------------------------------------------------------------
I guess that explains it pretty clearly how to dial a phone number but how would I play a audio file?
I'm trying to create a simple alert system that calls me when I server goes down and plays a file (or says something somehow)
Any advice would be much appreciated.
