cisco.uc.cuae.legacy
Class RemoteJTapiClient

java.lang.Object
  extended by etch.bindings.java.support.RemoteBase
      extended by cisco.uc.cuae.legacy.RemoteJTapi
          extended by cisco.uc.cuae.legacy.RemoteJTapiClient
All Implemented Interfaces:
CuaeCommon, CuaeCommonClient, JTapi, JTapiClient

public final class RemoteJTapiClient
extends RemoteJTapi
implements JTapiClient

Call to message translator for JTapiClient.


Nested Class Summary
 class RemoteJTapiClient._Async
          Asynchronous implementation of service methods.
 
Nested classes/interfaces inherited from interface cisco.uc.cuae.legacy.JTapi
JTapi.DeviceType, JTapi.JTapiAnswerCallOptions, JTapi.JTapiAnswerCallResult, JTapi.JTapiBlindTransferOptions, JTapi.JTapiBlindTransferResult, JTapi.JTapiCallActiveOptions, JTapi.JTapiCallEstablishedOptions, JTapi.JTapiCallInactiveOptions, JTapi.JTapiCallInitiatedOptions, JTapi.JTapiConferenceOptions, JTapi.JTapiConferenceResult, JTapi.JTapiGetCallForwardStatusOptions, JTapi.JTapiGetCallForwardStatusResult, JTapi.JTapiGetDeviceStatusOptions, JTapi.JTapiGetDeviceStatusResult, JTapi.JTapiGotDigitsOptions, JTapi.JTapiHangupCallOptions, JTapi.JTapiHangupOptions, JTapi.JTapiHangupResult, JTapi.JTapiHoldOptions, JTapi.JTapiHoldResult, JTapi.JTapiIncomingCallOptions, JTapi.JTapiMakeCallOptions, JTapi.JTapiMakeCallResult, JTapi.JTapiNonTriggeringSubscribeOptions, JTapi.JTapiNonTriggeringSubscribeResult, JTapi.JTapiRedirectOptions, JTapi.JTapiRedirectResult, JTapi.JTapiRejectCallOptions, JTapi.JTapiRejectCallResult, JTapi.JTapiResumeOptions, JTapi.JTapiResumeResult, JTapi.JTapiSendXSIDataOptions, JTapi.JTapiSendXSIDataResult, JTapi.JTapiStartMonitoringOptions, JTapi.JTapiStartMonitoringResult, JTapi.JTapiUnsubscribeOptions, JTapi.JTapiUnsubscribeResult, JTapi.PlayToneDirection
 
Nested classes/interfaces inherited from interface cisco.uc.cuae.legacy.CuaeCommon
CuaeCommon.CuaeResult
 
Nested classes/interfaces inherited from interface cisco.uc.cuae.legacy.CuaeCommon
CuaeCommon.CuaeResult
 
Field Summary
 RemoteJTapiClient._Async _async
          RemoteJTapiClient._Async class instance used to hide asynchronous message implementation.
 RemoteJTapiClient._Async _inner
          Deprecated.  
 
Constructor Summary
RemoteJTapiClient(etch.bindings.java.support.DeliveryService svc, etch.bindings.java.msg.ValueFactory vf)
          Constructs the RemoteJTapiClient.
 
Method Summary
 void jTapiCallActive(java.lang.String sessionId, JTapi.JTapiCallActiveOptions options)
          JTapiCallActive indicates that the media of a call has become active.
 void jTapiCallEstablished(java.lang.String sessionId, JTapi.JTapiCallEstablishedOptions options)
          JTapiCallEstablished indicates that a line on a monitored device has placed a call.
 void jTapiCallInactive(java.lang.String sessionId, JTapi.JTapiCallInactiveOptions options)
          JTapiCallInactive indicates that the media of a call has gone inactive.
 void jTapiCallInitiated(java.lang.String sessionId, JTapi.JTapiCallInitiatedOptions options)
          JTapiCallInitiated indicates that a line on a monitored device has gone off-hook.
 void jTapiGotDigits(java.lang.String sessionId, JTapi.JTapiGotDigitsOptions options)
          JTapiGotDigits indicates that a digit has been pressed on a monitored device during a call.
 void jTapiHangupCall(java.lang.String sessionId, JTapi.JTapiHangupCallOptions options)
          JTapiHangupCall indicates that a call on a monitored device has ended.
 void jTapiIncomingCall(java.lang.String sessionId, JTapi.JTapiIncomingCallOptions options)
          JTapiIncomingCall indicates that a call has been routed to a line on a monitored device and is currently ringing and unanswered.
 
Methods inherited from class etch.bindings.java.support.RemoteBase
_begincall, _endcall, _newMessage, _send, _start, _startAndWaitUp, _stop, _stopAndWaitDown, _transportControl, _transportNotify, _transportQuery, _waitDown, _waitUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_async

public final RemoteJTapiClient._Async _async
RemoteJTapiClient._Async class instance used to hide asynchronous message implementation. Use this to invoke the asynchronous message implementations.


_inner

@Deprecated
public final RemoteJTapiClient._Async _inner
Deprecated. 
RemoteJTapiClient._Async class instance used to hide asynchronous message implementation. This is here for backwards compatibility only, use _async instead.

Constructor Detail

RemoteJTapiClient

public RemoteJTapiClient(etch.bindings.java.support.DeliveryService svc,
                         etch.bindings.java.msg.ValueFactory vf)
