2.2.3.1.23 LINECALLORIGIN_Constants

The LINECALLORIGIN_Constants are bit-flag constants that describe the origin of a call.

Constant/value

Description

LINECALLORIGIN_OUTBOUND

0x0000001

The call originated from this station as an outgoing call.

LINECALLORIGIN_INTERNAL

0x00000002

The call originated as an incoming call at a station internal to the same switching environment.

LINECALLORIGIN_EXTERNAL

0x00000004

The call originated as an incoming call on an external line.

LINECALLORIGIN_UNKNOWN

0x00000010

The call origin must be currently unknown but can become known later.

LINECALLORIGIN_UNAVAIL

0x00000020

The call origin must be not available and will never become known for this call.

LINECALLORIGIN_CONFERENCE

0x00000040

The call handle must be for a conference call; that is, it is the connection of the application to the conference bridge in the switch.

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

Constant/value

Description

LINECALLORIGIN_INBOUND

0x00000080

The call originated as an incoming call, but the service provider is unable to determine whether it came from another station on the same switch or from an external line. The service provider can substitute LINECALLORIGIN_UNAVAIL.

No extensibility. All 32 bits are reserved.

The origin of a call MUST be stored in the dwOrigin member of the call's LINECALLINFO structure.