-
evtType
CstaEventType evtType
Indicating current CSTA Event, ie, DELIVERED, ESTABLISHED, etc
-
evtInd
CstaEventIndicator evtInd
Indicating current CSTA Event changes the connection status or number of connections
-
fqnDn
java.lang.String fqnDn
DeviceID in current CSTA Event, if valid.
-
callID
java.lang.String callID
CallID in current CSTA Event, if valid.
This is the CallID of current connection, or new connection.
Null if not valid.
-
primaryOldCallID
java.lang.String primaryOldCallID
Primary Old CallID in current CSTA Event, if valid.
In Transferred/Conferenced event, this is valid.
Null if not valid.
The connection of this callID is removed from connectionList.
-
secondaryOldCallID
java.lang.String secondaryOldCallID
Secondary Old CallID in current CSTA Event, if valid.
In Transferred/Conferenced event, if this is the transferring/conferencing device, this is valid.
Null if not valid.
The connection of this callID is removed from connectionList.
-
evtConnection
CstaConnection evtConnection
CstaConnection as handled by CstaMonitor, if valid.
In events where a callID and fqnDN are provided and the fqnDN is also being monitored, this is valid.
Null if not valid.
Returns the actual connection used by CstaMonitor.
-
currentObject
java.lang.Object currentObject
Current XML Object.
The Data in CSTA Model is updated in real time. For example, the case when the application is still handling DeliveredEvent,
SDK already receives EstablishedEvent from OSV and parses it, and also updates all the data that maintained by SDK.
In information the application retrieves from SDK at this moment may be the newer one from next EstablishedEvent instead of current DeliveredEvent.
If the application really wants to access the data in the current DeliveredEvent, it could refer to this currentObject.
Example:
if(cstaEventObject.evtType == CstaEventType.DELIVERED){
CstaDeliveredEvent deliveredXml = (CstaDeliveredEvent) cstaEventObject.currentXmlObject;
CstaDeviceIdentifier deviceIdentifier = new CstaDeviceIdentifier(deliveredXml.getCalledDevice());
}
In case there is any failure in lower layer, SDK will notify the application by sending this eventObject with eventType=CstaException.
In this case, currentObject is the CstaException object that is thrown from lower layer of SDK.
Example:
if(evt.evtType == CstaEventType.CSTAEXCEPTION)
{
CstaException e = (CstaException) evt.currentObject;
System.out.println(e.getErrorCause());
}
-
routeRegisterReqId
java.lang.String routeRegisterReqId
routeRegisterReqId in current CSTA Event, if valid.
This is the routeRegisterReqId of current RouteService.
Null if not valid.
-
routeCrossRefIdentifier
java.lang.String routeCrossRefIdentifier
routeCrossRefIdentifier in current CSTA Event, if valid.
This is the routeCrossRefIdentifier of current RouteDialog.
Null if not valid.
-
applicationSessionID
java.lang.String applicationSessionID
-
sessionTermReason
java.lang.String sessionTermReason