Share via


TSPI Messages

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The following table shows the TSPI messages with a description of the purpose of each.

Programming element Description

LINE_ADDRESSSTATE (TSPI)

This message is sent to the LINEEVENT callback function when the status of an address changes on a line that is currently open by TAPI.

LINE_CALLINFO (TSPI)

This message is sent to the LINEEVENT callback function when the call information about the specified call has changed.

LINE_CALLSTATE (TSPI)

This message is sent to the LINEEVENT callback function whenever the status of the specified call has changed.

LINE_CLOSE (TSPI)

This message is sent to the LINEEVENT callback function by the service provider to request that TAPI close the specified line device. Once closed, the line device handle or any call handles for calls on the line are no longer valid.

LINE_CREATE (TSPI)

This message is sent to the LINEEVENT callback function when it desires to create a new device.

LINE_DEVSPECIFIC (TSPI)

This message is sent to the LINEEVENT callback function to notify TAPI about device-specific events occurring on a line or address.

LINE_GENERATE (TSPI)

This message is sent to the LINEEVENT callback function to notify TAPI that the current digit or tone generation has terminated.

LINE_LINEDEVSTATE (TSPI)

This message is sent to the LINEEVENT callback function when the state of a line device has changed.

LINE_MONITORDIGITS (TSPI)

This message is sent to the LINEEVENT callback function whenever a digit is detected while digit monitoring is in progress.

LINE_MONITORMEDIA (TSPI)

This message is sent to the LINEEVENT callback function whenever a change in the call's media type is detected and media type monitoring is enabled.

LINE_NEWCALL

This message is sent to the LINEEVENT callback function whenever a new call that TAPI has not originated arrives on a line that TAPI has open. This must be the first message sent regarding that call.

LINE_REMOVE (TSPI)

This message notifies TAPI that an existing line device has been or is about to be removed from the system.

PHONE_BUTTON (TSPI)

This message is sent to the PHONEEVENT callback function to notify TAPI that it has detected a button press on a phone device that TAPI has open and for which button press monitoring is enabled.

PHONE_CLOSE (TSPI)

This message is sent to the PHONEEVENT callback function when an open phone device has been forcibly closed.

PHONE_CREATE (TSPI)

This message is sent to the PHONEEVENT callback function to create a new device.

PHONE_DEVSPECIFIC (TSPI)

This message is sent to the PHONEEVENT callback function to notify TAPI about device-specific events occurring at the phone.

PHONE_REMOVE (TSPI)

This message notifies TAPI that a phone device has been or is about to be removed from the system.

PHONE_STATE (TSPI)

This message is sent to the PHONEEVENT callback function to TAPI whenever a phone device's status changes.