Professional Documents
Culture Documents
Overview
This document describes how to integrate Avaya Aura® Contact Center and a back-end Avaya Aura®
Experience Portal system using SIP header information. Avaya Aura® Contact Center supports the
following SIP header types:
User-to-User Information (UUI) SIP header
Avaya custom P-Intrinsics SIP Private Header
Each SIP message includes a number of message headers. These headers contain information that
enables the receiver to understand and handle the message properly. In a SIP-enabled contact center
solution, SIP headers can be used to transfer small amounts of call-related information between SIP-
enabled applications.
Call Control XML (CCXML) is a standard markup language for controlling how phone calls are placed,
answered, transferred, and conferenced. CCXML works with Voice XML to provide an XML-based
solution for any telephony application. Voice XML and CCXML are two separate languages. CCXML can
be integrated with a more traditional Interactive Voice Response (IVR) system and Voice XML dialog
systems can be integrated with other call control systems.
In a typical back-end Avaya Aura Experience Portal integration, customer calls to the Avaya Aura Contact
Center are routed to Experience Portal applications for automated processing. Avaya Aura Experience
Portal (AAEP) applications play voice prompts asking the customer to select items from a menu, or to
input account numbers. The customer responds by entering digits on their phone, or by speaking (AAEP
supports optional Automatic Speech Recognition servers). The Avaya Aura Experience Portal
applications then collect the customer’s response and return it to Avaya Aura Contact Center for further
treatments or agent assistance.
The PlayAndCollect sample code contains all the Voice XML code, flows, English prompts & grammars
you need to pass UUI information to Avaya Aura Experience Portal. The following files are the most
significant in the sample code zip file:
If your call-associated context information does not fit in the SIP UUI header information, you can use P-
Intrinsics information to pass the context information between SIP-enabled applications. P-Intrinsics
information is contained in an Avaya custom SIP Private Header (P-Header). The sample code supports 5
key-value pairs; you can expand this up to a maximum of 10 key-value pairs.
This sample application supports incoming P-Intrinsics header information. You can use a front-end
Avaya Aura Experience Portal system to collect context information from a customer call and store it in
the P-Intrinsics SIP header. Experience Portal sends the customer call, complete with P-Intrinsics header
information, to Avaya Aura Contact Center. Contact Center takes the context information stored in the
P-Intrinsics SIP header and uses it to generate call-related Contact Intrinsic and Call Attached Data
(CAD). Contact Center then routes the call to an agent and performs a screen pop based on the Contact
Intrinsic. If the agent transfers the call back to Avaya Aura Experience Portal for back-end processing,
the sample back-end XML application uses the existing context information to skip the initial context
gathering procedures and proceed to different procedures.
The following is a sample of the Dialog Call Control XML code. Avaya Aura Contact Center sends a SIP
INVITE message into the Avaya Aura Experience Portal system. Avaya Aura Experience Portal passes the
SIP call to a Dialog CC XML application. The CC XML application retrieves all available information
including UUI data and P-Intrinsics information from the Contact Center call. The CC XML application
then invokes a “Play and Collect” Voice XML application and passes in all the information collected up to
that point:
<send targettype="'ccxml'"
name="'start.dialog'"
target="session.id"
delay="'0s'"/>
The sample Play and Collect Voice XML application, when called by the CC XML application, plays
prompts to the customer and collects DTMF digits.
The Play and Collect Voice XML application then returns the collected digits data from the customer
back to the Call Control XML application:
The Play and Collect Voice XML application returns the data collected from the customer back to the Call
Control XML application.
Example of Call Control XML code retrieving the collected digits (collecteddigits) from the Voice XML
application:
<!-- If this is a Play and Collect, then need to respond with the collected digits -->
<if cond="returns != 'true'">
<log expr="'Play only - exit now'" />
<disconnect connectionid="in_connectionid"/>
<else/>
<log expr="'Play and Collect - send collected digits'" />
The Call Control XML application then uses the collected digits (collecteddigits) to construct a SIP INFO
message:
<!-- Construct a SIP INFO message to send the collected digits -->
<script>
var hints = new Object();
hints.sip = new Object();
hints.sip.requestmethod = 'INFO';
hints.sip.body = new Array(1);
hints.sip.body[0] = new Object();
hints.sip.body[0].type = 'application/vnd.nortelnetworks.digits';
hints.sip.body[0].msg = 'p=Digit-Collection\r\ny=Digits\r\nd=Digits%3D'+ collecteddigits + '\r\n';
</script>
The Call Control XML application sends the SIP INFO message, containing data collected from the
customer, back to Avaya Aura Contact Center:
The examples used in this overview are based on the following server details:
Server IP Address
Avaya Aura Experience Portal (AAEP) server 172.18.171.32
Apache Tomcat application server 172.18.47.245
Avaya Media Server 172.18.71.161
1: Using Contact Center Manager Administration (CCMA), add the Avaya Aura Experience Portal
server as a Media Server. Avaya Aura Experience Portal supports TCP/TLS only, UDP is not
supported on the Avaya Aura Experience Portal side.
The above screen shows the Avaya Aura Experience Portal (AAEP1) server and the Avaya Media
Server (AMS) added as media servers.
Avaya Aura® Contact Center uses the media processing capabilities of Avaya Media Server to
support conferencing, announcements and dialogs in SIP-enabled contact centers. Each Avaya
Media Server in a contact center is configured in Contact Center Manager Administration as a
Media Server and assigned to handle conference, announcement or/and dialogs media services.
For this type of back-end IVR solution Avaya Media Server supplies only media conferencing
capabilities.
2: Using Contact Center Manager Administration (CCMA), configure the Avaya Aura Experience
Portal media server to handle XDIALOG media services and treatment routes.
The above screen shows Avaya Aura Experience Portal (AAEP1) configured to handle external
media services (XDIALOG). The Avaya Media Server is configured to handle media conferencing
(CONF). Note the Treatment Address is configured with "sip:__sip-xdialog@siptraffic.com" to
match the service URI as used in the Contact Center Orchestration Designer GIVE IVR command.
3: Download the AAEP-AACC integration sample application (PlayAndCollect) from the Avaya
DevConnect Web site, http://www.devconnectprogram.com.
Download Experience Portal Orchestration Designer from the Avaya support Web site. Install
the software on a computer in your solution. Orchestration Designer supplies a number of
sample applications. Avaya recommends that you review these applications.
A. Download the Contact Center sample application from Avaya DevConnect and copy it to
Experience Portal Orchestration Designer computer.
B. Modify the files to make them writable. Select all of the files, right-click and select Properties.
Uncheck Read-only, and click Apply.
C. Using Orchestration Designer, import the Contact Center sample application. [File > Import >
General, Existing Projects into Workspace.]
D. Examine the sample code and if necessary edit the properties file.
E. Export the code to a Web Application Archive (WAR) file:
a. Select the Contact Center sample application project, right-click and select Export.
b. Expand Avaya OD Development.
i. Click Next.
j. In the Packaging section, select Include extra files and folders, and on the pop-up
message box, check config.properties. Click OK.
k. In the Tracing section, uncheck Reset tracing in the deployed application to the default
(disabled) settings.
l. Click Finish.
F. Export runtime files for the project:
a. Select the Contact Center sample application project, right-click and select Export.
b. Expand Avaya OD Development.
d. Click Next.
e. For Application Server, select Apache Tomcat 6.0.
f. Check Export Orchestration Designer runtime configuration application.
g. Select a Destination Directory, for example configure the destination as
C:\AAOD7.0.1\Exported.
h. Click Next.
i. In the Pluggable Connector Common Libraries section, check Web services (Axis 1.4).
j. In the Pluggable Connector Common Libraries section, check the Contact Center sample
application library.
k. Click Finish.
G. This creates two files in C:\AAOD7.0.1\Exported:
a. Copy runtimeconfig.war to the application server directory
(/opt/AppServer/tomcat/webapps) alongside the Contact Center WAR file.
b. Copy runtimeSupportTomcat6.zip to the Tomcat lib directory,
/opt/AppServer/tomcat/lib.
H. Export the CCXML Dialog application to a Web Application Archive (WAR) file:
a. Select the Dialog sample application project, right-click and select Export.
b. Expand Avaya OD Development.
c. Select Export Orchestration Designer Call Control Project.
d. Click Next.
e. Select a Destination Directory, for example configure the destination as
C:\AAOD7.0.1\Exported.
f. Click Next.
g. For Platform, select Experience Portal.
h. For Servlet container, select Apache Tomcat 6.0.
i. Click Next.
j. Click Include extra file and folders.
k. On the Select Resources window, select all of the resources. Click OK.
l. Click Next.
m. Click Finish.
Obtain the AACC-AAEP back-end integration sample applications from the Avaya
DevConnect Web site, http://www.devconnectprogram.com.
Copy the Dialog.war file to the Tomcat webapps directory.
Copy the PlayAndCollect.war file to the Tomcat webapps directory.
Restart Tomcat to automatically expand the two Web application archive (WAR) files.
The Dialog Call Control and Play and Collect Voice XML applications are now installed on the
Tomcat application server and can be accessed and used by Avaya Aura Experience Portal.
5: On Avaya Aura Experience Portal, under System Configuration, add the Dialog and Play and
Collect applications.
The above screen shows the Voice XML Play and Collect application and the CC XML Dialog
application, both available on the Tomcat Application Server (172.18.47.245).
Avaya Aura Experience Portal supports the mapping of a Universal Resource Indicator (URI) to a
specific application. The inbound URI then determines which application to launch.
Configure the Dialog Application to be launched by the URI “__sip-xdialog”. This Contact Center
provided URI is configured in CCMA—Media Services and Routes. Configure this application to
support shared UUI – for Operation Mode select Shared UUI. Configure Text-to-Speech (TTS) for
this application.
In this example the Play and Collect application is configured to be launched by the number
“8902”.
Configure this application to support shared UII – for Operation Mode select Shared UUI.
Configure Text-to-Speech (TTS) for this application.
8: The Contact Center script sends sip:__sip-xdialog@siptraffic.com to AAEP. AAEP uses “__sip-
xdialog” to launch the Call Control XML application. The CC XML application invokes the Play and
Collect application to collect customer data and returns the data. The CC XML application returns
the collected digits to AACC in a SIP INFO message.
GIVE IVR
SERVICE URI serviceuri
WITH VXML TREATMENT voicexml
PARAMETERS vxmlto, vxmlfrom, method, apptype, treatmenttype
RETURNS c_sip_digits_str_cv
This example Contact Center script reads the returned digits from the c_sip_digits_str_cv STRING
variable. The return value can either be an INTEGER or a STRING, for example c_sip_digits_int_cv
or c_sip_digits_str_cv.
Conclusion
A combined Avaya Aura® Contact Center and Avaya Aura Experience Portal solution gives customers
exceptional service and improved efficiency. Back-end Avaya Aura Experience Portal automation
reduces contact center operating costs and improves Customer Satisfaction (CSAT).
Avaya Aura Experience Portal uses Call Control XML and Voice XML applications to integrate with Avaya
Aura Contact Center. This gives enterprises complete flexibility and control of the solution integration.
The Avaya Aura Experience Portal and Avaya Aura Contact Center solution is highly flexible and efficient.
Avaya supplies sample Voice XML applications for the rapid integration of a back-end Avaya Aura
Experience Portal system with an Avaya Aura Contact Center.
Avaya Aura Contact Center with back-end Avaya Aura Experience Portal —at a glance
Avaya Aura Contact Center Microsoft Windows Server 2012 Release 2, 64 bit, Standard edition or
Release 7.0.0 Datacenter edition
Avaya Aura Experience Portal Red Hat Enterprise Linux 6.0, 64-bit
Release 7.0.1
Avaya Aura Experience Portal Release 7.0.1
Orchestration Designer
Apache Tomcat application Version 6.0.41 Red Hat Enterprise Linux 6.5, 64-bit
server
Avaya Aura Communication Release 6.2 FP4, 7.0
Manager
Avaya Aura Session Manager Release 6.2 FP4, 7.0
Avaya Aura Application Release 6.2 FP4, 7.0
Enablement Services server
P‐Intrinsics SIP header encoded Maximum of 10 key-value pairs:
Contact Intrinsics - key = 25 characters maximum
- value = 80 characters maximum
Only ASCII key-value pairs are supported.
User-to-User Information (UUI) Maximum 96 bytes of encoded SIP User-to-User Information (UUI) data.
SIP header encoded data
Reference
For more information about Avaya Aura Contact Center, see the following documents on
http://support.avaya.com:
Avaya Aura® Contact Center Overview and Specification
Avaya Aura® Contact Center and Avaya Aura® Unified Communications Solution Description
For more information about Avaya Aura Experience Portal, see Planning for Avaya Aura® Experience
Portal on the Avaya support Web site, http://support.avaya.com.
For more information about Avaya Aura Experience Portal Orchestration Designer, see the Avaya
DevConnect Web site, http://www.devconnectprogram.com.