摘要 |
PURPOSE: An apparatus and a method for constructing a CTI(Computer Telephone Integration) telephone driver supporting TAPI(Telephony Application Programming Interface)/TSPI(Telephony Standard application Programming Interface) standards is provided to embody extrinsic services, provided by various exchanges, in an application level using a standard API(Application Programming Interface) by offering a software structure of a telephone driver covering the interface between a computer and an exchange. CONSTITUTION: A TSPI library(100), as a library of TSPI function lists for TAPI function calls, embodies function calls by application. A line handler(110) manages line devices and a line device list and processes the function calls of the TSPI library(100) by lines. A command maker(120) modifies each device function call, requested by the line handler(110), into a command so that an exchange can recognize it, and records the command in the output queue of an I/O queue handler(130). The I/O queue handler(130) reads the command from the output queue through an event sender(160) and an event receiver(170) and transmits it to the event sender(160). Also the I/O queue handler(130) receives an event from the event receiver(170) and stores it in the input queue of the I/O queue handler(130). An event handler(140), checking the input queue of the I/O queue handler(130) periodically, executes event analysis work if an event is transmitted from the exchange(300).
|