connectToResource

The connectToResource method is sent from the Java application to instruct the VRU to disconnect the outgoing leg of an existing call (if there is an outgoing leg) and to prepare to accept a possible runScriptRequest. The VRU must respond with a resourceConnected method.

Syntax

CTICiscoReturn connectToResource(String Label, CTICiscoCallVars CallVariables);

Parameters

String Label
The destination to which the call must be routed.
CTICiscoCallVars CallVariables

To set this property create a CTICiscoCallVars object and call the relevant set method for the variables you wish to set.

String CallVariable1
Additional information that is related to the call. Set by the setCallVariable1 method. The maximum length of characters in the string is 40. This parameter is optional.
String CallVariable...
Additional information that is related to the call. Set by the setCallVariable... method. The maximum length of characters in the string is 40. This parameter is optional.
String CallVariable10
Additional information that is related to the call. Set by the setCallVariable10 method. The maximum length of characters in the string is 40. This parameter is optional.
Integer ECCVarValueTag1
The numeric tag value by which this variable is identified. Set by the setECCVarValueTag1 method. This parameter is optional.
String ECCVarValueString1
Call-related data. Set by the setECCVarValueString1 method. The maximum length of characters in the string is 210. This parameter is optional.
Integer ECCVarValueTag...
The numeric tag value by which this variable is identified. Set by the setECCVarValueTag... method. This parameter is optional.
String ECCVarValueString...
Call-related data. Set by the setECCVarValueString... method. The maximum length of characters in the string is 210. This parameter is optional.
Integer ECCVarValueTag5
The numeric tag value by which this variable is identified. Set by the setECCVarValueTag5 method. This parameter is optional.
String ECCVarValueString5
Call-related data. Set by the setECCVarValueString5 method. The maximum length of characters in the string is 210. This parameter is optional.
Integer ECCVarArrayTag1
The numeric tag value by which this variable is identified. Set by the setECCVarArrayTag1 method. This parameter is optional.
Integer ECCVarArrayIndex1
A numeric array index identifier. Set by the setECCVarArrayIndex1 method. This parameter is optional.
String ECCVarArrayString1
Call-related data. Set by the setECCVarArrayString1 method. The maximum length of characters in the string is 210. This parameter is optional.
Integer ECCVarArrayTag...
The numeric tag value by which this variable is identified. Set by the setECCVarArrayTag... method. This parameter is optional.
Integer ECCVarArrayIndex...
A numeric array index identifier. Set by the setECCVarArrayIndex... method. This parameter is optional.
String ECCVarArrayString...
Call-related data. Set by the setECCVarArrayString... method. The maximum length of characters in the string is 210. This parameter is optional.
Integer ECCVarArrayTag5
The numeric tag value by which this variable is identified. Set by the setECCVarArrayTag5 method. This parameter is optional.
Integer ECCVarArrayIndex5
A numeric array index identifier. Set by the setECCVarArrayIndex5 method. This parameter is optional.
String ECCVarArrayString5
Call-related data. Set by the setECCVarArraySring5 method. The maximum length of characters in the string is 210. This parameter is optional.

Return properties

Integer Status
Returns an Integer value from the list of status codes that describes the result of this request (see Table 3.) To extract this property, call the getStatus method on the returned CTICiscoReturn object.