TAPI events or messages

Last Updated : Sep 07, 2015 |

Event

Description

line_AppNewCall

A new call is created.

line_CallInfo

Information is changed in the lineCallInfo structure.

line_CallState

The state of the call is changed. See dwCallStates in the lineAddressCaps structure for the list of states supported.

line_lineDevState

The line device state is changed. The second parameter might be any one of the following:

  • lineDevState_DevSpecific: Dev specific information changed.

  • lineDevState_Connected, lineDevState_Disconnected: The connected state of the line changed.

  • lineDevState_OutOfService: The TSP has lost communication with the switch. The line is out of service.

  • lineDevState_InService: The TSP lost connection to the switch but has now recovered and the line is back in service.

  • lineDevState_Ringing: The switch detected that the caller’s phone is ringing.

line_DevSpecific

Notifies the application about device-specific events occurring on a line, address, or call. This message prompts the application to call lineGetLineDevStatus and analyze the dev specific buffer for changes.

line_AddressState

The status of an address is changed on a line that is currently open.