and how to detect that the call has been answered ?
------------------
- regards -
- razzaj -
Printable View
and how to detect that the call has been answered ?
------------------
- regards -
- razzaj -
Im not sure if its even possible. There is probably some API call to do it but id imagine youd have to listen on the line for a ring tone unless whne the phone rings it sends some kind of signal to the computer...then all yoiud have to do is trap it and pick up using the AT commands. Try contacting you modem manufacturer.
Good Luck!
Glenn Harwood
If you are prepaired to use 3rd party controls. Go and have a look at Crescent.
They have two sets there. One set contains controls, dll etc that will allow you to do just what you are looking for and will ease the sending of files etc.
The other one is for internet development which includes tcp coms etc.
I will see if i can get you an answer just using VB and nothing else.
------------------
-----------------------
Maartin
[email protected]
-----------------------
You can take a look at saxcomm, though the pricing is a bit high.
Hi,
To detect that the phone is ringing, I used the following code:
If MSComm1.InBufferCount Then
fromModem = fromModem + MSComm1.Input
txtresponse.Text = fromModem
' Check for "RING".
If InStr(fromModem, "RING") Then
' Notify the user to pick up the phone.
Beep
MsgBox "Phone Ringing" & Chr(13) & "Press ok to pick up", vbOKOnly, "Modem Dialler"
' add code to do whatever you want it to do here
End If
End If
Hope it helps a bit!