How to fix a phone number

I want to create a Windows application in vb.net or C # .net that will capture the phone number of incoming calls. It will be a land line. What will be the hardware requirements? What .Net libraries will be used?

+4
source share
3 answers

You will need the latest modem that supports Caller ID and is supported by Windows. Windows provides an API for talking to a modem called Telephony Application Programming Interface, aka TAPI. Unfortunately, this API cannot be easily accessed from managed code .

Your best bet for gaining access to Caller ID in managed code would be to use one of the TAPI OCX controls that are on top of the TAPI APIs, most of which should have a simple API that will give you an incoming number. Google for something like "TAPI OCX" or "TAPI Caller ID" to find out what is available.

+1
source

If this is the landline phone you are talking about, all you need is a standard analog modem and a serial port for connecting it. You must use standard AT-style commands to control the modem and control incoming data.

For specific teams and events, check out the Wikipedia article on the Hayes AT command set

0
source

If you have a VOIP system, your system provider may have an available API for this. Based on my experience, it will cost too much and be uncomfortable.

0
source

All Articles