Using Reactive Debugging
This procedure is also the only way you can debug Voice Response Unit (VRU) scripts, by registering for the script filename. When the call starts, the Cisco Unified CCX Engine runs the associated scripts normally until the system reaches the one for which you registered a reactive debugging session. The system starts debugging the script at that point.
Note | The Cisco Unified CCX Editor can save script information directly to the Script Repository. However, before the Cisco Unified CCX Engine can use a script for call processing, you must refresh the application that uses the script through the Cisco Unified CCX Administration web interface. In addition, every time you edit a script, you must refresh the version of the script on the Cisco Unified CCX Engine. |
Note | To upload and refresh a script, you must use the Cisco Unified CCX Administration Script Management web page. For more information, see the Cisco Unified Contact Center Express Administration and Operations Guide. |
To debug a reactive script, do the following.
Procedure
Step 1 | From the Cisco Unified CCX Editor menu bar, choose .The Reactive Debugging Script dialog box appears. | ||||||||||||
Step 2 | In the Script File Name text field, enter the expression of the script you want to debug just as you entered in the Cisco Unified CCX Administration on the Application Configuration web page, or use the drop-down menu to choose the desired script. You can
specify a script as a string (for example: “aa.aef”) or a script object for the
subflow. The following is the format for specifying a Cisco Unified CCX Editor
script object in the dialog box.
| ||||||||||||
Step 3 | In the Script File Name text field, enter the file name of the script you want to debug or use the drop-down menu to choose the desired script. The script
name must exactly match the one you supply when configuring the script in the
application configuration web page or in the VRU script configuration page on
the Cisco Unified CCX Administration web interface.
| ||||||||||||
Step 4 | In the Wait Time (Secs) text field, enter the amount of time you want the Cisco Unified CCX Engine to wait for the result of a triggering event or to wait for a Run VRU Script request to be received from Cisco Unified ICME software. The Cisco
Unified CCX Engine must be running, and the computer you are using must have a
connection to the Cisco Unified CCX server.
| ||||||||||||
Step 5 | Click OK. How the event
is invoked depends on the type of event required. For example, for the Cisco
Unified IP IVR (Interactive Voice Response) script aa.aef, the system makes a
call to the required number and the script window appears in the Design pane of
the Cisco Unified CCX Editor.
| ||||||||||||
Step 6 | Choose to allow the system to continue debugging, or to debug one step at a time. | ||||||||||||
Step 7 | Correct any errors flagged by the system prompt in the Cisco Unified CCX Editor. |