public class CstaRouteDialog
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
CstaDeviceIdentifier |
callingDevice |
java.lang.String |
crossRefIdentifier |
CstaDeviceIdentifier |
currentRoute |
java.lang.String |
errorValue |
CstaReRouteReason |
reRouteReason |
CstaRouteEndReason |
routeEndReason |
java.lang.String |
routeRegisterReqID |
CstaDeviceIdentifier |
routingDevice |
Constructor and Description |
---|
CstaRouteDialog(CstaSystem cstaSystem)
CstaRouteDialog Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
RouteEnd()
Send RouteSelect request.
|
boolean |
RouteReject()
Send RouteReject request.
|
boolean |
RouteSelect(java.lang.String routeSelected)
Send RouteSelect request.
|
boolean |
RouteSelect(java.lang.String routeSelected,
int timeToAnswer,
boolean requestSupressionIndicator)
Send RouteSelect request with more options.
|
public java.lang.String routeRegisterReqID
public java.lang.String crossRefIdentifier
public CstaDeviceIdentifier currentRoute
public CstaDeviceIdentifier callingDevice
public CstaDeviceIdentifier routingDevice
public CstaReRouteReason reRouteReason
public CstaRouteEndReason routeEndReason
public java.lang.String errorValue
public CstaRouteDialog(CstaSystem cstaSystem)
A CstaRouteDialog Object is always instantiated internally by CSTA SDK when a CSTA RouteRequest with brand new routeCrossRefId is received from CSTA Server. This CstaRouteDialog instance is also added to the RouteDialog list of CstaRouteService. The Application shall never try to instantiate a new CstaRouteDialog object. The Application is able to retrieve the CstaRouteDialog from a CstaRouteService object.
cstaSystem
- the CstaSystem that is used internally.public boolean RouteSelect(java.lang.String routeSelected) throws CstaException
routeSelected
- CstaException
public boolean RouteSelect(java.lang.String routeSelected, int timeToAnswer, boolean requestSupressionIndicator) throws CstaException
routeSelected
- must be in FQN formattimeToAnswer
- If value=0 then the call is sent to the selected device.
OSV will not provide answer supervision for re-routing.
If value>0 seconds then OSV will invoke ReRoute when timer expires.requestSupressionIndicator
- True then OSV will continue current routing dialogue and
will NOT start a new routing dialog on selected device.
False then OSV will invoke a route end on the current routing dialogue and
start a new routing dialogue on the selected device.CstaException
public boolean RouteEnd() throws CstaException
CstaException
public boolean RouteReject() throws CstaException
CstaException