ThbTapiCall.DisconnectMode
Unit: hbTapi
 

Holds the disconnect mode for the call. This property value is valid only after the ThbTapiLine.OnDisconnected resp. ThbTapiLine.OnCallState (diconnected) event has fired. The property value is one of the LINEDISCONNECTMODE_ constants:

Constant

Meaning

LINEDISCONNECTMODE_NORMAL

This is a normal disconnect request by the remote party; the call was terminated normally.

LINEDISCONNECTMODE_UNKNOWN

The reason for the disconnect request is unknown.

LINEDISCONNECTMODE_REJECT

The remote user has rejected the call.

LINEDISCONNECTMODE_PICKUP

The call was picked up from elsewhere.

LINEDISCONNECTMODE_FORWARDED

The call was forwarded by the switch.

LINEDISCONNECTMODE_BUSY

The remote user’s station is busy.

LINEDISCONNECTMODE_NOANSWER

The remote user’s station does not answer.

LINEDISCONNECTMODE_BADADDRESS

The destination address in invalid.

LINEDISCONNECTMODE_UNREACHABLE

The remote user could not be reached.

LINEDISCONNECTMODE_CONGESTION

The network is congested.

LINEDISCONNECTMODE_INCOMPATIBLE

The remote user’s station equipment is incompatible with the type of call requested.

LINEDISCONNECTMODE_UNAVAIL

The reason for the disconnect is unavailable and will not become known later.

Remarks

See the property ThbTapiLine.Addresses[<any available>].Caps.DisconnectModes for a list of the available disconnected modes.

The property ThbTapiCall.DisconnectModeText can be used to get a textual counterpart to the current DisconnectMode which is nice for quick visualization and debugging.

See Also

ThbTapiLine.OnCallState