LINE_CALLINFO
The LINE_CALLINFO message is sent to the LINEEVENT callback function when the call information about the specified call has changed. TAPI can invoke lineGetCallInfo to determine the current call information.
LINE_CALLINFO
htLine = (HTAPILINE) hLineDevice;
htCall = (HTAPICALL) hCallDevice;
dwMsg = (DWORD) LINE_CALLINFO;
dwParam1 = (DWORD) CallInfoState;
dwParam2 = (DWORD) 0;
dwParam3 = (DWORD) 0;
Parameters
-
htLine
-
The TAPI opaque object handle to the line device.
-
htCall
-
The TAPI opaque object handle to the call device.
-
dwMsg
-
The value LINE_CALLINFO.
-
dwParam1
-
Specifies the call information item that has changed. This parameter can be a combination of the following LINECALLINFOSTATE_ constants:
-
LINECALLINFOSTATE_OTHER
-
Information items other than those listed below have changed.
-
LINECALLINFOSTATE_DEVSPECIFIC
-
The device-specific field of the call-information record.
-
LINECALLINFOSTATE_BEARERMODE
-
The bearer mode field of the call-information record.
-
LINECALLINFOSTATE_RATE
-
The rate field of the call-information record.
-
LINECALLINFOSTATE_MEDIAMODE
-
The media mode field of the call-information record.
-
LINECALLINFOSTATE_APPSPECIFIC
-
The application-specific field of the call-information record.
-
LINECALLINFOSTATE_CALLID
-
The call ID field of the call-information record.
-
LINECALLINFOSTATE_RELATEDCALLID
-
The related call ID field of the call-information record.
-
LINECALLINFOSTATE_ORIGIN
-
The origin field of the call-information record.
-
LINECALLINFOSTATE_REASON
-
The reason field of the call-information record.
-
LINECALLINFOSTATE_COMPLETIONID
-
The completion ID field of the call-information record.
-
LINECALLINFOSTATE_TRUNK
-
The trunk field of the call-information record.
-
LINECALLINFOSTATE_CALLERID
-
One of the callerID-related fields of the call-information record.
-
LINECALLINFOSTATE_CALLEDID
-
One of the calledID-related fields of the call-information record.
-
LINECALLINFOSTATE_CONNECTEDID
-
One of the connectedID-related fields of the call-information record.
-
LINECALLINFOSTATE_REDIRECTIONID
-
One of the redirectionID-related fields of the call-information record.
-
LINECALLINFOSTATE_REDIRECTINGID
-
One of the redirectingID-related fields of the call-information record.
-
LINECALLINFOSTATE_DISPLAY
-
The display field of the call-information record.
-
LINECALLINFOSTATE_USERUSERINFO
-
The user-user information of the call-information record.
-
LINECALLINFOSTATE_HIGHLEVELCOMP
-
The high-level compatibility field of the call-information record.
-
LINECALLINFOSTATE_LOWLEVELCOMP
-
The low-level compatibility field of the call-information record.
-
LINECALLINFOSTATE_CHARGINGINFO
-
The charging information of the call-information record.
-
LINECALLINFOSTATE_TERMINAL
-
The terminal mode information of the call-information record.
-
LINECALLINFOSTATE_DIALPARAMS
-
The dial parameters of the call-information record.
-
LINECALLINFOSTATE_MONITORMODES
-
One or more of the digit, tone, or media monitoring fields in the call-information record.
-
dwParam2
-
Unused.
-
dwParam3
-
Unused.
Remarks
This message is sent to TAPI whenever the event occurs and TAPI has the line open. However, no LINE_CALLINFO messages are sent for a call after the call has entered the idle state.
See Also
LINECALLINFOSTATE_ Constants, TSPI_lineGetCallInfo