Hello,
Welcome to Microsoft Q&A!
How TAPI works and connects to the device is explained in the documentation of Microsoft Telephony Programming Model. The process and schematic diagram are shown below.
- An application loads the TAPI DLL into its process space and uses TAPI to communicate needs.
- TAPI establishes an RPC link communications with the TAPI Server.
- In addition, TAPI 3.x creates an MSP object and communicates with it using a defined set of commands, the Media Service Provider Interface (MSPI).
- When an application calls a TAPI operation, the TAPI dynamic-link library validates and marshals the parameters, then forwards the information to TAPISRV.
- TAPISRV tracks communications resources available to the local machine and interfaces with the Telephony Service Providers (TSPs) using the Telephony Service Provider Interface (TSPI).
- Communications between a TSP and an MSP take place using a virtual connection that passes through the TAPI DLL and TAPISRV.
- The TSP/MSP pair supplies information on device state and capabilities and implements the specific commands required for a desired response.
Thank you.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.