The runScriptResult is issued to inform the ICM that the specified script,
requested to be run in the return property of the newCall or requestInstruction,
was successful or not.
Syntax
CTICiscoReturn runScriptResult(Integer InvokeID, Integer ResultCode, String
CallerEnteredDigits, Integer NewTransaction, CTICiscoCallVars CallVariables);
Parameters
- Integer InvokeID
- Set to the InvokeID returned by runScriptRequest.
- Integer ResultCode
- Set to true (1) if no errors were found actually running the script.
Set to false (0) if an error was found.
- String CallerEnteredDigits
- Digits that the caller enters. The maximum length of characters in the
string is 40.
- Integer NewTransaction
- Set to true (1) if the VRU PIM should write a Call Termination record
into the database immediately after processing this message.
- 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 setECCVarArrayString5 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.