encyclopegia.org

Telephony Application Programming Interface

The Telephony Application Programming Interface (TAPI) is a Microsoft Windows API, which provides computer telephony integration and enables PCs running Microsoft Windows to use telephone services. Different versions of TAPI are available on different versions of Windows. TAPI allows applications to control telephony functions between a computer and telephone network for data, fax, and voice calls. It includes basic functions, such as dialing, answering, and hanging up a call. It also supports supplementary functions, such as hold, transfer, conference, and call park found in PBX, ISDN, and other telephone systems. TAPI is used primarily to control either modems or, more recently, to control business telephone system (PBX) handsets. When controlling a PBX handset, the driver is provided by the manufacturer of the telephone system. Some manufacturers provide drivers that allow the control of multiple handsets. This is traditionally called "third-party control". Other manufacturers provide drivers that allow the control of a single handset. This is called "first-party control". Third-party drivers are designed to allow applications to see and/or control multiple extensions at the same time. Some telephone systems only permit one third-party connection at a time. First-party drivers are designed to allow applications to monitor and/or control one extension at a time.…

The Telephony Application Programming Interface (TAPI) is a Microsoft Windows API, which provides computer telephony integration and enables PCs running Microsoft Windows to use telephone services. Different versions of TAPI are available on different versions of Windows. TAPI allows applications to control telephony functions between a computer and telephone network for data, fax, and voice calls. It includes basic functions, such as dialing, answering, and hanging up a call. It also supports supplementary functions, such as hold, transfer, conference, and call park found in PBX, ISDN, and other telephone systems. TAPI is used primarily to control either modems or, more recently, to control business telephone system (PBX) handsets. When controlling a PBX handset, the driver is provided by the manufacturer of the telephone system. Some manufacturers provide drivers that allow the control of multiple handsets. This is traditionally called "third-party control". Other manufacturers provide drivers that allow the control of a single handset. This is called "first-party control". Third-party drivers are designed to allow applications to see and/or control multiple extensions at the same time. Some telephone systems only permit one third-party connection at a time. First-party drivers are designed to allow applications to monitor and/or control one extension at a time. Telephone systems naturally permit many of these connections simultaneously. Modem connections are by nature first-party. TAPI can also be used to control voice-enabled telephony devices, including voice modems and dedicated hardware such as Dialogic cards. ==Telephone address format== TAPI uses Microsoft canonical address format for telephone numbers to make phone calls. It is a derivative of E.123 international notation. The canonical address is a text string with the following format: +Country␣(AreaCode)␣ SubscriberNumber | Subaddress ^ Name CRLF . Area code, subaddress and name are optional; the latter can carry extension number for direct inward dialing and calling party name, as used by ISDN/E1/T1 telecommunication protocols. Dialing rules are used to transform the canonical phone number into a dialable calling sequence for the modem, depending on the user's location. The dialing rules include variable-length dialing for area code, trunk access and international access prefixes, as well as central office access and calling card/credit card numbers. The calling sequence can contain dialable numbers such as digits 0-9 and DTMF tones ABCD*# , formatting characters ␣ . - , and control characters ! P T , W @ $ ? ; which correspond to the Dial command of the Hayes AT command set. The following control characters are defined: ! - hookflash, i.e. half second on-hook followed by half second off-hook; P - pulse dialing mode; T - tone dialing mode; , - pause dialing (duration specified by the device); W - wait for dial tone; @ - wait for "quiet answer", i.e. the ringback tone followed by several seconds of silence; $ - wait for a billing signal, such as credit card prompt tone; ? - indicates that the user is to be prompted before continuing (results in an application error since the API has no means to implement a user prompt); ; - the number is not complete and will be finished later (only valid in a dialable number). ==TAPI 2.x vs TAPI 3.x== It is a common misconception that TAPI 3.0 (or TAPI 3.1) replaces TAPI 2.x. TAPI 2.x and earlier versions were written in C; the API uses pointers to structures. Consequently, TAPI 2.x is easy to access from C or C++ applications, but it can be awkward to use from many other programming languages. TAPI 3.x was designed with a Component Object Model (COM) interface. This was done with the intent of making it accessible to higher level applications such as developed in VB or other environments that provide easy access to COM but don't deal with C-style pointers. TAPI 3.x has a slightly different set of functionality than TAPI 2.x. The addition of integrated media control was the most significant addition. But TAPI 3.x doesn't include all functionality that TAPI 2.x does, like support for the Phone class. One very notable issue with TAPI 3.x is the lack of support for managed code (.NET environment). As documented in Microsoft KB Article 841712, Microsoft currently has no plans to support TAPI 3.x directly from .NET programming languages. However, Mark Smith has provided a managed C++ library called ITAPI3 and a 2.x wrapper for .NET. Other developers provide libraries to work indirectly with TAPI enabled PBXs. One often overlooked reason an application developer might choose between TAPI 2.x and TAPI 3.x should be the hardware vendors recommendation. Even though TAPI provides an abstract model of phone lines, telephony applications are still heavily impacted by the specific behavior of the underlying hardware. Troubleshooting behavior issues usually requires both software and hardware vendors to collaborate. Because there is almost a 1:1 relationship between the TAPI Service Provider (TSP) interface and the TAPI 2.x interface, collaboration is often easier if the application is designed using TAPI 2.x. Experience with TAPI 3.x varies significantly between hardware vendors. ==TAPI compliant hardware== On Windows, TAPI support was almost universal in telephony hardware such as voice modems (both internal and external) and computer expansion boards such as Dialogic telephony cards. The only notable exception who never natively supported TAPI was the Avaya Communication Manager, which relied solely on the TSAPI interface for connectivity. Many PBX systems provide TAPI-compliant modem interfaces. TAPI compatible PBX solutions include Aastra (400/800), Aastra (MX-ONE), Alcatel (OXO/OXE), Avaya (BCM, IP Office), Cisco (Call Manager), Ericsson-LG (eMG80, iPECS, ipLDK), NEC-Philips (iS3000, IPC100/500), NEC (SL1000, SV8100/9100), Nitsuko (DXE600/328), Panasonic (KX-TDA/TDE/NCP, KX-NS1000), Samsung (OfficeServ), Unify (3000/4000, Openscape Office), ShoreTel, and ZyXEL (X6004/X2002). Third party drivers are often available for the telephone systems that don't have drivers made by the manufacturers. ==See also== TSAPI JTAPI (Java Telephony API) Microsoft NetMeeting Microsoft telephone number format Telephony Service Provider H.323 ==References== ==External links== MSDN Library about TAPI Frequently Asked Questions

