Results 1 to 2 of 2

Thread: query a modem to detect a ring

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2002
    Posts
    3

    query a modem to detect a ring

    i am looking for a code which will enable me to control a modem and issue AT commands from the vb code so that i can answer to a voice call to the modem and in return send a welcome greeting, Please help me in solving this problem

  2. #2
    Hyperactive Member jovton's Avatar
    Join Date
    Nov 2000
    Location
    South Africa
    Posts
    266
    The easiest way is using VB with the MsComm control. To detect a ring, use the 'OnComm' event and access the 'CommEvent' property to see if it matches 'comEvRing'. If it does, you can pick up the phone, using... MSComm1.Output "ATA" & vbCr.
    jovton

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