Share to: share facebook share twitter share wa share telegram print page

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. 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.

History

TAPI was introduced in 1993 as the result of joint development by Microsoft and Intel. The first publicly available version of TAPI was version 1.3, which was released as a patch on top of Microsoft Windows 3.1. Version 1.3 drivers were 16-bit only. Version 1.3 is no longer supported, although some MSDN development library CDs still contain the files and patches.

With Microsoft Windows 95, TAPI was integrated into the operating system. The first version on Windows 95 was TAPI 1.4. TAPI 1.4 had support for 32-bit applications.

The TAPI standard supports both connections from individual computers and LAN connections serving any number of computers.

TAPI 2.0 was introduced with Windows NT 4.0. Version 2.0 was the first version on the Windows NT platform. It made a significant step forward by supporting ACD and PBX-specific functionality.

In 1997, Microsoft released TAPI version 2.1. This version of TAPI was available as a downloadable update and was the first version to be supported on both the Microsoft Windows 95 and Windows NT/2000 platforms.

TAPI 3.0 was released in 1999 together with Windows 2000. This version enables IP telephony (VoIP) by providing simple and generic methods for making connections between two (using H.323) or more (using IP multicast) computers and now also offers the ability to access any media stream (MSP driver) involved in the connection.

Windows XP included both TAPI 3.1 and TAPI 2.2. TAPI 3.1 supports the Microsoft Component Object Model and provides a set of COM objects to application programmers. This version uses File Terminals which allow applications to record streaming data to a file and play this recorded data back to a stream. A USB Phone TSP (Telephony Service Provider) was also included which allows an application to control a USB phone and use it as a streaming endpoint. TAPI 3.0 or TAPI 3.1 are not available on operating systems earlier than Windows 2000 and Windows XP respectively.

The Telephony Server Application Programming Interface (TSAPI) is a similar standard developed by Novell for NetWare servers.

Telephone address format

TAPI uses Microsoft canonical address format for telephone numbers[1][2] 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.[1][2]

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: [1]

! - 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[3] and a 2.x wrapper for .NET.[4] Other developers provide libraries to work indirectly with TAPI enabled PBXs.[5]

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.[6]

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

References

  1. ^ a b c "MSDN: TAPI Applications - Device Control - Canonical Address". 7 January 2021.
  2. ^ a b "Microsoft Technet: Dialing Rules and Canonical Address Format". 2 July 2012.
  3. ^ "ITAPI3 - Managed TAPI 3.0 .NET wrapper". GitHub. 15 March 2021.
  4. ^ "ATAPI.NET - Managed library for TAPI development with .NET". GitHub. 12 November 2021.
  5. ^ "Siptapi".
  6. ^ "Programmer's Reference".

Read other articles:

Lokasi Kabupaten Buru di Provinsi Maluku Berikut ini adalah daftar kecamatan dan desa di Kabupaten Buru, Provinsi Maluku, Indonesia. Kabupaten Buru terdiri atas 10 kecamatan dan 82 desa dengan luas wilayah 4.932,32 km² dan jumlah penduduk 130.696 jiwa (2017). Kode Wilayah Kabupaten Buru adalah 81.04.[1][2][3] Kode Wilayah Nama Kecamatan Ibu kota Jumlah Desa Daftar Kelurahan dan Desa 81.04.01 Namlea Namlea 7 lbsKecamatan Namlea, Kabupaten Buru, MalukuDesa Batuboy Jamilu K…

Daftar penghargaan dan nominasi yang diterima oleh Mamamoo Mamamoo tampil di bulan Mei 2018 Penghargaan Menang Nominasi APAN Music Awards 0 3 Asia Artist Awards 5 10 Asian Pop Music Awards 2 2 Brand Customer Loyalty Award 0 1 Bugs Music Awards 1 1 Cublic Media 1 1 Dong-A.com's Pick 1 1 The Fact Music Awards 4 5 Gaon Chart Music Awards 2 9 Genie Music Awards 1 13 Golden Disc Awards 4 16 Grimae Awards 1 1 Korea PD Awards 1 1 Korean Popular Music Awards 1 4 Melon Music Awards 3 24 MAMA Awards 5 29 …

Artikel ini tidak memiliki referensi atau sumber tepercaya sehingga isinya tidak bisa dipastikan. Tolong bantu perbaiki artikel ini dengan menambahkan referensi yang layak. Tulisan tanpa sumber dapat dipertanyakan dan dihapus sewaktu-waktu.Cari sumber: Durometer – berita · surat kabar · buku · cendekiawan · JSTOR Durometer adalah instrumen yang menggunakan prinsip yang digunakan untuk mengukur kekerasan didasarkan pada mengukur kekuatan perlawanan dari pe…

