This event fires when the status of an address changes.The Address parameter
contains the ThbTapiAddress object which status has changed. The AddressState
paramter indicates the state that has changed. It can be one or more of
the LINEADDRESSSTATE_ constans:
Constant
|
Meaning
|
LINEADDRESSSTATE_OTHER
|
Address-status items other than those listed below have changed.
The application should check the current address status
to determine which items have changed.
|
LINEADDRESSSTATE_DEVSPECIFIC
|
The device-specific item of the address status has changed.
|
LINEADDRESSSTATE_INUSEZERO
|
The address has changed to idle (it is not in use by any stations).
|
LINEADDRESSSTATE_INUSEONE
|
The address has changed from idle or in use by many bridged stations
to being in use by just one station.
|
LINEADDRESSSTATE_INUSEMANY
|
The monitored or bridged address has changed from being in use
by one station to being in use by more than one station.
|
LINEADDRESSSTATE_NUMCALLS
|
The number of calls on the address has changed. This is the result
of events such as a new incoming call, an outgoing call on the address,
or a call changing its hold status. This flag covers changes in
any of the members NumActiveCalls, NumOnHoldCalls and NumOnHoldPendingCalls
in the Address.Status
property.
|
LINEADDRESSSTATE_FORWARD
|
The forwarding status of the address has changed, including possibly
the number of rings for determining a no-answer condition. The application
should check the address status to determine details about the address's
current forwarding
status.
|
LINEADDRESSSTATE_TERMINALS
|
The terminal settings for the address have changed.
|
LINEADDRESSSTATE_CAPSCHANGE
|
Indicates that, due to configuration changes made by the user or
other circumstances, one or more of the members in the Address.Caps
property for the address have changed.
|
procedure (Sender: ThbTapiLine; Address: ThbTapiAddress;
AddressState: DWORD);
propety OnAddressState: ThbTapiAddressStateEvent;