Solved

TAPI telephony & Caller ID

Posted on 1997-08-18
1
482 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
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

762 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now