Untuk tokoh Alkitab yang menjadi nama dari kitab ini, lihat Samuel. Untuk kegunaan lain, lihat Samuel (disambiguasi). Bagian dari Alkitab KristenPerjanjian LamaYosua 1:1 pada Kodeks Aleppo Taurat Kejadian Keluaran Imamat Bilangan Ulangan Sejarah Yosua Hakim-hakim Rut 1 Samuel 2 Samuel 1 Raja-raja 2 Raja-raja 1 Tawarikh 2 Tawarikh Ezra Nehemia Ester Puisi Ayub Mazmur Amsal Pengkhotbah Kidung Agung Kenabian Besar Yesaya Yeremia Ratapan Yehezkiel Daniel Kecil Hosea Yoël Amos Obaja Yunus Mikha Nahu…

منتخب أفغانستان تحت 23 سنة لكرة القدم بلد الرياضة أفغانستان  الفئة كرة قدم تحت 23 سنة للرجال  [لغات أخرى]‏  رمز الفيفا AFG  مشاركات تعديل مصدري - تعديل   منتخب أفغانستان تحت 23 سنة لكرة القدم هو ممثل أفغانستان الرسمي في المنافسات الدولية في كرة القدم في فئة كرة قدم…

A consumer broadband, gas and electricity supplier in the UK A major contributor to this article appears to have a close connection with its subject. It may require cleanup to comply with Wikipedia's content policies, particularly neutral point of view. Please discuss further on the talk page. (July 2016) (Learn how and when to remove this template message) Shell Energy Retail LimitedIndustryUtilitiesPredecessorFirst UtilityFounded2008HeadquartersCoventry, United KingdomArea servedUnited Kingdom…

Town in Victoria, AustraliaNandalyVictoriaNandalyCoordinates35°18′0″S 142°42′0″E / 35.30000°S 142.70000°E / -35.30000; 142.70000Population30 (2021 census)[1]Postcode(s)3533Location 388 km (241 mi) NW of Melbourne 159 km (99 mi) SE of Mildura 108 km (67 mi) W of Swan Hill 34 km (21 mi) N of Sea Lake LGA(s)Shire of BulokeState electorate(s)MilduraFederal division(s)Mallee Localities around Nandaly: Tempy Pier …

TVBSDiluncurkan28 September 1993PemilikTVBS MediaNegara TaiwanKantor pusatTaipeiSaluran seindukTVBS Entertainment Channel, TVBS News, TVBS AsiaSitus webwww.tvbs.com.tw TVBS Media Inc. (Cina: 聯 利 媒體 股份有限公司), sebelumnya Liann Yee Production Co., Ltd. (Cina: 聯 意 製作 股份有限公司), adalah perusahaan jaringan televisi komersial Taiwan. Awalnya didirikan sebagai usaha patungan antara TVB di Hong Kong dan Era Group di Taiwan, tetapi TVB mengambil alih saham Era di …

Province of the Eastern Roman Empire Province of SpaniaProvincia SpaniæProvince of the Byzantine (Roman) Empire552–624Spania at its greatest extent, around the time of its foundationCapitalMalaca (Málaga) or Carthago Spartaria (Cartagena)Historical eraLate Antiquity• Byzantine reconquest by Liberius 552• Visigothic reconquest 624 Preceded by Succeeded by Visigothic Kingdom Visigothic Kingdom Today part ofUnited Kingdom · GibraltarPortugalSpain Part of a series on …

Vic-le-Comte La mairie de Vic-le-Comte. Héraldique Logo Administration Pays France Région Auvergne-Rhône-Alpes Département Puy-de-Dôme Arrondissement Clermont-Ferrand Intercommunalité Communauté de communes Mond'Arverne Communauté Maire Mandat Antoine Desforges 2020-2026 Code postal 63270 Code commune 63457 Démographie Gentilé Vicomtois Populationmunicipale 5 242 hab. (2021 ) Densité 290 hab./km2 Géographie Coordonnées 45° 38′ 38″ nord, 3° 14…

Fabel gagak dan kalajengking yang digambar oleh Marcus Gheeraerts Gagak dan Ular adalah salah satu Fabel Aesop dan diberi nomor 128 dalam Perry Index.[1] Terdapat versi-versi Yunani alternatif dan dua diantaranya diadopsi pada zaman Renaisans Eropa. Fabel tersebut tak sama dengan cerita berjudul sama dalam Panchatantra, yang sepenuhnya berbeda. Versi Yunani alternatif Pada zaman kuno, fabel tersebut hanya ditemukan dalam sumber-sumber Yunani dan mengisahkan seekor gagak yang sedang menca…