References

  1. Smith, Mark (2025-03-24), markjulmar/atapi.net , retrieved 2025-03-24 Wikipedia revision 1326379440, retrieved 2026-11-18 · retrieved 2025-03-23 · rev 1326379440
    Cite this reference

    MLA "Smith, Mark (2025-03-24), markjulmar/atapi.net , retrieved 2025-03-24 Wikipedia revision 1326379440, retrieved 2026-11-18." Smith, Mark (2025-03-24), markjulmar/atapi. 2025-03-23. https://github.com/markjulmar/atapi.net. Accessed 24 November 2026.

    Chicago "Smith, Mark (2025-03-24), markjulmar/atapi.net , retrieved 2025-03-24 Wikipedia revision 1326379440, retrieved 2026-11-18." Smith, Mark (2025-03-24), markjulmar/atapi. 2025-03-23. https://github.com/markjulmar/atapi.net.

    APA Smith, Mark (2025-03-24), markjulmar/atapi. (2025). Smith, Mark (2025-03-24), markjulmar/atapi.net , retrieved 2025-03-24 Wikipedia revision 1326379440, retrieved 2026-11-18. Retrieved November 24, 2026, from https://github.com/markjulmar/atapi.net

  2. ITAPI3 - Managed TAPI 3.0 .NET wrapper · retrieved 2026-11-17 · rev 1326379440
    Cite this reference

    MLA "ITAPI3 - Managed TAPI 3.0 .NET wrapper." "ITAPI3 - Managed TAPI 3. 2026-11-17. https://github.com/markjulmar/itapi3. Accessed 24 November 2026.

    Chicago "ITAPI3 - Managed TAPI 3.0 .NET wrapper." "ITAPI3 - Managed TAPI 3. 2026-11-17. https://github.com/markjulmar/itapi3.

    APA "ITAPI3 - Managed TAPI 3. (2026). ITAPI3 - Managed TAPI 3.0 .NET wrapper. Retrieved November 24, 2026, from https://github.com/markjulmar/itapi3

  3. ATAPI.NET - Managed library for TAPI development with .NET · retrieved 2026-11-17 · rev 1326379440
    Cite this reference

    MLA "ATAPI.NET - Managed library for TAPI development with .NET." "ATAPI. 2026-11-17. https://github.com/markjulmar/atapi.net. Accessed 24 November 2026.

    Chicago "ATAPI.NET - Managed library for TAPI development with .NET." "ATAPI. 2026-11-17. https://github.com/markjulmar/atapi.net.

    APA "ATAPI. (2026). ATAPI.NET - Managed library for TAPI development with .NET. Retrieved November 24, 2026, from https://github.com/markjulmar/atapi.net

  4. Siptapi · retrieved 2026-11-17 · rev 1326379440
    Cite this reference

    MLA "Siptapi." 2026-11-17. https://sourceforge.net/projects/siptapi/. Accessed 24 November 2026.

    Chicago "Siptapi." 2026-11-17. https://sourceforge.net/projects/siptapi/.

    APA encyclopegia.org. (2026). Siptapi. Retrieved November 24, 2026, from https://sourceforge.net/projects/siptapi/

  5. Programmer's Reference · retrieved 2026-11-17 · rev 1326379440
    Cite this reference

    MLA "Programmer's Reference." 2026-11-17. https://downloads.avaya.com/css/P8/documents/100141354. Accessed 24 November 2026.

    Chicago "Programmer's Reference." 2026-11-17. https://downloads.avaya.com/css/P8/documents/100141354.

    APA encyclopegia.org. (2026). Programmer's Reference. Retrieved November 24, 2026, from https://downloads.avaya.com/css/P8/documents/100141354

  6. MSDN: TAPI Applications - Device Control - Canonical Address · retrieved 2026-11-17 · rev 1326379440
    Cite this reference

    MLA "MSDN: TAPI Applications - Device Control - Canonical Address." a b c "MSDN: TAPI Applications - Device Control - Canonical Address". 2026-11-17. https://msdn.microsoft.com/en-us/library/ms726017.aspx#canonical_addresses. Accessed 24 November 2026.

    Chicago "MSDN: TAPI Applications - Device Control - Canonical Address." a b c "MSDN: TAPI Applications - Device Control - Canonical Address". 2026-11-17. https://msdn.microsoft.com/en-us/library/ms726017.aspx#canonical_addresses.

    APA a b c "MSDN: TAPI Applications - Device Control - Canonical Address". (2026). MSDN: TAPI Applications - Device Control - Canonical Address. Retrieved November 24, 2026, from https://msdn.microsoft.com/en-us/library/ms726017.aspx#canonical_addresses

  7. Microsoft Technet: Dialing Rules and Canonical Address Format · retrieved 2026-11-17 · rev 1326379440
    Cite this reference

    MLA "Microsoft Technet: Dialing Rules and Canonical Address Format." a b "Microsoft Technet: Dialing Rules and Canonical Address Format". 2026-11-17. https://technet.microsoft.com/ru-ru/library/cc772545(v=ws.10).aspx. Accessed 24 November 2026.

    Chicago "Microsoft Technet: Dialing Rules and Canonical Address Format." a b "Microsoft Technet: Dialing Rules and Canonical Address Format". 2026-11-17. https://technet.microsoft.com/ru-ru/library/cc772545(v=ws.10).aspx.

    APA a b "Microsoft Technet: Dialing Rules and Canonical Address Format". (2026). Microsoft Technet: Dialing Rules and Canonical Address Format. Retrieved November 24, 2026, from https://technet.microsoft.com/ru-ru/library/cc772545(v=ws.10).aspx

Cite this article

MLA

"Telephony Application Programming Interface." encyclopegia.org, 2025, https://encyclopegia.org/wiki/telephony-application-programming-interface. Accessed 24 November 2026.

Chicago

"Telephony Application Programming Interface." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/telephony-application-programming-interface.

APA

encyclopegia.org. (2025). Telephony Application Programming Interface. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/telephony-application-programming-interface

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

AIOD leads

enwiki · references available

Call tracing

enwiki · references available

Forward echo

enwiki · references available

Four-wire circuit

enwiki · references available

Group alerting and dispatching system

enwiki · references available

Loading characteristic

enwiki · references available

1419

enwiki · references available

1422

enwiki · references available

1424

enwiki · references available

1426

enwiki · references available

1427

enwiki · references available

1428

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1326379440 · 0.5 · snapshot enwiki-001326379440

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.