Solved

TAPI telephony & Caller ID

Posted on 1997-08-18
1
488 Views
Last Modified: 2010-04-06
Hey all...I'm writing a telephony component using TAPI. Currently I have implemented dialling using a name and phone number.

However I need to implement a OnIncomingCall event which can extract an incoming call's number which can then be used in an event handler...kind of like a simple Caller ID feature. Does anyone have any idea how to monitor a TAPI line and extract incoming call information...such as an originating phone number?

The component (TPhone) will be freeware, so whoever helps me out will get a joint author credit.
0
Comment
Question by:imranali
1 Comment
 

Accepted Solution

by:
ewalker earned 100 total points
ID: 1341791
Imranali, First you have to open a TAPI Line, for monitoring or owning. (Be carefull with this, you can only open for monitoring if another application has ownership of the call, if you open for ownership then you have to handle the call yourself). You will then received messages when you received a call.  Then using the line handle from openinig the line, you can ask TAPI for information about the call.  Which is where you will find the callerID information.  The call that you are interested in is lineGetCallInfo.  If you want to know more info about this kinda of stuff, you might look at the book MAPI, SAPI & TAPI by Michael Amundsen by SAMS.  It has some good info.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question