What's the difference between TAPI and TSAPI
Asked Answered
O

2

5

I have a C++ program that uses the Microsoft TAPI interface to collect call events from a Cisco Call Manager PBX. To get the Cisco events I downloaded the TSP from the call manager and then my TAPI code just works.

Can I do the same thing with an Avaya AES server? I see that Avaya uses TSAPI rather than TAPI, but I couldn't see what difference that would make to my program.

Obscenity answered 8/5, 2009 at 13:41 Comment(0)
P
19

TAPI is a telephony API developed by Microsoft, TSAPI is a telephony API developed by the company that eventually became Avaya (AT&T -> Lucent -> Avaya). TAPI's design was oriented torward first party call control (i.e. phones), while TSAPI was oriented torward third party call call control (i.e. PBXes and central office switches). TAPI does have some limited support for dealing with the call audio, TSAPI has none. I'd be very surprised if you could find a TAPI TSP for Avaya AES, and you won't be getting it from Avaya if you do.

If all you're interested in is call events, then you can do the same things with both APIs, but the code will be totally different. Most companies that have products that have to talk to both Avaya AES and Cisco Call Manager have created an generic CTI interface for their product and then write code modules (aka drivers) that translate the TSAPI and TAPI call events to their generic event format. In your case, depending on your OS, you can move your TAPI code into a separate DLL/shared library, then create a separate DLL/shared library that implements the same functions but using TSAPI instead of TAPI.

Frotunately, a lot of the smaller PBX manufacturers use either TAPI or TSAPI based APIs for their CTI interfaces, so if you have to connect to a third PBX, chances are good that you can reuse one of the two modules.

Provocative answered 8/5, 2009 at 17:6 Comment(0)
J
5

One is just "telephony" and the other is "telephony services". The difference is similar to that between the phone on your desk (TAPI) and PBX in your company's comms closet (TSAPI), with the exception that since it's all in software you could write a program using TAPI to do much of what a PBX does. But I think you'll find it easier using TSAPI.

Jurywoman answered 8/5, 2009 at 13:48 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.