Pour les articles homonymes, voir Saint-Paul. Saint-Paul-Trois-Châteaux Saint-Paul-Trois-Châteaux vu depuis la chapelle Saint-Juste. Héraldique Administration Pays France Région Auvergne-Rhône-Alpes Département Drôme Arrondissement Nyons Intercommunalité Communauté de communes Drôme Sud Provence Maire Mandat Jean-Michel Catelinois 2020-2026 Code postal 26130 Code commune 26324 Démographie Gentilé Tricastin, tricastine Populationmunicipale 8 758 hab. (2021 ) Densité 397…

Gunung TalinisTitik tertinggiKetinggian1.903 m (6.243 ft)[1]Puncak1.482 m (4.862 ft)Masuk dalam daftarGunung berpotensi aktifKoordinat9°15′0″N 123°10′0″E / 9.25000°N 123.16667°E / 9.25000; 123.16667Koordinat: 9°15′0″N 123°10′0″E / 9.25000°N 123.16667°E / 9.25000; 123.16667 GeografiGunung TalinisLokasi di FilipinaLetakNegrosNegaraFilipinaRegionBisayak TengahProvinsiNegros TimurGeologiUsia bat…

1805 British naval victory in the Napoleonic Wars For the painting, see The Battle of Trafalgar (painting). Battle of TrafalgarPart of the Trafalgar campaign of the War of the Third CoalitionThe Battle of Trafalgar, 21 October 1805 by Clarkson Frederick StanfieldDate21 October 1805LocationOff Cape Trafalgar, Atlantic Ocean36°15′N 6°12′W / 36.25°N 6.20°W / 36.25; -6.20[1]Result British victoryBelligerents France Spain United KingdomCommanders and leaders Pi…

Moldavian, later Romanian statesman, political scientist and critic Petre P. CarpP. P. Carp (pre-1900 photograph)21st Prime Minister of RomaniaIn office7 July 1900 – 13 February 1901MonarchCarol IPreceded byGheorghe Grigore CantacuzinoSucceeded byDimitrie SturdzaIn office29 December 1910 – 28 March 1912MonarchCarol IPreceded byIon I. C. BrătianuSucceeded byTitu MaiorescuMinister of FinanceIn office7 July 1900 – 13 February 1901Prime MinisterHimselfPreceded b…

Mishal Al-Ahmad Al-Jaber Al-Sabahالشَّيْخ مِشعَل الأَحمَد الْجَابِر الصَّباحMishal pada 2022Emir KuwaitBerkuasa16 Desember 2023 – sekarangPendahuluNawaf Al-Ahmad Al-JaberPerdana MenteriAhmad Nawaf Al Ahmad (2022–sekarang)Informasi pribadiKelahiran27 September 1940 (umur 83)Syekh KuwaitWangsaSabahAyahAhmad Al-Jaber Al-SabahIbuMaryam Marit Al-HuwailaIstriNuria Sabah Al-Salem Al-SabahMunira Badah Al-MutairiAnak12 (5 putra dan 7 putri)Bahasa Arabمشع…

この記事は検証可能な参考文献や出典が全く示されていないか、不十分です。出典を追加して記事の信頼性向上にご協力ください。(このテンプレートの使い方)出典検索?: コルク – ニュース · 書籍 · スカラー · CiNii · J-STAGE · NDL · dlib.jp · ジャパンサーチ · TWL(2017年4月) コルクを打ち抜いて作った瓶の栓 コルク(木栓、蘭&…

この記事は検証可能な参考文献や出典が全く示されていないか、不十分です。出典を追加して記事の信頼性向上にご協力ください。(このテンプレートの使い方)出典検索?: コルク – ニュース · 書籍 · スカラー · CiNii · J-STAGE · NDL · dlib.jp · ジャパンサーチ · TWL(2017年4月) コルクを打ち抜いて作った瓶の栓 コルク(木栓、蘭&…

French film director Valérie GuignabodetValérie Guignabodet in 2009Born(1965-05-09)9 May 1965Paris, FranceDied23 February 2016(2016-02-23) (aged 50)Saint-Andiol, FranceEducationEmlyon Business SchoolOccupation(s)Director, screenwriterYears active2002–2016 Valérie Guignabodet (9 May 1965 – 23 February 2016) was a French film director and screenwriter.[1] She studied at Emlyon Business School,[2] and directed four films between 2002 and 2009, including Danse av…

此條目可参照英語維基百科相應條目来扩充。 (2021年5月6日)若您熟悉来源语言和主题,请协助参考外语维基百科扩充条目。请勿直接提交机械翻译,也不要翻译不可靠、低品质内容。依版权协议,译文需在编辑摘要注明来源,或于讨论页顶部标记{{Translated page}}标签。 约翰斯顿环礁Kalama Atoll 美國本土外小島嶼 Johnston Atoll 旗幟颂歌:《星條旗》The Star-Spangled Banner約翰斯頓環礁地…

Kembali kehalaman sebelumnya