Script to dial a number?
Hello,
I'm trying to find a script that will simply dial a phone number, and check to see if there is a modem answer. I don't need to establish PPP or anything.
Any idea how I would best interface with my modem to script this?
Here's my /etc/wvdial.conf
; Phone = <Target Phone Number>
; Username = <Your Login Name>
; Password = <Your Password>
[Dialer Defaults]
Modem = /dev/ttyS0
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Someone suggested a dialer script that uses "chat", but I can't seem to get it to communicate with my modem. It just hangs on the +++ATZ. Never get an OK.
I have tried the qpage package just to test my modem, and it works fine. I can dial and get connected to an SMS provideder.
Thanks,
Shane
|