Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

TAPI telephony & Caller ID

Posted on 1997-08-18
1
Medium Priority
?
493 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 200 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

664 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