com.avaya.jtapi.tsapi
Interface LucentTerminalConnection

All Superinterfaces:
CallControlTerminalConnection, ITsapiTerminalConnection, MediaTerminalConnection, TerminalConnection
All Known Subinterfaces:
LucentV5TerminalConnection, LucentV5TerminalConnectionEx
All Known Implementing Classes:
com.avaya.jtapi.tsapi.LucentTerminalConnectionImpl, LucentV5TerminalConnectionExImpl, com.avaya.jtapi.tsapi.LucentV5TerminalConnectionImpl

public interface LucentTerminalConnection
extends ITsapiTerminalConnection

The LucentTerminalConnection interface extends ITsapiTerminalConnection 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.TerminalConnection
ACTIVE, DROPPED, IDLE, PASSIVE, RINGING, UNKNOWN
 
Fields inherited from interface javax.telephony.callcontrol.CallControlTerminalConnection
BRIDGED, DROPPED, HELD, IDLE, INUSE, RINGING, TALKING, UNKNOWN
 
Fields inherited from interface javax.telephony.media.MediaTerminalConnection
AVAILABLE, NOACTIVITY, PLAYING, RECORDING, UNAVAILABLE
 
Method Summary
 void leave(short dropResource, UserToUserInfo userInfo)
          Similar to the standard leave(), with the addition of Avaya-specific parameters.
 
Methods inherited from interface javax.telephony.TerminalConnection
answer, getCapabilities, getConnection, getState, getTerminal, getTerminalConnectionCapabilities
 
Methods inherited from interface javax.telephony.callcontrol.CallControlTerminalConnection
getCallControlState, hold, join, leave, unhold
 
Methods inherited from interface javax.telephony.media.MediaTerminalConnection
generateDtmf, getMediaAvailability, getMediaState, setDtmfDetection, startPlaying, startRecording, stopPlaying, stopRecording, useDefaultMicrophone, useDefaultSpeaker, usePlayURL, useRecordURL
 

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

leave

public void leave(short dropResource,
                  UserToUserInfo userInfo)
           throws TsapiInvalidStateException,
                  TsapiMethodNotSupportedException,
                  TsapiPrivilegeViolationException,
                  TsapiResourceUnavailableException
Similar to the standard leave(), 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:
TsapiInvalidStateException
TsapiMethodNotSupportedException
TsapiPrivilegeViolationException
TsapiResourceUnavailableException
See Also:
LucentConnection.disconnect(short, com.avaya.jtapi.tsapi.UserToUserInfo), UserToUserInfo


Copyright © 2005 Avaya All Rights Reserved.