Capture input through a modem
Posted on 2007-03-22
Is it possible to capture input (ex. someone hits the number '2' on their phone pad to answer 'no' to a question) through a modem? Currently I'm using the following to make the phone calls...
TelePhone = CREATEOBJECT('Form')
TelePhone.Dial.CommPort = CommPortUsed && Use Serial Port.
TelePhone.Dial.Settings = "14400,N,8,1" && 14.4 Kbaud, No Parity, 8 data Bits, 1 Stop Bit
TelePhone.Dial.PortOpen = .T.
TelePhone.Dial.OUTPUT = M.tele + CHR(13) && Dial the number