public class CstaSystem extends java.lang.Object implements CstaMessageListener, CstaLinkListener
Modifier and Type | Field and Description |
---|---|
CstaApplicationSession |
applicationSession |
java.util.HashMap<java.lang.String,CstaDevice> |
deviceList
List of Interested Device
|
static org.apache.log4j.Logger |
logger |
java.util.HashMap<java.lang.String,CstaMonitor> |
monitorList
List of Monitored Device
|
CstaLink |
networkLink
unified CSTA Network Link
|
java.util.HashMap<java.lang.String,CstaRouteService> |
routeServiceList
Route Service List
|
Constructor and Description |
---|
CstaSystem(CstaConfiguration cfg)
Constructor Initiate csta connection to OSV server, based on configuration
|
Modifier and Type | Method and Description |
---|---|
boolean |
AcceptCall(java.lang.String callID,
CstaDeviceID deviceID,
java.lang.String appCallbackName)
Send AcceptCall Request, wait for AcceptCallResponse
|
void |
addListener(CstaEventListener listener)
Add one listener for events.
|
boolean |
AlternateCall(java.lang.String heldCallID,
CstaDeviceID heldDeviceID,
java.lang.String activeCallID,
CstaDeviceID activeDeviceID)
Send AlternateCall Request, wait for AlternateCallResponse
|
boolean |
AnswerCall(java.lang.String callID,
CstaDeviceID deviceID)
Send AnswerCall Request, wait for AnswerCallResponse
|
boolean |
AssociateData(java.lang.String callID,
CstaDeviceID deviceID,
CstaDeviceIdentifier deviceInfo,
java.lang.String altDestination)
Send AssociateData Request, wait for AssociateDataResponse
|
CstaCallLogResponseWithErrorCode |
CallLogDelete(java.lang.String subscriber,
CstaCallLogDeleteList logList)
Send CallLogDelete request and wait for a response
|
CstaCallLogResponseWithErrorCode |
CallLogSnapshot(java.lang.String subscriber)
Send CallLogSnapshot request and wait for a response
|
CstaRequestedConnectionInfo |
ChangeConnectionInformation(java.lang.String callID,
CstaDeviceID deviceID,
CstaFlowDirection flowDirection,
java.lang.String mediaSessionInfo)
Send ChangeConnectionInformation Request, wait for ChangeConnectionInformationResponse
|
boolean |
ClearConnection(java.lang.String callID,
CstaDeviceID deviceID,
CstaReason reason)
Send ClearConnection Request, wait for ClearConnectionResponse
|
CstaConnection |
ConferenceCall(java.lang.String heldCallID,
CstaDeviceID heldDeviceID,
java.lang.String activeCallID,
CstaDeviceID activeDeviceID)
Send CSTA ConferenceCall Request, wait for Response, parse it, and return the conference's
CstaConnection
|
void |
conferenceCallXMLDirecty(java.lang.StringBuffer xml,
java.lang.String osvSoap) |
CstaConnection |
ConsultationCall(java.lang.String callID,
CstaDeviceID deviceID,
java.lang.String consultedDevice,
java.lang.String consultOptions,
boolean voice,
boolean image,
boolean im)
Send ConsultationCall Request, wait for ConsultationCallResponse
|
void |
consultationCustomXML(java.lang.StringBuffer xml,
java.lang.String osvSoap) |
boolean |
DeflectCall(java.lang.String callID,
CstaDeviceID deviceID,
java.lang.String ons,
java.lang.String ond,
boolean autoAnswer)
Send DeflectCall Request, wait for DeflectCallResponse
|
boolean |
disConnect(boolean dropConnection)
Disconnect from Csta Server
|
CstaGetConfigurationDataResponse |
GetConfigurationData(java.lang.String ons,
java.lang.String cellDeviceGNF,
java.lang.String cellCarrier,
java.lang.String deviceModel,
java.lang.String deviceOS)
Send GetConfigurationData Request, wait for CstaGetConfigurationDataResponse
|
CstaMonitor |
getCstaMonitorByServiceID(java.lang.String serviceID)
Get CstaMonitor by serviceID
Only one CstaMonitor is allowed per serviceID
It is a one to one mapping
|
CstaRouteService |
getCstaRouteServiceByServiceID(java.lang.String serviceID)
Get CstaRouteService by serviceID.
|
boolean |
getDnDCustomXML(java.lang.StringBuffer xml,
java.lang.String osvSoap) |
java.lang.Boolean |
GetDoNotDisturb(java.lang.String serviceID)
Send GetDoNotDisturb Request, wait for GetDoNotDisturbResponse
|
CstaDoNotDisturbData |
GetDoNotDisturbData(java.lang.String serviceID)
Send GetDoNotDisturb Request, wait for GetDoNotDisturbResponse
|
java.util.List<CstaForwardingData> |
GetForwarding(java.lang.String fqnDn)
Send GetForwarding Request, wait for GetForwardingResponse
|
java.util.List<CstaForwardingData> |
getFWDCustomXML(java.lang.StringBuffer xml,
java.lang.String osvSoap) |
CstaGetLogicalDeviceInformationResponse |
GetLogicalDeviceInformation(CstaDeviceID deviceID)
Send GetLogicalDeviceInformation Request, wait for CstaGetLogicalDeviceInformationResponse
|
CstaGetLogicalDeviceInformationResponse |
GetLogicalDeviceInformationNID(CstaDeviceID deviceID) |
java.lang.Boolean |
GetMessageWaitingIndicator(java.lang.String fqnDn) |
CstaGetSwitchingFunctionCapsResponse |
GetSwitchingFunctionCaps()
Send GetSwitchingFunctionCaps Request, wait for GetSwitchingFunctionCapsResponse
|
boolean |
GetSwitchingFunctionDevices(CstaDeviceCategory category)
Send GetSwitchingFunctionDevices Request, wait for GetSwitchingFunctionDevicesResponse
|
boolean |
GetSwitchingFunctionDevices(CstaDeviceID deviceID,
CstaDeviceCategory category)
Send GetSwitchingFunctionDevices Request, wait for GetSwitchingFunctionDevicesResponse
|
void |
handleApplicationSessionNegResponse(java.lang.String definedError) |
void |
handleApplicationSessionTerminated(CstaApplicationSessionTerminated sessionTerm) |
void |
handleBackInServiceEvent(CstaBackInServiceEvent backInService)
Handle BackInServiceEvent
|
void |
handleBridgedEvent(CstaBridgedEvent bridgedEvent) |
void |
handleCallInformationEvent(CstaCallInformationEvent callInfo)
Handle handleCallInformationEvent, updates connection information,
informs listener of event
|
void |
handleCallLogEvent(CstaCallLogEvent callLogEvent)
Handle CallLogEvent
|
void |
handleConferencedEvent(CstaConferencedEvent conf)
Handle ConferencedEvent
Parse ConferencedEvent and update CstaConnection, according to crossRefID
PrimaryOldCall connection is removed
New conference connection is added
|
void |
handleConnectionClearedEvent(CstaConnectionClearedEvent cleared)
Handle handleConnectionClearedEvent, updates connection information,
informs listener of event
|
void |
handleCstaLinkEvent(java.util.EventObject e) |
void |
handleDeliveredEvent(CstaDeliveredEvent delivered)
Handle handleDeliveredEvent, updates connection information,
informs listener of event
|
void |
handleDeviceCapsChangedEvent(CstaDeviceCapsChangedEvent capsChanged)
Handle DeviceCapsChanged Event
When the device capabilities are changed (e.g.
|
void |
handleDivertedEvent(CstaDivertedEvent diverted)
Handle handleDivertedEvent, updates connection information,
informs listener of event
|
void |
handleDoNotDisturbEvent(CstaDoNotDisturbEvent dnd)
Handle DoNotDisturbEvent
Parse DoNotDisturbEvent and update CstaDevice
Update the device's DND status from DoNotDisturbEvent
|
void |
handleEstablishedEvent(CstaEstablishedEvent established)
Handle handleEstablishedEvent, updates connection information,
informs listener of event
|
void |
handleFailedEvent(CstaFailedEvent failed)
Handle handleFailedEvent, updates connection information,
informs listener of event
|
void |
handleForwardingEvent(CstaForwardingEvent forward)
Handle ForwardingEvent
Parse ForwardingEvent and update CstaDevice
Update the device's forwarding data from ForwardingEvent
|
void |
handleHeldEvent(CstaHeldEvent held)
Handle handleHeldEvent, updates connection information,
informs listener of event
|
void |
handleMessageWaitingEvent(CstaMessageWaitingEvent mwe)
Handle MessageWaitingEvent.
|
void |
handleMonitorStop(CstaMonitorStop stop)
Handle MonitorStop Request
In case CSTA feature is removed by administration in OSV, OSV sends MonitorStop request to application.
|
void |
handleNetworkReachedEvent(CstaNetworkReachedEvent networkReached)
Handle handleNetworkReachedEvent, updates connection information,
informs listener of event
|
void |
handleOfferedEvent(CstaOfferedEvent offered)
Handle OfferedEvent, updates connection information,
informs listener of event
|
void |
handleOriginatedEvent(CstaOriginatedEvent originated)
Handle handleOriginatedEvent, updates connection information,
informs listener of event
|
void |
handleOutOfServiceEvent(CstaOutOfServiceEvent outOfService)
Handle OutOfServiceEvent
|
void |
handleQueuedEvent(CstaQueuedEvent queued)
Handle handleQueuedEvent, updates connection information,
informs listener of event
|
void |
handleReRoute(CstaReRoute reRoute)
Handle ReRoute Request
|
void |
handleRetrievedEvent(CstaRetrievedEvent retrieved)
Handle handleRetrievedEvent, updates connection information,
informs listener of event
|
void |
handleRouteEnd(CstaRouteEnd routeEnd)
Handle RouteEnd Request
|
void |
handleRouteRequest(CstaRouteRequest routeRequest)
Handle RouteRequest
|
void |
handleServiceInitiatedEvent(CstaServiceInitiatedEvent initiated)
Handle handleServiceInitiatedEvent, updates connection information,
informs listener of event
|
boolean |
handleSetMessageWaitingIndicatorResponse(java.lang.String fqnDn,
boolean messageWaitingOn,
int numberOfWaitingMessages,
CstaSetMessageWaitingIndicatorResponse response) |
void |
handleSnapshotDeviceData(CstaSnapshotDeviceData snapDevData)
Add the SnapshotDeviceData to the event queue
|
void |
handleSwitchingFunctionDevices(CstaSwitchingFunctionDevices switchingFunctionDevices)
Handle CstaSwitchingFunctionDevicesEvent,
informs listener of event
|
void |
handleTransferedEvent(CstaTransferedEvent transferred)
Handle TransferedEvent
Parse TransferedEvent and update CstaConnection, according to crossRefID
If it is for TransferringDevice, 2 connections will be removed
Otherwise, one existing connection will be replaced by the new connection
|
boolean |
HoldCall(java.lang.String callID,
CstaDeviceID deviceID)
Send HoldCall Request, wait for HoldCallResponse
|
CstaConnection |
JoinCall(java.lang.String callID,
CstaDeviceID deviceID,
java.lang.String joiningDevice,
CstaJoinCallParticipationType type,
CstaAutoOriginate autoOriginate)
Send JoinCall Request, wait for JoinCallResponse
|
void |
joinCallCustomXML(java.lang.StringBuffer xml,
java.lang.String osvSoap) |
CstaConnection |
MakeCall(java.lang.String calling,
java.lang.String called,
CstaAutoOriginate autoOriginate,
boolean voice,
boolean image,
boolean im,
java.lang.String appCallbackID,
java.lang.String appCallbackName)
Send MakeCall Request, wait for MakeCallResponse
|
void |
makeCallCustomXML(java.lang.StringBuffer xml,
java.lang.String osvSoap) |
CstaMonitor |
MonitorStart(java.lang.String fqnDn,
boolean silmTag,
boolean NID,
CstaFilterEventList filter)
Send MonitorStart Request, wait for MonitorStartResponse
|
boolean |
MonitorStop(java.lang.String monitorCrossRefID)
Send MonitorStop Request, wait for MonitorStopResponse
|
void |
removeListener(CstaEventListener listener)
Remove the specified event listener from the list.
|
boolean |
RequestSystemStatus()
Send SystemStatus Wait for SystemStatusResponse
|
int |
ResetApplicationSessionTimer(int sessionDuration,
int heartBeatTimer) |
boolean |
RetrieveCall(java.lang.String callID,
CstaDeviceID deviceID)
Send RetrieveCall Request, wait for RetrieveCallResponse
|
boolean |
RouteEnd(java.lang.String routeRegisterReqID,
java.lang.String crossRefIdentifier)
Send RouteEnd Request.
|
CstaRouteService |
RouteRegister(java.lang.String fqnDn)
Send RouteRegister Request, wait for RouteRegisterResponse
If the Application sends 2nd RouteRegister on the same device, OSV server gives a positive response,
containing the same routeRegisterReqID as the previous request.
|
boolean |
RouteRegisterCancel(java.lang.String routeRegisterReqID)
Send RouteRegisterCancel Request, wait for RouteRegisterCancelResponse.
|
boolean |
RouteReject(java.lang.String routeRegisterReqID,
java.lang.String crossRefIdentifier)
Send RouteReject Request.
|
boolean |
RouteSelect(java.lang.String routeRegisterReqID,
java.lang.String crossRefIdentifier,
java.lang.String routeSelected,
int timeToAnswer,
boolean requestSupressionIndicator)
Send RouteSelect Request.
|
java.lang.StringBuffer |
sendCustomXMLDirectly(java.lang.StringBuffer xml,
java.lang.String osvSoap) |
java.lang.Object |
sendCustomXMLDirectly(java.lang.StringBuffer xml,
java.lang.String osvSoap,
CstaEventType type) |
void |
sendEventListenerNotification(CstaEventObject evt) |
java.lang.StringBuffer |
sendXMLDirectly(java.lang.StringBuffer xml,
java.lang.String osvSoap) |
boolean |
SetDoNotDisturb(java.lang.String serviceID,
boolean doNotDisturbOn,
int DNDResume)
Send SetDoNotDisturb Request, wait for SetDoNotDisturbResponse
|
boolean |
setDoNotDisturbCustomXML(java.lang.StringBuffer xml,
java.lang.String osvSoap) |
boolean |
SetForwarding(java.lang.String fqnDn,
CstaForwardingType forwardingType,
boolean activateForward,
java.lang.String forwardDN,
int ringCount,
int ringDuration)
Send SetForwarding Request, wait for SetForwardingResponse
|
boolean |
setFWDCustomXMLDirecty(java.lang.StringBuffer xml,
java.lang.String osvSoap) |
boolean |
SetMessageWaitingIndicator(java.lang.String fqnDn,
boolean messageWaitingOn,
int numberOfWaitingMessages) |
CstaConnection |
SingleStepTransferCall(java.lang.String CallID,
CstaDeviceID DeviceID,
java.lang.String destDN,
java.lang.String ond,
java.lang.String transferToVMorAutoAns)
Send SingleStepTransferCall Request, wait for SingleStepTransferCallResponse
|
CstaCall |
SnapshotCall(java.lang.String callID,
CstaDeviceID deviceID,
boolean silmTag)
Send CSTA SnapshotCall Request, wait for Response, parse it, and return a CstaCall.
|
CstaCall |
snapshotCallCustomXML(java.lang.StringBuffer xml,
java.lang.String osvSoap,
java.lang.String serviceID,
java.lang.String callID) |
java.util.List<CstaConnection> |
SnapshotDevice(java.lang.String serviceID)
Send SnapshotDevice Request, wait for SnapshotDeviceResponse
|
java.lang.String |
SnapshotDevice(java.lang.String serviceID,
java.lang.String aliRebidRequest)
Send SnapshotDevice Request with ALI re-bid private data, wait for SnapshotDeviceResponse
|
java.util.List<CstaConnection> |
snapShotDeviceCustomXML(java.lang.StringBuffer xml,
java.lang.String osvSoap,
java.lang.String serviceID) |
void |
sstCustomXMLDirecty(java.lang.StringBuffer xml,
java.lang.String osvSoap) |
CstaApplicationSession |
StartApplicationSession(java.lang.String applicationID,
java.lang.String protocolVersion,
int sessionDuration,
int heartBeatTimer) |
void |
StopApplicationSession(java.lang.String definedEndReason,
java.lang.String appEndReason) |
java.lang.String |
SystemRegister()
Send SystemRegister Wait for SystemRegisterResponse
|
CstaConnection |
TransferCall(java.lang.String heldCallID,
CstaDeviceID heldDeviceID,
java.lang.String activeCallID,
CstaDeviceID activeDeviceID)
Send TransferCall Request, wait for TransferCallResponse
|
void |
transferCallCustomXML(java.lang.StringBuffer xml,
java.lang.String osvSoap) |
public CstaLink networkLink
public java.util.HashMap<java.lang.String,CstaMonitor> monitorList
public java.util.HashMap<java.lang.String,CstaDevice> deviceList
public static org.apache.log4j.Logger logger
public java.util.HashMap<java.lang.String,CstaRouteService> routeServiceList
public CstaApplicationSession applicationSession
public CstaSystem(CstaConfiguration cfg) throws CstaException
cfg
- CstaException
public boolean disConnect(boolean dropConnection) throws CstaException
CstaException
public java.lang.String SystemRegister() throws CstaException
CstaException
public boolean RequestSystemStatus() throws CstaException
CstaException
public CstaMonitor MonitorStart(java.lang.String fqnDn, boolean silmTag, boolean NID, CstaFilterEventList filter) throws CstaException
fqnDn
- The ServiceID to be monitored, must be in FQN formatCstaException
public boolean MonitorStop(java.lang.String monitorCrossRefID) throws CstaException
monitorCrossRefID
- CstaException
public CstaConnection MakeCall(java.lang.String calling, java.lang.String called, CstaAutoOriginate autoOriginate, boolean voice, boolean image, boolean im, java.lang.String appCallbackID, java.lang.String appCallbackName) throws CstaException
calling
- called
- autoOriginate
- voice
- image
- im
- CstaException
public boolean DeflectCall(java.lang.String callID, CstaDeviceID deviceID, java.lang.String ons, java.lang.String ond, boolean autoAnswer) throws CstaException
callID
- deviceID
- ons
- ond
- autoAnswer
- CstaException
public boolean AnswerCall(java.lang.String callID, CstaDeviceID deviceID) throws CstaException
callID
- deviceID
- CstaException
public boolean HoldCall(java.lang.String callID, CstaDeviceID deviceID) throws CstaException
callID
- deviceID
- CstaException
public boolean RetrieveCall(java.lang.String callID, CstaDeviceID deviceID) throws CstaException
callID
- deviceID
- CstaException
public boolean ClearConnection(java.lang.String callID, CstaDeviceID deviceID, CstaReason reason) throws CstaException
callID
- deviceID
- reason
- CstaException
public boolean AcceptCall(java.lang.String callID, CstaDeviceID deviceID, java.lang.String appCallbackName) throws CstaException
callID
- deviceID
- CstaException
public CstaConnection ConsultationCall(java.lang.String callID, CstaDeviceID deviceID, java.lang.String consultedDevice, java.lang.String consultOptions, boolean voice, boolean image, boolean im) throws CstaException
callID
- deviceID
- consultedDevice
- consultOptions
- voice
- image
- im
- CstaException
public CstaConnection JoinCall(java.lang.String callID, CstaDeviceID deviceID, java.lang.String joiningDevice, CstaJoinCallParticipationType type, CstaAutoOriginate autoOriginate) throws CstaException
callID
- deviceID
- joiningDevice
- type
- autoOriginate
- CstaException
public boolean SetDoNotDisturb(java.lang.String serviceID, boolean doNotDisturbOn, int DNDResume) throws CstaException
serviceID
- The Subscriber on which to set DoNotDisturbdoNotDisturbOn
- DoNotDisturb or not?DNDResume
- DND with Snooze Duration?CstaException
public java.lang.Boolean GetDoNotDisturb(java.lang.String serviceID) throws CstaException
serviceID
- CstaException
public CstaDoNotDisturbData GetDoNotDisturbData(java.lang.String serviceID) throws CstaException
serviceID
- CstaException
public boolean SetForwarding(java.lang.String fqnDn, CstaForwardingType forwardingType, boolean activateForward, java.lang.String forwardDN, int ringCount, int ringDuration) throws CstaException
fqnDn
- ServiceID in FQN formatforwardingType
- activateForward
- forwardDN
- ringCount
- ringDuration
- CstaException
public java.util.List<CstaForwardingData> GetForwarding(java.lang.String fqnDn) throws CstaException
fqnDn
- ServiceID in FQN formatCstaException
public boolean AlternateCall(java.lang.String heldCallID, CstaDeviceID heldDeviceID, java.lang.String activeCallID, CstaDeviceID activeDeviceID) throws CstaException
heldCallID
- heldDeviceID
- activeCallID
- activeDeviceID
- CstaException
public CstaConnection TransferCall(java.lang.String heldCallID, CstaDeviceID heldDeviceID, java.lang.String activeCallID, CstaDeviceID activeDeviceID) throws CstaException
heldCallID
- heldDeviceID
- activeCallID
- activeDeviceID
- CstaException
public java.util.List<CstaConnection> SnapshotDevice(java.lang.String serviceID) throws CstaException
serviceID
- CstaException
public java.lang.String SnapshotDevice(java.lang.String serviceID, java.lang.String aliRebidRequest) throws CstaException
serviceID
- aliRebidRequest
- ALI re-bid private dataCstaException
public CstaCall SnapshotCall(java.lang.String callID, CstaDeviceID deviceID, boolean silmTag) throws CstaException
callID
- deviceID
- CstaException
public CstaConnection ConferenceCall(java.lang.String heldCallID, CstaDeviceID heldDeviceID, java.lang.String activeCallID, CstaDeviceID activeDeviceID) throws CstaException
heldCallID
- heldDeviceID
- activeCallID
- activeDeviceID
- CstaException
public CstaConnection SingleStepTransferCall(java.lang.String CallID, CstaDeviceID DeviceID, java.lang.String destDN, java.lang.String ond, java.lang.String transferToVMorAutoAns) throws CstaException
CallID
- The CallID in current ConnectionDeviceID
- The DeviceID in current ConnectiondestDN
- D3, the new Destination.ond
- internal use by SDKtransferToVMorAutoAns
- CSTA Private Data flagCstaException
public boolean AssociateData(java.lang.String callID, CstaDeviceID deviceID, CstaDeviceIdentifier deviceInfo, java.lang.String altDestination) throws CstaException
callID
- deviceID
- deviceInfo
- altDestination
- CstaException
public CstaRequestedConnectionInfo ChangeConnectionInformation(java.lang.String callID, CstaDeviceID deviceID, CstaFlowDirection flowDirection, java.lang.String mediaSessionInfo) throws CstaException
callID
- deviceID
- flowDirection
- mediaSessionInfo
- CstaException
public CstaApplicationSession StartApplicationSession(java.lang.String applicationID, java.lang.String protocolVersion, int sessionDuration, int heartBeatTimer) throws CstaException
CstaException
public int ResetApplicationSessionTimer(int sessionDuration, int heartBeatTimer) throws CstaException
CstaException
public void StopApplicationSession(java.lang.String definedEndReason, java.lang.String appEndReason) throws CstaException
CstaException
public boolean GetSwitchingFunctionDevices(CstaDeviceCategory category) throws CstaException
deviceCategory
- CstaException
public boolean GetSwitchingFunctionDevices(CstaDeviceID deviceID, CstaDeviceCategory category) throws CstaException
deviceID
- deviceCategory
- CstaException
public CstaGetSwitchingFunctionCapsResponse GetSwitchingFunctionCaps() throws CstaException
CstaException
public CstaGetLogicalDeviceInformationResponse GetLogicalDeviceInformation(CstaDeviceID deviceID) throws CstaException
deviceID
- CstaException
public CstaGetLogicalDeviceInformationResponse GetLogicalDeviceInformationNID(CstaDeviceID deviceID) throws CstaException
CstaException
public CstaGetConfigurationDataResponse GetConfigurationData(java.lang.String ons, java.lang.String cellDeviceGNF, java.lang.String cellCarrier, java.lang.String deviceModel, java.lang.String deviceOS) throws CstaException
ons
- cellDeviceGNF
- cellCarrier
- deviceModel
- deviceOS
- CstaException
public CstaCallLogResponseWithErrorCode CallLogSnapshot(java.lang.String subscriber) throws CstaException
subscriber
- CstaException
public CstaCallLogResponseWithErrorCode CallLogDelete(java.lang.String subscriber, CstaCallLogDeleteList logList) throws CstaException
subscriber
- logList
- The records we want to deleteCstaException
public void handleCallLogEvent(CstaCallLogEvent callLogEvent) throws CstaException
callLogEvent
- CstaException
public void handleOfferedEvent(CstaOfferedEvent offered) throws CstaException
offered
- The OfferedEvent XML ObjectCstaException
public void handleDeliveredEvent(CstaDeliveredEvent delivered) throws CstaException
delivered
- The DeliveredEvent XML ObjectCstaException
public void handleConnectionClearedEvent(CstaConnectionClearedEvent cleared) throws CstaException
cleared
- The ConnectionClearedEvent XML ObjectCstaException
public void handleDivertedEvent(CstaDivertedEvent diverted) throws CstaException
diverted
- The DivertedEvent XML ObjectCstaException
public void handleEstablishedEvent(CstaEstablishedEvent established) throws CstaException
established
- The EstablishedEvent XML ObjectCstaException
public void handleHeldEvent(CstaHeldEvent held) throws CstaException
held
- The HeldEvent XML ObjectCstaException
public void handleRetrievedEvent(CstaRetrievedEvent retrieved) throws CstaException
retrieved
- The RetrievedEvent XML ObjectCstaException
public void handleServiceInitiatedEvent(CstaServiceInitiatedEvent initiated) throws CstaException
initiated
- The ServiceInitiatedEvent XML ObjectCstaException
public void handleOriginatedEvent(CstaOriginatedEvent originated) throws CstaException
originated
- The OriginatedEvent XML ObjectCstaException
public void handleFailedEvent(CstaFailedEvent failed) throws CstaException
failed
- The FailedEvent XML ObjectCstaException
public void handleNetworkReachedEvent(CstaNetworkReachedEvent networkReached) throws CstaException
networkReached
- The NetworkReachedEvent XML ObjectCstaException
public void handleQueuedEvent(CstaQueuedEvent queued) throws CstaException
queued
- The QueuedEvent XML ObjectCstaException
public void handleTransferedEvent(CstaTransferedEvent transferred) throws CstaException
transferred
- The TransferedEvent XML ObjectCstaException
public void handleConferencedEvent(CstaConferencedEvent conf) throws CstaException
conf
- The ConferencedEvent XML ObjectCstaException
public void handleForwardingEvent(CstaForwardingEvent forward) throws CstaException
forward
- The ForwardingEvent XML ObjectCstaException
public void handleDoNotDisturbEvent(CstaDoNotDisturbEvent dnd) throws CstaException
dnd
- The DoNotDisturbEvent XML ObjectCstaException
public void handleMessageWaitingEvent(CstaMessageWaitingEvent mwe) throws CstaException
mwe
- The MessageWaitingEvent XML ObjectCstaException
public void handleOutOfServiceEvent(CstaOutOfServiceEvent outOfService) throws CstaException
outOfService
- The OutOfServiceEvent XML ObjectCstaException
public void handleBackInServiceEvent(CstaBackInServiceEvent backInService) throws CstaException
backInService
- The BackInServiceEvent XML ObjectCstaException
public void handleCallInformationEvent(CstaCallInformationEvent callInfo) throws CstaException
callInfo
- The HeldEvent XML ObjectCstaException
public void handleSwitchingFunctionDevices(CstaSwitchingFunctionDevices switchingFunctionDevices) throws CstaException
switchingFunctionDevices
- The CstaSwitchingFunctionDevicesEvent XML ObjectCstaException
public void handleBridgedEvent(CstaBridgedEvent bridgedEvent) throws CstaException
CstaException
public void addListener(CstaEventListener listener)
listener
- the EventListener to be added.public void removeListener(CstaEventListener listener)
listener
- public CstaMonitor getCstaMonitorByServiceID(java.lang.String serviceID)
serviceID
- The ServiceID must be in FQN formatpublic void sendEventListenerNotification(CstaEventObject evt)
public CstaRouteService RouteRegister(java.lang.String fqnDn) throws CstaException
fqnDn
- The ServiceID to be registered with route service, must be in FQN formatCstaException
public boolean RouteRegisterCancel(java.lang.String routeRegisterReqID) throws CstaException
routeRegisterReqID
- CstaException
public CstaRouteService getCstaRouteServiceByServiceID(java.lang.String serviceID)
serviceID
- The ServiceID must be in FQN formatpublic boolean RouteSelect(java.lang.String routeRegisterReqID, java.lang.String crossRefIdentifier, java.lang.String routeSelected, int timeToAnswer, boolean requestSupressionIndicator) throws CstaException
routeRegisterReqID
- crossRefIdentifier
- routeSelected
- timeToAnswer
- requestSupressionIndicator
- CstaException
public boolean RouteEnd(java.lang.String routeRegisterReqID, java.lang.String crossRefIdentifier) throws CstaException
routeRegisterReqID
- crossRefIdentifier
- CstaException
public boolean RouteReject(java.lang.String routeRegisterReqID, java.lang.String crossRefIdentifier) throws CstaException
routeRegisterReqID
- crossRefIdentifier
- CstaException
public void handleRouteRequest(CstaRouteRequest routeRequest) throws CstaException
routeRequest
- The RouteRequest XML ObjectCstaException
public void handleReRoute(CstaReRoute reRoute) throws CstaException
reRoute
- The RouteRequest XML ObjectCstaException
public void handleRouteEnd(CstaRouteEnd routeEnd) throws CstaException
routeEnd
- The RouteRequest XML ObjectCstaException
public boolean SetMessageWaitingIndicator(java.lang.String fqnDn, boolean messageWaitingOn, int numberOfWaitingMessages) throws CstaException
CstaException
public boolean handleSetMessageWaitingIndicatorResponse(java.lang.String fqnDn, boolean messageWaitingOn, int numberOfWaitingMessages, CstaSetMessageWaitingIndicatorResponse response) throws CstaException
CstaException
public java.lang.Boolean GetMessageWaitingIndicator(java.lang.String fqnDn) throws CstaException
CstaException
public void handleMonitorStop(CstaMonitorStop stop) throws CstaException
stop
- The MonitorStop XML ObjectCstaException
public void handleDeviceCapsChangedEvent(CstaDeviceCapsChangedEvent capsChanged) throws CstaException
capsChanged
- The DeviceCapsChanged XML ObjectCstaException
public void handleApplicationSessionTerminated(CstaApplicationSessionTerminated sessionTerm)
public void handleApplicationSessionNegResponse(java.lang.String definedError)
public void handleSnapshotDeviceData(CstaSnapshotDeviceData snapDevData)
snapDevData
- public void makeCallCustomXML(java.lang.StringBuffer xml, java.lang.String osvSoap) throws CstaException
CstaException
public void consultationCustomXML(java.lang.StringBuffer xml, java.lang.String osvSoap) throws CstaException
CstaException
public void joinCallCustomXML(java.lang.StringBuffer xml, java.lang.String osvSoap) throws CstaException
CstaException
public void transferCallCustomXML(java.lang.StringBuffer xml, java.lang.String osvSoap) throws CstaException
CstaException
public void conferenceCallXMLDirecty(java.lang.StringBuffer xml, java.lang.String osvSoap) throws CstaException
CstaException
public void sstCustomXMLDirecty(java.lang.StringBuffer xml, java.lang.String osvSoap) throws CstaException
CstaException
public boolean setFWDCustomXMLDirecty(java.lang.StringBuffer xml, java.lang.String osvSoap) throws CstaException
CstaException
public boolean setDoNotDisturbCustomXML(java.lang.StringBuffer xml, java.lang.String osvSoap) throws CstaException
CstaException
public java.util.List<CstaForwardingData> getFWDCustomXML(java.lang.StringBuffer xml, java.lang.String osvSoap) throws CstaException
CstaException
public boolean getDnDCustomXML(java.lang.StringBuffer xml, java.lang.String osvSoap) throws CstaException
CstaException
public java.util.List<CstaConnection> snapShotDeviceCustomXML(java.lang.StringBuffer xml, java.lang.String osvSoap, java.lang.String serviceID) throws CstaException
CstaException
public CstaCall snapshotCallCustomXML(java.lang.StringBuffer xml, java.lang.String osvSoap, java.lang.String serviceID, java.lang.String callID) throws CstaException
CstaException
public java.lang.StringBuffer sendCustomXMLDirectly(java.lang.StringBuffer xml, java.lang.String osvSoap) throws CstaException
CstaException
public java.lang.StringBuffer sendXMLDirectly(java.lang.StringBuffer xml, java.lang.String osvSoap) throws CstaException
CstaException
public java.lang.Object sendCustomXMLDirectly(java.lang.StringBuffer xml, java.lang.String osvSoap, CstaEventType type) throws CstaException
CstaException
public void handleCstaLinkEvent(java.util.EventObject e)
handleCstaLinkEvent
in interface CstaLinkListener