Table Of Contents
Cisco JTAPI Implementation
Introduction
Cisco JTAPI Extensions Hierarchy
Class Hierarchy
Interface Hierarchy
Cisco Services Alarm Hierarchy
Class Hierarchy
Interface Hierarchy
Cisco Services Tracing Hierarchy
Class Hierarchy
Interface Hierarchy
Class com.cisco.jtapi.extensions
Cisco JTAPI Extension Classes
CiscoG711MediaCapability
Declaration
Description
Fields
Constructors
CiscoG723MediaCapability
Declaration
Description
Fields
Constructors
Methods
CiscoG729MediaCapability
Declaration
Description
Fields
Constructors
CiscoGSMMediaCapability
Declaration
Description
Fields
Constructors
CiscoMediaCapability
Declaration
Direct Known Subclasses:
Description
Fields
Constructors
Methods
CiscoRegistrationException
Declaration
All Implemented Interfaces:
Description
Constructors
CiscoUnregistrationException
Declaration
All Implemented Interfaces:
Description
Constructors
Interface com.cisco.jtapi.extensions
Cisco JTAPI Extension Interfaces
CiscoAddrCreatedEv
Declaration
All Superinterfaces:
Description
Fields
Methods
CiscoAddress
Declaration
All Superinterfaces:
Description
Fields
Methods
CiscoAddressObserver
Declaration
All Superinterfaces:
Description
CiscoAddrEv
Declaration
All Superinterfaces:
All Known Subinterfaces:
Description
CiscoAddrInServiceEv
Declaration
All Superinterfaces:
Description
Fields
CiscoAddrOutOfServiceEv
Declaration
All Superinterfaces:
Description
Fields
CiscoAddrRemovedEv
Declaration
All Superinterfaces:
Description
Fields
Methods
CiscoCall
Declaration
All Superinterfaces:
All Known Subinterfaces:
Description
Methods
CiscoCallEv
Declaration
All Superinterfaces:
All Known Subinterfaces:
Description
Fields
Methods
CiscoCallID
Declaration
All Superinterfaces:
Description
Methods
CiscoConferenceEndEv
Declaration
All Superinterfaces:
Description
Fields
Methods
CiscoConferenceStartEv
Declaration
All Superinterfaces:
Description
Fields
Methods
CiscoConnection
Declaration
All Superinterfaces:
Description
Fields
Methods
CiscoConnectionID
Declaration
All Superinterfaces:
Description
Methods
CiscoConsultCall
Declaration
All Superinterfaces:
Description
Methods
CiscoConsultCallActiveEv
Declaration
All Superinterfaces:
Description
Fields
Methods
CiscoEv
Declaration
All Superinterfaces:
All Known Subinterfaces:
Description
CiscoJtapiException
Declaration
Description
Fields
Methods
CiscoJtapiPeer
Declaration
All Superinterfaces:
Description
Methods
CiscoJtapiProperties
Declaration
Description
Methods
CiscoMediaTerminal
Declaration
Description
Methods
CiscoObjectContainer
Declaration
All Known Subinterfaces:
Description
Methods
CiscoOutOfServiceEv
Declaration
All Superinterfaces:
All Known Subinterfaces:
Description
Fields
CiscoProvEv
Declaration
All Superinterfaces:
All Known Subinterfaces:
Description
CiscoProvider
Declaration
All Superinterfaces:
Description
Methods
CiscoProviderObserver
Declaration
All Superinterfaces:
Description
CiscoRouteAddress
Declaration
All Superinterfaces:
Methods
CiscoRouteSession
Declaration
All Superinterfaces:
Description
Fields
Methods
CiscoRTPBitRate
Declaration
Description
Fields
CiscoRTPInputProperties
Declaration
Methods
CiscoRTPInputStartedEv
Declaration
All Superinterfaces:
Fields
Methods
CiscoRTPInputStoppedEv
Declaration
All Superinterfaces:
Fields
CiscoRTPOutputProperties
Declaration
Methods
CiscoRTPOutputStartedEv
Declaration
All Superinterfaces:
Fields
Methods
CiscoRTPOutputStoppedEv
Declaration
All Superinterfaces:
Fields
CiscoRTPPayload
Declaration
Description
Fields
CiscoSynchronousObserver
Declaration
Description
CiscoTelephonyException
Declaration
Description
Fields
Methods
CiscoTermCreatedEv
Declaration
All Superinterfaces:
Description
Fields
Methods
CiscoTermEv
Declaration
All Superinterfaces:
All Known Subinterfaces:
Description
CiscoTerminal
Declaration
All Superinterfaces:
All Known Subinterfaces:
Description
Fields
Methods
CiscoTerminalConnection
Declaration
All Superinterfaces:
Description
CiscoTerminalObserver
Declaration
All Superinterfaces:
Description
CiscoTermInServiceEv
Declaration
All Superinterfaces:
Description
Fields
CiscoTermOutOfServiceEv
Declaration
All Superinterfaces:
Description
Fields
CiscoTermRemovedEv
Declaration
All Superinterfaces:
Description
Fields
Methods
CiscoTransferEndEv
Declaration
All Superinterfaces:
Description
Fields
Methods
CiscoTransferStartEv
Declaration
All Superinterfaces:
Description
Fields
Methods
Class com.cisco.services.alarm
AlarmManager
Declaration
Description
Constructors
Methods
DefaultAlarm
Declaration
All Implemented Interfaces:
Description
Constructors
Methods
DefaultAlarmWriter
Declaration
All Implemented Interfaces:
Description
Constructors
Methods
ParameterList
Declaration
Description
Constructors
Methods
Alarm
Declaration
All Known Implementing Classes:
Description
Fields
Methods
AlarmWriter
Declaration
All Known Implementing Classes:
Description
Methods
Class com.cisco.services.tracing
Cisco JTAPI Tracing Classes
BaseTraceWriter
Declaration
All Implemented Interfaces
Direct Known Subclasses
Description
Constructors
Methods
ConsoleTraceWriter
Declaration
All Implemented Interfaces
Description
Constructors
Methods
LogFileTraceWriter
Declaration
All Implemented Interfaces:
Description
Fields
Constructors
Methods
OutputStreamTraceWriter
Declaration
All Implemented Interfaces:
Description
Constructors
Methods
SyslogTraceWriter
Declaration
All Implemented Interfaces:
Description
Constructors
Methods
TraceManagerFactory
Declaration
Description
Methods
ConditionalTrace
Declaration
All Superinterfaces:
Description
Methods
Trace
Declaration
All Known Subinterfaces:
Description
Fields
Methods
TraceManager
Declaration
Description
Methods
TraceModule
Declaration
Description
Methods
TraceWriter
Declaration
All Known Subinterfaces:
All Known Implementing Classes:
Description
Methods
TraceWriterManager
Declaration
All Superinterfaces:
Description
Methods
UnconditionalTrace
Declaration
All Superinterfaces:
Description
Cisco JTAPI Implementation
Introduction
Cisco JTAPI Implementation describes interfaces and classes available. To create new applications, use these interfaces and classes with the standard JTAPI interfaces and classes described in the Cisco JTAPI v 1.2.
This chapter contains the following sections:
•
Cisco JTAPI Extensions Hierarchy
•
Cisco Services Alarm Hierarchy
•
Cisco Services Tracing Hierarchy
•
Class com.cisco.jtapi.extensions
•
Class com.cisco.services.alarm
•
Class com.cisco.services.tracing
Cisco JTAPI Extensions Hierarchy
Class Hierarchy
class java.lang.Object
class com.cisco.jtapi.extensions.CiscoMediaCapability
class com.cisco.jtapi.extensions.CiscoG711MediaCapability
class com.cisco.jtapi.extensions.CiscoG723MediaCapability
class com.cisco.jtapi.extensions.CiscoG729MediaCapability
class com.cisco.jtapi.extensions.CiscoGSMMediaCapability
class java.lang.Throwable (implements java.io.Serializable)
class java.lang.Exception
class com.cisco.jtapi.extensions.CiscoRegistrationException
class com.cisco.jtapi.extensions.CiscoUnregistrationException
Interface Hierarchy
interface javax.telephony.Address
interface com.cisco.jtapi.extensions.CiscoAddress(also extends
com.cisco.jtapi.extensions.CiscoObjectContainer)
interface javax.telephony.callcenter.RouteAddress
interface com.cisco.jtapi.extensions.CiscoRouteAddress
interface javax.telephony.AddressObserver
interface com.cisco.jtapi.extensions.CiscoAddressObserver
interface javax.telephony.Call
interface javax.telephony.callcontrol.CallControlCall
interface com.cisco.jtapi.extensions.CiscoCall(also extends
com.cisco.jtapi.extensions.CiscoObjectContainer)
interface com.cisco.jtapi.extensions.CiscoConsultCall
interface com.cisco.jtapi.extensions.CiscoJtapiException
interface com.cisco.jtapi.extensions.CiscoJtapiProperties
interface com.cisco.jtapi.extensions.CiscoObjectContainer
interface com.cisco.jtapi.extensions.CiscoAddress(also extends
javax.telephony.Address)
interface com.cisco.jtapi.extensions.CiscoCall(also extends
javax.telephony.callcontrol.CallControlCall)
interface com.cisco.jtapi.extensions.CiscoConsultCall
interface com.cisco.jtapi.extensions.CiscoCallID
interface com.cisco.jtapi.extensions.CiscoConnection(also extends
javax.telephony.callcontrol.CallControlConnection)
interface com.cisco.jtapi.extensions.CiscoConnectionID
interface com.cisco.jtapi.extensions.CiscoJtapiPeer(also extends
javax.telephony.JtapiPeer, com.cisco.services.tracing.TraceModule)
interface com.cisco.jtapi.extensions.CiscoProvider(also extends
javax.telephony.Provider)
interface com.cisco.jtapi.extensions.CiscoTerminal(also extends
javax.telephony.Terminal)
interface com.cisco.jtapi.extensions.CiscoMediaTerminal
interface com.cisco.jtapi.extensions.CiscoTerminalConnection(also extends
javax.telephony.callcontrol.CallControlTerminalConnection)
interface com.cisco.jtapi.extensions.CiscoRTPBitRate
interface com.cisco.jtapi.extensions.CiscoRTPInputProperties
interface com.cisco.jtapi.extensions.CiscoRTPOutputProperties
interface com.cisco.jtapi.extensions.CiscoRTPPayload
interface com.cisco.jtapi.extensions.CiscoSynchronousObserver
interface com.cisco.jtapi.extensions.CiscoTelephonyException
interface javax.telephony.Connection
interface javax.telephony.callcontrol.CallControlConnection
interface com.cisco.jtapi.extensions.CiscoConnection(also extends
com.cisco.jtapi.extensions.CiscoObjectContainer)
interface javax.telephony.events.Ev
interface javax.telephony.events.AddrEv
interface com.cisco.jtapi.extensions.CiscoAddrEv(also extends
com.cisco.jtapi.extensions.CiscoEv)
interface com.cisco.jtapi.extensions.CiscoAddrInServiceEv
interface com.cisco.jtapi.extensions.CiscoAddrOutOfServiceEv(also
extends com.cisco.jtapi.extensions.CiscoOutOfServiceEv)
interface javax.telephony.events.CallEv
interface javax.telephony.events.CallActiveEv
interface com.cisco.jtapi.extensions.CiscoConsultCallActiveEv(also
extends com.cisco.jtapi.extensions.CiscoCallEv)
interface com.cisco.jtapi.extensions.CiscoCallEv(also extends
com.cisco.jtapi.extensions.CiscoEv)
interface com.cisco.jtapi.extensions.CiscoConferenceEndEv
interface com.cisco.jtapi.extensions.CiscoConferenceStartEv
interface com.cisco.jtapi.extensions.CiscoConsultCallActiveEv(also
extends javax.telephony.events.CallActiveEv)
interface com.cisco.jtapi.extensions.CiscoTransferEndEv
interface com.cisco.jtapi.extensions.CiscoTransferStartEv
interface com.cisco.jtapi.extensions.CiscoEv
interface com.cisco.jtapi.extensions.CiscoAddrEv(also extends
javax.telephony.events.AddrEv)
interface com.cisco.jtapi.extensions.CiscoAddrInServiceEv
interface com.cisco.jtapi.extensions.CiscoAddrOutOfServiceEv(also
extends com.cisco.jtapi.extensions.CiscoOutOfServiceEv)
interface com.cisco.jtapi.extensions.CiscoCallEv(also extends
javax.telephony.events.CallEv)
interface com.cisco.jtapi.extensions.CiscoConferenceEndEv
interface com.cisco.jtapi.extensions.CiscoConferenceStartEv
interface com.cisco.jtapi.extensions.CiscoConsultCallActiveEv(also
extends javax.telephony.events.CallActiveEv)
interface com.cisco.jtapi.extensions.CiscoTransferEndEv
interface com.cisco.jtapi.extensions.CiscoTransferStartEv
interface com.cisco.jtapi.extensions.CiscoOutOfServiceEv
interface com.cisco.jtapi.extensions.CiscoAddrOutOfServiceEv(also
extends com.cisco.jtapi.extensions.CiscoAddrEv)
interface com.cisco.jtapi.extensions.CiscoTermOutOfServiceEv(also
extends com.cisco.jtapi.extensions.CiscoTermEv)
interface com.cisco.jtapi.extensions.CiscoProvEv(also extends
javax.telephony.events.ProvEv)
interface com.cisco.jtapi.extensions.CiscoAddrCreatedEv
interface com.cisco.jtapi.extensions.CiscoAddrRemovedEv
interface com.cisco.jtapi.extensions.CiscoTermCreatedEv
interface com.cisco.jtapi.extensions.CiscoTermRemovedEv
interface com.cisco.jtapi.extensions.CiscoTermEv(also extends
javax.telephony.events.TermEv)
interface com.cisco.jtapi.extensions.CiscoRTPInputStartedEv
interface com.cisco.jtapi.extensions.CiscoRTPInputStoppedEv
interface com.cisco.jtapi.extensions.CiscoRTPOutputStartedEv
interface com.cisco.jtapi.extensions.CiscoRTPOutputStoppedEv
interface com.cisco.jtapi.extensions.CiscoTermInServiceEv
interface com.cisco.jtapi.extensions.CiscoTermOutOfServiceEv(also
extends com.cisco.jtapi.extensions.CiscoOutOfServiceEv)
interface javax.telephony.events.ProvEv
interface com.cisco.jtapi.extensions.CiscoProvEv(also extends
com.cisco.jtapi.extensions.CiscoEv)
interface com.cisco.jtapi.extensions.CiscoAddrCreatedEv
interface com.cisco.jtapi.extensions.CiscoAddrRemovedEv
interface com.cisco.jtapi.extensions.CiscoTermCreatedEv
interface com.cisco.jtapi.extensions.CiscoTermRemovedEv
interface javax.telephony.events.TermEv
interface com.cisco.jtapi.extensions.CiscoTermEv(also extends
com.cisco.jtapi.extensions.CiscoEv)
interface com.cisco.jtapi.extensions.CiscoRTPInputStartedEv
interface com.cisco.jtapi.extensions.CiscoRTPInputStoppedEv
interface com.cisco.jtapi.extensions.CiscoRTPOutputStartedEv
interface com.cisco.jtapi.extensions.CiscoRTPOutputStoppedEv
interface com.cisco.jtapi.extensions.CiscoTermInServiceEv
interface com.cisco.jtapi.extensions.CiscoTermOutOfServiceEv(also
extends com.cisco.jtapi.extensions.CiscoOutOfServiceEv)
interface javax.telephony.JtapiPeer
interface com.cisco.jtapi.extensions.CiscoJtapiPeer(also extends
com.cisco.jtapi.extensions.CiscoObjectContainer,
com.cisco.services.tracing.TraceModule)
interface javax.telephony.Provider
interface com.cisco.jtapi.extensions.CiscoProvider(also extends
com.cisco.jtapi.extensions.CiscoObjectContainer)
interface javax.telephony.ProviderObserver
interface com.cisco.jtapi.extensions.CiscoProviderObserver
interface javax.telephony.callcenter.RouteSession
interface com.cisco.jtapi.extensions.CiscoRouteSession
interface javax.telephony.Terminal
interface com.cisco.jtapi.extensions.CiscoTerminal(also extends
com.cisco.jtapi.extensions.CiscoObjectContainer)
interface com.cisco.jtapi.extensions.CiscoMediaTerminal
interface javax.telephony.TerminalConnection
interface javax.telephony.callcontrol.CallControlTerminalConnection
interface com.cisco.jtapi.extensions.CiscoTerminalConnection(also extends
com.cisco.jtapi.extensions.CiscoObjectContainer)
interface javax.telephony.TerminalObserver
interface com.cisco.jtapi.extensions.CiscoTerminalObserver
interface com.cisco.services.tracing.TraceModule
interface com.cisco.jtapi.extensions.CiscoJtapiPeer(also extends
com.cisco.jtapi.extensions.CiscoObjectContainer, javax.telephony.JtapiPeer)
Cisco Services Alarm Hierarchy
Class Hierarchy
class java.lang.Object
class com.cisco.services.alarm.AlarmManager
class com.cisco.services.alarm.DefaultAlarm (implements
com.cisco.services.alarm.Alarm)
class com.cisco.services.alarm.DefaultAlarmWriter (implements
com.cisco.services.alarm.AlarmWriter)
class com.cisco.services.alarm.ParameterList
Interface Hierarchy
interface com.cisco.services.alarm.Alarm
interface com.cisco.services.alarm.AlarmWriter
Cisco Services Tracing Hierarchy
Class Hierarchy
class java.lang.Object
class com.cisco.services.tracing.BaseTraceWriter (implements
com.cisco.services.tracing.TraceWriter)
class com.cisco.services.tracing.ConsoleTraceWriter
class com.cisco.services.tracing.LogFileTraceWriter
class com.cisco.services.tracing.OutputStreamTraceWriter
class com.cisco.services.tracing.SyslogTraceWriter
class com.cisco.services.tracing.TraceManagerFactory
Interface Hierarchy
interface com.cisco.services.tracing.Trace
interface com.cisco.services.tracing.ConditionalTrace
interface com.cisco.services.tracing.UnconditionalTrace
interface com.cisco.services.tracing.TraceManager
interface com.cisco.services.tracing.TraceModule
interface com.cisco.services.tracing.TraceWriter
interface com.cisco.services.tracing.TraceWriterManager
Class com.cisco.jtapi.extensions
The Cisco JTAPI extension consists of a set of classes and interfaces that expose the functionality available in the Cisco IP Telephony. This API allows programmers to create independent applications for Cisco CallManager. The Cisco JTAPI implementation offers additional functionality not readily exposed through the JTAPI 1.2 interfaces. Applications can use the interfaces and classes in the com.cisco.jtapi.extensions package with the standard JTAPI interfaces and classes described in the Cisco JTAPI v 1.2 Specification manual to create new applications.
Cisco JTAPI Extension Classes
CiscoG711MediaCapability
Declaration
public class CiscoG711MediaCapability extends
com.cisco.jtapi.extensions.CiscoMediaCapability
+--com.cisco.jtapi.extensions.com.cisco.jtapi.extensions.CiscoMediaCapability
+--com.cisco.jtapi.extensions.CiscoG711MediaCapability
Description
The CiscoG711MediaCapability object specifies the properties for a G.711 encoded RTP stream. Applications that support G.711 media termination use this object to specify their preferred packet size when registering a CiscoMediaTerminal.
The default packet size is thirty milliseconds.
Member Summary
|
Fields
|
|
FRAMESIZE_SIXTY_MILLISECOND_PACKET
The frames-per-packet value for 60 millisecond packets
|
|
FRAMESIZE_THIRTY_MILLISECOND_PACKET
The frames-per-packet value for 30 millisecond packets
|
|
FRAMESIZE_TWENTY_MILLISECOND_PACKET
The frames-per-packet value for 20 millisecond packets
|
Constructors
|
|
CiscoG711MediaCapability()
Constructs a CiscoG711MediaCapability</CODE object with a default thirty millisecond packet size.
|
|
CiscoG711MediaCapability(int)
Constructs a CiscoG711MediaCapability</CODE object with the specified packet size.
|
Inherited Member Summary
|
Fields inherited from class CiscoMediaCapability
|
G711_64K_30_MILLISECONDS, G723_6K_30_MILLISECONDS, G729_30_MILLISECONDS, GSM_80_MILLISECONDS
|
Methods inherited from class CiscoMediaCapability
|
getMaxFramesPerPacket(), getPayloadType(), toString()
|
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
|
Fields
FRAMESIZE_SIXTY_MILLISECOND_PACKET
public static final int FRAMESIZE_SIXTY_MILLISECOND_PACKET
The frames-per-packet value for 60 millisecond packets
FRAMESIZE_THIRTY_MILLISECOND_PACKET
public static final int FRAMESIZE_THIRTY_MILLISECOND_PACKET
The frames-per-packet value for 30 millisecond packets
FRAMESIZE_TWENTY_MILLISECOND_PACKET
public static final int FRAMESIZE_TWENTY_MILLISECOND_PACKET
The frames-per-packet value for 20 millisecond packets
Constructors
CiscoG711MediaCapability()
public CiscoG711MediaCapability()
Constructs a CiscoG711MediaCapability</CODE object with a default thirty millisecond packet size.
CiscoG711MediaCapability(int)
public CiscoG711MediaCapability(int maxFramesPerPacket)
Constructs a CiscoG711MediaCapability</CODE object with the specified packet size.
CiscoG723MediaCapability
Declaration
public class CiscoG723MediaCapability extends
com.cisco.jtapi.extensions.CiscoMediaCapability
+--com.cisco.jtapi.extensions.com.cisco.jtapi.extensions.CiscoMediaCapability
+--com.cisco.jtapi.extensions.CiscoG723MediaCapability
Description
The CiscoG723MediaCapability object specifies the properties for a G.723 encoded RTP stream. Applications that support G.723 media termination use this object to specify their preferred packet size and bit rate when registering a CiscoMediaTerminal.
The default packet size is thirty milliseconds and the default bit rate is 6.4k.
Member Summary
|
Fields
|
|
FRAMESIZE_SIXTY_MILLISECOND_PACKET
The frames-per-packet value for 60 millisecond packets
|
|
FRAMESIZE_THIRTY_MILLISECOND_PACKET
The frames-per-packet value for 30 millisecond packets
|
|
FRAMESIZE_TWENTY_MILLISECOND_PACKET
The frames-per-packet value for 20 millisecond packets
|
Constructors
|
|
CiscoG723MediaCapability()
Constructs a CiscoG723MediaCapability</CODE object with a default thirty millisecond packet size and 6.4k bit rate.
|
|
CiscoG723MediaCapability(int, int)
Constructs a CiscoG723MediaCapability</CODE object with the specified packet size and bit rate.
|
Methods
|
|
Returns the bit rate specified by this capability object.
|
|
|
Inherited Member Summary
|
Fields inherited from class CiscoMediaCapability
|
G711_64K_30_MILLISECONDS, G723_6K_30_MILLISECONDS, G729_30_MILLISECONDS, GSM_80_MILLISECONDS
|
Methods inherited from class CiscoMediaCapability
|
getMaxFramesPerPacket(), getPayloadType()
|
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
|
Fields
FRAMESIZE_SIXTY_MILLISECOND_PACKET
public static final int FRAMESIZE_SIXTY_MILLISECOND_PACKET
The frames-per-packet value for 60 millisecond packets
FRAMESIZE_THIRTY_MILLISECOND_PACKET
public static final int FRAMESIZE_THIRTY_MILLISECOND_PACKET
The frames-per-packet value for 30 millisecond packets
FRAMESIZE_TWENTY_MILLISECOND_PACKET
public static final int FRAMESIZE_TWENTY_MILLISECOND_PACKET
The frames-per-packet value for 20 millisecond packets
Constructors
CiscoG723MediaCapability()
public CiscoG723MediaCapability()
Constructs a CiscoG723MediaCapability</CODE object with a default thirty millisecond packet size and 6.4k bit rate.
CiscoG723MediaCapability(int, int)
public CiscoG723MediaCapability(int maxFramesPerPacket, int bitRate)
Constructs a CiscoG723MediaCapability</CODE object with the specified packet size and bit rate.
Methods
getBitRate()
Returns the bit rate specified by this capability object.
Returns
a bit rate from the RTPBitRate interface
toString()
public java.lang.String toString()
Overrides
CiscoMediaCapability.toString() in class CiscoMediaCapability
CiscoG729MediaCapability
Declaration
public class CiscoG729MediaCapability extends
com.cisco.jtapi.extensions.CiscoMediaCapability
+--com.cisco.jtapi.extensions.com.cisco.jtapi.extensions.CiscoMediaCapability
+--com.cisco.jtapi.extensions.CiscoG729MediaCapability
Description
The CiscoG729MediaCapability object specifies the properties for a G.729 encoded RTP stream. Applications that support G.729 media termination use this object to specify their preferred packet size when registering a CiscoMediaTerminal.
The default packet size is thirty milliseconds.
Member Summary
|
Fields
|
|
FRAMESIZE_SIXTY_MILLISECOND_PACKET
The frames-per-packet value for 60 millisecond packets
|
|
FRAMESIZE_THIRTY_MILLISECOND_PACKET
The frames-per-packet value for 30 millisecond packets
|
|
FRAMESIZE_TWENTY_MILLISECOND_PACKET
The frames-per-packet value for 20 millisecond packets
|
Constructors
|
|
CiscoG729MediaCapability()
Constructs a CiscoG729MediaCapability</CODE object with a default G729 payload and thirty millisecond packet size.
|
|
CiscoG729MediaCapability(int, int)
Constructs a CiscoG729MediaCapability</CODE object with the specified packet size and payload.
|
Inherited Member Summary
|
Fields inherited from class CiscoMediaCapability
|
G711_64K_30_MILLISECONDS, G723_6K_30_MILLISECONDS, G729_30_MILLISECONDS, GSM_80_MILLISECONDS
|
Methods inherited from class CiscoMediaCapability
|
getMaxFramesPerPacket(), getPayloadType(), toString()
|
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
|
Fields
FRAMESIZE_SIXTY_MILLISECOND_PACKET
public static final int FRAMESIZE_SIXTY_MILLISECOND_PACKET
The frames-per-packet value for 60 millisecond packets
FRAMESIZE_THIRTY_MILLISECOND_PACKET
public static final int FRAMESIZE_THIRTY_MILLISECOND_PACKET
The frames-per-packet value for 30 millisecond packets
FRAMESIZE_TWENTY_MILLISECOND_PACKET
public static final int FRAMESIZE_TWENTY_MILLISECOND_PACKET
The frames-per-packet value for 20 millisecond packets
Constructors
CiscoG729MediaCapability()
public CiscoG729MediaCapability()
Constructs a CiscoG729MediaCapability</CODE object with a default G729 payload and thirty millisecond packet size.
CiscoG729MediaCapability(int, int)
public CiscoG729MediaCapability(int payload, int maxFramesPerPacket)
Constructs a CiscoG729MediaCapability</CODE object with the specified packet size and payload. Choice of payload is specified in CiscoRTPPayload with the options CiscoRTPPayload.G729 and CiscoRTPPayload.G729ANNEXA
CiscoGSMMediaCapability
Declaration
public class CiscoGSMMediaCapability extends
com.cisco.jtapi.extensions.CiscoMediaCapability
+--com.cisco.jtapi.extensions.com.cisco.jtapi.extensions.CiscoMediaCapability
+--com.cisco.jtapi.extensions.CiscoGSMMediaCapability
Description
The CiscoGSMMediaCapability object specifies the properties for a GSM encoded RTP stream. Applications that support GSM media termination use this object to specify their preferred packet size when registering a CiscoMediaTerminal.
The default packet size is thirty milliseconds.
Member Summary
|
Fields
|
|
FRAMESIZE_EIGHTY_MILLISECOND_PACKET
The frames-per-packet value for 30 millisecond packets
|
Constructors
|
|
CiscoGSMMediaCapability()
Constructs a CiscoGSMMediaCapability</CODE object with a default eighty millisecond packet size.
|
|
CiscoGSMMediaCapability(int)
Constructs a CiscoGSMMediaCapability</CODE object with the specified packet size.
|
Inherited Member Summary
|
Fields inherited from class CiscoMediaCapability
|
G711_64K_30_MILLISECONDS, G723_6K_30_MILLISECONDS, G729_30_MILLISECONDS, GSM_80_MILLISECONDS
|
Methods inherited from class CiscoMediaCapability
|
getMaxFramesPerPacket(), getPayloadType(), toString()
|
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
|
Fields
FRAMESIZE_EIGHTY_MILLISECOND_PACKET
public static final int FRAMESIZE_EIGHTY_MILLISECOND_PACKET
The frames-per-packet value for 30 millisecond packets
Constructors
CiscoGSMMediaCapability()
public CiscoGSMMediaCapability()
Constructs a CiscoGSMMediaCapability</CODE object with a default eighty millisecond packet size.
CiscoGSMMediaCapability(int)
public CiscoGSMMediaCapability(int maxFramesPerPacket)
Constructs a CiscoGSMMediaCapability</CODE object with the specified packet size.
CiscoMediaCapability
Declaration
public class CiscoMediaCapability
+--com.cisco.jtapi.extensions.CiscoMediaCapability
Direct Known Subclasses:
CiscoG711MediaCapability, CiscoG723MediaCapability, CiscoG729MediaCapability,
CiscoGSMMediaCapability
Description
The CiscoMediaCapability object specifies the properties of a particular media format that an application can support for CiscoMediaTerminals that it registers. Because CiscoMediaCapability is an abstract class, applications may only construct its subclasses directly.
See Also:
CiscoG711MediaCapability, CiscoG723MediaCapability, CiscoG729MediaCapability, CiscoGSMMediaCapability, CiscoRTPBitRate, CiscoRTPPayload
Member Summary
|
Fields
|
|
G.711 capability with default parameters
|
|
G.723 capability with default parameters
|
|
G.729 capability with default parameters
|
|
GSM capability with default parameters
|
Constructors
|
|
CiscoMediaCapability(int, int)
Constructs a CiscoMediaCapability object for the specified payload type and packet size.
|
Methods
|
|
Returns the packet size specified by this object.
|
|
Returns the payload type specified by this object.
|
|
|
Inherited Member Summary
|
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
|
Fields
G711_64K_30_MILLISECONDS
public static final CiscoMediaCapability G711_64K_30_MILLISECONDS
G.711 capability with default parameters
See Also
CiscoG711MediaCapability
G723_6K_30_MILLISECONDS
public static final CiscoMediaCapability G723_6K_30_MILLISECONDS
G.723 capability with default parameters
See Also
CiscoG723MediaCapability
G729_30_MILLISECONDS
public static final CiscoMediaCapability G729_30_MILLISECONDS
G.729 capability with default parameters
See Also
CiscoG729MediaCapability
GSM_80_MILLISECONDS
public static final CiscoMediaCapability GSM_80_MILLISECONDS
GSM capability with default parameters
See Also
CiscoGSMMediaCapability
Constructors
CiscoMediaCapability(int, int)
public CiscoMediaCapability(int payloadType, int maxFramesPerPacket)
Constructs a CiscoMediaCapability object for the specified payload type and packet size.
Methods
getMaxFramesPerPacket()
public int getMaxFramesPerPacket()
Returns the packet size specified by this object.
Returns
the packet size, specified as a the number of frames within a single packet
getPayloadType()
public int getPayloadType()
Returns the payload type specified by this object.
Returns
a payload type from the RTPPayload interface
toString()
public java.lang.String toString()
Overrides
java.lang.Object.toString() in class java.lang.Object
CiscoRegistrationException
Declaration
public class CiscoRegistrationException extends java.lang.Exception
+--com.cisco.jtapi.extensions.CiscoRegistrationException
All Implemented Interfaces:
Description
The CiscoMediaTerminal.register method throws this exception when the registration process fails for any reason. For example, registration would fail if the Provider were OUT_OF_SERVICE or if the device were already registered.
See Also:
CiscoMediaTerminal.register(InetAddress, int, CiscoMediaCapability[])
Member Summary
|
Constructors
|
|
CiscoRegistrationException()
|
|
CiscoRegistrationException(String)
|
Inherited Member Summary
|
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
|
Methods inherited from class java.lang.Throwable
|
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace,
printStackTrace, toString
|
Constructors
CiscoRegistrationException()
public CiscoRegistrationException()
CiscoRegistrationException(String)
public CiscoRegistrationException(java.lang.String description)
CiscoUnregistrationException
Declaration
public class CiscoUnregistrationException extends java.lang.Exception
+--com.cisco.jtapi.extensions.CiscoUnregistrationException
All Implemented Interfaces:
Description
The CiscoMediaTerminal.unregister method throws this exception when the unregistration process fails for any reason. For example, registration would fail if the Provider were OUT_OF_SERVICE or if the device were already unregistered.
See Also:
CiscoMediaTerminal.unregister()
Member Summary
|
Constructors
|
|
CiscoUnregistrationException()
|
|
CiscoUnregistrationException(String)
|
Inherited Member Summary
|
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
|
Methods inherited from class java.lang.Throwable
|
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace,
printStackTrace, toString
|
Constructors
CiscoUnregistrationException()
public CiscoUnregistrationException()
CiscoUnregistrationException(String)
public CiscoUnregistrationException(java.lang.String description)
Interface com.cisco.jtapi.extensions
Cisco JTAPI Extension Interfaces
Table 2-2 Cisco JTAPI Extension Interfaces and their Methods
Cisco Extension Interfaces
|
Method Names
|
CiscoAddrCreatedEv
|
getAddress()
|
CiscoAddress
|
getRegistrationState()
getState()
getType()
|
CiscoAddressObserver
|
None.
|
CiscoAddrEv
|
None.
|
CiscoAddrInServiceEv
|
None.
|
CiscoAddrOutOfServiceEv
|
None.
|
CiscoAddrRemovedEv
|
getAddress()
|
CiscoCall
|
getCallID()
|
CiscoCallEv
|
getCiscoCause()
|
CiscoCallID
|
getCall()
intValue()
|
CiscoConferenceEndEv
|
getConferencedCall()
getConferenceControllerAddress()
getFinalCall()
getHeldConferenceController()
getTalkingConferenceController()
|
CiscoConferenceStartEv
|
getConferencedCall()
getConferenceControllerAddress()
getFinalCall()
getHeldConferenceController()
getTalkingConferenceController()
|
CiscoConnection
|
getConnectionID()
getReason()
redirect(String, int)
redirect(String, int, int)
redirect(String, int, int, int)
|
CiscoConnectionID
|
getConnection()
intValue()
|
CiscoConsultCall
|
consultWithoutMedia(TerminalConnection, String)
getConsultingTerminalConnection()
|
CiscoConsultCallActiveEv
|
getHeldTerminalConnection()
|
CiscoEv
|
None.
|
CiscoJtapiException
|
getErrorCode()
|
CiscoJtapiPeer
|
getJtapiProperties()
|
CiscoJtapiProperties
|
getAlarmServiceHostname()
getAlarmServicePort()
getCtiRequestTimeout()
getDebuggingNames()
getDebuggingValue(String)
getDesiredServerHeartbeatInterval()
getFileNameBase()
getFileNameExtension()
getNumTraceFiles()
getPeriodicWakeupEnabled()
getPeriodicWakeupInterval()
getProviderOpenRequestTimeout()
getProviderRetryInterval()
getQueueSizeThreshold()
getQueueStatsEnabled()
getRouteSelectTimeout()
getServices()
getSyslogCollector()
getSyslogCollectorUDPPort()
getTraceDirectory()
getTraceFileSize()
getTraceNames()
getTracePath()
getTraceValue(String)
getUseAlarmService()
getUseFileTrace()
getUseJavaConsoleTrace()
getUseSameDir()
getUseSyslog()
setAlarmServiceHostname(String)
setAlarmServicePort(int)
setCtiRequestTimeout(int)
setDebuggingValue(String, boolean)
setDesiredServerHeartbeatInterval(int)
|
CiscoJtapiProperties
(cont.)
|
setFileNameBase(String)
setFileNameExtension(String)
setNumTraceFiles(int)
setPeriodicWakeupEnabled(boolean)
setPeriodicWakeupInterval(int)
setProviderOpenRequestTimeout(int)
setProviderRetryInterval(int)
setQueueSizeThreshold(int)
setQueueStatsEnabled(boolean)
setRouteSelectTimeout(int)
setServices(String[])
setSyslogCollector(String)
setSyslogCollectorUDPPort(int)
setTraceDirectory(String)
setTraceFileSize(int)
setTracePath(String)
setTraceValue(String, boolean)
setUseAlarmService(boolean)
setUseFileTrace(boolean)
setUseJavaConsoleTrace(boolean)
setUseSyslog(boolean)
|
CiscoMediaTerminal
|
isRegistered()
register(InetAddress, int)
register(InetAddress, int, CiscoMediaCapability[])
unregister()
|
CiscoObjectContainer
|
getObject()
setObject(Object)
|
CiscoOutOfServiceEv
|
None
|
CiscoProvEv
|
None.
|
CiscoProvider
|
getCallbackGuardEnabled()
getMediaTerminal(String)
getMediaTerminals()
setCallbackGuardEnabled(boolean)
|
CiscoProviderObserver
|
None.
|
CiscoRouteAddress
|
registerRouteCallback(RouteCallback, boolean)
|
CiscoRouteSession
|
getCall()
selectRoute(String[], int)
|
CiscoRTPBitRate
|
None.
|
CiscoRTPInputProperties
|
getBitRate()
getEchoCancellation()
getLocalAddress()
getLocalPort()
getPacketSize()
getPayloadType()
|
CiscoRTPInputStartedEv
|
getRTPInputProperties()
|
CiscoRTPInputStoppedEv
|
None.
|
CiscoRTPOutputProperties
|
getBitRate()
getMaxFramesPerPacket()
getPacketSize()
getPayloadType()
getPrecedenceValue()
getRemoteAddress()
getRemotePort()
getSilenceSuppression()
|
CiscoRTPOutputStartedEv
|
getRTPOutputProperties()
|
CiscoRTPOutputStoppedEv
|
None.
|
CiscoRTPPayload
|
None.
|
CiscoSynchronousObserver
|
None.
|
CiscoTelephonyException
|
getDetailedCause().
|
CiscoTermCreatedEv
|
getTerminal()
|
CiscoTermEv
|
None.
|
CiscoTerminal
|
getRegistrationState()
getRTPInputProperties()
getRTPOutputProperties()
getState()
|
CiscoTerminalConnection
|
None.
|
CiscoTerminalObserver
|
None.
|
CiscoTermInServiceEv
|
None.
|
CiscoTermOutOfServiceEv
|
None.
|
CiscoTermRemovedEv
|
getTerminal()
|
CiscoTransferEndEv
|
getFinalCall()
getTransferController()
getTransferControllerAddress()
getTransferredCall()
|
CiscoTransferStartEv
|
getFinalCall()
getTransferController()
getTransferControllerAddress()
getTransferredCall()
|
CiscoAddrCreatedEv
Declaration
public interface CiscoAddrCreatedEv extends com.cisco.jtapi.extensions.CiscoProvEv
All Superinterfaces:
CiscoEv, CiscoProvEv, javax.telephony.events.Ev, javax.telephony.events.ProvEv
Description
The CiscoAddrCreatedEv event
Member Summary
|
Fields
|
|
|
Methods
|
|
|
Inherited Member Summary
|
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
|
Methods inherited from interface javax.telephony.events.Ev
|
getCause, getID, getMetaCode, getObserved, isNewMetaEvent
|
Methods inherited from interface javax.telephony.events.ProvEv
|
|
Fields
ID
public static final int ID
Methods
getAddress()
public javax.telephony.Address getAddress()
CiscoAddress
Declaration
public interface CiscoAddress extends javax.telephony.Address,
com.cisco.jtapi.extensions.CiscoObjectContainer
All Superinterfaces:
javax.telephony.Address, CiscoObjectContainer
Description
The CiscoAddress interface extends the Address interface with additional CallManager-specific capabilities.
See Also:
javax.telephony.Address
Member Summary
|
Fields
|
|
This is an external address with a valid name.
|
|
This is an external address with an unknown name.
|
|
The address is out-of-service
|
|
This is an internal address.
|
|
The address is in-service
|
|
This is an external address with an unknown name.
|
Methods
|
|
Returns the state of this address.
|
|
Returns the state of this address.
|
|
Returns the type of this address.
|
Inherited Member Summary
|
Methods inherited from interface javax.telephony.Address
|
addCallObserver, addObserver, getAddressCapabilities, getCallObservers, getCapabilities,
getConnections, getName, getObservers, getProvider, getTerminals, removeCallObserver,
removeObserver
|
Methods inherited from interface CiscoObjectContainer
|
getObject(), setObject(Object)
|
Fields
EXTERNAL
public static final int EXTERNAL
This is an external address with a valid name. An address of this type is created when ANI or callerID is available on the call.
EXTERNAL_UNKNOWN
public static final int EXTERNAL_UNKNOWN
This is an external address with an unknown name. An address of this type is created to represent an endpoint for which there is insufficient information.
IN_SERVICE
public static final int IN_SERVICE
The address is out-of-service
INTERNAL
public static final int INTERNAL
This is an internal address.
OUT_OF_SERVICE
public static final int OUT_OF_SERVICE
The address is in-service
UNKNOWN
public static final int UNKNOWN
This is an external address with an unknown name. An address of this type is created to represent an endpoint for which there is insufficient information.
Methods
getRegistrationState()
public int getRegistrationState()
Deprecated.
This method has been replaced by the getState() method.
Returns the state of this address.
The state may be any of the following constants:
CiscoAddress.OUT_OF_SERVICE
CiscoAddress.IN_SERVICE
Returns
the state of this address
getState()
Returns the state of this address.
The state may be any of the following constants:
CiscoAddress.OUT_OF_SERVICE
CiscoAddress.IN_SERVICE
Returns
the state of this address
getType()
Returns the type of this address.
The type may be any of the following constants:
CiscoAddress.INTERNAL
CiscoAddress.EXTERNAL
CiscoAddress.EXTERNAL_UNKNOWN
Returns
the type of address
CiscoAddressObserver
Declaration
public interface CiscoAddressObserver extends javax.telephony.AddressObserver
All Superinterfaces:
javax.telephony.AddressObserver
Description
Applications implement this interface in order to receive CiscoAddrEv events such as CiscoAddrInServiceEv and CiscoAddrOutOfServiceEv when observing Addresses via the Address.addObserver method.
See Also:
CiscoAddrInServiceEv, CiscoAddrOutOfServiceEv
Inherited Member Summary
|
Methods inherited from interface javax.telephony.AddressObserver
|
|
CiscoAddrEv
Declaration
public interface CiscoAddrEv extends com.cisco.jtapi.extensions.CiscoEv,
javax.telephony.events.AddrEv
All Superinterfaces:
javax.telephony.events.AddrEv, CiscoEv, javax.telephony.events.Ev
All Known Subinterfaces:
CiscoAddrInServiceEv, CiscoAddrOutOfServiceEv
Description
The CiscoAddrEv interface, which extends JTAPI's core javax.telephony.events.AddrEv interface, serves as the base interface for all Cisco-extended JTAPI Address events. Every Address-related event in this package extends this interface, directly or indirectly.
See Also:
javax.telephony.events.AddrEv
Inherited Member Summary
|
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
|
Methods inherited from interface javax.telephony.events.AddrEv
|
|
Methods inherited from interface javax.telephony.events.Ev
|
getCause, getID, getMetaCode, getObserved, isNewMetaEvent
|
CiscoAddrInServiceEv
Declaration
public interface CiscoAddrInServiceEv extends com.cisco.jtapi.extensions.CiscoAddrEv
All Superinterfaces:
javax.telephony.events.AddrEv, CiscoAddrEv, CiscoEv, javax.telephony.events.Ev
Description
The CiscoAddrInServiceEv event
Inherited Member Summary
|
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
|
Methods inherited from interface javax.telephony.events.AddrEv
|
|
Methods inherited from interface javax.telephony.events.Ev
|
getCause, getID, getMetaCode, getObserved, isNewMetaEvent
|
Fields
ID
public static final int ID
CiscoAddrOutOfServiceEv
Declaration
public interface CiscoAddrOutOfServiceEv extends com.cisco.jtapi.extensions.CiscoAddrEv,
com.cisco.jtapi.extensions.CiscoOutOfServiceEv
All Superinterfaces:
javax.telephony.events.AddrEv, CiscoAddrEv, CiscoEv, CiscoOutOfServiceEv,
javax.telephony.events.Ev
Description
The CiscoAddrOutOfServiceEv event
Inherited Member Summary
|
Fields inherited from interface CiscoOutOfServiceEv
|
CAUSE_CALLMANAGER_FAILURE, CAUSE_CTIMANAGER_FAILURE, CAUSE_DEVICE_FAILURE,
CAUSE_DEVICE_UNREGISTERED, CAUSE_NOCALLMANAGER_AVAILABLE, CAUSE_REHOME_TO_HIGHER_PRIORITY_CM,
CAUSE_REHOMING_FAILURE
|
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
|
Methods inherited from interface javax.telephony.events.AddrEv
|
|
Methods inherited from interface javax.telephony.events.Ev
|
getCause, getID, getMetaCode, getObserved, isNewMetaEvent
|
Fields
ID
public static final int ID
CiscoAddrRemovedEv
Declaration
public interface CiscoAddrRemovedEv extends com.cisco.jtapi.extensions.CiscoProvEv
All Superinterfaces:
CiscoEv, CiscoProvEv, javax.telephony.events.Ev, javax.telephony.events.ProvEv
Description
The CiscoAddrRemovedEv event
Member Summary
|
Fields
|
|
|
Methods
|
|
|
Inherited Member Summary
|
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
|
Methods inherited from interface javax.telephony.events.Ev
|
getCause, getID, getMetaCode, getObserved, isNewMetaEvent
|
Methods inherited from interface javax.telephony.events.ProvEv
|
|
Fields
ID
public static final int ID
Methods
getAddress()
public javax.telephony.Address getAddress()
CiscoCall
Declaration
public interface CiscoCall extends javax.telephony.callcontrol.CallControlCall,
com.cisco.jtapi.extensions.CiscoObjectContainer
All Superinterfaces:
javax.telephony.Call, javax.telephony.callcontrol.CallControlCall, CiscoObjectContainer
All Known Subinterfaces:
Description
The CiscoCall interface extends the CallControlCall interface with additional CallManager-specific capabilities.
In CallManager terms, every Call object comprises a set of call legs that share a common identifier: the global call handle. Connection objects represent call legs in JTAPI, and the Call object that relates a set of Connections contains the global call handle that the underlying call legs share.
The global call handle within a CiscoCall is accessible via its CallManagerID and CallID properties. Taken together, the CallManagerID and CallID form the global call handle maintained by the CallManager. This pair of properties is guaranteed to be unique among all ACTIVE Call objects, but when an ACTIVE call becomes INACTIVE, its CallManagerID and CallID may be reused to identify a newly-created Call object. Therefore, it is possible for an INACTIVE Call to have identical CallManagerID and CallID properties to those of a currently ACTIVE Call object.
See Also:
javax.telephony.Call
Member Summary
|
Methods
|
|
CallID is a unique identifier among all ACTIVE calls with the same CallManagerID.
|
Inherited Member Summary
|
Fields inherited from interface javax.telephony.Call
|
|
Methods inherited from interface javax.telephony.Call
|
addObserver, connect, getCallCapabilities, getCapabilities, getConnections, getObservers,
getProvider, getState, removeObserver
|
Methods inherited from interface javax.telephony.callcontrol.CallControlCall
|
addParty, conference, consult, consult, drop, getCalledAddress, getCallingAddress,
getCallingTerminal, getConferenceController, getConferenceEnable, getLastRedirectedAddress,
getTransferController, getTransferEnable, offHook, setConferenceController, setConferenceEnable,
setTransferController, setTransferEnable, transfer, transfer
|
Methods inherited from interface CiscoObjectContainer
|
getObject(), setObject(Object)
|
Methods
getCallID()
public CiscoCallID getCallID()
CallID is a unique identifier among all ACTIVE calls with the same CallManagerID.
Returns
the CallID property of this Call
CiscoCallEv
Declaration
public interface CiscoCallEv extends com.cisco.jtapi.extensions.CiscoEv,
javax.telephony.events.CallEv
All Superinterfaces:
javax.telephony.events.CallEv, CiscoEv, javax.telephony.events.Ev
All Known Subinterfaces:
CiscoConferenceEndEv, CiscoConferenceStartEv, CiscoConsultCallActiveEv,
CiscoTransferEndEv, CiscoTransferStartEv
Description
The CiscoCallEv interface, which extends JTAPI's core javax.telephony.events.CallEv interface, serves as the base interface for all Cisco-extended JTAPI Call events. Every Call-related event in this package extends this interface, directly or indirectly.
See Also:
javax.telephony.events.CallEv
Member Summary
|
Fields
|
|
CAUSE_ACCESSINFORMATIONDISCARDED
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CAUSE_DESTINATIONOUTOFORDER
|
|
CAUSE_DESTNUMMISSANDDCNOTSUB
|
|
|
|
CAUSE_IDENTIFIEDCHANDOESNOTEXIST
|
|
|
|
|
|
CAUSE_INCOMPATABLEDDESTINATION
|
|
CAUSE_INTERWORKINGUNSPECIFIED
|
|
CAUSE_INVALIDCALLREFVALUE
|
|
|
|
CAUSE_INVALIDMESSAGEUNSPECIFIED
|
|
CAUSE_INVALIDNUMBERFORMAT
|
|
CAUSE_INVALIDTRANSITNETSEL
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CAUSE_NONSELECTEDUSERCLEARING
|
|
|
|
|
|
CAUSE_NOROUTETODDESTINATION
|
|
CAUSE_NOROUTETOTRANSITNET
|
|
|
|
|
|
CAUSE_ONLYRDIVEARERCAPAVAIL
|
|
CAUSE_PROTOCOLERRORUNSPECIFIED
|
|
|
|
CAUSE_RECOVERYONTIMEREXPIRY
|
|
|
|
CAUSE_REQCALLIDHASBEENCLEARED
|
|
|
|
|
|
CAUSE_REQFACILITYNOTSUBSCRIBED
|
|
|
|
CAUSE_RESPONSETOSTATUSENQUIRY
|
|
CAUSE_SERVNOTAVAILUNSPECIFIED
|
|
CAUSE_SERVOPERATIONVIOLATED
|
|
CAUSE_SERVOROPTNAVAILORIMPL
|
|
CAUSE_SUSPCALLBUTNOTTHISONE
|
|
CAUSE_SWITCHINGEQUIPMENTCONGESTION
|
|
|
|
|
|
|
Methods
|
|
Returns the CallManager cause for this event.
|
Inherited Member Summary
|
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
|
Methods inherited from interface javax.telephony.events.CallEv
|
|
Methods inherited from interface javax.telephony.events.Ev
|
getCause, getID, getMetaCode, getObserved, isNewMetaEvent
|
Fields
CAUSE_ACCESSINFORMATIONDISCARDED
public static final int CAUSE_ACCESSINFORMATIONDISCARDED
CAUSE_BCBPRESENTLYAVAIL
public static final int CAUSE_BCBPRESENTLYAVAIL
CAUSE_BCNAUTHORIZED
public static final int CAUSE_BCNAUTHORIZED
CAUSE_BEARERCAPNIMPL
public static final int CAUSE_BEARERCAPNIMPL
CAUSE_CALLBEINGDELIVERED
public static final int CAUSE_CALLBEINGDELIVERED
CAUSE_CALLIDINUSE
public static final int CAUSE_CALLIDINUSE
CAUSE_CALLREJECTED
public static final int CAUSE_CALLREJECTED
CAUSE_CALLSPLIT
public static final int CAUSE_CALLSPLIT
CAUSE_CHANTYPENIMPL
public static final int CAUSE_CHANTYPENIMPL
CAUSE_CHANUNACCEPTABLE
public static final int CAUSE_CHANUNACCEPTABLE
CAUSE_DESTINATIONOUTOFORDER
public static final int CAUSE_DESTINATIONOUTOFORDER
CAUSE_DESTNUMMISSANDDCNOTSUB
public static final int CAUSE_DESTNUMMISSANDDCNOTSUB
CAUSE_FACILITYREJECTED
public static final int CAUSE_FACILITYREJECTED
CAUSE_IDENTIFIEDCHANDOESNOTEXIST
public static final int CAUSE_IDENTIFIEDCHANDOESNOTEXIST
CAUSE_IENIMPL
public static final int CAUSE_IENIMPL
CAUSE_INCOMINGCALLBARRED
public static final int CAUSE_INCOMINGCALLBARRED
CAUSE_INCOMPATABLEDDESTINATION
public static final int CAUSE_INCOMPATABLEDDESTINATION
CAUSE_INTERWORKINGUNSPECIFIED
public static final int CAUSE_INTERWORKINGUNSPECIFIED
CAUSE_INVALIDCALLREFVALUE
public static final int CAUSE_INVALIDCALLREFVALUE
CAUSE_INVALIDIECONTENTS
public static final int CAUSE_INVALIDIECONTENTS
CAUSE_INVALIDMESSAGEUNSPECIFIED
public static final int CAUSE_INVALIDMESSAGEUNSPECIFIED
CAUSE_INVALIDNUMBERFORMAT
public static final int CAUSE_INVALIDNUMBERFORMAT
CAUSE_INVALIDTRANSITNETSEL
public static final int CAUSE_INVALIDTRANSITNETSEL
CAUSE_MANDATORYIEMISSING
public static final int CAUSE_MANDATORYIEMISSING
CAUSE_MSGNCOMPATABLEWCS
public static final int CAUSE_MSGNCOMPATABLEWCS
CAUSE_MSGTYPENCOMPATWCS
public static final int CAUSE_MSGTYPENCOMPATWCS
CAUSE_MSGTYPENIMPL
public static final int CAUSE_MSGTYPENIMPL
CAUSE_NETOUTOFORDER
public static final int CAUSE_NETOUTOFORDER
CAUSE_NOANSWERFROMUSER
public static final int CAUSE_NOANSWERFROMUSER
CAUSE_NOCALLSUSPENDED
public static final int CAUSE_NOCALLSUSPENDED
CAUSE_NOCIRCAVAIL
public static final int CAUSE_NOCIRCAVAIL
CAUSE_NOERROR
public static final int CAUSE_NOERROR
CAUSE_NONSELECTEDUSERCLEARING
public static final int CAUSE_NONSELECTEDUSERCLEARING
CAUSE_NORMALCALLCLEARING
public static final int CAUSE_NORMALCALLCLEARING
CAUSE_NORMALUNSPECIFIED
public static final int CAUSE_NORMALUNSPECIFIED
CAUSE_NOROUTETODDESTINATION
public static final int CAUSE_NOROUTETODDESTINATION
CAUSE_NOROUTETOTRANSITNET
public static final int CAUSE_NOROUTETOTRANSITNET
CAUSE_NOUSERRESPONDING
public static final int CAUSE_NOUSERRESPONDING
CAUSE_NUMBERCHANGED
public static final int CAUSE_NUMBERCHANGED
CAUSE_ONLYRDIVEARERCAPAVAIL
public static final int CAUSE_ONLYRDIVEARERCAPAVAIL
CAUSE_PROTOCOLERRORUNSPECIFIED
public static final int CAUSE_PROTOCOLERRORUNSPECIFIED
CAUSE_QUALOFSERVNAVAIL
public static final int CAUSE_QUALOFSERVNAVAIL
CAUSE_RECOVERYONTIMEREXPIRY
public static final int CAUSE_RECOVERYONTIMEREXPIRY
CAUSE_REDIRECTED
public static final int CAUSE_REDIRECTED
CAUSE_REQCALLIDHASBEENCLEARED
public static final int CAUSE_REQCALLIDHASBEENCLEARED
CAUSE_REQCIRCNAVIL
public static final int CAUSE_REQCIRCNAVIL
CAUSE_REQFACILITYNIMPL
public static final int CAUSE_REQFACILITYNIMPL
CAUSE_REQFACILITYNOTSUBSCRIBED
public static final int CAUSE_REQFACILITYNOTSUBSCRIBED
CAUSE_RESOURCESNAVAIL
public static final int CAUSE_RESOURCESNAVAIL
CAUSE_RESPONSETOSTATUSENQUIRY
public static final int CAUSE_RESPONSETOSTATUSENQUIRY
CAUSE_SERVNOTAVAILUNSPECIFIED
public static final int CAUSE_SERVNOTAVAILUNSPECIFIED
CAUSE_SERVOPERATIONVIOLATED
public static final int CAUSE_SERVOPERATIONVIOLATED
CAUSE_SERVOROPTNAVAILORIMPL
public static final int CAUSE_SERVOROPTNAVAILORIMPL
CAUSE_SUSPCALLBUTNOTTHISONE
public static final int CAUSE_SUSPCALLBUTNOTTHISONE
CAUSE_SWITCHINGEQUIPMENTCONGESTION
public static final int CAUSE_SWITCHINGEQUIPMENTCONGESTION
CAUSE_TEMPORARYFAILURE
public static final int CAUSE_TEMPORARYFAILURE
CAUSE_UNALLOCATEDNUMBER
public static final int CAUSE_UNALLOCATEDNUMBER
CAUSE_USERBUSY
public static final int CAUSE_USERBUSY
Methods
getCiscoCause()
public int getCiscoCause()
Returns the CallManager cause for this event.
In order to function properly, some applications need to know the reason why an event happened at an endpoint that the application is observing. For example, a Connection may be disconnected because the call was not answered (CAUSE_NOANSWERFROMUSER), or whether the caller it was disconnected because it was rejected (CAUSE_CALLREJECTED).
Returns
the CallManager cause for this event
CiscoCallID
Declaration
public interface CiscoCallID extends com.cisco.jtapi.extensions.CiscoObjectContainer
All Superinterfaces:
Description
The CiscoCallID object repreents a unique object associated with each call. Aplications may use the object itself or the integer representation of the object returned by the intValue() method.
Member Summary
|
Methods
|
|
|
|
Returns an integer representation of this object, currently a bitwise OR of the CallManagerID and GlobalCallID properties (shifted and truncated appropriately)
|
Inherited Member Summary
|
Methods inherited from interface CiscoObjectContainer
|
getObject(), setObject(Object)
|
Methods
getCall()
public CiscoCall getCall()
intValue()
Returns an integer representation of this object, currently a bitwise OR of the CallManagerID and GlobalCallID properties (shifted and truncated appropriately)
Returns
an integer representation of this object
CiscoConferenceEndEv
Declaration
public interface CiscoConferenceEndEv extends com.cisco.jtapi.extensions.CiscoCallEv
All Superinterfaces:
javax.telephony.events.CallEv, CiscoCallEv, CiscoEv, javax.telephony.events.Ev
Description
The CiscoConferenceEndEv event indicates that a transfer operation has completed. This event is reported via the CallControlCallObserver interface.
Member Summary
|
Fields
|
|
|
Methods
|
|
getConferenceControllerAddress()
Returns the Address which currently acts as the conference controller for this call —- the initiating call.
|
|
Returns the call that has been merged.
|
|
Returns the call that remains active after the conference is completed.
|
public TerminalConnection
|
getHeldConferenceController()
Returns the TerminalConnection which currently acts as the conference controller for this call —- the final call.
|
public TerminalConnection
|
getTalkingConferenceController()
Returns the TerminalConnection which currently acts as the conference controller for this call —- the initiating call.
|
Inherited Member Summary
|
Fields inherited from interface CiscoCallEv
|
CAUSE_ACCESSINFORMATIONDISCARDED, CAUSE_BCBPRESENTLYAVAIL, CAUSE_BCNAUTHORIZED,
CAUSE_BEARERCAPNIMPL, CAUSE_CALLBEINGDELIVERED, CAUSE_CALLIDINUSE, CAUSE_CALLREJECTED,
CAUSE_CALLSPLIT, CAUSE_CHANTYPENIMPL, CAUSE_CHANUNACCEPTABLE, CAUSE_DESTINATIONOUTOFORDER,
CAUSE_DESTNUMMISSANDDCNOTSUB, CAUSE_FACILITYREJECTED, CAUSE_IDENTIFIEDCHANDOESNOTEXIST,
CAUSE_IENIMPL, CAUSE_INCOMINGCALLBARRED, CAUSE_INCOMPATABLEDDESTINATION,
CAUSE_INTERWORKINGUNSPECIFIED, CAUSE_INVALIDCALLREFVALUE, CAUSE_INVALIDIECONTENTS,
CAUSE_INVALIDMESSAGEUNSPECIFIED, CAUSE_INVALIDNUMBERFORMAT, CAUSE_INVALIDTRANSITNETSEL,
CAUSE_MANDATORYIEMISSING, CAUSE_MSGNCOMPATABLEWCS, CAUSE_MSGTYPENCOMPATWCS, CAUSE_MSGTYPENIMPL,
CAUSE_NETOUTOFORDER, CAUSE_NOANSWERFROMUSER, CAUSE_NOCALLSUSPENDED, CAUSE_NOCIRCAVAIL,
CAUSE_NOERROR, CAUSE_NONSELECTEDUSERCLEARING, CAUSE_NORMALCALLCLEARING, CAUSE_NORMALUNSPECIFIED,
CAUSE_NOROUTETODDESTINATION, CAUSE_NOROUTETOTRANSITNET, CAUSE_NOUSERRESPONDING,
CAUSE_NUMBERCHANGED, CAUSE_ONLYRDIVEARERCAPAVAIL, CAUSE_PROTOCOLERRORUNSPECIFIED,
CAUSE_QUALOFSERVNAVAIL, CAUSE_RECOVERYONTIMEREXPIRY, CAUSE_REDIRECTED,
CAUSE_REQCALLIDHASBEENCLEARED, CAUSE_REQCIRCNAVIL, CAUSE_REQFACILITYNIMPL,
CAUSE_REQFACILITYNOTSUBSCRIBED, CAUSE_RESOURCESNAVAIL, CAUSE_RESPONSETOSTATUSENQUIRY,
CAUSE_SERVNOTAVAILUNSPECIFIED, CAUSE_SERVOPERATIONVIOLATED, CAUSE_SERVOROPTNAVAILORIMPL,
CAUSE_SUSPCALLBUTNOTTHISONE, CAUSE_SWITCHINGEQUIPMENTCONGESTION, CAUSE_TEMPORARYFAILURE,
CAUSE_UNALLOCATEDNUMBER, CAUSE_USERBUSY
|
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
|
Methods inherited from interface javax.telephony.events.CallEv
|
|
Methods inherited from interface CiscoCallEv
|
|
Methods inherited from interface javax.telephony.events.Ev
|
getCause, getID, getMetaCode, getObserved, isNewMetaEvent
|
Fields
ID
public static final int ID
Methods
getConferenceControllerAddress()
public javax.telephony.Address getConferenceControllerAddress()
Returns the Address which currently acts as the conference controller for this call —- the initiating call.
getConferencedCall()
public javax.telephony.Call getConferencedCall()
Returns the call that has been merged. This call is in the Call.INVALID state.
getFinalCall()
public javax.telephony.Call getFinalCall()
Returns the call that remains active after the conference is completed.
getHeldConferenceController()
public javax.telephony.TerminalConnection getHeldConferenceController()
Returns the TerminalConnection which currently acts as the conference controller for this call —- the final call. This is the TerminalConnection that was in HELD state when conference was initiated. This method returns null if the conference controller is not being observed.
getTalkingConferenceController()
public javax.telephony.TerminalConnection getTalkingConferenceController()
Returns the TerminalConnection which currently acts as the conference controller for this call —- the initiating call. This is the TerminalConnection that was in TALKING state. This method returns null if the conference controller is not being observed.
CiscoConferenceStartEv
Declaration
public interface CiscoConferenceStartEv extends com.cisco.jtapi.extensions.CiscoCallEv
All Superinterfaces:
javax.telephony.events.CallEv, CiscoCallEv, CiscoEv, javax.telephony.events.Ev
Description
The CiscoConferenceStartEv event indicates that a conference operation has started. This event is reported via the CallControlCallObserver interface.
Member Summary
|
Fields
|
|
|
Methods
|
|
getConferenceControllerAddress()
Returns the Address which currently acts as the conference controller for this call — the initiating call.
|
|
Returns the call that will be conferenced.
|
|
Returns the call that will remain active after the conference is completed.
|
public TerminalConnection
|
getHeldConferenceController()
Returns the TerminalConnection which currently acts as the conference controller for this call — the initiating call.
|
public TerminalConnection
|
getTalkingConferenceController()
Returns the TerminalConnection which currently acts as the conference controller for this call — the initiating call.
|
Inherited Member Summary
|
Fields inherited from interface CiscoCallEv
|
CAUSE_ACCESSINFORMATIONDISCARDED, CAUSE_BCBPRESENTLYAVAIL, CAUSE_BCNAUTHORIZED,
CAUSE_BEARERCAPNIMPL, CAUSE_CALLBEINGDELIVERED, CAUSE_CALLIDINUSE, CAUSE_CALLREJECTED,
CAUSE_CALLSPLIT, CAUSE_CHANTYPENIMPL, CAUSE_CHANUNACCEPTABLE, CAUSE_DESTINATIONOUTOFORDER,
CAUSE_DESTNUMMISSANDDCNOTSUB, CAUSE_FACILITYREJECTED, CAUSE_IDENTIFIEDCHANDOESNOTEXIST,
CAUSE_IENIMPL, CAUSE_INCOMINGCALLBARRED, CAUSE_INCOMPATABLEDDESTINATION,
CAUSE_INTERWORKINGUNSPECIFIED, CAUSE_INVALIDCALLREFVALUE, CAUSE_INVALIDIECONTENTS,
CAUSE_INVALIDMESSAGEUNSPECIFIED, CAUSE_INVALIDNUMBERFORMAT, CAUSE_INVALIDTRANSITNETSEL,
CAUSE_MANDATORYIEMISSING, CAUSE_MSGNCOMPATABLEWCS, CAUSE_MSGTYPENCOMPATWCS, CAUSE_MSGTYPENIMPL,
CAUSE_NETOUTOFORDER, CAUSE_NOANSWERFROMUSER, CAUSE_NOCALLSUSPENDED, CAUSE_NOCIRCAVAIL,
CAUSE_NOERROR, CAUSE_NONSELECTEDUSERCLEARING, CAUSE_NORMALCALLCLEARING, CAUSE_NORMALUNSPECIFIED,
CAUSE_NOROUTETODDESTINATION, CAUSE_NOROUTETOTRANSITNET, CAUSE_NOUSERRESPONDING,
CAUSE_NUMBERCHANGED, CAUSE_ONLYRDIVEARERCAPAVAIL, CAUSE_PROTOCOLERRORUNSPECIFIED,
CAUSE_QUALOFSERVNAVAIL, CAUSE_RECOVERYONTIMEREXPIRY, CAUSE_REDIRECTED,
CAUSE_REQCALLIDHASBEENCLEARED, CAUSE_REQCIRCNAVIL, CAUSE_REQFACILITYNIMPL,
CAUSE_REQFACILITYNOTSUBSCRIBED, CAUSE_RESOURCESNAVAIL, CAUSE_RESPONSETOSTATUSENQUIRY,
CAUSE_SERVNOTAVAILUNSPECIFIED, CAUSE_SERVOPERATIONVIOLATED, CAUSE_SERVOROPTNAVAILORIMPL,
CAUSE_SUSPCALLBUTNOTTHISONE, CAUSE_SWITCHINGEQUIPMENTCONGESTION, CAUSE_TEMPORARYFAILURE,
CAUSE_UNALLOCATEDNUMBER, CAUSE_USERBUSY
|
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
|
Methods inherited from interface javax.telephony.events.CallEv
|
|
Methods inherited from interface CiscoCallEv
|
|
Methods inherited from interface javax.telephony.events.Ev
|
getCause, getID, getMetaCode, getObserved, isNewMetaEvent
|
Fields
ID
public static final int ID
Methods
getConferenceControllerAddress()
public javax.telephony.Address getConferenceControllerAddress()
Returns the Address which currently acts as the conference controller for this call —- the initiating call.
getConferencedCall()
public javax.telephony.Call getConferencedCall()
Returns the call that will be conferenced. This is the call that will be merged into the initiating call
getFinalCall()
public javax.telephony.Call getFinalCall()
Returns the call that will remain active after the conference is completed. This is the call all calls are finally merged into
getHeldConferenceController()
public javax.telephony.TerminalConnection getHeldConferenceController()
Returns the TerminalConnection which currently acts as the conference controller for this call —- the initiating call. This is the TerminalConnection that was in HELD state. This method returns null if the conference controller is not being observed.
getTalkingConferenceController()
public javax.telephony.TerminalConnection getTalkingConferenceController()
Returns the TerminalConnection which currently acts as the conference controller for this call —- the initiating call. This is the TerminalConnection that was in TALKING state. This method returns null if the conference controller is not being observed.
CiscoConnection
Declaration
public interface CiscoConnection extends
javax.telephony.callcontrol.CallControlConnection,
com.cisco.jtapi.extensions.CiscoObjectContainer
All Superinterfaces:
javax.telephony.callcontrol.CallControlConnection, CiscoObjectContainer,
javax.telephony.Connection
Description
The CiscoConnection interface extends the CallControlConnection interface with additional CallManager-specific capabilities.
Applications can use the getReason method to obtain the reason for the creation of this Connection.
Member Summary
|
Fields
|
|
This indicates that the redirect should be done using the search
space of the redirect controller's address.
|
|
This option indicates that the default behavior for Cisco JTAPI
should apply.
|
|
CALLED_ADDRESS_SET_TO_REDIRECT_DESTINATION
This option indicates that the calledAddress should be reset to the
redirect destination.
|
|
This option indicates that the calledAddress should remain unchanged
after the redirect operation.
|
|
CALLINGADDRESS_SEARCH_SPACE
This indicates that the redirect should be done using the search
space of the calling address.
|
|
This indicates that the redirect should be done using the search
space that is the default for the implementation.
|
|
This Connection was the result of a direct call.
|
|
This Connection was the result of unconditional forwarding.
|
|
This Connection was the result of a forwarding on busy.
|
|
This Connection was the result of a forwarding on no answer.
|
|
This Connection is an originating Connection, not a destination
Connection.
|
|
This Connection was the result of a redirection.
|
|
This Connection was the result of a transfer.
|
|
This redirect mode instructs the implementation to perform redirect
without checking the validity or availability of the destination.
|
|
This redirect mode instructs the implementation to perform redirect
if the destination is valid and available.
|
Methods
|
|
CiscoConnectionID is a unique object that identifier among all ACTIVE calls with the same CallManagerID.
|
|
Returns the reason for the creation of this Connection.
|
|
This method overloads the CallControlConnection.redirect() method.
|
|
redirect(String, int, int)
This method overloads the CallControlConnection.redirect() method.
|
|
redirect(String, int, int, int)
This method overloads the CallControlConnection.redirect() method.
|
Inherited Member Summary
|
Fields inherited from interface javax.telephony.callcontrol.CallControlConnection
|
ALERTING, DIALING, DISCONNECTED, ESTABLISHED, FAILED, IDLE, INITIATED, NETWORK_ALERTING,
NETWORK_REACHED, OFFERED, OFFERING, QUEUED, UNKNOWN
|
Fields inherited from interface javax.telephony.Connection
|
|
Methods inherited from interface javax.telephony.callcontrol.CallControlConnection
|
accept, addToAddress, getCallControlState, park, redirect, reject
|
Methods inherited from interface CiscoObjectContainer
|
getObject(), setObject(Object)
|
Methods inherited from interface javax.telephony.Connection
|
disconnect, getAddress, getCall, getCapabilities, getConnectionCapabilities, getState,
getTerminalConnections
|
Fields
ADDRESS_SEARCH_SPACE
public static final int ADDRESS_SEARCH_SPACE
This indicates that the redirect should be done using the search space of the redirect controller's address.
CALLED_ADDRESS_DEFAULT
public static final int CALLED_ADDRESS_DEFAULT
This option indicates that the default behavior for Cisco JTAPI should apply. Cisco JTAPI's default behavior is the same as CALLED_ADDRESS_UNCHANGED.
CALLED_ADDRESS_SET_TO_REDIRECT_DESTINATION
public static final int CALLED_ADDRESS_SET_TO_REDIRECT_DESTINATION
This option indicates that the calledAddress should be reset to the redirect destination.
CALLED_ADDRESS_UNCHANGED
public static final int CALLED_ADDRESS_UNCHANGED
This option indicates that the calledAddress should remain unchanged after the redirect operation.
CALLINGADDRESS_SEARCH_SPACE
public static final int CALLINGADDRESS_SEARCH_SPACE
This indicates that the redirect should be done using the search space of the calling address.
DEFAULT_SEARCH_SPACE
public static final int DEFAULT_SEARCH_SPACE
This indicates that the redirect should be done using the search space that is the default for the implementation. The default is to use the calling address's search space.
REASON_DIRECTCALL
public static final int REASON_DIRECTCALL
This Connection was the result of a direct call.
REASON_FORWARDALL
public static final int REASON_FORWARDALL
This Connection was the result of unconditional forwarding.
REASON_FORWARDBUSY
public static final int REASON_FORWARDBUSY
This Connection was the result of a forwarding on busy.
REASON_FORWARDNOANSWER
public static final int REASON_FORWARDNOANSWER
This Connection was the result of a forwarding on no answer.
REASON_OUTBOUND
public static final int REASON_OUTBOUND
This Connection is an originating Connection, not a destination Connection.
REASON_REDIRECT
public static final int REASON_REDIRECT
This Connection was the result of a redirection.
REASON_TRANSFERREDCALL
public static final int REASON_TRANSFERREDCALL
This Connection was the result of a transfer.
REDIRECT_DROP_ON_FAILURE
public static final int REDIRECT_DROP_ON_FAILURE
This redirect mode instructs the implementation to perform redirect without checking the validity or availability of the destination. The original call will be dropped if the destination is not valid or if it's busy.
REDIRECT_NORMAL
public static final int REDIRECT_NORMAL
This redirect mode instructs the implementation to perform redirect if the destination is valid and available. Otherwise, the request will return error. The original call will not be dropped on failure.
Methods
getConnectionID()
public CiscoConnectionID getConnectionID()
CiscoConnectionID is a unique object that identifier among all ACTIVE calls with the same CallManagerID.
Returns
the CallID property of this Call
getReason()
Returns the reason for the creation of this Connection.
In order to function properly, some applications need to know the reason why a Connection is created at an endpoint that the application is observing. For example, a voice mail application may want to know whether a caller is someone that wants to leave a message in a voice mailbox (REASON_FORWARDNOANSWER), or whether the caller is trying to access a voice mail box (REASON_DIRECTCALL).
The reason for a Connection's creation may be any of the following constants:
CiscoConnection.REASON_DIRECTCALL
CiscoConnection.REASON_TRANSFERREDCALL
CiscoConnection.REASON_FORWARDNOANSWER
CiscoConnection.REASON_FORWARDBUSY
CiscoConnection.REASON_FORWARDALL
CiscoConnection.REASON_REDIRECT
CiscoConnection.REASON_NORMAL
All of the reasons except for REASON_TRANSFERORIGINATION and REASON_NORMAL are associated with inbound, or destination Connections. The REASON_NORMAL reason is associated without outbound, or originating Connections.
Returns
the reason for the creation of this Connection
redirect(String, int)
public javax.telephony.Connection redirect(java.lang.String destinationAddress, int mode)
throws InvalidStateException, InvalidPartyException, MethodNotSupportedException, Privileg
eViolationException, ResourceUnavailableException
This method overloads the CallControlConnection.redirect() method. It takes a new parameter —- redirectMode. When this parameter is:
CiscoConnection.REDIRECT_DROP_ON_FAILURE This mode instructs the implementation to perform redirect without checking the validity or availability of the destination. The original call will be dropped if the destination is not valid or if it's busy.
CiscoConnection.REDIRECT_NORMAL This mode instructs the implementation to perform redirect only after checking the validity or availability of the destination. This is the same as the CallControlConnection.redirect() method. The original call will not be dropped on failure.
Throws
ResourceUnavailableException, PrivilegeViolationException, MethodNotSupportedException, InvalidPartyException, InvalidStateException
redirect(String, int, int)
public javax.telephony.Connection redirect(java.lang.String destinationAddress, int mode,
int callingSearchSpace)
throws InvalidStateException, InvalidPartyException, MethodNotSupportedException, Privileg
eViolationException, ResourceUnavailableException
This method overloads the CallControlConnection.redirect() method. It takes two new parameters —- redirectMode and callingSearchSpace. The redirectMode is used to select which type of redirect to perform, and the callingSearchSpace is used to instruct the implementation to use either the calling party's search space or the redirect controller's search space.
The redirectMode parameter may be:
CiscoConnection.REDIRECT_DROP_ON_FAILURE
CiscoConnection.REDIRECT_NORMAL
Read above for a description of what each of these means.
The callingSearchSpace parameter may be:
CiscoConnection.DEFAULT_SEARCH_SPACE
CiscoConnection.CALLINGADDRESS_SEARCH_SPACE
CiscoConnection.ADDRESS_SEARCH_SPACE
Read above for a description of what each of these means.
NOTE: The callingSearchSpace parameter may be specified when the redirect controller is a RouteAddress. It will be ignored for all other address types.
Throws
ResourceUnavailableException, PrivilegeViolationException, MethodNotSupportedException, InvalidPartyException, InvalidStateException
redirect(String, int, int, int)
public javax.telephony.Connection redirect(java.lang.String destinationAddress, int mode,
int callingSearchSpace, int calledAddressOption)
throws InvalidStateException, InvalidPartyException, MethodNotSupportedException, Privileg
eViolationException, ResourceUnavailableException
This method overloads the CallControlConnection.redirect() method. It takes three new parameters —- redirectMode, callingSearchSpace and calledAddressOption. The redirectMode is used to select which type of redirect to perform, and the callingSearchSpace is used to instruct the implementation to use either the calling party's search space or the redirect controller's search space. The calledAddressOption parameter is used to decide whether to reset the original called fiels or not.
The redirectMode parameter may be:
CiscoConnection.REDIRECT_DROP_ON_FAILURE
CiscoConnection.REDIRECT_NORMAL
Read above for a description of what each of these means.
The callingSearchSpace parameter may be:
CiscoConnection.DEFAULT_SEARCH_SPACE
CiscoConnection.CALLINGADDRESS_SEARCH_SPACE
CiscoConnection.ADDRESS_SEARCH_SPACE
Read above for a description of what each of these means.
NOTE: The callingSearchSpace parameter may be specified when the redirect controller is a RouteAddress. It will be ignored for all other address types.
* The calledAddressOption parameter may be:
CiscoConnection.CALLED_ADDRESS_DEFAULT
CiscoConnection.CALLED_ADDRESS_UNCHANGED
CiscoConnection.CALLED_ADDRESS_SET_TO_REDIRECT_DESTINATION
Read above for a description of what each of these means.
Throw
ResourceUnavailableException, PrivilegeViolationException, MethodNotSupportedException, InvalidPartyException, InvalidStateException
CiscoConnectionID
Declaration
public interface CiscoConnectionID extends com.cisco.jtapi.extensions.CiscoObjectContainer
All Superinterfaces:
Description
The CiscoConnectionID object represents a unique object associated with each connection. Aplications may use the object itself or the integer representation of the object returned by the intValue() method.
Member Summary
|
Methods
|
|
|
|
Returns an integer representation of this object, currently the CallManager CallLeg ID.
|
Inherited Member Summary
|
Methods inherited from interface CiscoObjectContainer
|
getObject(), setObject(Object)
|
Methods
getConnection()
public CiscoConnection getConnection()
intValue()
Returns an integer representation of this object, currently the CallManager CallLeg ID.
Returns
an integer representation of this object
CiscoConsultCall
Declaration
public interface CiscoConsultCall extends com.cisco.jtapi.extensions.CiscoCall
All Superinterfaces:
javax.telephony.Call, javax.telephony.callcontrol.CallControlCall, CiscoCall,
CiscoObjectContainer
Description
The CiscoConsultCall interface extends the CiscoCall interface to expose certain properties of Calls that have been created as part of a consultative transfer or consultative conference.
See Also:
javax.telephony.Call
Member Summary
|
Methods
|
|
consultWithoutMedia(TerminalConnection, String)
From CallEvent perspective, this method behaves similar to CallControlCall.consult(TerminalConnection tc, String dialedDigits).
|
public TerminalConnection
|
getConsultingTerminalConnection()
Returns the consulting TerminalConnection that was used to create this CiscoConsultCall.
|
Inherited Member Summary
|
Fields inherited from interface javax.telephony.Call
|
|
Methods inherited from interface javax.telephony.Call
|
addObserver, connect, getCallCapabilities, getCapabilities, getConnections, getObservers,
getProvider, getState, removeObserver
|
Methods inherited from interface javax.telephony.callcontrol.CallControlCall
|
addParty, conference, consult, consult, drop, getCalledAddress, getCallingAddress,
getCallingTerminal, getConferenceController, getConferenceEnable, getLastRedirectedAddress,
getTransferController, getTransferEnable, offHook, setConferenceController, setConferenceEnable,
setTransferController, setTransferEnable, transfer, transfer
|
Methods inherited from interface CiscoCall
|
|
Methods inherited from interface CiscoObjectContainer
|
getObject(), setObject(Object)
|
Methods
consultWithoutMedia(TerminalConnection, String)
public javax.telephony.Connection[] consultWithoutMedia(javax.telephony.TerminalConnection
tc, java.lang.String dialedDigits)
throws InvalidStateException, InvalidArgumentException, MethodNotSupportedException, Resou
rceUnavailableException, PrivilegeViolationException, InvalidPartyException
From CallEvent perspective, this method behaves similar to CallControlCall.consult(TerminalConnection tc, String dialedDigits). Creates a consultation between this Call and an active Call without establishing the media. This consult call may only be transferred, not conferenced.
The Consultation Purpose
This method does not support if invoked with CallControlCall.setConferneceEnable(). It only supports if invoked with CallControlCall.setTransferEnable().
Throws
InvalidPartyException, PrivilegeViolationException, ResourceUnavailableException, MethodNotSupportedException, InvalidArgumentException, InvalidStateException
getConsultingTerminalConnection()
public javax.telephony.TerminalConnection getConsultingTerminalConnection()
Returns the consulting TerminalConnection that was used to create this CiscoConsultCall.
If this Call was created as part of a consultative transfer or consultative conference, the TerminalConnection which was used to perform the consultation on the original Call is returned by the getConsultingTerminalConnection method. This may be useful to applications that wish to correlate a ConsultCall with its original Call. Note that the original Call does not have any methods which may be used to determine the ConsultCall, if any, to which it is related.
Returns
null if this Call is not the result of a consultation, or the consulting TerminalConnection of the original Call if this Call is the result of a consultation.
CiscoConsultCallActiveEv
Declaration
public interface CiscoConsultCallActiveEv extends com.cisco.jtapi.extensions.CiscoCallEv,
javax.telephony.events.CallActiveEv
All Superinterfaces:
javax.telephony.events.CallActiveEv, javax.telephony.events.CallEv, CiscoCallEv, CiscoEv,
javax.telephony.events.Ev
Description
The CiscoConsultCallActiveEv event interface extends the JTAPI CallActiveEv. It indicates that the state of the Call object has changed to Call.ACTIVE and that the call was initiated as a result of a consultative transfer or consultative conference operation (manual or programmatic). Applications can obtain the consulting TerminalConnection on the original (consulting) call by using the CiscoConsultCall.getConsultingTerminalConnection method.
This event is reported to applications via the CallObserver interface.
See Also:
javax.telephony.Call, javax.telephony.CallObserver, javax.telephony.events.CallActiveEv
Member Summary
|
Fields
|
|
|
Methods
|
public TerminalConnection
|
getHeldTerminalConnection()
Returns the consulting TerminalConnection that was used to create this CiscoConsultCall.
|
Inherited Member Summary
|
Fields inherited from interface CiscoCallEv
|
CAUSE_ACCESSINFORMATIONDISCARDED, CAUSE_BCBPRESENTLYAVAIL, CAUSE_BCNAUTHORIZED,
CAUSE_BEARERCAPNIMPL, CAUSE_CALLBEINGDELIVERED, CAUSE_CALLIDINUSE, CAUSE_CALLREJECTED,
CAUSE_CALLSPLIT, CAUSE_CHANTYPENIMPL, CAUSE_CHANUNACCEPTABLE, CAUSE_DESTINATIONOUTOFORDER,
CAUSE_DESTNUMMISSANDDCNOTSUB, CAUSE_FACILITYREJECTED, CAUSE_IDENTIFIEDCHANDOESNOTEXIST,
CAUSE_IENIMPL, CAUSE_INCOMINGCALLBARRED, CAUSE_INCOMPATABLEDDESTINATION,
CAUSE_INTERWORKINGUNSPECIFIED, CAUSE_INVALIDCALLREFVALUE, CAUSE_INVALIDIECONTENTS,
CAUSE_INVALIDMESSAGEUNSPECIFIED, CAUSE_INVALIDNUMBERFORMAT, CAUSE_INVALIDTRANSITNETSEL,
CAUSE_MANDATORYIEMISSING, CAUSE_MSGNCOMPATABLEWCS, CAUSE_MSGTYPENCOMPATWCS, CAUSE_MSGTYPENIMPL,
CAUSE_NETOUTOFORDER, CAUSE_NOANSWERFROMUSER, CAUSE_NOCALLSUSPENDED, CAUSE_NOCIRCAVAIL,
CAUSE_NOERROR, CAUSE_NONSELECTEDUSERCLEARING, CAUSE_NORMALCALLCLEARING, CAUSE_NORMALUNSPECIFIED,
CAUSE_NOROUTETODDESTINATION, CAUSE_NOROUTETOTRANSITNET, CAUSE_NOUSERRESPONDING,
CAUSE_NUMBERCHANGED, CAUSE_ONLYRDIVEARERCAPAVAIL, CAUSE_PROTOCOLERRORUNSPECIFIED,
CAUSE_QUALOFSERVNAVAIL, CAUSE_RECOVERYONTIMEREXPIRY, CAUSE_REDIRECTED,
CAUSE_REQCALLIDHASBEENCLEARED, CAUSE_REQCIRCNAVIL, CAUSE_REQFACILITYNIMPL,
CAUSE_REQFACILITYNOTSUBSCRIBED, CAUSE_RESOURCESNAVAIL, CAUSE_RESPONSETOSTATUSENQUIRY,
CAUSE_SERVNOTAVAILUNSPECIFIED, CAUSE_SERVOPERATIONVIOLATED, CAUSE_SERVOROPTNAVAILORIMPL,
CAUSE_SUSPCALLBUTNOTTHISONE, CAUSE_SWITCHINGEQUIPMENTCONGESTION, CAUSE_TEMPORARYFAILURE,
CAUSE_UNALLOCATEDNUMBER, CAUSE_USERBUSY
|
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
|
Methods inherited from interface javax.telephony.events.CallEv
|
|
Methods inherited from interface CiscoCallEv
|
|
Methods inherited from interface javax.telephony.events.Ev
|
getCause, getID, getMetaCode, getObserved, isNewMetaEvent
|
Fields
ID
public static final int ID
Methods
getHeldTerminalConnection()
public javax.telephony.TerminalConnection getHeldTerminalConnection()
Deprecated.
replaced by CiscoConsultCall.getConsultingTerminalConnection ()
Returns the consulting TerminalConnection that was used to create this CiscoConsultCall.
This may be useful to applications that wish to correlate a consultation Call with its original Call. Note that the original Call does not have any methods which may be used to determine the consultation Call, if any, to which it is related.
Returns
the consulting TerminalConnection of the Call that created the Call referenced by this event
CiscoEv
Declaration
public interface CiscoEv extends javax.telephony.events.Ev
All Superinterfaces:
javax.telephony.events.Ev
All Known Subinterfaces:
CiscoAddrCreatedEv, CiscoAddrEv, CiscoAddrInServiceEv, CiscoAddrOutOfServiceEv,
CiscoAddrRemovedEv, CiscoCallEv, CiscoConferenceEndEv, CiscoConferenceStartEv,
CiscoConsultCallActiveEv, CiscoOutOfServiceEv, CiscoProvEv, CiscoRTPInputStartedEv,
CiscoRTPInputStoppedEv, CiscoRTPOutputStartedEv, CiscoRTPOutputStoppedEv,
CiscoTermCreatedEv, CiscoTermEv, CiscoTermInServiceEv, CiscoTermOutOfServiceEv,
CiscoTermRemovedEv, CiscoTransferEndEv, CiscoTransferStartEv
Description
The CiscoEv interface, which extends JTAPI's core javax.telephony.events.Ev interface, serves as the base interface for all Cisco-extended JTAPI events. Every event in this package extends this interface, directly or indirectly.
See Also:
javax.telephony.events.Ev
Inherited Member Summary
|
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
|
Methods inherited from interface javax.telephony.events.Ev
|
getCause, getID, getMetaCode, getObserved, isNewMetaEvent
|
CiscoJtapiException
Declaration
public interface CiscoJtapiException
Description
The CiscoJtapiException interface defines CTI error codes. These are the error codes that may be returned by CTI requests. All the JTAPI exceptions have been extended to implement this interface. The Error codes can be got by casting the exception to CiscoJtapiException and calling the method getErrorCode(). if e is any exception caught in an application, then try to see if its an instanceof CiscoJtapiException.
try {
// some code here
} catch ( Exception e ) {
if( e instanceof CiscoJtapiException){
CiscoJtapiException ce = (CiscoJtapiException) e int errorCode = ce.getErrorCode() //returns the ErrorCode.
}
}
Member Summary
|
Fields
|
|
|
|
|
|
CALLHANDLE_NOTINCOMINGCALL
|
|
CALLHANDLE_UNKNOWN_TO_LINECONTROL
|
|
|
|
CANNOT_TERMINATE_MEDIA_ON_PHONE
|
|
|
|
|
|
|
|
|
|
COMMAND_NOT_IMPLEMENTED_ON_DEVICE
|
|
|
|
|
|
|
|
|
|
|
|
DIGIT_GENERATION_ALREADY_IN_PROGRESS
|
|
DIGIT_GENERATION_CALLSTATE_CHANGED
|
|
DIGIT_GENERATION_WRONG_CALL_HANDLE
|
|
DIGIT_GENERATION_WRONG_CALL_STATE
|
|
|
|
DIRECTORY_LOGIN_NOT_ALLOWED
|
|
|
|
|
|
|
|
|
|
|
|
|
|
INCOMPATIBLE_PROTOCOL_VERSION
|
|
|
|
|
|
|
|
|
|
MAX_NUMBER_OF_CTI_CONNECTIONS_REACHED
|
|
NO_ACTIVE_DEVICE_FOR_THIRDPARTY
|
|
|
|
OPERATION_NOT_AVAILABLE_IN_CURRENT_STATE
|
|
|
|
|
|
|
|
|
|
REDIRECT_CALL_CALL_TABLE_FULL
|
|
REDIRECT_CALL_DESTINATION_BUSY
|
|
REDIRECT_CALL_DESTINATION_OUT_OF_ORDER
|
|
REDIRECT_CALL_DIGIT_ANALYSIS_TIMEOUT
|
|
REDIRECT_CALL_DOES_NOT_EXIST
|
|
REDIRECT_CALL_INCOMPATIBLE_STATE
|
|
REDIRECT_CALL_MEDIA_CONNECTION_FAILED
|
|
REDIRECT_CALL_NORMAL_CLEARING
|
|
REDIRECT_CALL_ORIGINATOR_ABANDONED
|
|
REDIRECT_CALL_PARTY_TABLE_FULL
|
|
REDIRECT_CALL_PENDING_REDIRECT_TRANSACTION
|
|
REDIRECT_CALL_PROTOCOL_ERROR
|
|
REDIRECT_CALL_UNKNOWN_DESTINATION
|
|
REDIRECT_CALL_UNKNOWN_ERROR
|
|
REDIRECT_CALL_UNKNOWN_PARTY
|
|
REDIRECT_CALL_UNRECOGNIZED_MANAGER
|
|
|
|
|
|
|
|
RETRIEVEFAILED_ACTIVE_CALL_ON_LINE
|
|
|
|
|
|
|
|
TRANSFERFAILED_CALLCONTROL_TIMEOUT
|
|
TRANSFERFAILED_DESTINATION_BUSY
|
|
TRANSFERFAILED_DESTINATION_UNALLOCATED
|
|
TRANSFERFAILED_OUTSTANDING_TRANSFER
|
|
|
|
UNKNOWN_GLOBAL_CALL_HANDLE
|
|
|
|
|
Methods
|
|
|
Fields
ASSOCIATED_LINE_NOT_OPEN
public static final int ASSOCIATED_LINE_NOT_OPEN
CALL_ALREADY_EXISTS
public static final int CALL_ALREADY_EXISTS
CALLHANDLE_NOTINCOMINGCALL
public static final int CALLHANDLE_NOTINCOMINGCALL
CALLHANDLE_UNKNOWN_TO_LINECONTROL
public static final int CALLHANDLE_UNKNOWN_TO_LINECONTROL
CANNOT_OPEN_DEVICE
public static final int CANNOT_OPEN_DEVICE
CANNOT_TERMINATE_MEDIA_ON_PHONE
public static final int CANNOT_TERMINATE_MEDIA_ON_PHONE
CFWDALL_ALREADY_OFF
public static final int CFWDALL_ALREADY_OFF
CFWDALL_ALREADY_SET
public static final int CFWDALL_ALREADY_SET
CFWDALL_DESTN_INVALID
public static final int CFWDALL_DESTN_INVALID
CLUSTER_LINK_FAILURE
public static final int CLUSTER_LINK_FAILURE
COMMAND_NOT_IMPLEMENTED_ON_DEVICE
public static final int COMMAND_NOT_IMPLEMENTED_ON_DEVICE
CONFERENCE_FULL
public static final int CONFERENCE_FULL
DB_ERROR
public static final int DB_ERROR
DB_ILLEGAL_DEVICE_TYPE
public static final int DB_ILLEGAL_DEVICE_TYPE
DB_NO_MORE_DEVICES
public static final int DB_NO_MORE_DEVICES
DEVICE_NOT_OPEN
public static final int DEVICE_NOT_OPEN
DIGIT_GENERATION_ALREADY_IN_PROGRESS
public static final int DIGIT_GENERATION_ALREADY_IN_PROGRESS
DIGIT_GENERATION_CALLSTATE_CHANGED
public static final int DIGIT_GENERATION_CALLSTATE_CHANGED
DIGIT_GENERATION_WRONG_CALL_HANDLE
public static final int DIGIT_GENERATION_WRONG_CALL_HANDLE
DIGIT_GENERATION_WRONG_CALL_STATE
public static final int DIGIT_GENERATION_WRONG_CALL_STATE
DIRECTORY_LOGIN_FAILED
public static final int DIRECTORY_LOGIN_FAILED
DIRECTORY_LOGIN_NOT_ALLOWED
public static final int DIRECTORY_LOGIN_NOT_ALLOWED
EXISTING_FIRSTPARTY
public static final int EXISTING_FIRSTPARTY
HOLDFAILED
public static final int HOLDFAILED
ILLEGAL_CALLINGPARTY
public static final int ILLEGAL_CALLINGPARTY
ILLEGAL_CALLSTATE
public static final int ILLEGAL_CALLSTATE
ILLEGAL_HANDLE
public static final int ILLEGAL_HANDLE
ILLEGAL_MESSAGE_FORMAT
public static final int ILLEGAL_MESSAGE_FORMAT
INCOMPATIBLE_PROTOCOL_VERSION
public static final int INCOMPATIBLE_PROTOCOL_VERSION
INVALID_LINE_HANDLE
public static final int INVALID_LINE_HANDLE
LINE_INFO_DOES_NOT_EXIST
public static final int LINE_INFO_DOES_NOT_EXIST
LINE_NOT_PRIMARY
public static final int LINE_NOT_PRIMARY
LINECONTROL_FAILURE
public static final int LINECONTROL_FAILURE
MAX_NUMBER_OF_CTI_CONNECTIONS_REACHED
public static final int MAX_NUMBER_OF_CTI_CONNECTIONS_REACHED
NO_ACTIVE_DEVICE_FOR_THIRDPARTY
public static final int NO_ACTIVE_DEVICE_FOR_THIRDPARTY
NOT_INITIALIZED
public static final int NOT_INITIALIZED
OPERATION_NOT_AVAILABLE_IN_CURRENT_STATE
public static final int OPERATION_NOT_AVAILABLE_IN_CURRENT_STATE
PROTOCOL_TIMEOUT
public static final int PROTOCOL_TIMEOUT
PROVIDER_ALREADY_OPEN
public static final int PROVIDER_ALREADY_OPEN
PROVIDER_CLOSED
public static final int PROVIDER_CLOSED
PROVIDER_NOT_OPEN
public static final int PROVIDER_NOT_OPEN
REDIRECT_CALL_CALL_TABLE_FULL
public static final int REDIRECT_CALL_CALL_TABLE_FULL
REDIRECT_CALL_DESTINATION_BUSY
public static final int REDIRECT_CALL_DESTINATION_BUSY
REDIRECT_CALL_DESTINATION_OUT_OF_ORDER
public static final int REDIRECT_CALL_DESTINATION_OUT_OF_ORDER
REDIRECT_CALL_DIGIT_ANALYSIS_TIMEOUT
public static final int REDIRECT_CALL_DIGIT_ANALYSIS_TIMEOUT
REDIRECT_CALL_DOES_NOT_EXIST
public static final int REDIRECT_CALL_DOES_NOT_EXIST
REDIRECT_CALL_INCOMPATIBLE_STATE
public static final int REDIRECT_CALL_INCOMPATIBLE_STATE
REDIRECT_CALL_MEDIA_CONNECTION_FAILED
public static final int REDIRECT_CALL_MEDIA_CONNECTION_FAILED
REDIRECT_CALL_NORMAL_CLEARING
public static final int REDIRECT_CALL_NORMAL_CLEARING
REDIRECT_CALL_ORIGINATOR_ABANDONED
public static final int REDIRECT_CALL_ORIGINATOR_ABANDONED
REDIRECT_CALL_PARTY_TABLE_FULL
public static final int REDIRECT_CALL_PARTY_TABLE_FULL
REDIRECT_CALL_PENDING_REDIRECT_TRANSACTION
public static final int REDIRECT_CALL_PENDING_REDIRECT_TRANSACTION
REDIRECT_CALL_PROTOCOL_ERROR
public static final int REDIRECT_CALL_PROTOCOL_ERROR
REDIRECT_CALL_UNKNOWN_DESTINATION
public static final int REDIRECT_CALL_UNKNOWN_DESTINATION
REDIRECT_CALL_UNKNOWN_ERROR
public static final int REDIRECT_CALL_UNKNOWN_ERROR
REDIRECT_CALL_UNKNOWN_PARTY
public static final int REDIRECT_CALL_UNKNOWN_PARTY
REDIRECT_CALL_UNRECOGNIZED_MANAGER
public static final int REDIRECT_CALL_UNRECOGNIZED_MANAGER
REDIRECT_CALLINFO_ERR
public static final int REDIRECT_CALLINFO_ERR
REDIRECT_ERR
public static final int REDIRECT_ERR
RETRIEVEFAILED
public static final int RETRIEVEFAILED
RETRIEVEFAILED_ACTIVE_CALL_ON_LINE
public static final int RETRIEVEFAILED_ACTIVE_CALL_ON_LINE
SSAPI_NOT_REGISTERED
public static final int SSAPI_NOT_REGISTERED
TIMEOUT
public static final int TIMEOUT
TRANSFERFAILED
public static final int TRANSFERFAILED
TRANSFERFAILED_CALLCONTROL_TIMEOUT
public static final int TRANSFERFAILED_CALLCONTROL_TIMEOUT
TRANSFERFAILED_DESTINATION_BUSY
public static final int TRANSFERFAILED_DESTINATION_BUSY
TRANSFERFAILED_DESTINATION_UNALLOCATED
public static final int TRANSFERFAILED_DESTINATION_UNALLOCATED
TRANSFERFAILED_OUTSTANDING_TRANSFER
public static final int TRANSFERFAILED_OUTSTANDING_TRANSFER
UNDEFINED_LINE
public static final int UNDEFINED_LINE
UNKNOWN_GLOBAL_CALL_HANDLE
public static final int UNKNOWN_GLOBAL_CALL_HANDLE
UNRECOGNIZABLE_PDU
public static final int UNRECOGNIZABLE_PDU
UNSPECIFIED
public static final int UNSPECIFIED
The CTI error codes. These are the error codes that may be returned by CTI requests.
Methods
getErrorCode()
public int getErrorCode()
CiscoJtapiPeer
Declaration
public interface CiscoJtapiPeer extends com.cisco.services.tracing.TraceModule,
javax.telephony.JtapiPeer, com.cisco.jtapi.extensions.CiscoObjectContainer
All Superinterfaces:
CiscoObjectContainer, javax.telephony.JtapiPeer, com.cisco.services.tracing.TraceModule
Description
By extending the com.cisco.services.tracing.TraceModule interface, the CiscoJtapiPeer exposes trace information to applications. All instances of JtapiPeer objects created by the Cisco JTAPI implementation implement this interface. Applications that wish to manipulate the trace settings of the Cisco JTAPI implementation may use the CiscoJtapiPeer.getTraceManager method to obtain its TraceManager object. The TraceManager object may then be manipulated as described in the com.cisco.services.tracing package.
See Also:
com.cisco.services.tracing.TraceModule
Member Summary
|
Methods
|
public
CiscoJtapiProperties
|
CiscoJtapiProperties defines the various methods that applications can use to modify the parameters that the JTAPI layer will use.
|
Inherited Member Summary
|
Methods inherited from interface CiscoObjectContainer
|
getObject(), setObject(Object)
|
Methods inherited from interface javax.telephony.JtapiPeer
|
getName, getProvider, getServices
|
Methods inherited from interface com.cisco.services.tracing.TraceModule
|
getTraceManager, getTraceModuleName
|
Methods
getJtapiProperties()
public CiscoJtapiProperties getJtapiProperties()
CiscoJtapiProperties defines the various methods that applications can use to modify the parameters that the JTAPI layer will use.
•
See Also—CiscoJtapiProperties
CiscoJtapiProperties
Declaration
public interface CiscoJtapiProperties
Description
Cisco JTAPI's behaviour and functionality is tailored by many parameters which are read in from the jtapi.ini file when an instance of CiscoJtapiPeer is instantiated. These parameters are now exposed to applications for control via this CiscoJtapiproperties interface.
Applications can query the CiscoJtapiproperties properties object and change these parameters to better suit the application functionality. Exposing these properties via the CiscoJtapiproperties interface also allows applications to have a single point of administration (at the application end) for these parameters.
The most visible parameters are those describing the tracing levels and tracing destinations.
Usage:
JtapiPeer peer = JtapiPeerFactory.getJtapiPeer ( null );
if(peer instanceof CiscoJtapiPeer){
CiscoJtapiProperties jProps = ((CiscoJtapiPeer)peer).getJtapiProperties();
jProps.setTracePath("\\D:\\Traces\\WorkFlow");
jProps.setUseJavaConsoleTrace(false);
MyProviderObserver providerObserver = new MyProviderObserver ();
provider = peer.getProvider ( providerName );
}
In the above example an application has set the java console tracing to off and set the trace path to D:\Traces\WorkFlowApp1
When the peer is obtained an object implementing CiscoJtapiProperties is created by reading parameters set in the jtapi.ini file. If no jtapi.ini file exists in the classpath default settings are used to create this object.
The parameters used by Cisco Jtapi are read in and frozen when the first getProvider () call is made.
Member Summary
|
Methods
|
|
getAlarmServiceHostname()
get the alarm service host name
|
|
get the port number for the alarm service
|
|
get the timout for cti requests, other than the provider open (seconds)
|
|
get names of supported debugging level jtapi traces
|
|
getDebuggingValue(String)
get the enabled or disabled state of a debugging level trace
|
|
getDesiredServerHeartbeatInterval()
get the desired interval at which the CTI Manager must send heartbeats to JTAPI (seconds).
|
|
the filename for individual log files.
|
|
get the filename extension for log files
|
|
number of trace files before rollover
|
|
getPeriodicWakeupEnabled()
get the enabled state of periodic wake up
|
|
getPeriodicWakeupInterval()
get the interval for periodic wakeup (milliseconds)
|
|
getProviderOpenRequestTimeout()
get the timout for a provider open request (seconds)
|
|
getProviderRetryInterval()
get the interval at which the connection to the CTI Manager will ge retried (seconds)
|
|
Get the threshold for the event queue size to trigger alarms
|
|
get the enabled state of event queue stats
|
|
get the route select timeout (milliseconds)
|
|
Returns the services that this implementation supports.
|
|
get the syslog collector hostname
|
|
getSyslogCollectorUDPPort()
get the syslog collector UDP port
|
|
The directory in the path where trace files will be written
|
|
The size of the tracefiles before rollover
|
|
get the names of supported jtapi traces
|
|
get the path where the trace files will be located
|
|
get the enabled or disabled state of a trace
|
|
get the enabled/disabled state of the alarm service
|
|
get the enabled or disabled state of jtapi log file tracing
|
|
get the enabled or disabled state of jtapi console tracing
|
|
if UseSameDir is true this will cause the traces to go to a single directory.
|
|
get the enabled or disabled state of syslog tracing
|
|
setAlarmServiceHostname(String)
set the alarm service host name
|
|
set the port number the alarm service is listening on
|
|
setCtiRequestTimeout(int)
set the timeout for cti requests other than provider open (seconds)
|
|
setDebuggingValue(String, boolean)
enable or disable a particular debugging level trace
|
|
setDesiredServerHeartbeatInterval(int)
set the desired interval at which the CTI Manager must send heartbeats to JTAPI (seconds).
|
|
set the filename for log files
|
|
setFileNameExtension(String)
set the filename extension for log files
|
|
set the number of trace files before rollover
|
|
setPeriodicWakeupEnabled(boolean)
set the enable/disable state for periodic wake up
|
|
setPeriodicWakeupInterval(int)
set the periodic wake up interval (milliseconds)
|
|
setProviderOpenRequestTimeout(int)
set the timeout for a provider open request (seconds)
|
|
setProviderRetryInterval(int)
set the interval at which the connection to the CTI Manager will ge retried (seconds)
|
|
setQueueSizeThreshold(int)
Set the threshold for the event queue size to trigger alarms
|
|
setQueueStatsEnabled(boolean)
enable / disable event queue statistics
|
|
setRouteSelectTimeout(int)
set the route select timeout milliseconds
|
|
set a list of available services
|
|
setSyslogCollector(String)
set the syslog collector hostname
|
|
setSyslogCollectorUDPPort(int)
set the syslog collector UDP port
|
|
setTraceDirectory(String)
Set the directory where jtapi trace files should be written
|
|
Set the size of the trace file
|
|
set the directory root where jtapi traces will be written
|
|
setTraceValue(String, boolean)
enable or disable a particular trace
|
|
setUseAlarmService(boolean)
enable the alarm service
|
|
enable or disable jtapi log file tracing
|
|
setUseJavaConsoleTrace(boolean)
enable or disable jtapi console tracing
|
|
if UseSameDir is true this will cause the traces to go to a single directory.
|
|
enable or disable syslog tracing
|
Methods
getAlarmServiceHostname()
public java.lang.String getAlarmServiceHostname()
get the alarm service host name
getAlarmServicePort()
public int getAlarmServicePort()
get the port number for the alarm service
getCtiRequestTimeout()
public int getCtiRequestTimeout()
get the timout for cti requests, other than the provider open (seconds)
getDebuggingNames()
public java.lang.String[] getDebuggingNames()
get names of supported debugging level jtapi traces
getDebuggingValue(String)
public boolean getDebuggingValue(java.lang.String debuggingName)
get the enabled or disabled state of a debugging level trace
getDesiredServerHeartbeatInterval()
public int getDesiredServerHeartbeatInterval()
get the desired interval at which the CTI Manager must send heartbeats to JTAPI (seconds). The actual interval is decided by the server at connect time.
getFileNameBase()
public java.lang.String getFileNameBase()
the filename for individual log files.
getFileNameExtension()
public java.lang.String getFileNameExtension()
get the filename extension for log files
getNumTraceFiles()
public int getNumTraceFiles()
number of trace files before rollover
getPeriodicWakeupEnabled()
public boolean getPeriodicWakeupEnabled()
get the enabled state of periodic wake up
getPeriodicWakeupInterval()
public int getPeriodicWakeupInterval()
get the interval for periodic wakeup (milliseconds)
getProviderOpenRequestTimeout()
public int getProviderOpenRequestTimeout()
get the timout for a provider open request (seconds)
getProviderRetryInterval()
public int getProviderRetryInterval()
get the interval at which the connection to the CTI Manager will ge retried (seconds)
getQueueSizeThreshold()
public int getQueueSizeThreshold()
Get the threshold for the event queue size to trigger alarms
getQueueStatsEnabled()
public boolean getQueueStatsEnabled()
get the enabled state of event queue stats
getRouteSelectTimeout()
public int getRouteSelectTimeout()
get the route select timeout (milliseconds)
getServices()
public java.lang.String[] getServices()
Returns the services that this implementation supports. Note: This is a static list administered in the jtapi.ini file. There is no automatic discovery mechanism to locate available cti services
getSyslogCollector()
public java.lang.String getSyslogCollector()
get the syslog collector hostname
getSyslogCollectorUDPPort()
public int getSyslogCollectorUDPPort()
get the syslog collector UDP port
getTraceDirectory()
public java.lang.String getTraceDirectory()
The directory in the path where trace files will be written
getTraceFileSize()
public int getTraceFileSize()
The size of the tracefiles before rollover
getTraceNames()
public java.lang.String[] getTraceNames()
get the names of supported jtapi traces
getTracePath()
public java.lang.String getTracePath()
get the path where the trace files will be located
getTraceValue(String)
public boolean getTraceValue(java.lang.String traceName)
get the enabled or disabled state of a trace
getUseAlarmService()
public boolean getUseAlarmService()
get the enabled/disabled state of the alarm service
getUseFileTrace()
public boolean getUseFileTrace()
get the enabled or disabled state of jtapi log file tracing
getUseJavaConsoleTrace()
public boolean getUseJavaConsoleTrace()
get the enabled or disabled state of jtapi console tracing
getUseSameDir()
public boolean getUseSameDir()
if UseSameDir is true this will cause the traces to go to a single directory. Otherwise each instance of a jtapi application will cause the traces to go to a seperate directory, indexed in sequence from the last directory written or available.
getUseSyslog()
public boolean getUseSyslog()
get the enabled or disabled state of syslog tracing
setAlarmServiceHostname(String)
public void setAlarmServiceHostname(java.lang.String hostname)
set the alarm service host name
setAlarmServicePort(int)
public void setAlarmServicePort(int portNumber)
set the port number the alarm service is listening on
setCtiRequestTimeout(int)
public void setCtiRequestTimeout(int seconds)
set the timeout for cti requests other than provider open (seconds)
setDebuggingValue(String, boolean)
public void setDebuggingValue(java.lang.String debuggingName, boolean value)
enable or disable a particular debugging level trace
setDesiredServerHeartbeatInterval(int)
public void setDesiredServerHeartbeatInterval(int seconds)
set the desired interval at which the CTI Manager must send heartbeats to JTAPI (seconds). The actual interval is decided by the server at connect time.
setFileNameBase(String)
public void setFileNameBase(java.lang.String base)
set the filename for log files
setFileNameExtension(String)
public void setFileNameExtension(java.lang.String extn)
set the filename extension for log files
setNumTraceFiles(int)
public void setNumTraceFiles(int val)
set the number of trace files before rollover
setPeriodicWakeupEnabled(boolean)
public void setPeriodicWakeupEnabled(boolean enabled)
set the enable/disable state for periodic wake up
setPeriodicWakeupInterval(int)
public void setPeriodicWakeupInterval(int milliseconds)
set the periodic wake up interval (milliseconds)
setProviderOpenRequestTimeout(int)
public void setProviderOpenRequestTimeout(int seconds)
set the timeout for a provider open request (seconds)
setProviderRetryInterval(int)
public void setProviderRetryInterval(int seconds)
set the interval at which the connection to the CTI Manager will ge retried (seconds)
setQueueSizeThreshold(int)
public void setQueueSizeThreshold(int size)
Set the threshold for the event queue size to trigger alarms
setQueueStatsEnabled(boolean)
public void setQueueStatsEnabled(boolean enabled)
enable / disable event queue statistics
setRouteSelectTimeout(int)
public void setRouteSelectTimeout(int milliseconds)
set the route select timeout milliseconds
setServices(String[])
public void setServices(java.lang.String[] services)
set a list of available services
setSyslogCollector(String)
public void setSyslogCollector(java.lang.String value)
set the syslog collector hostname
setSyslogCollectorUDPPort(int)
public void setSyslogCollectorUDPPort(int port)
set the syslog collector UDP port
setTraceDirectory(String)
public void setTraceDirectory(java.lang.String dir)
Set the directory where jtapi trace files should be written
setTraceFileSize(int)
public void setTraceFileSize(int val)
Set the size of the trace file
setTracePath(String)
public void setTracePath(java.lang.String path)
set the directory root where jtapi traces will be written
setTraceValue(String, boolean)
public void setTraceValue(java.lang.String traceName, boolean value)
enable or disable a particular trace
setUseAlarmService(boolean)
public void setUseAlarmService(boolean value)
enable the alarm service
setUseFileTrace(boolean)
public void setUseFileTrace(boolean value)
enable or disable jtapi log file tracing
setUseJavaConsoleTrace(boolean)
public void setUseJavaConsoleTrace(boolean value)
enable or disable jtapi console tracing
setUseSameDir(boolean)
public void setUseSameDir(boolean value)
if UseSameDir is true this will cause the traces to go to a single directory. Otherwise each instance of a jtapi application will cause the traces to go to a seperate directory, indexed in sequence from the last directory written or available.
setUseSyslog(boolean)
public void setUseSyslog(boolean value)
enable or disable syslog tracing
CiscoMediaTerminal
Declaration
public interface CiscoMediaTerminal extends com.cisco.jtapi.extensions.CiscoTerminal
CiscoObjectContainer, CiscoTerminal, javax.telephony.Terminal
Description
A CiscoMediaTerminal is a special kind of CiscoTerminal that allows applications to terminate RTP media streams. Unlike a CiscoTerminal, a CiscoMediaTerminal does not represent a physical telephony endpoint, which is observable and controllable in a third-party manner. Instead, a CiscoMediaTerminal is a logical telephony endpoint, which may be associated with any application that desires to terminate media. Such applications include voice mail systems, interactive voice response (IVR), and "soft" phones.
Note
Only CTIPorts appear as CiscoMediaTerminals through JTAPI.
Terminating media is a two-step process. To terminate media for a particular terminal, an application adds an observer that implements the CiscoTerminalObserver interface using the Terminal.addObserver method. Finally, the application registers its IP address and port number to which the Terminal's incoming RTP streams are to be directed using the CiscoMediaTerminal.register method.
See Also:
CiscoTerminal
Member Summary
|
Methods
|
|
This method returns true if the CiscoMediaTerminal is registered and false otherwise.
|
|
register(InetAddress, int)
Registers a Terminal with the specified address and port, defaulting to G.711 64KHz u-law encoding with a thirty millisecond packet size.
|
|
register(InetAddress, int, CiscoMediaCapability[])
The CiscoMediaTerminal must be in the CiscoTerminal.UNREGISTERED state and its Provider must be in the Provider.IN_SERVICE state.
|
|
The CiscoMediaTerminal must not be registered and its Provider must be in the Provider.IN_SERVICE state.
|
Inherited Member Summary
|
Fields inherited from interface CiscoTerminal
|
IN_SERVICE, OUT_OF_SERVICE
|
Methods inherited from interface CiscoObjectContainer
|
getObject(), setObject(Object)
|
Methods inherited from interface CiscoTerminal
|
getRTPInputProperties(), getRTPOutputProperties(), getRegistrationState(), getState()
|
Methods inherited from interface javax.telephony.Terminal
|
addCallObserver, addObserver, getAddresses, getCallObservers, getCapabilities, getName,
getObservers, getProvider, getTerminalCapabilities, getTerminalConnections, removeCallObserver,
removeObserver
|
Methods
isRegistered()
public boolean isRegistered()
This method returns true if the CiscoMediaTerminal is registered and false otherwise.
register(InetAddress, int)
public void register(java.net.InetAddress address, int port)
throws CiscoRegistrationException
Deprecated
Registers a Terminal with the specified address and port, defaulting to G.711 64KHz u-law encoding with a thirty millisecond packet size.
Parameters
address - the internet address for inbound RTP streams on this terminal
port - the UDP port for inbound RTP streams on this terminal
Throws:
CiscoRegistrationException
register(InetAddress, int, CiscoMediaCapability[])
public void register(java.net.InetAddress address, int port,
CiscoMediaCapability[] capabilities)
throws CiscoRegistrationException
The CiscoMediaTerminal must be in the CiscoTerminal.UNREGISTERED state and its Provider must be in the Provider.IN_SERVICE state. The successful effect of this method is to register the MediaTerminal.
Method Arguments
This method has three arguments. The first argument specifies the internet address at which the RTP media stream for this Terminal will be terminated, the second indicates the UDP port at which RTP packets will be directed, and the final argument indicates the type of RTP encodings that the application is willing to support for this Terminal.
Method Post-conditions
This method returns successfully when the MediaTerminal is registered.
Parameters:
address - the internet address for inbound RTP streams on this terminal
port - the UDP port for inbound RTP streams on this terminal
capabilities - the list of RTP encodings supported by this terminal
Throws:
CiscoRegistrationException
unregister()
public void unregister()
throws CiscoUnregistrationException
The CiscoMediaTerminal must not be registered and its Provider must be in the Provider.IN_SERVICE state. The successful effect of this method is to unregister the MediaTerminal.
Method Post-conditions
This method returns successfully when the MediaTerminal is unregistered.
Throws:
CiscoUnregistrationException
CiscoObjectContainer
Declaration
public interface CiscoObjectContainer
All Known Subinterfaces:
CiscoAddress, CiscoCall, CiscoCallID, CiscoConnection, CiscoConnectionID,
CiscoConsultCall, CiscoJtapiPeer, CiscoMediaTerminal, CiscoProvider, CiscoTerminal,
CiscoTerminalConnection
Description
The ApplicationObject interface allows applications to associate an application defined object to objects that implement this interface.
Member Summary
|
Methods
|
|
Gets the application-defined object.
|
|
Sets an application-defined object.
|
Methods
getObject()
public java.lang.Object getObject()
Gets the application-defined object.
Returns
the CallID property of this Call
setObject(Object)
public java.lang.Object setObject(java.lang.Object reference)
Sets an application-defined object.
Returns
the CallManagerID property of this Call
CiscoOutOfServiceEv
Declaration
public interface CiscoOutOfServiceEv extends com.cisco.jtapi.extensions.CiscoEv
All Superinterfaces:
CiscoEv, javax.telephony.events.Ev
All Known Subinterfaces:
CiscoAddrOutOfServiceEv, CiscoTermOutOfServiceEv
Description
The CiscoAddrOutOfServiceEv event
Member Summary
|
Fields
|
|
CAUSE_CALLMANAGER_FAILURE
|
|
|
|
|
|
CAUSE_DEVICE_UNREGISTERED
|
|
CAUSE_NOCALLMANAGER_AVAILABLE
|
|
CAUSE_REHOME_TO_HIGHER_PRIORITY_CM
|
|
|
|
|
Inherited Member Summary
|
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
|
Methods inherited from interface javax.telephony.events.Ev
|
getCause, getID, getMetaCode, getObserved, isNewMetaEvent
|
Fields
CAUSE_CALLMANAGER_FAILURE
public static final int CAUSE_CALLMANAGER_FAILURE
CAUSE_CTIMANAGER_FAILURE
public static final int CAUSE_CTIMANAGER_FAILURE
CAUSE_DEVICE_FAILURE
public static final int CAUSE_DEVICE_FAILURE
CAUSE_DEVICE_UNREGISTERED
public static final int CAUSE_DEVICE_UNREGISTERED
CAUSE_NOCALLMANAGER_AVAILABLE
public static final int CAUSE_NOCALLMANAGER_AVAILABLE
CAUSE_REHOME_TO_HIGHER_PRIORITY_CM
public static final int CAUSE_REHOME_TO_HIGHER_PRIORITY_CM
CAUSE_REHOMING_FAILURE
public static final int CAUSE_REHOMING_FAILURE
ID
public static final int ID
CiscoProvEv
Declaration
public interface CiscoProvEv extends com.cisco.jtapi.extensions.CiscoEv,
javax.telephony.events.ProvEv
All Superinterfaces:
CiscoEv, javax.telephony.events.Ev, javax.telephony.events.ProvEv
All Known Subinterfaces:
CiscoAddrCreatedEv, CiscoAddrRemovedEv, CiscoTermCreatedEv, CiscoTermRemovedEv
Description
The CiscoProvEv interface, which extends JTAPI's core javax.telephony.events.ProvEv interface, serves as the base interface for all Cisco-extended JTAPI Provider events. Every Provider-related event in this package extends this interface, directly or indirectly.
See Also:
javax.telephony.events.Prov
Inherited Member Summary
|
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
|
Methods inherited from interface javax.telephony.events.Ev
|
getCause, getID, getMetaCode, getObserved, isNewMetaEvent
|
Methods inherited from interface javax.telephony.events.ProvEv
|
|
CiscoProvider
Declaration
public interface CiscoProvider extends javax.telephony.Provider,
com.cisco.jtapi.extensions.CiscoObjectContainer
All Superinterfaces:
CiscoObjectContainer, javax.telephony.Provider
Description
Member Summary
|
Methods
|
|
getCallbackGuardEnabled()
Returns the current state of the callback guard feature
|
public CiscoMediaTerminal
|
Returns an instance of the CiscoMediaTerminal class which corresponds to the given name.
|
public CiscoMediaTerminal
|
Returns an array of CiscoMediaTerminals associated with the Provider and within the Provider's domain.
|
|
setCallbackGuardEnabled(boolean)
Enables or disables try/catch logic for observer callbacks
|
Inherited Member Summary
|
Fields inherited from interface javax.telephony.Provider
|
IN_SERVICE, OUT_OF_SERVICE, SHUTDOWN
|
Methods inherited from interface CiscoObjectContainer
|
getObject(), setObject(Object)
|
Methods inherited from interface javax.telephony.Provider
|
addObserver, createCall, getAddress, getAddressCapabilities, getAddressCapabilities,
getAddresses, getCallCapabilities, getCallCapabilities, getCalls, getCapabilities,
getConnectionCapabilities, getConnectionCapabilities, getName, getObservers,
getProviderCapabilities, getProviderCapabilities, getState, getTerminal,
getTerminalCapabilities, getTerminalCapabilities, getTerminalConnectionCapabilities,
getTerminalConnectionCapabilities, getTerminals, removeObserver, shutdown
|
Methods
getCallbackGuardEnabled()
public boolean getCallbackGuardEnabled()
Returns the current state of the callback guard feature
Returns:
the current state of the callback guard feature
getMediaTerminal(String)
public CiscoMediaTerminal getMediaTerminal(java.lang.String name)
throws InvalidArgumentException
Returns an instance of the CiscoMediaTerminal class which corresponds to the given name. Each CiscoMediaTerminal has a unique name associated with it, which is assigned to it by the JTAPI implementation. If no CiscoMediaTerminal is available for the given name within the Provider's domain, this method throws the InvalidArgumentException. This CiscoMediaTerminal is contained in the arrays generated by Provider.getTerminals() and CiscoProvider.getMediaTerminals().
Pre-conditions:
Let CiscoMediaTerminal terminal = this.getMediaTerminal(name);
terminal is an element of this.getTerminals();
terminal is an element of this.getMediaTerminals();
Post-conditions:
Let CiscoMediaTerminal terminal = this.getMediaTerminal(name);
terminal is an element of this.getTerminals();
terminal is an element of this.getMediaTerminals();
Parameters:
name - The name of desired CiscoMediaTerminal object.
Returns:
The CiscoMediaTerminal object associated with the given name.
Throws:
InvalidArgumentException - The name provided does not correspond to a name of any CiscoMediaTerminal known to the Provider or within the Provider's domain.
getMediaTerminals()
public CiscoMediaTerminal[] getMediaTerminals()
throws ResourceUnavailableException
Returns an array of CiscoMediaTerminals associated with the Provider and within the Provider's domain. Each CiscoMediaTerminal possesses a unique name, which is assigned to it by the JTAPI implementation. If there are no CiscoMediaTerminals associated with this Provider, then this method returns null. This array is a subset of the array returned by Provider.getTerminals().
Post-conditions:
Let CiscoMediaTerminal[] terminals = this.getMediaTerminals()
terminals == null or terminals.length >= 1
if terminals != null, terminals is a subset of this.getTerminals ()
Returns:
An array of Terminals in the Provider's local domain.
Throws:
ResourceUnavailableException - Indicates the number of media terminals present in the Provider is too great to return as a static array.
setCallbackGuardEnabled(boolean)
public void setCallbackGuardEnabled(boolean enabled)
Enables or disables try/catch logic for observer callbacks
In order to protect itself from application exceptions in observer callbacks, the Provider normally guards all invocations of application interfaces (e.g. observers) with the following code:
try {
observer.callStateChanged ( ... );
} catch ( Throwable t ) {
// log the exception here
}
This isolates application errors from the JTAPI implementation, allowing easier troubleshooting, since the JTAPI implementation can note the unhandled exception and continue operating. Some errors are considered non-recoverable and will be re-thrown by JTAPI, generally resulting in application exit. Such errors include ThreadDeath, OutOfMemoryError, and StackOverflowError. Applications wishing to trap errors within JTAPI threads should create a subclass of ThreadGroup and initialize JTAPI from a thread within that ThreadGroup. By overriding the ThreadGroup.uncaughtException () method, the application can be made aware of all unrecoverable errors thrown on JTAPI threads.
In some cases, JTAPI's aggressive error-catching approach may make it more difficult to troubleshoot applications within a java debugger. Microsoft Visual J++ version 6.0, for example, does not handle breakpoints within application observer callbacks properly if JTAPI catches Throwable. In such cases, JTAPI application developers may choose to disable the internal JTAPI try/catch logic.
Note
Disabling callback guards in this manner is only intended for use while troubleshooting applications, and never for use in production environments. By default, callback guards are always enabled.
Parameters:
enabled - if true, callback guard will be enbled; if false, callback guard will be disabled
CiscoProviderObserver
Declaration
public interface CiscoProviderObserver extends javax.telephony.ProviderObserver
All Superinterfaces:
javax.telephony.ProviderObserver
Description
Applications implement this interface in order to receive CiscoProvEv events such as CiscoAddrCreatedEv and CiscoTermCreatedEv when observing a Provider via the Provider.addObserver method.
See Also:
CiscoAddrCreatedEv, CiscoTermCreatedEv
Inherited Member Summary
|
Methods inherited from interface javax.telephony.ProviderObserver
|
|
CiscoRouteAddress
Declaration
public interface CiscoRouteAddress extends javax.telephony.callcenter.RouteAddress
All Superinterfaces:
javax.telephony.Address, javax.telephony.callcenter.RouteAddress
Member Summary
|
Methods
|
|
registerRouteCallback(RouteCallback, boolean)
|
Inherited Member Summary
|
Fields inherited from interface javax.telephony.callcenter.RouteAddress
|
|
Methods inherited from interface javax.telephony.Address
|
addCallObserver, addObserver, getAddressCapabilities, getCallObservers, getCapabilities,
getConnections, getName, getObservers, getProvider, getTerminals, removeCallObserver,
removeObserver
|
Methods inherited from interface javax.telephony.callcenter.RouteAddress
|
cancelRouteCallback, getActiveRouteSessions, getRouteCallback, registerRouteCallback
|
Methods
registerRouteCallback(RouteCallback, boolean)
public void registerRouteCallback(javax.telephony.callcenter.RouteCallback routeCallback,
boolean disableAutoRehoming)
throws ResourceUnavailableException, MethodNotSupportedException
Throws:
MethodNotSupportedException, ResourceUnavailableException
CiscoRouteSession
Declaration
public interface CiscoRouteSession extends javax.telephony.callcenter.RouteSession
All Superinterfaces:
javax.telephony.callcenter.RouteSession
Description
The CiscoRouteSession supports application access to underlying call associated with a RouteSession. Also, various internal ERRORs where endRoute is called internally are exposed to the app, should they wish to handle endRouteEvent() in any special way for these cases.
See Also:
javax.telephony.Call
Member Summary
|
Fields
|
|
CALLINGADDRESS_SEARCH_SPACE
This indicates that the redirect should be done using the search space of the calling address.
|
|
This indicates that the redirect should be done using the search space that is the default for the implementation.
|
|
If an internal InvalidStateException occured or some precondions/postconditions were not met during routing endRoute is called with this ERROR_INVALID_STATE error.
|
|
For now, since there is no default route mechanism in place, if there is no callback retgisered for this app, an endRoute with this error is called.
|
|
ERRORS defined for internal successful endRoute call.
|
|
ERROR_ROUTESELECT_TIMEOUT
Each routeEvent()/reRouteEvent() sent starts a timer for the app to respond with a routeSelect()/ endRoute().
|
|
ROUTEADDRESS_SEARCH_SPACE
This indicates that the redirect should be done using the search space of the route point address.
|
Methods
|
|
Returns the call associated with this RouteSession.
|
|
selectRoute(String[], int)
This method overloads the selectRoute method in the RouteSession interface to allow applications to specify a calling search space to be used when the call is redirected to the route destination.
|
Fields
CALLINGADDRESS_SEARCH_SPACE
public static final int CALLINGADDRESS_SEARCH_SPACE
This indicates that the redirect should be done using the search space of the calling address.
DEFAULT_SEARCH_SPACE
public static final int DEFAULT_SEARCH_SPACE
This indicates that the redirect should be done using the search space that is the default for the implementation. The default is to use the caller's search space.
ERROR_INVALID_STATE
public static final int ERROR_INVALID_STATE
If an internal InvalidStateException occured or some precondions/postconditions were not met during routing endRoute is called with this ERROR_INVALID_STATE error.
ERROR_NO_CALLBACK
public static final int ERROR_NO_CALLBACK
For now, since there is no default route mechanism in place, if there is no callback retgisered for this app, an endRoute with this error is called.
ERROR_NONE
public static final int ERROR_NONE
ERRORS defined for internal successful endRoute call. Error value set for no error.
ERROR_ROUTESELECT_TIMEOUT
public static final int ERROR_ROUTESELECT_TIMEOUT
Each routeEvent()/reRouteEvent() sent starts a timer for the app to respond with a routeSelect()/ endRoute(). The default value of this timer is 5secs. Should the application not respond within this time, an endRoute is called with this error = ERROR_ROUTESELECT_TIMOUT
ROUTEADDRESS_SEARCH_SPACE
public static final int ROUTEADDRESS_SEARCH_SPACE
This indicates that the redirect should be done using the search space of the route point address.
Methods
getCall()
public javax.telephony.Call getCall()
Returns the call associated with this RouteSession.
Returns:
the call associated with this RouteSession
selectRoute(String[], int)
public void selectRoute(java.lang.String[] routeSelected, int callingSearchSpace)
throws MethodNotSupportedException
This method overloads the selectRoute method in the RouteSession interface to allow applications to specify a calling search space to be used when the call is redirected to the route destination.
The callingSearchSpace parameter may be:
CiscoRouteSession.DEFAULT_SEARCH_SPACE
CiscoRouteSession.CALLINGADDRESS_SEARCH_SPACE
CiscoRouteSession.ROUTEADDRESS_SEARCH_SPACE
Read above for a description of what each of these means.
Throws:
MethodNotSupportedException
CiscoRTPBitRate
Declaration
public interface CiscoRTPBitRate
Description
The RTPBitRate interface contains constants describing G.723 RTP bitrates. These constants are returned by the CiscoRTPInputProperties.getBitRate method and the CiscoRTPOutputProperties.getBitRate method.
See Also:
CiscoRTPInputProperties.getBitRate(), CiscoRTPOutputProperties.getBitRate()
Fields
R5_3
public static final int R5_3
5.3k G.723 bit rate
R6_4
public static final int R6_4
6.4k G.723 bit rate
CiscoRTPInputProperties
Declaration
public interface CiscoRTPInputProperties
Member Summary
|
Methods
|
|
Returns the media bit rate, one of the following constants:
|
|
|
|
|
|
|
|
|
|
Returns the payload format, one of the following constants:
|
Methods
getBitRate()
Returns the media bit rate, one of the following constants:
RTPBitRate.R5_3
RTPBitRate.R6_4
Returns:
payload type
getEchoCancellation()
public boolean getEchoCancellation()
Returns:
echo cancellation
getLocalAddress()
public java.net.InetAddress getLocalAddress()
Returns:
address to which media will be directed
getLocalPort()
public int getLocalPort()
Returns:
port to which media will be directed
getPacketSize()
public int getPacketSize()
Returns:
packet size, in milliseconds
getPayloadType()
public int getPayloadType()
Returns the payload format, one of the following constants:
RTPPayload.MEDIAPAYLOAD_NONSTANDARD
RTPPayload.MEDIAPAYLOAD_G711ALAW64K
RTPPayload.MEDIAPAYLOAD_G711ALAW56K
RTPPayload.MEDIAPAYLOAD_G711ULAW64K
RTPPayload.MEDIAPAYLOAD_G711ULAW56K
RTPPayload.MEDIAPAYLOAD_G722_64K
RTPPayload.MEDIAPAYLOAD_G722_56K
RTPPayload.MEDIAPAYLOAD_G722_48K
RTPPayload.MEDIAPAYLOAD_G7231
RTPPayload.MEDIAPAYLOAD_G728
RTPPayload.MEDIAPAYLOAD_G729
RTPPayload.MEDIAPAYLOAD_G729ANNEXA
RTPPayload.MEDIAPAYLOAD_IS11172AUDIOCAP
RTPPayload.MEDIAPAYLOAD_IS13818AUDIOCAP
RTPPayload.MEDIAPAYLOAD_ACY_G729AASSN
RTPPayload.MEDIAPAYLOAD_DATA64
RTPPayload.MEDIAPAYLOAD_DATA56
RTPPayload.MEDIAPAYLOAD_GSM
RTPPayload.MEDIAPAYLOAD_ACTIVEVOICE
Returns:
payload type
CiscoRTPInputStartedEv
Declaration
public interface CiscoRTPInputStartedEv extends com.cisco.jtapi.extensions.CiscoTermEv
All Superinterfaces:
CiscoEv, CiscoTermEv, javax.telephony.events.Ev, javax.telephony.events.TermEv
Member Summary
|
Fields
|
|
|
Methods
|
public
CiscoRTPInputProperties
|
|
Inherited Member Summary
|
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
|
Methods inherited from interface javax.telephony.events.Ev
|
getCause, getID, getMetaCode, getObserved, isNewMetaEvent
|
Methods inherited from interface javax.telephony.events.TermEv
|
|
Fields
ID
public static final int ID
Methods
getRTPInputProperties()
public CiscoRTPInputProperties getRTPInputProperties()
Returns:
RTP input properties
CiscoRTPInputStoppedEv
Declaration
public interface CiscoRTPInputStoppedEv extends com.cisco.jtapi.extensions.CiscoTermEv
All Superinterfaces:
CiscoEv, CiscoTermEv, javax.telephony.events.Ev, javax.telephony.events.TermEv
Inherited Member Summary
|
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
|
Methods inherited from interface javax.telephony.events.Ev
|
getCause, getID, getMetaCode, getObserved, isNewMetaEvent
|
Methods inherited from interface javax.telephony.events.TermEv
|
|
Fields
ID
public static final int ID
CiscoRTPOutputProperties
Declaration
public interface CiscoRTPOutputProperties
Member Summary
|
Methods
|
|
Returns the media bit rate, one of the following constants:
|
|
|
|
|
|
Returns the payload format, one of the following constants:
|
|
|
|
|
|
|
|
|
Methods
getBitRate()
Returns the media bit rate, one of the following constants:
RTPBitRate.R5_3
RTPBitRate.R6_4
Returns:
payload type
getMaxFramesPerPacket()
public int getMaxFramesPerPacket()
Returns:
the maximum number of frames to send per packet
getPacketSize()
public int getPacketSize()
Returns:
packet size, in milliseconds
getPayloadType()
public int getPayloadType()
Returns the payload format, one of the following constants:
RTPPayload.MEDIAPAYLOAD_NONSTANDARD
RTPPayload.MEDIAPAYLOAD_G711ALAW64K
RTPPayload.MEDIAPAYLOAD_G711ALAW56K
RTPPayload.MEDIAPAYLOAD_G711ULAW64K
RTPPayload.MEDIAPAYLOAD_G711ULAW56K
RTPPayload.MEDIAPAYLOAD_G722_64K
RTPPayload.MEDIAPAYLOAD_G722_56K
RTPPayload.MEDIAPAYLOAD_G722_48K
RTPPayload.MEDIAPAYLOAD_G7231
RTPPayload.MEDIAPAYLOAD_G728
RTPPayload.MEDIAPAYLOAD_G729
RTPPayload.MEDIAPAYLOAD_G729ANNEXA
RTPPayload.MEDIAPAYLOAD_IS11172AUDIOCAP
RTPPayload.MEDIAPAYLOAD_IS13818AUDIOCAP
RTPPayload.MEDIAPAYLOAD_ACY_G729AASSN
RTPPayload.MEDIAPAYLOAD_DATA64
RTPPayload.MEDIAPAYLOAD_DATA56
RTPPayload.MEDIAPAYLOAD_GSM
RTPPayload.MEDIAPAYLOAD_ACTIVEVOICE
Returns:
payload type
getPrecedenceValue()
public int getPrecedenceValue()
Returns:
precedence value
getRemoteAddress()
public java.net.InetAddress getRemoteAddress()
Returns:
address to which media is to be transmitted
getRemotePort()
public int getRemotePort()
Returns:
port to which media is to be transmitted
getSilenceSuppression()
public boolean getSilenceSuppression()
Returns:
silence suppression
CiscoRTPOutputStartedEv
Declaration
public interface CiscoRTPOutputStartedEv extends com.cisco.jtapi.extensions.CiscoTermEv
All Superinterfaces:
CiscoEv, CiscoTermEv, javax.telephony.events.Ev, javax.telephony.events.TermEv
Inherited Member Summary
|
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
|
Methods inherited from interface javax.telephony.events.Ev
|
getCause, getID, getMetaCode, getObserved, isNewMetaEvent
|
Methods inherited from interface javax.telephony.events.TermEv
|
|
Fields
ID
public static final int ID
Methods
getRTPOutputProperties()
public CiscoRTPOutputProperties getRTPOutputProperties()
Returns:
RTP output properties
CiscoRTPOutputStoppedEv
Declaration
public interface CiscoRTPOutputStoppedEv extends com.cisco.jtapi.extensions.CiscoTermEv
All Superinterfaces:
CiscoEv, CiscoTermEv, javax.telephony.events.Ev, javax.telephony.events.TermEv
Inherited Member Summary
|
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
|
Methods inherited from interface javax.telephony.events.Ev
|
getCause, getID, getMetaCode, getObserved, isNewMetaEvent
|
Methods inherited from interface javax.telephony.events.TermEv
|
|
Fields
ID
public static final int ID
CiscoRTPPayload
Declaration
public interface CiscoRTPPayload
Description
The RTPPayload interface contains constants describing RTP formats. These constants are returned by the CiscoRTPInputProperties.getPayloadType method and the CiscoRTPOutputProperties.getPayloadType method.
See Also:
CiscoRTPInputProperties.getPayloadType(), CiscoRTPOutputProperties.getPayloadType()
Member Summary
|
Fields
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A non-standard RTP payload
|
Fields
ACTIVEVOICE
public static final int ACTIVEVOICE
ACTIVEVOICE payload
ACY_G729AASSN
public static final int ACY_G729AASSN
ACY_G729AASSN payload
DATA56
public static final int DATA56
DATA56 payload
DATA64
public static final int DATA64
DATA64 payload
G711ALAW56K
public static final int G711ALAW56K
G.711 56K a-law payload
G711ALAW64K
public static final int G711ALAW64K
G.711 64K a-law payload
G711ULAW56K
public static final int G711ULAW56K
G.711 56K u-law payload
G711ULAW64K
public static final int G711ULAW64K
G.711 64K u-law payload
G722_48K
public static final int G722_48K
G.722 48K payload
G722_56K
public static final int G722_56K
G.722 56K payload
G722_64K
public static final int G722_64K
G.722 64K payload
G7231
public static final int G7231
G.723.1 payload
G728
public static final int G728
G.728 payload
G729
public static final int G729
G.729 payload
G729ANNEXA
public static final int G729ANNEXA
G.729a payload
GSM
public static final int GSM
GSM payload
IS11172AUDIOCAP
public static final int IS11172AUDIOCAP
IS11172AUDIOCAP payload
IS13818AUDIOCAP
public static final int IS13818AUDIOCAP
IS13818AUDIOCAP payload
NONSTANDARD
public static final int NONSTANDARD
A non-standard RTP payload
CiscoSynchronousObserver
Declaration
public interface CiscoSynchronousObserver
Description
The Cisco JTAPI implementation is designed to allow applications to invoke blocking JTAPI methods such as Call.connect() and TerminalConnection.answer() from within their observer callbacks. This means that applications are not subject to the restrictions imposed by the JTAPI specification, which cautions applications against using JTAPI methods from within observer callbacks.
Normally, when an application adds a new observer to a JTAPI object, the Cisco JTAPI implementation creates an event queue and an accompanying worker thread to service the new observer. If the same observer is added to another object, its queue and thread are reused; in effect, every unique observer object has a single queue and worker thread. As noted, the advantage of this arrangement is that an application may invoke blocking JTAPI methods from within its observer callback. A subtle disadvantage, however, is that accessor methods such as Call.getConnections() and Connection.getState() may not return results that are consistent with events when invoked from within the observer callback.
For example, suppose that an application creates and connects a call from address "A" to address "B". If the application is observing address "A", it might reasonably expect that when it receives the CallActiveEv, the state of the call will be Call.ACTIVE. This is not necessarily so, since the worker thread delivering events to the application is decoupled from the internal JTAPI thread that is updating object states. In fact, if "B" rejects the call from "A", the call object might be in either the Call.ACTIVE state or the Call.INVALID state, depending on the exact moment at which the worker thread delivers the CallActiveEv.
Many applications will not be adversely affected by this asychronous behavior. Applications that would benefit from a coherent call model during observer callbacks, however, can selectively disable the queueing logic of the Cisco JTAPI implementation. By implementing the CiscoSynchronousObserver interface on its observer objects, an application declares that it wishes events to be delivered synchronously to its observers. Events delivered to synchronous observers will match the states of the call model objects queried from within the observer callback.
Usage Notes
Objects that implement the CiscoSynchronousObserver interface are strictly forbidden from invoking blocking JTAPI methods from within their event callbacks. The consequences of doing so are unpredictable, and may include deadlocking the JTAPI implementation. On the other hand, they may safely use the accessor methods of any JTAPI object, for instance Call.getConnections() or Connection.getState().
CiscoTelephonyException
Declaration
public interface CiscoTelephonyException
Description
The CiscoTelephonyException interface defines CTI error codes. These are the error codes that may be returned by CTI requests. All the JTAPI exceptions have been extended to implement this interface.
Member Summary
|
Fields
|
|
|
|
|
|
CALLHANDLE_NOTINCOMINGCALL
|
|
|
|
CANNOT_TERMINATE_MEDIA_ON_PHONE
|
|
COMMAND_NOT_IMPLEMENTED_ON_DEVICE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NO_ACTIVE_DEVICE_FOR_THIRDPARTY
|
|
|
|
|
|
|
|
|
|
REDIRECT_CALL_CALL_TABLE_FULL
|
|
REDIRECT_CALL_DESTINATION_BUSY
|
|
REDIRECT_CALL_DESTINATION_OUT_OF_ORDER
|
|
REDIRECT_CALL_DIGIT_ANALYSIS_TIMEOUT
|
|
REDIRECT_CALL_DOES_NOT_EXIST
|
|
REDIRECT_CALL_INCOMPATIBLE_STATE
|
|
REDIRECT_CALL_MEDIA_CONNECTION_FAILED
|
|
REDIRECT_CALL_NORMAL_CLEARING
|
|
REDIRECT_CALL_ORIGINATOR_ABANDONED
|
|
REDIRECT_CALL_PARTY_TABLE_FULL
|
|
REDIRECT_CALL_PENDING_REDIRECT_TRANSACTION
|
|
REDIRECT_CALL_PROTOCOL_ERROR
|
|
REDIRECT_CALL_UNKNOWN_DESTINATION
|
|
REDIRECT_CALL_UNKNOWN_ERROR
|
|
REDIRECT_CALL_UNKNOWN_PARTY
|
|
REDIRECT_CALL_UNRECOGNIZED_MANAGER
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TRANSFERFAILED_CALLCONTROL_TIMEOUT
|
|
TRANSFERFAILED_DESTINATION_BUSY
|
|
TRANSFERFAILED_DESTINATION_UNALLOCATED
|
|
TRANSFERFAILED_OUTSTANDING_TRANSFER
|
|
|
|
UNKNOWN_GLOBAL_CALL_HANDLE
|
|
|
|
|
Methods
|
|
|
Fields
ASSOCIATED_LINE_NOT_OPEN
public static final int ASSOCIATED_LINE_NOT_OPEN
CALL_ALREADY_EXISTS
public static final int CALL_ALREADY_EXISTS
CALLHANDLE_NOTINCOMINGCALL
public static final int CALLHANDLE_NOTINCOMINGCALL
CANNOT_OPEN_DEVICE
public static final int CANNOT_OPEN_DEVICE
CANNOT_TERMINATE_MEDIA_ON_PHONE
public static final int CANNOT_TE