com.cisco.jtapi.extensions
Interface CiscoAddrAutoAcceptStatusChangedEv

All Superinterfaces:
javax.telephony.events.AddrEv, CiscoAddrEv, CiscoEv, javax.telephony.events.Ev

public interface CiscoAddrAutoAcceptStatusChangedEv
extends CiscoAddrEv

Introduction

The system sends CiscoAddrAutoAcceptStatusChangedEv to applications whenever the AutoAccept status for the Address on the Terminal changes. If an Address has multiple Terminals, this event gets sent for the Address AutoAccept status on each individual Terminal.


Field Summary
static int ID
           
 
Fields inherited from interface javax.telephony.events.Ev
CAUSE_CALL_CANCELLED, CAUSE_DEST_NOT_OBTAINABLE, CAUSE_INCOMPATIBLE_DESTINATION, CAUSE_LOCKOUT, CAUSE_NETWORK_CONGESTION, CAUSE_NETWORK_NOT_OBTAINABLE, CAUSE_NEW_CALL, CAUSE_NORMAL, CAUSE_RESOURCES_NOT_AVAILABLE, CAUSE_SNAPSHOT, CAUSE_UNKNOWN, META_CALL_ADDITIONAL_PARTY, META_CALL_ENDING, META_CALL_MERGING, META_CALL_PROGRESS, META_CALL_REMOVING_PARTY, META_CALL_STARTING, META_CALL_TRANSFERRING, META_SNAPSHOT, META_UNKNOWN
 
Method Summary
 int getAutoAcceptStatus()
          Returns the AutoAccept Status of the Address on the Terminal.
 CiscoTerminal getTerminal()
           Returns the Terminal at which the AutoAccept status for this address is changing.
 
Methods inherited from interface javax.telephony.events.AddrEv
getAddress
 
Methods inherited from interface javax.telephony.events.Ev
getCause, getID, getMetaCode, getObserved, isNewMetaEvent
 

Field Detail

ID

static final int ID
See Also:
Constant Field Values
Method Detail

getTerminal

CiscoTerminal getTerminal()

Returns the Terminal at which the AutoAccept status for this address is changing. For Shared Lines, the same Address appears on multiple Terminals. Applications can use this interface to discover on which Shared Line the AutoAcceptStatus is changing.


getAutoAcceptStatus

int getAutoAcceptStatus()
Returns the AutoAccept Status of the Address on the Terminal.

Returns:
One of CiscoAddress.AUTOACCEPT_OFF or CiscoAddress.AUTOACCEPT_ON
See Also:
CiscoAddress.getAutoAcceptStatus(Terminal terminal)