Solved

TAPI telephony & Caller ID

Posted on 1997-08-18
1
490 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

752 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