ThbTapiLine.OnDisconnected
Unit: hbTapi
 

This event fires when the remote party hang's up a connected call. Details about the disconnected mode are stored in the call's DisconnectedMode property that uses one of the LINEDISCONNECTMODE_ bit flag 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.

 

Avalabiltity

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

Declaration

procedure (Sender: TObject; Call: ThbTapiCall);
property OnBusy : ThbTapiCallEvent;

Remarks

This event will fire only if the bit flag is set in the property ThbTapiLine.Address[<any available>].Caps.CallStates. The OnCallState event fires immediately before this event.

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

See Also

ThbTapiCall.State