Results 1 to 7 of 7

Thread: A Useful Question on Phone Call Alert

  1. #1

    Thread Starter
    Hyperactive Member venkatraman_r's Avatar
    Join Date
    Jul 1999
    Location
    Chennai, INDIA
    Posts
    284

    Post

    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


  2. #2
    Member
    Join Date
    Apr 1999
    Posts
    38

    Post

    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

  3. #3

    Thread Starter
    Hyperactive Member venkatraman_r's Avatar
    Join Date
    Jul 1999
    Location
    Chennai, INDIA
    Posts
    284

    Post

    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.

  4. #4
    Member
    Join Date
    Apr 1999
    Posts
    38

    Post

    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


  5. #5

  6. #6

    Thread Starter
    Hyperactive Member venkatraman_r's Avatar
    Join Date
    Jul 1999
    Location
    Chennai, INDIA
    Posts
    284

    Post

    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


  7. #7
    Frenzied Member
    Join Date
    Aug 2000
    Location
    Birmingham, AL
    Posts
    1,276

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width