TAPIEx.NET Component Documentation

Enum LINECALLREASON

The CALLREASON_ bit-flag constants describe the reason for a call.

CALLREASON_CALLCOMPLETION
The call was the result of a call completion request.
CALLREASON_CAMPEDON
The call was camped on the address. Usually, it appears initially in the onhold state, and can be switched to using SwapHold. If an active call becomes idle, the camped-on call may change to the offering state and the device start ringing.
CALLREASON_DIRECT
This is a direct incoming or outgoing call.
CALLREASON_FWDBUSY
This call was forwarded from another extension that was busy at the time of the call.
CALLREASON_FWDNOANSWER
The call was forwarded from another extension that didn't answer the call after some number of rings.
CALLREASON_FWDUNCOND
The call was forwarded unconditionally from another number.
CALLREASON_INTRUDE
The call intruded onto the line, either by a call completion action invoked by another station or by operator action. Depending on switch implementation, the call may appear either in the connected state, or conferenced with an existing active call on the line.
CALLREASON_PARKED
The call was parked on the address. Usually, it appears initially in the onhold state.
CALLREASON_PICKUP
The call was picked up from another extension.
CALLREASON_REDIRECT
The call was redirected to this station.
CALLREASON_REMINDER
The call is a reminder (or "recall") that the user has a call parked or on hold for (potentially) a long time.
CALLREASON_ROUTEREQUEST
The call appears on the address because the switch needs routing instructions from the application. The application should examine the CalledID member in LINECALLINFO, and use the Redirect function to provide a new dialable address for the call. If the call is to be blocked instead, the application may call Drop. If the application fails to take action within a switch-defined timeout period, a default action will be taken. A service provider can use this constant only if the negotiated version on the line is 2.0 or higher. Otherwise the service provider should substitute CALLREASON_UNAVAIL.
CALLREASON_TRANSFER
The call has been transferred from another number.
CALLREASON_UNAVAIL
The reason for the call is unavailable and will not become known later.
CALLREASON_UNKNOWN
The reason for the call is currently unknown but may become known later.
CALLREASON_UNPARK
The call was retrieved as a parked call.

See Also

None.