-
Hi Guys,
I have planned to develop a new application which alerts me when I receive a phone call when i am connected to the internet using the dial up modem? Which technology I should use in VB. Do I have to use the TAPI or the MAPI calls to trap the calls???
Any suggestions or ideas would be really appreciated.
------------------
Regards,
Venkat
[email protected]
ICQ: 45714766
http://venkat.iscool.net
-
I have already developed something familiar.
You can download some TAPI samples (don't ask me where !) with useful information on TAPI, but you can also use the MSComm Control and interact with your modem directly via the Com-port it is attached on
-
Hi Gekiere,
Thanx for ur response. I am quite familiar with the Win32 API's, still not much with the TAPI. Could u pls suggest or mail me some examples of using such API's.
-
Why don't you try it with the MSComm Control?
Here's an example:
first set some properties for the MSComm Object (such as the comm-port)
then use this code:
MSComm1.PortOpen = True
Do While DoEvents
If InStr(MSComm1.Input, "ATR") Then
'the phone is ringing
End If
Loop
ATR is the Hayes-Code for Ring
then you can answer the call with
MSComm1.Output = "ATA" 'Hayes-Code for Answer
-
-
Hi Man,
Thanx and that was useful informations...let me begin with what u said, by using the ms comm control.
------------------
Regards,
Venkat
[email protected]
ICQ: 45714766
http://venkat.iscool.net
-