ThbTapiLine.OnCallInfo
Unit: hbTapi
 

This event is fired each time the call's information has changed.The InfoState parameter indicates the call information that has changed. It can be one or more of the LINECALLINFOSTATE_ constants:

Constant

Meaning

LINECALLINFOSTATE_APPSPECIFIC

The application-specific field of the call-information record.

LINECALLINFOSTATE_BEARERMODE

The bearer mode field of the call-information record.

LINECALLINFOSTATE_CALLDATA

The CallData member in LINECALLINFO has been updated.

LINECALLINFOSTATE_CALLEDID

One of the calledID-related fields of the call-information record.

LINECALLINFOSTATE_CALLERID

One of the callerID-related fields of the call-information record.

LINECALLINFOSTATE_CALLID

The call ID field of the call-information record.

LINECALLINFOSTATE_CHARGINGINFO

The charging information of the call-information record.

LINECALLINFOSTATE_COMPLETIONID

The completion identifier field of the call-information record.

LINECALLINFOSTATE_CONNECTEDID

One of the connectedID-related fields of the call-information record.

LINECALLINFOSTATE_DEVSPECIFIC

The device-specific field of the call-information record.

LINECALLINFOSTATE_DIALPARAMS

The dial parameters of the call-information record.

LINECALLINFOSTATE_DISPLAY

The display field 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_MEDIAMODE

The media type field of the call-information record.

LINECALLINFOSTATE_MONITORMODES

One or more of the digit, tone, or media monitoring fields in the call-information record.

LINECALLINFOSTATE_NUMMONITORS

The number of monitors field in the call-information record has changed.

LINECALLINFOSTATE_NUMOWNERDECR

The number of owner field in the call-information record was decreased.

LINECALLINFOSTATE_NUMOWNERINCR

The number of owner field in the call-information record was increased.

LINECALLINFOSTATE_ORIGIN

The origin field of the call-information record.

LINECALLINFOSTATE_OTHER

Call information items other than those listed below have changed. The application should check the current call information to determine which items have changed.

LINECALLINFOSTATE_QOS

One or more of the QOS members in LINECALLINFO has been updated.

LINECALLINFOSTATE_RATE

The rate field of the call-information record.

LINECALLINFOSTATE_REASON

The reason field of the call-information record.

LINECALLINFOSTATE_REDIRECTINGID

The address identifier of the location that redirected a call.

LINECALLINFOSTATE_REDIRECTIONID

The address identifier of the location to which a call has been redirected.

LINECALLINFOSTATE_RELATEDCALLID

The related call ID field of the call-information record.

LINECALLINFOSTATE_TERMINAL

The terminal mode information of the call-information record.

LINECALLINFOSTATE_TREATMENT

The CallTreatment member in LINECALLINFO has been updated. This can occur in response to a lineSetCallTreatment function, a call state change, a call "vector" or other script controlling the call, or upon completion of playback of a recorded message (ordinarily, indicating a change to "silence" or "music").

LINECALLINFOSTATE_TRUNK

The trunk field of the call-information record.

LINECALLINFOSTATE_USERUSERINFO

The user-user information of the call-information record.

Avalabiltity

Design-Time: Read, Write / Run-Time: Read, Write

Declaration

procedure (Sender: ThbTapiLine; Call: ThbTapiCall; InfoState: DWORD);
property OnCallInfo: TLineCallInfoEvent;

Remarks

Please refer to the section "LINE_CALLINFO" in TAPI's documentation for a more detailed information.

See Also

ThbTapiCall.Info