![]() |
|
![]() ![]() ![]() |
Creating Scripts for Testing > Using Scripts to Simulate IC and CTI Connectors > Creating a Connector Script > Summary of Connector Commands | |
![]() |
Summary of Connector Commands |
This section lists and describes all the commands that can be used in conjunction with connector scripts. The commands are divided into the following groups:
IC Connector Commands
The following table lists and describes the IC connector commands that can be included in connector scripts.
Default Action1 | |||
---|---|---|---|
alarmname - Contains the name of the alarm, as defined in the Alarm item | |||
The simulator looks up in the simulator VDU table the requested id value and returns the value. If the value is not in the VDU table, the simulator returns an error. | |||
Channel - Contains the value of the channel on which the call is coming in. | The simulator returns the value of the SET_VDU_ID action type to the value of the vdu variable id field. | ||
The simulator sets the value of the value element in the simulator VDU table and returns a response to the effect that the value was set correctly. | |||
SET_OUTPUT - The field for this type must be the name of a variable that matches the name of a variable on the IC system. SET_VDU - The field for this type must be the name of a custom field in the vdu variable. | The simulator returns a response to the effect that the workflow ran successfully. At the same time, the simulator sets the designated variables with the values from the SET_OUTPUT and SET_VDU action types. |
1The default action is the action that the simulator performs when no comparison evaluates as true. |
For more information about the IC connector, see About the IC Connector.
CTI Connector Commands
The following table lists and describes the CTI connector commands you can include in connector scripts:
Valid Action Type Values1 |
Default Action2 | ||
---|---|---|---|
ERROR - The error code to be returned is defined in the value element. | The simulator returns a response that the call information was successfully obtained. | ||
ERROR - The error code to be returned is defined in the value element. | The simulator returns a response that the call was successfully conferenced in. | ||
PhoneNumber - Contains the value of the Dial Number variable from the Dial (CTI) item | ERROR - Error codes for return include:
| The simulator returns a response that the number was successfully dialed (with an "established" state). Before transferring a call, the state of the Dialed call should be selected. | |
ERROR - The error code to be returned is defined in the value element. | The simulator returns a response that the call was successfully disconnected (with a "disconnected" state). | ||
ERROR - The error code to be returned is defined in the value element. | The simulator returns a response that the call was successfully placed on hold (with a "held" state). | ||
ERROR - The error code to be returned is defined in the value element. | The simulator returns a response that the call was successfully retrieved from hold status (with an "established" state). | ||
ERROR - The error code to be returned is defined in the value element. | The simulator returns a response that the call was successfully transferred (with a "transferred" state). |
1Use the value field to return the error code. 2The default action is the action that the simulator performs when no comparison evaluates as true. |
For more information about the CTI connectors, see About CTI Connectors.
![]() ![]() ![]() |
©2009, Avaya Inc. All rights reserved.
|