TAPI Shutdown

Proper shutdown of communications sessions and of an entire application is required to prevent resources from remaining tied up in calls or applications that no longer need them.

TAPI provides a series of functions and methods to assist in the process. Obviously, the application must also take responsibility for properly releasing allocated memory, whether in the form of data structures or COM references.

TAPI 2.x functions Description
lineRegisterRequestRecipient Unregisters the application as a handler for assisted telephony calls.
lineClose Disconnects the application as a manager for calls on the given line.
lineShutdown Shuts down the application's usage of the line abstraction.

 

TAPI 3.x interfaces or methods Description
ITTAPI::UnregisterNotifications Removes any event notification registrations performed by the application.
ITTAPI::Shutdown Disconnects the application as a call manager.