Export (0) Print
Expand All

Introduction to telephony

Updated: January 21, 2005

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2, Windows Server 2008, Windows Server 2008 R2, Windows Server 8 Beta

Introduction to telephony

Telephony Application Programming Interface (TAPI) provides a uniform set of commands for any supported telephony device that is connected to your computer.

How TAPI works

When you use a Windows Server 2003 family program to send faxes, connect to a telephone, make a call using IP, join a conference, or perform other TAPI-supported activities, there are three layers of software that enable you to use a telephony device: a program, TAPI, and a telephony service provider.

TAPI's three layers
  • A program enables you to make phone calls, send and receive data or faxes, or join conferences. Microsoft and independent software vendors provide programs that incorporate TAPI functionality. Examples include HyperTerminal, which is included with Windows Server 2003 operating systems. Fax Services, another communication program that uses TAPI, is available on an optional basis.

  • TAPI provides telephony functions for programs, such as dialing.

  • A telephony service provider translates the commands for a telephony device or telephony protocol. Telephony service providers for modems and several telephony protocols are installed with Windows Server 2003 operating systems, and others are provided by independent hardware vendors.

How TAPI works with telephony hardware

In place of proprietary solutions that are difficult and expensive to implement, TAPI provides a single set of commands allowing hardware and software to come from different sources. When a telephony program requests an action, TAPI determines which telephony service provider supports the device, and the service provider sends the appropriate commands to the device.

For example, the Unimodem (Universal Modem) 5 Service Provider is installed with Windows Server 2003 operating systems. When an program initiates the dialing of a phone number, TAPI sends the appropriate commands to the Unimodem 5 Service Provider, and it sends the correct sequence of commands for dialing the number on the particular modem attached to the computer. The program does not need to know anything about the modem.

With TAPI, the Windows Server 2003 operating system provides a telephony platform. The Windows Server 2003 operating system is the operator that interconnects computer and telephony resources to direct and manage calls. TAPI-based software can provide solutions ranging from complete small office systems or home office systems to PBX front ends that integrate the computer and telephone networks of an organization.

How TAPI makes resources available to users

Network users make calls using lines. They may also use phones for call management and control. These are supported by the telephony service providers. A telephony administrator makes telephony resources on a server, such as lines and phones, available to users.

Lines

In telephony, a line is any media stream (data, voice, or video) supported by a telephony service provider. For a modem, the line represents an actual telephone line. For other devices, it can represent another media stream, such as a gateway to the Internet. Calls are made using a line provided by a telephony service provider. A single line can support more than one call at a time, such as with call waiting and conferencing. The telephony service provider determines how physical devices are represented by telephony lines.

Phones

A phone in TAPI represents terminal equipment that is supported by a telephony service provider. In TAPI, a "phone" closely models a physical telephone, but may not be actual hardware. It includes the concepts of a hookswitch, handset, speaker, microphone, display, lamps, and programmable buttons. As with an actual telephone on your desk, a phone may be used without actually making calls to someone else. For example, you can use a telephone handset to listen to or retrieve voice mail messages.

A phone does not have to represent actual hardware; it can be emulated in software. For instance, this type of phone might be a program that uses TAPI or a telephony service provider. A physical phone is not required to manage a media stream and, although all telephony service providers support lines, not all telephony service providers support phones.

How TAPI supports telephony

The Windows Server 2003 family supports computer-telephony integration, from simple small office or home-based solutions to full-scale, enterprise-wide solutions. Low-level telephony solutions enable an individual to:

  • Use a computer as an answering machine or voice mailbox.

  • Use a computer to send and receive faxes.

  • Use a microphone and speaker or a speakerphone connected to a multimedia computer as a phone system.

  • Log on to a computer from a remote location.

These solutions are typically supported by a direct connection from a desktop computer to a phone line with a modem. Enterprise-wide solutions rely on a network and enable an organization to:

  • Use a computer either as a multiline phone system or as a multifunction PBX controller.

  • Provide a voice-mail system across your entire enterprise.

  • Provide a fax system across your entire enterprise.

  • Provide on-demand audio information services that allows callers to retrieve prerecorded or computer-generated text-to-speech information.

  • Fax information to customers on demand, based on touch-tone keys or other input.

  • Implement automatic, list-based dialing for telemarketing.

  • Deliver database information related to a call (such as a customer profile or account information) at the same time it is switched to a desktop.

  • Create a single, easy-to-use client program to manage all communications, such as voice, pager, e-mail, and conferencing.

  • Provide dial-up access to the network.

On a network, a hardware interface adapter on a server connects the LAN to a public or private telephone network. The adapter is supported by a telephony service provider. Programs running on the server provide calling features such as conferencing, transferring, forwarding, holding, and automatic redialing. The server controls the calls going through the network and out onto the PBX.

Client programs provide voice, video, fax, and data communications for the user. As this section illustrates, the client programs call functions provided by the Telephony service on the client. The Telephony service on the client uses the Windows Remote Service Provider to communicate over the network with the telephony service providers on the server, and the actual telephony services are provided by the telephony service providers managing telephony devices on the server.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft