TAPI - Microsoft Telephony


Reference: Using C-Kermit, Chapters 4 and 5, Appendix II.

TAPI is Microsoft's Telephony Application Programming Interface for Windows 95 (all versions) and for Windows NT 4.0 or later. It is not available on Windows NT 3.51 or earlier, nor on any version of OS/2. TAPI is supposed to free the application (such as Kermit 95) from the necessity of knowing the specific details required to control different makes and models of modems and other communication devices, and it is supposed to let multiple applications share the same communication device.

The benefits of TAPI include:

Sometimes you might want to use Kermit's built-in modem and dialing facilities, sometimes you might prefer to use TAPI's, and sometimes you might want to mix and match. Each system has its advantages and drawbacks:

Kermit 95 lets you choose any combination of:

Regardless of which combination you choose, all of Kermit 95's dialing directory features are still available: phone number lookup, multiple phone numbers per entry name, and cheapest-first dialing.

Kermit's TAPI support is in Kermit 95 itself, in the K95 Dialer, and in the SETUP program.

Kermit 95 and TAPI

Links: [Next] [Index]

The procedure for using TAPI modems in Kermit 95 is only slightly different from what you are accustomed to.

Previously, Kermit 95 treated the communications port (e.g. COM1) and the modem type (e.g. US Robotics Sportster) separately. To make a dialout call, you had to tell Kermit which port to use and which kind of modem was on it, and the interface speed between them:

  set modem type usr
  set port com1
  set speed 57600
  dial 7654321

TAPI, however, is not concerned with COM ports. Instead it uses descriptive names, like "Sportster 28800 External", to denote a particular COM-port/modem combination. These names can contain spaces and mixed-case words. In Kermit 95, TAPI names have their spaces converted to underscores:

  TAPI Name:  Sportster 28800 External
  K-95 Name:  Sportster_28800_External

The new command for choosing a TAPI device rather