Constructs the RemoteJTapiClient.

Parameters:
svc -
vf -
Method Detail

jTapiIncomingCall

public final void jTapiIncomingCall(java.lang.String sessionId,
                                    JTapi.JTapiIncomingCallOptions options)
Description copied from interface: JTapiClient
JTapiIncomingCall indicates that a call has been routed to a line on a monitored device and is currently ringing and unanswered. None. When a call is inbound to an script via JTapiIncomingCall, the call is in a ringing state and a script can choose to do one of 4 things: JTapiRejectCall, JTapiAnswerCall, JTapiRedirect, or simply do nothing with the call. The JTapiHangup event can occur after JTapiIncomingCall, even if the call has not been answered. In this case, just as when the call has been answered and is established, it indicates that the remote endpoint has terminated the call, and the call is over.

Specified by:
jTapiIncomingCall in interface JTapiClient
Parameters:
sessionId - The session Id for this method call
options - An object holding all the optional parameters

jTapiCallInitiated

public final void jTapiCallInitiated(java.lang.String sessionId,
                                     JTapi.JTapiCallInitiatedOptions options)
Description copied from interface: JTapiClient
JTapiCallInitiated indicates that a line on a monitored device has gone off-hook. The term 'CallInitiated' is a very strict interpretation of a JTAPI call; when a phone is taken off-hook, a new call is created within Cisco Unified Communications Manager, although there is not yet a remote number dialed by the phone device. Therefore, there is no To parameter associated with this event. A phone going off-hook does not correlate to a phone call. If building an application that is concerned foremost with knowing a phone has made a call, then consider using the JTapiCallEstablished event instead for the basis of your script trigger. Subsequent events indicate important state changes of the call. JTapiCallActive indicates that the call has been answered by the remote party. JTapiHangup indicates that call has been gone on-hook if JTapiCallActive has not yet occurred.

Specified by:
jTapiCallInitiated in interface JTapiClient
Parameters:
sessionId - The session Id for this method call
options - An object holding all the optional parameters

jTapiCallEstablished

public final void jTapiCallEstablished(java.lang.String sessionId,
                                       JTapi.JTapiCallEstablishedOptions options)
Description copied from interface: JTapiClient
JTapiCallEstablished indicates that a line on a monitored device has placed a call. None. JTapiCallEstablished indicates that a phone has made a call. At this state, the phone is currently ringing and the remote party has not answered the call. Subsequent events indicate important state changes of the call. JTapiCallActive indicates that the call has been answered by the remote party. JTapiHangup indicates that call has been aborted if JTapiCallActive has not yet occurred.

Specified by:
jTapiCallEstablished in interface JTapiClient
Parameters:
sessionId - The session Id for this method call
options - An object holding all the optional parameters

jTapiCallActive

public final void jTapiCallActive(java.lang.String sessionId,
                                  JTapi.JTapiCallActiveOptions options)
Description copied from interface: JTapiClient
JTapiCallActive indicates that the media of a call has become active. None. JTapiCallActive indicates that a call has become active. In practice this can mean, among other scenarios, that a ringing call has been answered by the called party, or that a call has come out of hold. Knowing that a call is active is important for applications that need to know that the phone is streaming audio. However, if building an application in which this is important, you should be sure to also incorporate the JTapiCallInactive into your script so that you can take the correct action to coincide with the audio streams stopping.

Specified by:
jTapiCallActive in interface JTapiClient
Parameters:
sessionId - The session Id for this method call
options - An object holding all the optional parameters

jTapiCallInactive

public final void jTapiCallInactive(java.lang.String sessionId,
                                    JTapi.JTapiCallInactiveOptions options)
Description copied from interface: JTapiClient
JTapiCallInactive indicates that the media of a call has gone inactive. None. JTapiCallInactive indicates that a call has gone inactive. In practice this can mean that a previously active call has gone on hold, and that audio is no longer flowing.

Specified by:
jTapiCallInactive in interface JTapiClient
Parameters:
sessionId - The session Id for this method call
options - An object holding all the optional parameters

jTapiHangupCall

public final void jTapiHangupCall(java.lang.String sessionId,
                                  JTapi.JTapiHangupCallOptions options)
Description copied from interface: JTapiClient
JTapiHangupCall indicates that a call on a monitored device has ended. This is used by the Etch applications and will not appear in the list of events in the designer. The legacy applications will continue to get the JTapiHangup event. None. JTapiHangupCall can be caused at various stages of a call. For instance, if the only event to have occured is JTapiCallInitiated in your script, then the line has gone on-hook. If the only event to have occurred is JTapiCallEstablished in your script, then the ringing call has been aborted. Finally, if the call has previously become active (indicated by JTapiCallActive), then one of the two parties in the call has hung up and the call is over.

Specified by:
jTapiHangupCall in interface JTapiClient
Parameters:
sessionId - The session Id for this method call
options - An object holding all the optional parameters

jTapiGotDigits

public final void jTapiGotDigits(java.lang.String sessionId,
                                 JTapi.JTapiGotDigitsOptions options)
Description copied from interface: JTapiClient
JTapiGotDigits indicates that a digit has been pressed on a monitored device during a call. None. None.

Specified by:
jTapiGotDigits in interface JTapiClient
Parameters:
sessionId - The session Id for this method call
options - An object holding all the optional parameters


Copyright © 2008. All Rights Reserved.