Click here to Skip to main content
15,867,835 members
Articles / Programming Languages / VBScript
Article

Creating your first TAPI application

Rate me:
Please Sign up or sign in to vote.
3.47/5 (37 votes)
4 Nov 20012 min read 602.6K   21.6K   63   114
This sample application shows you how you can use the TAPI 3.0 functions to create a TAPI application of your own.

Sample Image - tapi.jpg

Introduction

This sample application shows you how you can use the TAPI 3.0 functions to create a TAPI application of your own. Microsoft provides more than 100 functions as part of the TAPI library. TAPI 2.1 was more difficult to use as it was a set of API functions but TAPI 3.0 which comes as part of Windows 2000 has ActiveX controls that make the TAPI application creation much easier. The TAPI SDK that can be downloaded from the Microsoft site provide several samples which show the usage of TAPI functions in VB, JAVA and C++. Learning to use different TAPI functions require lot of time investment but once you create some applications using these TAPI functions, it becomes easier for you to use the TAPI functions more efficiently.

Requirements to run this sample code

This application uses the Windows Phone Dialer utility that comes with Windows and can be found under the Accessories group. That program will act as the call manager and will handle the dialing of the phone number that is passed to the tapiRequestMakeCall function.

Running the program will invoke the call manager, and the call manager then dials the number entered in the textbox.

Before running the sample code, make sure that the modem is installed in your machine. Also, to experiment with other TAPI functions, download the complete TAPI SDK (if its not already available on your computer) from the Microsoft site. Several third parties develop tools that make the creation of telephony applications much easier. If you are a serious TAPI developer then you must download the third party tools from the Internet or dwell into the TAPI SDK yourself to get a thorough understanding of the telephony functions.

You can download TAPI software free of cost from the Microsoft site.

TAPI2195.exe is the TAPI implementation for Windows 95, and TAPI21NT for Windows NT. Download and install the one that is appropriate for your computer.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Pakistan Pakistan
S.S. Ahmed is a senior software engineer and works for a web and software development firm. Ahmed is a Microsoft Office SharePoint Server MVP. Ahmed specializes in creating database driven dynamic web sites. He has been creating customized SharePoint solutions for the last five years. Ahmed has worked in Visual Basic, Visual C, Java, ASP, .NET, SharePoint, InfoPath, BizTalk, etc. Ahmed enjoys travelling and has been to many parts of the world. Ahmed distributes most of his work freely to many internet sites. Ahmed also participates in different newsgroups and tries to help people out with their problems. Ahmed can be reached at share.point@yahoo.com

PEACE

S.S. Ahmed
Web: www.walisystems.com
Blog:www.sharepointblogs.com/ssa

Comments and Discussions

 
GeneralRe: TAPI Vs MSComm Pin
pnaik0412-Mar-06 19:56
pnaik0412-Mar-06 19:56 
GeneralQuery About Tapi Pin
Asif12313-Nov-05 17:57
Asif12313-Nov-05 17:57 
Questionhow to make dialer in VC++ using Tapi Pin
hinairum29-Aug-05 4:34
hinairum29-Aug-05 4:34 
AnswerRe: how to make dialer in VC++ using Tapi Pin
ellolazo2-Dec-05 5:27
ellolazo2-Dec-05 5:27 
Questiontapi sdk??? Pin
maria_uet2-Aug-05 7:57
maria_uet2-Aug-05 7:57 
AnswerRe: tapi sdk??? Pin
ellolazo2-Dec-05 5:28
ellolazo2-Dec-05 5:28 
Generali mispell my id...it is maria_uet2003@yahoo.com Pin
maria_uet27-Jun-05 1:00
maria_uet27-Jun-05 1:00 
Generalplz raed it.... Pin
maria_uet27-Jun-05 0:54
maria_uet27-Jun-05 0:54 
Hi,
me a student of pak in software engg.
i am developing my final project as tapi (VOIP in our uni)
i need some codes especially when i dial the telephone my pc read this telephoen n record it
,display some greeting,n then make call via net.

I ve lot of confusions plz anybody help me.
1-shuld i ve to install tapi sdk for using tapi
2-in MSDN voip codes & path is as ...
%_WINCEROOT%\Public\DirectX\SDK\Samples\VOIP\VOIPDEMO...from where i can get it(n can i use these samples in my pc having xp window)..???
can some body plz help me n send me sapi n tapi code !!!
thanx a lot
regard
maria
looking for ur kind favour at
Confused | :confused: maria_uet@yahoo.comConfused | :confused:









maria
GeneralRe: plz raed it.... Pin
Nishanthbster6-Feb-06 18:13
Nishanthbster6-Feb-06 18:13 
Generaltapi help Pin
Member 195065518-Jun-05 14:02
Member 195065518-Jun-05 14:02 
GeneralSound Help Pin
Hugocalmeida27-Apr-05 6:38
Hugocalmeida27-Apr-05 6:38 
Generalrecogonize the key pressed in phone Pin
suresh_gnrsv26-Apr-05 22:54
suresh_gnrsv26-Apr-05 22:54 
Generalnot a TAPI3 app Pin
Gilbert Chauvaux21-Mar-05 10:20
Gilbert Chauvaux21-Mar-05 10:20 
GeneralRe: not a TAPI3 app Pin
Ali Mojtabaee21-Mar-05 11:45
Ali Mojtabaee21-Mar-05 11:45 
GeneralTAPI3.lib Pin
Hwang do hyun13-Mar-05 13:10
Hwang do hyun13-Mar-05 13:10 
GeneralRe: TAPI3.lib Pin
shahzad_taous16-Jan-06 23:42
shahzad_taous16-Jan-06 23:42 
QuestionDo you have vc++ version for this calling program? Pin
hcgiap7-Feb-05 0:09
hcgiap7-Feb-05 0:09 
AnswerRe: Do you have vc++ version for this calling program? Pin
ellolazo2-Dec-05 5:17
ellolazo2-Dec-05 5:17 
GeneralSMDR(System Message Dynamic Recording) Pin
shiva tavasoli31-Jan-05 23:37
shiva tavasoli31-Jan-05 23:37 
GeneralRe: SMDR(System Message Dynamic Recording) Pin
manasmohanta26-Nov-07 22:22
manasmohanta26-Nov-07 22:22 
Generalcode for tapi in vc++ for accepting incoming calls Pin
abhiaruna26-Jan-05 18:39
abhiaruna26-Jan-05 18:39 
GeneralRe: code for tapi in vc++ for accepting incoming calls Pin
abdulhalim3-Apr-05 21:47
abdulhalim3-Apr-05 21:47 
GeneralRe: code for tapi in vc++ for accepting incoming calls Pin
ellolazo2-Dec-05 5:25
ellolazo2-Dec-05 5:25 
GeneralCan't SELECT A TERMINAL in TAPI Pin
Member 9690572-Jan-05 22:27
Member 9690572-Jan-05 22:27 
GeneralRe: Can't SELECT A TERMINAL in TAPI Pin
Member 70091411-Jan-05 11:21
Member 70091411-Jan-05 11:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.