• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 727
  • Last Modified:

How can I using Modems detect incoming phone number ?

Hi,

  How can I using Modems detect incoming phone number, I using the PCI normal modem like "Aztech".
  Please teach me how to write a program to detect the incoming phone number and using Visual Basic.

Thank you.
0
dragontiger
Asked:
dragontiger
1 Solution
 
drelectroCommented:
If your modem suypports CLI (Calling Line Identification) simply turn this feature on using the appropriate AT command for your modem (usually at+CLIP but see your manual).

Your modem will then send a string out the serial port whenever it receives CLI data, your VB app just needs to read the serial port for these messages.

Of course if your modem does not support CLI you'll need to get one that does :)
0
 
dragontigerAuthor Commented:
Hi,

   It mean I need using VB mscomm to write at+CLIP and then the phone number will be come up, right ?

  Thank you.

Best regards,
Chong
0
 
HippyWarlockCommented:
See this FAQ:
http://bbb.darktech.org/~phriik/text/CID/cli_faq.html

Search it for the following text regards your Modem:
"I have seen a review that suggested that Aztech 56K modems support 'CLI', but this was refuted by their head office"

The FAQ may still be usefull to you if you have another modem.

Please give precise details of your modem as this FAQ is old, but we do not know the age of your modem - things may have changed since.

HTH - Peace

HippyWarlock

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

WEBINAR: 10 Easy Ways to Lose a Password

Join us on June 27th at 8 am PDT to learn about the methods that hackers use to lift real, working credentials from even the most security-savvy employees. We'll cover the importance of multi-factor authentication and how these solutions can better protect your business!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now