com.avaya.jtapi.tsapi
Interface LucentConnection

All Superinterfaces:
CallControlConnection, Connection, ITsapiConnection
All Known Subinterfaces:
LucentV5Connection, LucentV6Connection

public interface LucentConnection
extends ITsapiConnection

The LucentConnection interface extends ITsapiConnection with Avaya-specific features. When a Provider is bound to a Avaya switch, this interface may be used to access additional capabilities.


Field Summary
static short DR_CALL_CLASSIFIER
          Drop a call classifier from the call.
static short DR_NONE
           
static short DR_TONE_GENERATOR
          Drop a tone generator from the call.
 
Fields inherited from interface javax.telephony.Connection
ALERTING, CONNECTED, DISCONNECTED, FAILED, IDLE, INPROGRESS, UNKNOWN
 
Fields inherited from interface javax.telephony.callcontrol.CallControlConnection
ALERTING, DIALING, DISCONNECTED, ESTABLISHED, FAILED, IDLE, INITIATED, NETWORK_ALERTING, NETWORK_REACHED, OFFERED, OFFERING, QUEUED, UNKNOWN
 
Method Summary
 void disconnect(short dropResource, UserToUserInfo userInfo)
          Similar to the standard disconnect(), with the addition of Avaya-specific parameters.
 
Methods inherited from interface javax.telephony.Connection
disconnect, getAddress, getCall, getCapabilities, getConnectionCapabilities, getState, getTerminalConnections
 
Methods inherited from interface javax.telephony.callcontrol.CallControlConnection
accept, addToAddress, getCallControlState, park, redirect, reject
 

Field Detail

DR_NONE

public static final short DR_NONE
See Also:
Constant Field Values

DR_CALL_CLASSIFIER

public static final short DR_CALL_CLASSIFIER
Drop a call classifier from the call.

See Also:
Constant Field Values

DR_TONE_GENERATOR

public static final short DR_TONE_GENERATOR
Drop a tone generator from the call.

See Also:
Constant Field Values
Method Detail

disconnect

public void disconnect(short dropResource,
                       UserToUserInfo userInfo)
                throws TsapiPrivilegeViolationException,
                       TsapiResourceUnavailableException,
                       TsapiMethodNotSupportedException,
                       TsapiInvalidStateException
Similar to the standard disconnect(), with the addition of Avaya-specific parameters.

Parameters:
dropResource - The resource to be dropped from the call. Possible values are DR_CALL_CLASSIFIER, DR_TONE_GENERATOR, and DR_NONE.
userInfo - Associate caller information, up to 96 bytes (with Avaya CT 1.2 or higher, or the formally named CVCT 3.3 or higher that is connected to a DEFINITY G3V8 or higher; otherwise the limit is 32 bytes), with the call.
Throws:
TsapiPrivilegeViolationException
TsapiResourceUnavailableException
TsapiMethodNotSupportedException
TsapiInvalidStateException
See Also:
UserToUserInfo


Copyright © 2005 Avaya All Rights Reserved.