Start-Up And Shutdown Of Tapi - Toshiba strata CT Installation & Maintenance Manual

Digital business telephone system
Hide thumbs Also See for strata CT:
Table of Contents

Advertisement

Start-up and Shutdown of TAPI

H
C
Strata CT I&M Manual October 2000
LINE_REPLY
Messages generated for all asynchronous requests. Toshiba DKT TSPI always uses
lineMakeCall in this asynchronous manner.
LINE_NEWCALL
A message to notify the application of a new call event arriving.
lineInitialize
An application registers a TAPI connection by calling this function. This function is not
passed through to the TSPI but handled by TAPI.DLL. One of the main purposes is to
establish a pointer to the application's call-back function to allow unsolicited messages to be
registered. Two pieces of information are returned to the application: an application handle
and the number of available line devices. Strata CT TSPI supports multiple line devices.
LineShutdown
When the application is done, this command releases the resources and the TAPI environment
is disconnected.
LineNegotiateAPI Version
This function is used to negotiate the API version number to be used. The application
provides the range of versions it is compatible with and TAPI.DLL in turn negotiates with the
TSPI to determine which version range it supports.
LineOpen
This function opens the specified device ID for the purpose of monitoring or control by the
application. Opening the line returns the handle for the device. The application can then use
this handle to answer inbound calls, make outbound calls, or monitor call activities on the line
for logging purposes. The application should query the capabilities of the line, (using
lineGetDevCaps) before opening the line device. Upon opening the line, a serial port will be
allocated and initialised.
LineSetStatusMessages
This operation allows an application to specify which notification messages the services
provider should generate for events related to the status changes for the specified line or any
of its addresses.
LineGetStatusMessages
This function queries the TSPI for current status messages.
LineClose
This function closes the specified open line device after aborting all outstanding calls and
asynchronous operations on the device.
Computer Telephony Integration
9-11

Advertisement

Table of Contents
loading

Table of Contents