com.avaya.jtapi.tsapi
Interface LucentV7RouteSession

All Superinterfaces:
ITsapiCallInfo, ITsapiRouteSession, LucentRouteSession, RouteSession

public interface LucentV7RouteSession
extends LucentRouteSession

The LucentV7RouteSession interface extends LucentRouteSession to add the ability to use the Network Call Redirection feature of call routing on Avaya switches. When a Provider is bound to a ECS switch, this interface may be used to access this additional capability.

The route session object which implements this interface also implements the ECSCallInfo interface.


Field Summary
 
Fields inherited from interface javax.telephony.callcenter.RouteSession
CAUSE_INVALID_DESTINATION, CAUSE_NO_ERROR, CAUSE_PARAMETER_NOT_SUPPORTED, CAUSE_ROUTING_TIMER_EXPIRED, CAUSE_STATE_INCOMPATIBLE, CAUSE_UNSPECIFIED_ERROR, ERROR_RESOURCE_BUSY, ERROR_RESOURCE_OUT_OF_SERVICE, ERROR_UNKNOWN, RE_ROUTE, ROUTE, ROUTE_CALLBACK_ENDED, ROUTE_END, ROUTE_USED
 
Method Summary
 short getCSTAErrorCode()
          return the original CSTAUniversalFailure errorCode returned by the CSTARouteEndedEventReport.
 void selectRouteWithNetworkRedirection(java.lang.String routeSelected, UserToUserInfo userInfo)
          Similar to the standard selectRoute() and the ECSRouteSession selectRoute(), except that this call requests that the call be pushed back to the network and 'off' switch trunk resources (network call redirection).
 
Methods inherited from interface com.avaya.jtapi.tsapi.LucentRouteSession
selectRoute, selectRouteAndCollect, selectRouteDirectAgent, selectRouteWithDigits
 
Methods inherited from interface com.avaya.jtapi.tsapi.ITsapiRouteSession
getCall
 
Methods inherited from interface javax.telephony.callcenter.RouteSession
endRoute, getCause, getRouteAddress, getState, selectRoute
 

Method Detail

selectRouteWithNetworkRedirection

public void selectRouteWithNetworkRedirection(java.lang.String routeSelected,
                                              UserToUserInfo userInfo)
                                       throws TsapiMethodNotSupportedException
Similar to the standard selectRoute() and the ECSRouteSession selectRoute(), except that this call requests that the call be pushed back to the network and 'off' switch trunk resources (network call redirection). Note that priority calling may not be specified, since that is not a feature provided by networks.

Parameters:
routeSelected - The selected route for this call. (Note that this is NOT an array.)
userInfo - Associate caller information, up to 96 bytes (with Avaya CT 1.2 or higher, or the formally named CVCT 3.3 or higher that is connected to a DEFINITY G3V8 or higher; otherwise the limit is 32 bytes), with the call.
Throws:
TsapiMethodNotSupportedException
See Also:
UserToUserInfo

getCSTAErrorCode

public short getCSTAErrorCode()
return the original CSTAUniversalFailure errorCode returned by the CSTARouteEndedEventReport. This is useful for network call redirection, because there are several CSTA failure codes that all map to a single failure code (CAUSE_INVALID_DESTINATION). This method gives the application the ability to distinguish between the different important Network Call Redirection failure cases.

In this case, the range of values is that list of values returned in the TSAPI CSTARouteEndedEventReport unsolicited event, in its errorValue field. The value is one of the values listed in ITsapiCSTAUniversalFailure.

See Also:
ITsapiCSTAUniversalFailure


Copyright © 2005 Avaya All Rights Reserved.