LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Use modem to dial voicemail? (https://www.linuxquestions.org/questions/linux-general-1/use-modem-to-dial-voicemail-326642/)

FiveFlat 05-24-2005 12:29 PM

Use modem to dial voicemail?
 
I don't know if this should go into networking or software.

What I would like to try to do is have a cronjob setup to have my linux box dial my voicemail and key the numbers to tell it to forward all my calls at a specific time of day.
Could someone help me out with this?

Basically I want it to call 5551212
wait 3 seconds and key 1234
wait 3 second and key 1
wait 2 seconds and hangup.

uberNUT69 05-24-2005 10:27 PM

I haven't tried it, but I believe you could use minicom and runscript.
(runscript is part of the minicom package).
Have a look at the '-S script' option and 'man runscript'.

DavidPhillips 05-24-2005 11:48 PM

something like this...


/usr/sbin/pppd /dev/ttyS5 57600 debug connect "/usr/sbin/chat -v '' AT OK ATD5555555,,,,,9,,234,,3 ' ' "


All times are GMT -5. The time now is 01:58 AM.