Telephony is a technology that integrates computers with a telephone network. With telephony, people can use their computers to take advantage of a wide range of sophisticated communications features and services over a telephone line. The Telephony API defines three levels of service: Basic Telephony Services, Supplementary Telephony Services, and Extended Telephony Services. Windows Telephony consists of two main parts : the Windows Telephony Application Programming Interface (TAPI) and Windows Telephony Service Provider Programming Interface (TSPI). This lesson describes the purpose of TAPI and TSPI, and explains the services they provide.
After this lesson, you will be able to: - Explain the purpose of TAPI.
- Explain the purpose of TSPI.
- Describe the services the Microsoft Telephony API provides.
Estimated lesson time 10 minutes
Windows Telephony Architecture
Before you continue with the lesson, run the Chap11.exe animation located on the CD-ROM that accompanies this book. This animation explains how TAPI and TSPI are used to implement telephony support in an application.
In Windows Telephony, an application can call telephony functions to request telephony services. The telephony API accesses the appropriate service provider DLL that communicates with telephony hardware devices such as PBX, Cellular, ISDN, or regular telephone service.
Figure 11.4 How applications use Windows Telephony