2.2.3.1.22 LINECALLINFOSTATE_Constants

The LINECALLINFOSTATE_Constants are bit-flag constants that describe various call information items about which an application will be notified in the LINE_CALLINFO packet.

Constant/value

Description

LINECALLINFOSTATE_OTHER

0x00000001

Call information items other than those listed later in this topic have changed. The application checks the current call information to determine which items have changed.

LINECALLINFOSTATE_DEVSPECIFIC

0x00000002

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

LINECALLINFOSTATE_BEARERMODE

0x00000004

The bearer-mode field of the call-information record.

LINECALLINFOSTATE_RATE

0x00000008

The rate field of the call-information record.

LINECALLINFOSTATE_MEDIAMODE

0x00000010

The media type field of the call-information record.

LINECALLINFOSTATE_APPSPECIFIC

0x00000020

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

LINECALLINFOSTATE_CALLID

0x00000040

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

LINECALLINFOSTATE_RELATEDCALLID

0x00000080

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

LINECALLINFOSTATE_ORIGIN

0x00000100

The origin field of the call-information record.

LINECALLINFOSTATE_REASON

0x00000200

The reason field of the call-information record.

LINECALLINFOSTATE_COMPLETIONID

0x00000400

The completion-identifier field of the call-information record.

LINECALLINFOSTATE_NUMOWNERINCR

0x00000800

The number of owner fields in the call-information record has been increased.

LINECALLINFOSTATE_NUMOWNERDECR

0x00001000

The number of owner fields in the call-information record has been decreased.

LINECALLINFOSTATE_NUMMONITORS

0x00002000

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

LINECALLINFOSTATE_TRUNK

0x00004000

The trunk field of the call-information record.

LINECALLINFOSTATE_CALLERID

0x00008000

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

LINECALLINFOSTATE_CALLEDID

0x00010000

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

LINECALLINFOSTATE_CONNECTEDID

0x00020000

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

LINECALLINFOSTATE_REDIRECTIONID

0x00040000

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

LINECALLINFOSTATE_REDIRECTINGID

0x00080000

The address identifier of the location that redirected a call.

LINECALLINFOSTATE_DISPLAY

0x00100000

The display field of the call-information record.

LINECALLINFOSTATE_USERUSERINFO

0x00200000

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

LINECALLINFOSTATE_HIGHLEVELCOMP

0x00400000

The high-level compatibility field of the call-information record.

LINECALLINFOSTATE_LOWLEVELCOMP

0x00800000

The low-level compatibility field of the call-information record.

LINECALLINFOSTATE_CHARGINGINFO

0x01000000

The charging information of the call-information record.

LINECALLINFOSTATE_TERMINAL

0x02000000

The terminal mode information of the call-information record.

LINECALLINFOSTATE_DIALPARAMS

0x04000000

The dial parameters of the call-information record.

LINECALLINFOSTATE_MONITORMODES

0x08000000

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

The following constants are present in TAPI versions 2.0, 2.1, 2.2, 3.0, and 3.1.

Constant/value

Description

LINECALLINFOSTATE_TREATMENT

0x10000000

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

LINECALLINFOSTATE_QOS

0x20000000

One or more of the QoS members in LINECALLINFO must have been updated.

LINECALLINFOSTATE_CALLDATA

0x40000000

The CallData member in LINE_CALLINFO must have been updated.

No extensibility. All 32 bits are reserved.

When changes occur in a LINECALLINFO packet, a LINE_CALLINFO packet MUST be sent to the application. The parameters to this packet are a handle to the call and an indication of the information item that has changed. The LINEADDRESSCAPS packet also indicates which of these call information elements MUST be valid for every call on the address.