Unified CCX Application Setup Guide
Unified CCX Application Setup Guide
The Unified CCX system uses applications to interact with contacts and perform a wide variety of functions,
such as prompting callers for information, transferring calls, and providing information to callers.
To configure Unified CCX applications, you must complete the following tasks:
• Provision telephony and media resources (see Telephony and Media Provision)
• Provision your Unified CCX subsystem, if required (see Provision of Unified CCX)
• Provision additional subsystems, if required (see Provision of Additional Subsystems)
The following sections describe how to configure applications and make them available to the Unified CCX
system.
• About Unified CCX Applications, on page 1
• Application Triggers, on page 6
• Script Management, on page 10
Note Unified CCX licenses you purchase and install determine the applications available on your system.
Use the Unified CCX Editor to create scripts that direct the Unified CCX system to automatically answer
calls and other types of contacts, prompt callers for information, accept caller input, queue calls, distribute
calls to available agents, place outbound calls, respond to HTTP requests, and send email messages.
Note The Unified CCX system includes a number of sample scripts. For a description of these sample scripts, and
for more information on creating scripts with the Unified CCX Editor, see the Cisco Unified Contact Center
Express Getting Started with Scripts. In addition, a script repository is available at
https://www.cisco.com/en/US/products/sw/custcosw/ps1846/products_implementation_design_guides_list.html.
This repository provides some examples of scripting techniques that can leverage Unified CCX abilities.
Cisco script applications can make use of many components, such as scripts, prerecorded prompts, grammars,
languages, locales, and custom Java classes.
Tip Upload these components to the repository before you configure a Cisco script application that uses them.
Depending on your particular Unified CCX implementation, you may need to perform most or all of the
following tasks to configure a Cisco script application:
• Manage scripts—Cisco script applications are based on scripts that you must upload to the repository
and make available to the Unified CCX system.
• Manage prompts—Many applications make use of prerecorded prompts, stored as .wav files, which are
played back to callers to provide information and elicit caller response. You must upload these .wav files
to the repository and make them available to the Unified CCX system.
• Install grammars—The Unified CCX system uses specific grammars to recognize and respond to caller
response to prompts. You must store these grammars in a directory to make them available to the Unified
CCX system.
• Install customized Unified CCX languages—Language packs, such as American English, Canadian
French, and so on, are installed with Unified CCX. You install language packs in a directory accessible
by the Unified CCX system.
• Install Java files—In addition to the Java files automatically installed as part of the Unified CCX
installation process, you can install your own custom classes and Java Archive (JAR) files to customize
the performance of your Unified CCX system.
• Add a Cisco script application—Scripts created in the Unified CCX Editor are used as the basis for Cisco
script applications.
• Add an application trigger—Triggers are specified signals that invoke application scripts in response to
incoming contacts. After adding a new Cisco script application, you need to add a trigger so that this
application can respond to telephone calls and HTTP requests.
Procedure
Step 1 From the Unified CCX Administration menu bar, choose Applications > Application Management.
The Application Management web page opens, displaying the details of any existing applications.
Step 2 Click Add New icon that is displayed in the tool bar in the upper left corner of the window or the Add New
button that is displayed at the bottom of the window.
The Add a New Application web page opens.
Step 3 From the Application Type drop-down menu, choose Cisco Script Application and click Next.
The Cisco Script Application configuration Web page opens.
Field Description
ID Accept the automatically-generated ID, or enter a unique ID. This is a mandatory field.
Note The Historical Reporting feature uses this ID to identify this application.
Maximum The maximum amount of simultaneous sessions (instances) that the application can
Number Of handle. This is a mandatory field.
Sessions
Script Note This field is available only for Cisco Script Application type. This is a
mandatory field.
• Click Edit, enter the script name in the dialog box, and click OK. The User Prompt
dialog box closes, and the name you entered appears in the Script field.
Note If you enter the script name as a file URL, enter the value with double
backslashes (\\). For example, file://c:\\temp\\aa.aef
Field Description
Enabled Click the required radio button to accept (Yes = default) or reject (No)
Note For the Busy and Ring-No-Answer application types, this field is only visible
when you click Show More.
Default Script Note This field is available only for Cisco Script Application type.
The default script executes when an error occurs with the configured script application
that causes it to abort.
Perform one of the following actions:
• Choose a script from the drop-down list to run the application. If a Default Script
is not defined, the internal system default is executed.
• Click Edit, specify a script in the dialog box that appears, and click OK.
Procedure
Step 1 From the Unified CCX Administration menu bar, choose Applications > Application Management.
The Application Management web page opens, displaying the details of existing applications, if any.
Step 2 Click Add New icon that displays in the tool bar in the upper, left corner of the window or the Add New
button that is displayed at the bottom of the window.
The Add a New Application web page opens.
Step 3 From the Application Type drop-down menu, choose Busy, and then click Next.
The Busy Application Configuration web page appears.
Field Description
Maximum Number Of The maximum amount of simultaneous sessions (instances) that the application can
Sessions handle.
The following fields are displayed only on click of Show More button.
Enabled Click the required radio button to accept - Yes (the default).
To configure the Unified CCX server with the Ring-No-Answer application, complete the following steps:
Procedure
Step 1 From the Unified CCX Administration menu bar, choose Applications > Application Management.
The Application Management web page opens, displaying the details of existing applications, if any.
Step 2 Click Add New icon that is displayed in the tool bar in the upper, left corner of the window or the Add New
button that is displayed at the bottom of the window.
Step 3 From the Application Type drop-down menu, choose Ring-No-Answer, and then click Next.
The Ring-No-Answer web page opens.
Field Description
Maximum Number Of The maximum amount of simultaneous sessions (instances) that the application can
Sessions handle. This is a mandatory field.
The following fields are displayed only when you click the Show More button:
Enabled Click the required radio button to accept - Yes (the default).
Application Triggers
After adding a new Cisco application, you need to add one or more triggers so that the application can respond
to Unified CM Telephony calls and HTTP requests.
Triggers are specified signals that invoke application scripts in response to incoming contacts. The Unified
CCX system uses Unified CM Telephony triggers to trigger responses to telephone calls and HTTP triggers
to respond to HTTP requests.
You can use either of the below two methods to add a trigger to an application:
• Add the trigger from the Cisco Application web page or add the trigger from the Unified CM Telephony.
Procedure
Step 1 From the configuration web page for the application you want to add a trigger for, click Add New Trigger.
The Add a New Trigger window opens.
Step 2 From the Trigger Type drop-down menu, choose Unified CM Telephony and click Next.
The Unified CM Telephony Trigger Configuration window opens.
Related Topics
Add Unified CM Telephony Trigger
Procedure
Step 1 From the Unified CCX Administration menu bar, choose Subsystems > Unified CM Telephony > Triggers.
The Unified CM Telephony Trigger Configuration summary web page opens.
Step 2 Click the Add New icon that is displayed in the tool bar in the upper, left corner of the window or the Add
New button that is displayed at the bottom of the window.
Step 3 The Cisco Unified CM Telephony Trigger Configuration web page opens. Follow the procedure described
in Add Unified CM Telephony Trigger (Steps 3 and 4) for detailed instructions on adding and configuring a
Unified CM Telephony trigger.
Note For triggers created in Unified CCX, Unified CM will always show the IPv4 Address of the CTI
Route point, as the IP address is of the primary node or the first node in the Unified CCX cluster.
Related Topics
Add Unified CM Telephony Trigger
Note HTTP/HTTPS triggers are available if your system has a license installed for one of the following Cisco
product packages: Unified IP IVR or Unified CCX Premium.
An HTTP trigger is the relative URL a user enters into the client browser to start the application. You can
upload either eXtensible Style Language Transformation (XSLT) templates or Java Server Pages (JSP)
templates to serve as your HTTP trigger.
The following path is an example of an HTTP-triggered request (using the HTTP trigger name “/hello”):
http://www.appserver.acme.com:9080/hello
In this example, the URL starts the application with the HTTP trigger “/hello” on a web server running on
port 9080 with the host name www.appserver.acme.com.
You can add the HTTP trigger from the Cisco Script Application web page or add the trigger from the HTTP
subsystem.
Procedure
Step 1 From the configuration web page for the application you want to add a trigger for, click Add New Trigger
hyperlink.
The Add a New Trigger window opens.
Step 2 From the Trigger Type drop-down menu, select HTTP and click Next.
The HTTP Trigger Configuration window opens.
Field Description
Field Description
Maximum Number Of The maximum amount of simultaneous sessions that can be served by the
Sessions HTTP subsystem for this trigger.
Idle Timeout (in ms) Maximum amount of time (in milliseconds) that the system will wait to invoke
the application before rejecting a contact.
Enabled Click the required radio button to accept - Yes (the default).
Note If you disable the trigger, the user receives an error message when
browsing to the defined trigger URL.
Step 5 Test the trigger by entering the URL you just configured in the address bar of your browser.
For example,
/hello
Procedure
Step 1 From the Unified CCX Administration menu bar, choose Subsystems > HTTP.
The HTTP Trigger Configuration web page opens.
Step 2 Click the Add New icon that is displayed in the tool bar in the upper, left corner of the window or the Add
New button that is displayed at the bottom of the window.
The HTTP Trigger Configuration window opens.
Field Description
Application Name Choose the name of the application from the drop-down list.
Maximum Number Of The maximum amount of simultaneous sessions that can be served by the
Sessions HTTP subsystem for this trigger.
Idle Timeout (in ms) Maximum amount of time (in milliseconds) that the system will wait to invoke
the application before rejecting a contact.
Enabled Click the required radio button to accept - Yes (the default)
Note If you disable the trigger, the user receives an error message when
browsing to the defined trigger URL.
Step 5 To test the trigger, enter the URL you just configured in the address bar of your browser.
For example,
/hello
Script Management
Scripts are created with the Unified CCX Editor, and can perform a wide variety of functions. For example,
scripts can prompt callers for extension numbers to transfer calls, place callers in a queue and route calls to
available agents, and place outbound calls.
The Script Management option of the Applications menu of the Unified CCX Administration web interface
contains options for managing and refreshing Unified CCX scripts that are stored in the repository.
Note Your Unified CCX system includes sample scripts stored as .aef files.
Caution If a large number of VRU scripts are configured for your system, the Upload a New Script and Refresh
Scripts operations can take a long time to complete. These tasks can also result in high CPU utilization.
Procedure
Step 1 From the Unified CCX Administration menu bar, choose Applications > Script Management.
The Script Management page opens.
Note The Script Management page allows you to only work with user scripts; it does not have
language-based directories.
The following table describes the available columns on the Script Management web page.
Field Description
Folder Path The level of the directory that is currently selected in the folder drop-down list.
Size The size of the script file prefixed with KB. The file size is converted from bytes to
KB.
Note This column is usually blank on the root page as the items on this page
are usually folders.
Date Modified The date and time when the document was last uploaded or changed along with time
zone.
Field Description
Step 2 Click Upload New Scripts icon that is displayed in the tool bar in the upper, left corner of the window or the
Upload New Scripts button that is displayed at the bottom of the window.
The Upload Script dialog box opens.
Step 3 To locate the script, click Browse button next to the File Name field, navigate to the directory in which the
scripts are located, select a script, and click Open.
The script path for the profile appears in the File Name field.
Procedure
Step 1 From the Unified CCX Administration menu bar, choose Applications > Script Management.
The Script Management page opens to display the contents of the default folder.
Step 2 Click the Download Script icon that appears before the Name of the script file you want to view or download.
The File Download dialog box opens.
Refresh Scripts
Caution If a large number of VRU scripts are configured for your system, the Upload a New Script and Refresh
Scripts operations can take a long time to complete. These tasks can also result in high CPU utilization.
When you make changes to a script, you must refresh the script to direct all the applications and subsystems
that use this script to reload the new version. There are two script refresh options:
• Refresh Scripts Individually, on page 13
• Refresh Bulk Scripts, on page 13
Procedure
Step 1 From the Unified CCX Administration menu bar, choose Applications > Script Management.
The Script Management page opens to display the contents of the default folder.
Step 2 In the row that contains the script, click Refresh icon.
The script information refreshes and the Script Management page reappears.
Note Support for high availability and remote servers is available only in multiple-server deployments.
Bulk scripts refers to multiple .aef script files within one .zip file.
Note This option is available only when you upload .zip files. You will see the option to refresh scripts after the
selected file is uploaded successfully.
To refresh all scripts (within a zip file) with one command, complete the following steps.
Procedure
Step 1 From the Unified CCX Administration menu bar, choose Applications > Script Management.
The Script Management page opens to display the contents of the default folder.
Step 3 To locate the script, click the Browse button next to the File Name field, navigate to the directory in which
the scripts are located, select a file, and click Open. The script path for the profile appears in the File Name
field.
Tip You can only upload .zip files containing .aef files. The total size of the.zip file cannot exceed 20
MB.
The script information refreshes and the Script Management page reappears to display the newly loaded .zip
file.
Procedure
Step 1 From the Unified CCX Administration menu bar, choose Applications > Script Management.
The Script Management page opens to display the contents of the default folder.
Step 2 Click Rename icon for the folder or script that you want to rename. A dialog box opens displaying the name
of the selected folder or script.
Step 3 Enter a new name for this folder or script in the text box.
Step 4 Click Rename button.
The dialog box refreshes to state that the folder was successfully renamed.
The dialog box closes and the default folder's updated Script Management page displays the new script
name.
Procedure
Step 1 From the Unified CCX Administration menu bar, choose Applications > Script Management.
The Script Management page opens to display the contents of the default folder.
Step 2 To delete a folder, click Delete icon for the folder or script that you want to delete.
A dialog box opens to confirm your action on the selected script or folder.
Sample Scripts
Your Unified CCX system includes sample scripts stored as .aef files. These scripts have been built using
Unified CCX Editor steps, including prerecorded prompts. You can use these scripts to create applications
without performing any script development, or you can use these scripts as models for your own customized
scripts.
Note The included scripts are bundled with the Unified CCX system only as samples; they are not supported by
Cisco. For more information on these sample scripts, see the Cisco Unified Contact Center Express Getting
Started with Scripts.