|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcisco.uc.cuae.legacy.BaseJTapiServer
public class BaseJTapiServer
Base implementation of JTapiServer, with default method implementations which throw UnsupportedOperationException. Extend this class to provide implementations of messages from the client.
ImplJTapiServer| Nested Class Summary |
|---|
| 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 |
| Constructor Summary | |
|---|---|
BaseJTapiServer()
|
|
| Method Summary | |
|---|---|
void |
_sessionControl(java.lang.Object control,
java.lang.Object value)
|
void |
_sessionNotify(java.lang.Object event)
|
java.lang.Object |
_sessionQuery(java.lang.Object query)
|
JTapi.JTapiAnswerCallResult |
jTapiAnswerCall(java.lang.String sessionId,
java.lang.Long callId,
JTapi.JTapiAnswerCallOptions options)
Answers a call currently ringing on a monitored device. |
JTapi.JTapiBlindTransferResult |
jTapiBlindTransfer(java.lang.String sessionId,
java.lang.Long callId,
java.lang.String to,
JTapi.JTapiBlindTransferOptions options)
Transfers an established call on a monitored device to a new destination. |
JTapi.JTapiConferenceResult |
jTapiConference(java.lang.String sessionId,
java.lang.Long callId,
java.lang.Long volatileCallId,
JTapi.JTapiConferenceOptions options)
Conferences two established calls that exist on the same line and device. |
JTapi.JTapiGetCallForwardStatusResult |
jTapiGetCallForwardStatus(java.lang.String sessionId,
java.lang.String deviceName,
java.lang.String directoryNumber,
JTapi.JTapiGetCallForwardStatusOptions options)
Gets the call forward status of a line on a monitored device. |
JTapi.JTapiGetDeviceStatusResult |
jTapiGetDeviceStatus(java.lang.String sessionId,
java.lang.String deviceName,
JTapi.JTapiGetDeviceStatusOptions options)
Gets the device status of a phone using JTAPI. |
JTapi.JTapiHangupResult |
jTapiHangup(java.lang.String sessionId,
java.lang.Long callId,
JTapi.JTapiHangupOptions options)
Hangs up a call currently active on a monitored device. |
JTapi.JTapiHoldResult |
jTapiHold(java.lang.String sessionId,
java.lang.Long callId,
JTapi.JTapiHoldOptions options)
Puts an active call on a monitored device on hold. |
JTapi.JTapiMakeCallResult |
jTapiMakeCall(java.lang.String sessionId,
java.lang.String to,
java.lang.String deviceName,
java.lang.String from,
JTapi.JTapiMakeCallOptions options)
Causes a monitored device to place a call from a specific line. |
JTapi.JTapiNonTriggeringSubscribeResult |
jTapiNonTriggeringSubscribe(java.lang.String sessionId,
java.lang.String deviceName,
java.lang.String devicePoolName,
JTapi.DeviceType deviceType,
JTapi.JTapiNonTriggeringSubscribeOptions options)
Registers a device with JTAPI. |
JTapi.JTapiRedirectResult |
jTapiRedirect(java.lang.String sessionId,
java.lang.Long callId,
java.lang.String to,
java.lang.String prefferedOriginalCalledParty,
JTapi.JTapiRedirectOptions options)
Redirects a call currently ringing on a monitored device to a new destination. |
JTapi.JTapiRejectCallResult |
jTapiRejectCall(java.lang.String sessionId,
java.lang.Long callId,
JTapi.JTapiRejectCallOptions options)
Rejects a call currently ringing on a monitored device, ending it. |
JTapi.JTapiResumeResult |
jTapiResume(java.lang.String sessionId,
java.lang.Long callId,
java.lang.String rxIP,
java.lang.Long rxPort,
JTapi.JTapiResumeOptions options)
Resume a held call on a monitored device. |
JTapi.JTapiSendXSIDataResult |
jTapiSendXSIData(java.lang.String sessionId,
java.lang.String deviceName,
java.lang.String xSIData,
JTapi.JTapiSendXSIDataOptions options)
Send XSI data to a monitored phone. |
JTapi.JTapiStartMonitoringResult |
jTapiStartMonitoring(java.lang.String sessionId,
java.lang.String targetCallId,
java.lang.String targetDeviceName,
java.lang.String targetLineDN,
java.lang.String listenerLineDN,
JTapi.JTapiStartMonitoringOptions options)
Starts monitoring the audio stream of an active call on a monitored device. |
JTapi.JTapiUnsubscribeResult |
jTapiUnsubscribe(java.lang.String sessionId,
java.lang.String deviceName,
JTapi.JTapiUnsubscribeOptions options)
Unregisters a device with JTAPI. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseJTapiServer()
| Method Detail |
|---|
public java.lang.Object _sessionQuery(java.lang.Object query)
throws java.lang.Exception
_sessionQuery in interface etch.bindings.java.support.ObjSessionjava.lang.Exception
public void _sessionControl(java.lang.Object control,
java.lang.Object value)
throws java.lang.Exception
_sessionControl in interface etch.bindings.java.support.ObjSessionjava.lang.Exception
public void _sessionNotify(java.lang.Object event)
throws java.lang.Exception
_sessionNotify in interface etch.bindings.java.support.ObjSessionjava.lang.Exception
public JTapi.JTapiAnswerCallResult jTapiAnswerCall(java.lang.String sessionId,
java.lang.Long callId,
JTapi.JTapiAnswerCallOptions options)
JTapiServer
jTapiAnswerCall in interface JTapiServersessionId - The session Id for this method callcallId - Indicates the call to answer with JTapiAnswer. The CallId
must have originated from a JTapiIncomingCall event.options - An object holding all the optional parameters
public JTapi.JTapiHoldResult jTapiHold(java.lang.String sessionId,
java.lang.Long callId,
JTapi.JTapiHoldOptions options)
JTapiServer
jTapiHold in interface JTapiServersessionId - The session Id for this method callcallId - Indicates the call to be put on hold with JTapiHold.options - An object holding all the optional parameters
public JTapi.JTapiResumeResult jTapiResume(java.lang.String sessionId,
java.lang.Long callId,
java.lang.String rxIP,
java.lang.Long rxPort,
JTapi.JTapiResumeOptions options)
JTapiServer
jTapiResume in interface JTapiServersessionId - The session Id for this method callcallId - Indicates the call to be resumed with JTapiResume.rxIP - The IP address that the resumed audio should be sent to, from
the monitored device. If this field is not specified, then the
audio will resume sending to where it would have, if this
parameter were not specified. In other words, not specifying
this parameter generally causes the monitored device to begin
streaming to the device it was previously streaming to before
the call was held. This field has only rare use and should
almost always be left specified.rxPort - The port that the resumed audio should be sent to, from the
monitored device. If this field is not specified, then the
audio will resume sending to where it would have, if this
parameter were not specified. In other words, not specifying
this parameter generally causes the monitored device to begin
streaming to the device it was previously streaming to before
the call was held. This field has only rare use and should
almost always be left unspecified.options - An object holding all the optional parameters
public JTapi.JTapiRejectCallResult jTapiRejectCall(java.lang.String sessionId,
java.lang.Long callId,
JTapi.JTapiRejectCallOptions options)
JTapiServer
jTapiRejectCall in interface JTapiServersessionId - The session Id for this method callcallId - Indicates the call to reject with JTapiReject. The CallId
must have originated from a JTapiIncomingCall event.options - An object holding all the optional parameters
public JTapi.JTapiHangupResult jTapiHangup(java.lang.String sessionId,
java.lang.Long callId,
JTapi.JTapiHangupOptions options)
JTapiServer
jTapiHangup in interface JTapiServersessionId - The session Id for this method callcallId - Indicates the call to hangup with JTapiHangup.options - An object holding all the optional parameters
public JTapi.JTapiMakeCallResult jTapiMakeCall(java.lang.String sessionId,
java.lang.String to,
java.lang.String deviceName,
java.lang.String from,
JTapi.JTapiMakeCallOptions options)
JTapiServer
jTapiMakeCall in interface JTapiServersessionId - The session Id for this method callto - The destination number for this call. In practice, this number
must be routable according to the dial plan of the Cisco Unified
Communications Manager cluster that the call is sent to.deviceName - The name of a controlled device from which to place the
call. The From action parameter must be a valid line
number on this device.from - The line on the controlled device from which to originate the
call leg.options - An object holding all the optional parameters
public JTapi.JTapiConferenceResult jTapiConference(java.lang.String sessionId,
java.lang.Long callId,
java.lang.Long volatileCallId,
JTapi.JTapiConferenceOptions options)
JTapiServer
jTapiConference in interface JTapiServersessionId - The session Id for this method callcallId - One of the two calls that have been established on the same
line.volatileCallId - One of the two calls that have been established on
the same line. This call ID will be destroyed
afterwards, because 2 calls are being joined into
one. All future call events will be sent up with the
ID specified by the CallId action parameter.options - An object holding all the optional parameters
public JTapi.JTapiRedirectResult jTapiRedirect(java.lang.String sessionId,
java.lang.Long callId,
java.lang.String to,
java.lang.String prefferedOriginalCalledParty,
JTapi.JTapiRedirectOptions options)
JTapiServer
jTapiRedirect in interface JTapiServersessionId - The session Id for this method callcallId - Indicates the call to redirect with JTapiRedirect.to - The destination number for the redirected call. In practice, this
number must be routable according to the dial plan of the Cisco
Unified Communications Manager cluster that the call is sent to.prefferedOriginalCalledParty - The called party information that would
appear in the redirect request.options - An object holding all the optional parameters
public JTapi.JTapiBlindTransferResult jTapiBlindTransfer(java.lang.String sessionId,
java.lang.Long callId,
java.lang.String to,
JTapi.JTapiBlindTransferOptions options)
JTapiServer
jTapiBlindTransfer in interface JTapiServersessionId - The session Id for this method callcallId - Indicates the call to redirect with JTapiBlindTransfer.to - The destination number for the transferred call. In practice,
this number must be routable according to the dial plan of the
Cisco Unified Communications Manager cluster that the call is
sent to.options - An object holding all the optional parameters
public JTapi.JTapiGetCallForwardStatusResult jTapiGetCallForwardStatus(java.lang.String sessionId,
java.lang.String deviceName,
java.lang.String directoryNumber,
JTapi.JTapiGetCallForwardStatusOptions options)
JTapiServer
jTapiGetCallForwardStatus in interface JTapiServersessionId - The session Id for this method calldeviceName - The name of a controlled device from whose call forward
status is queried. The DirectoryNumber action parameter
must be a valid line number on this device.directoryNumber - The line number on the device whose call forward
status needs to be determined.options - An object holding all the optional parameters
public JTapi.JTapiStartMonitoringResult jTapiStartMonitoring(java.lang.String sessionId,
java.lang.String targetCallId,
java.lang.String targetDeviceName,
java.lang.String targetLineDN,
java.lang.String listenerLineDN,
JTapi.JTapiStartMonitoringOptions options)
JTapiServer
jTapiStartMonitoring in interface JTapiServersessionId - The session Id for this method calltargetCallId - The call ID of the call that will be monitored.targetDeviceName - The device name of a JTAPI-controlled device that
has associated with it the TargetLineDN.targetLineDN - The monitoring target directory number to initiate the
monitor on. The RX and TX audio will be mixed by the
TargetDeviceName, and will be sent to either the
ListenerLineDN, or to RxIP:RxPort, depending on usage
of those action parameters.listenerLineDN - The line number that should receive the monitor call.
If specified, also specify ListenerDeviceName, but do
not specify ListenerDevicePool. In Cisco Unified
Communications Manager, the 'Route Partition' on this
line must be callable by the 'Monitoring Calling
Search Space' defined on the TargetLineDN line.options - An object holding all the optional parameters
public JTapi.JTapiSendXSIDataResult jTapiSendXSIData(java.lang.String sessionId,
java.lang.String deviceName,
java.lang.String xSIData,
JTapi.JTapiSendXSIDataOptions options)
JTapiServer
jTapiSendXSIData in interface JTapiServersessionId - The session Id for this method calldeviceName - The name of a controlled device which will be sent the
XSI command.xSIData - The XSI object to be pushed to the monitored device. The
object can not be directly passed in to this parameter.
Instead, one must invoke the ToString() method on the
object, and the resulting string must be passed in.options - An object holding all the optional parameters
public JTapi.JTapiNonTriggeringSubscribeResult jTapiNonTriggeringSubscribe(java.lang.String sessionId,
java.lang.String deviceName,
java.lang.String devicePoolName,
JTapi.DeviceType deviceType,
JTapi.JTapiNonTriggeringSubscribeOptions options)
JTapiServer
jTapiNonTriggeringSubscribe in interface JTapiServersessionId - The session Id for this method calldeviceName - The device name of the device to be registered.devicePoolName - The device pool to which this device should be placed
in. This device pool is configured in the mceadmin
web interface, and does not correspond to device
pools as defined by Cisco Unified Communications
Manager.deviceType - The device type of the device. This must currently be set
to CtiMonitored in all situations.options - An object holding all the optional parameters
public JTapi.JTapiUnsubscribeResult jTapiUnsubscribe(java.lang.String sessionId,
java.lang.String deviceName,
JTapi.JTapiUnsubscribeOptions options)
JTapiServer
jTapiUnsubscribe in interface JTapiServersessionId - The session Id for this method calldeviceName - The device name of the device to be unregistered.options - An object holding all the optional parameters
public JTapi.JTapiGetDeviceStatusResult jTapiGetDeviceStatus(java.lang.String sessionId,
java.lang.String deviceName,
JTapi.JTapiGetDeviceStatusOptions options)
JTapiServer
jTapiGetDeviceStatus in interface JTapiServersessionId - The session Id for this method calldeviceName - The name of a controlled device to query.options - An object holding all the optional parameters
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||