Appendix B. Sample Cisco UE AA Scripts

This appendix lists an example of a typical Cisco Unity Express (UE) automated attendant (AA) script. The high-level flow of logic in the script is as follows:

If (business hours) then
Play
To enter the phone number of the person you are trying to reach, press 1
To enter the name of the person you are trying to reach, press 2
To transfer to the operator, press 0
else
Play

The main script is implemented as main.aef, and the dial-by-extension logic (press 1) and dial-by-name logic (press 2) are implemented as the subflowsdialbyextension.aef and dialbyname.aef, respectively. Each of these three scripts is discussed in this appendix.

You can download the binary files (.aef files) for the scripts from the Cisco Press website (http://www.ciscopress.com/title/158705180x). You can view them with the Cisco UE AA Editor, which is a PC application you can download from Cisco.com. Follow these steps:

Step 1.

Go to Cisco.com.

Step 2.

Search for Software Center.

Step 3.

Choose Voice Software.

Step 4.

Page down to Cisco Unity Express Software.

Step 5.

Choose a software release.

The Cisco UE AA Editor is listed among the files given for a particular release at the Cisco.com Software Center. For example, in the Cisco UE 1.1.2 release listing, the file called CUEEditor1.1.2.exe is the editor. A version of the editor is posted with each release of Cisco UE. Accessing this site requires a Cisco.com login ID. Along with the editor, several more sample AA scripts are posted at this site that you can use to build or customize your own Cisco UE AA.

The Cisco UE AA Editor is discussed in Chapter 9, "Cisco IPC Express Automated Attendant Options." As shown in several of the figures later in this appendix, the script content (steps) is shown in the top-right pane, the tool palette of steps to choose from is in the top-left pane, and the script variables are in the bottom-left pane. Any error or informational messages are in the bottom-right pane.

You construct a script by dragging the steps from the tool palette into the script content pane and filling out the properties for each step. This might include first creating variables and populating their values. To run this script sample on your Cisco UE system, you must record audio .wav files for all the prompts referenced and then upload all the script and prompt files to Cisco UE as described in Chapter 9. It is also important that all variables have values assigned.