Ucce B Cti Server Message Reference Guide
Ucce B Cti Server Message Reference Guide
Ucce B Cti Server Message Reference Guide
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS,
INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.
THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH
THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY,
CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.
The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB's public domain version
of the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California.
NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS" WITH ALL FAULTS.
CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE.
IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT
LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS
HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network
topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional
and coincidental.
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: http://
www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership
relationship between Cisco and any other company. (1110R)
Preface Preface xi
Change History xii
About This Guide xii
Audience xii
Related Documents xiii
Obtaining Documentation and Submitting a Service Request xiii
Field Alerts and Field Notices xiii
Documentation Feedback xiii
Conventions xiii
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
iii
Contents
Message Masks 10
Message Order 10
Definitions of Symbolic Constants 10
Side AB Selection TCPIP Connections 11
Alignment of Data Elements 11
Incompatible Changes Reported Call ConnectionIDs 11
CTI Operations During Unified CCE Failures 12
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
iv
Contents
Session Maintenance 44
Session Termination 45
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
v
Contents
MONITOR_START_REQ 100
MONITOR_STOP_REQ 102
CHANGE_MONITOR_MASK_REQ 103
Client Monitor Service 104
CLIENT_SESSION_OPENED_EVENT 105
CLIENT_SESSION_CLOSED_EVENT 106
SESSION_MONITOR_START_REQ 107
SESSION_MONITOR_STOP_REQ 108
Supervisor Service 109
SUPERVISE_CALL_REQ 110
EMERGENCY_CALL_REQ 113
EMERGENCY_CALL_EVENT 115
AGENT_TEAM_CONFIG_EVENT 116
LIST_AGENT_TEAM_REQ 117
MONITOR_AGENT_TEAM_START_REQ 118
MONITOR_AGENT_TEAM_STOP_REQ 119
Call Data Update Service 120
SET_CALL_DATA_REQ 120
RELEASE_CALL_REQ 123
SET_DEVICE_ATTRIBUTES_REQ 125
Miscellaneous Service 127
SYSTEM_EVENT 128
CLIENT_EVENT_REPORT_REQ 129
USER_MESSAGE_REQ 130
USER_MESSAGE_EVENT 132
QUERY_AGENT_STATISTICS_REQ 132
QUERY_SKILL_GROUP_STATISTICS_REQ 140
REGISTER_VARIABLES_REQ 158
SET_APP_DATA_REQ 160
START_RECORDING_REQ 161
STOP_RECORDING_REQ 164
AGENT_DESK_SETTINGS_REQ 166
Connection Monitor Service 169
Client Control Service 169
QUERY_AGENT_STATE_REQ 172
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
vi
Contents
SET_AGENT_STATE_REQ 175
ALTERNATE_CALL_REQ 178
ANSWER_CALL_REQ 179
CLEAR_CALL_REQ 180
CLEAR_CONNECTION_REQ 181
CONFERENCE_CALL_REQ 183
CONSULTATION_CALL_REQ 186
DEFLECT_CALL_REQ 190
HOLD_CALL_REQ 191
MAKE_CALL_REQ 192
MAKE_PREDICTIVE_CALL_REQ 196
RECONNECT_CALL_REQ 199
RETRIEVE_CALL_REQ 200
TRANSFER_CALL_REQ 201
QUERY_DEVICE_INFO_REQ 206
SNAPSHOT_CALL_REQ 210
SNAPSHOT_DEVICE_REQ 214
SEND_DTMF_SIGNAL_REQ 216
SUPERVISOR_ASSIST_REQ 217
EMERGENCY_CALL_REQ 219
BAD_CALL_REQ 223
AGENT_GREETING_CONTROL_REQ 224
Server Service 225
REGISTER_SERVICE_REQ 225
UNREGISTER_SERVICE_REQ 226
Configuration Acquisition Messages 227
Configuration keys 227
Initial configuration acquisition 227
Update messages 228
Message order 228
CONFIG_REQUEST_KEY_EVENT 228
CONFIG_KEY_EVENT 229
CONFIG_REQUEST_EVENT 230
CONFIG_BEGIN_EVENT 231
CONFIG_SERVICE_EVENT 232
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
vii
Contents
CONFIG_SKILL_GROUP_EVENT 234
CONFIG_AGENT_EVENT 235
CONFIG_DEVICE_EVENT 238
CONFIG_CALL_TYPE_EVENT 239
CONFIG_MRD_EVENT 240
CONFIG_END_EVENT 240
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
viii
Contents
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
ix
Contents
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
x
Preface
• Change History, page xii
• About This Guide, page xii
• Audience, page xii
• Related Documents, page xiii
• Obtaining Documentation and Submitting a Service Request, page xiii
• Field Alerts and Field Notices, page xiii
• Documentation Feedback, page xiii
• Conventions, page xiii
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
xi
Preface
Change History
Change History
Change See Date
Initial Release of Document for Release 11.6(1) August 2017
Added a new Message with the type 259. Message Types, on page 13
This Message is reserved for internal use
only.
Audience
This manual is for system integrators and programmers who want to integrate C++ CTI client applications
with Unified CCE.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
xii
Preface
Related Documents
Related Documents
Documentation Feedback
To provide comments about this document, send an email message to the following address:
[email protected]
We appreciate your comments.
Conventions
This document uses the following conventions:
Convention Description
boldface font Boldface font is used to indicate commands, such as user entries, keys, buttons,
and folder and submenu names. For example:
• Choose Edit > Find.
• Click Finish.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
xiii
Preface
Conventions
Convention Description
italic font Italic font is used to indicate the following:
• To introduce a new term. Example: A skill group is a collection of agents
who share similar skills.
• A syntax value that the user must replace. Example: IF (condition, true-value,
false-value)
• A book title. Example: See the Cisco Unified Contact Center Enterprise
Installation and Upgrade Guide.
window font Window font, such as Courier, is used for the following:
• Text as it appears in code or that the window displays. Example:
<html><title>Cisco Systems, Inc. </title></html>
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
xiv
CHAPTER 1
CTI Server Overview
• How CTI Server Works, page 1
• Unified CCE Call Processing, page 2
• CTI Server Configurations, page 5
• CTI Server Message Set, page 8
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
1
CTI Server Overview
Unified CCE Call Processing
platform. This figure shows a sample CTI system in which the CTI Server runs on a PG platform along with
the ACD interface software. CTI Servers may be running at one or several call centers in the enterprise.
CTI Server forwards pre-routes indications to CTI application servers. Pre-route indications identify the caller
and provide associated call attributes to applications before the call is connected to an agent or Voice Response
Unit (VRU).
In a direct desktop application environment, call event information is delivered to the targeted desktop when
the call is delivered. CTI Server reports call events and agent work state changes to the application as they
occur through each stage of the call flow. This lasts from when a call arrives at an answering resource
(Automatic Call Distributor (ACD), Private Branch Exchange (PBX), or VRU), until the caller hangs up.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
2
CTI Server Overview
Translation Route Call
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
3
CTI Server Overview
Post Route Call
Transfer Call
1 In the case of a “local” transfer, the agent handling a call directs the ACD to transfer the call to another
destination on the same ACD.
2 The peripheral gateway (PG) is informed of the various events associated with the call’s transfer.
3 Call transfers are handled differently by different types of ACDs. In general a new logical call is created
for the resulting call. A Termination Call Detail record is created for the original call.
4 The new call is connected to an agent and is then handled or transferred (again) like any other call.
In the case of a “remote” transfer, the call leaves the realm of the monitoring PG and the original call is
terminated in the usual way. The Unified CCE monitor the ACD and the "remote" transfer takes place into
this ACD, the new call is monitored on that ACD's PG when the call arrives. This new call has none of the
call context of the original call.
Depending upon the particular ACD’s capabilities and tie-line configuration, some ACDs may be set up to
affect call transfers using the post route and translation route features previously described. In this case, the
call context is preserved by being sent through Unified CCE via the route request and translation route
mechanisms to the remote PG, and is thus available to the CTI Client, if any, associated with the destination
device.
Conference Call
Like call transfers, call conferences are handled differently by different types of ACDs and may involve the
creation of several calls that are all linked together.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
4
CTI Server Overview
CTI Server Configurations
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
5
CTI Server Overview
Simplex/Duplex Configuration
Simplex/Duplex Configuration
In simplex configurations, there is one CTI Server on the local network with the CTI clients. In duplex
configurations, two CTI Servers are present. There may be other equipment (for example, ACDs) on the
network as well.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
6
CTI Server Overview
CTI Bridge Configuration
CTI Bridge applications are interested in all call and agent state events that are occurring on the ACD. By
comparison, agent workstation applications are interested only in the events associated with a particular agent
device. The CTI Bridge application is a specially written program that converts or adapts the CTI messages
into another format, as needed. A single CTI Bridge application provides such translation services for multiple
agent desktops. The CTI Bridge application can be designed to interface with CTI Servers or similar applications
on systems that are already in use in the call center.
Some examples of CTI Bridge applications include:
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
7
CTI Server Overview
CTI Server Message Set
• Message converter applications. For example, an application may convert the CTI message set to the
message set of a foreign telephony server.
• Server-to-server communication applications. For example, an application may enable the CTI Server
to speak directly to a help desk application’s middle tier server.
Category Description
Session Management Messages related to the establishment and maintenance of a client
connection to the CTI Server.
Call Data Update Messages related to CTI client modification of call data.
Client Control Messages related to the direct control of agent state (for example, sign-in,
sign-out) and control of inbound and outbound calls.
Related Topics
Session Management, on page 33
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
8
CHAPTER 2
CTI Client Application Guidelines
• InvokeIDs, page 9
• Heartbeat Messages, page 9
• Generic vs ACD-Specific Applications, page 10
• Message Masks, page 10
• Message Order, page 10
• Definitions of Symbolic Constants, page 10
• Side AB Selection TCPIP Connections, page 11
• Alignment of Data Elements, page 11
• Incompatible Changes Reported Call ConnectionIDs, page 11
• CTI Operations During Unified CCE Failures, page 12
InvokeIDs
The CTI protocol provides an integer InvokeID field in each request message. This field is always returned
in the corresponding response message. You can set the Invoke ID to a unique value for each request you sent
to the server. This allows you to have multiple requests outstanding and to correctly determine which request’s
response has been received. For example, you can implement a simple counter that is incremented with each
request.
Heartbeat Messages
The Heartbeat Interval designates the time in seconds between sending heartbeat messages to the CTI Server.
A Heartbeat Interval of -1 disables heartbeats. The default setting for application developers is -1.
You must determine the appropriate heartbeat interval for a production environment -- it depends on the
application and the environment. It should represent a reasonable balance between the speed of failure detection
and the network bandwidth consumed by heartbeat messages and their corresponding confirmations.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
9
CTI Client Application Guidelines
Generic vs ACD-Specific Applications
In cases where there are very few CTI clients, such as a CTI Bridge, the minimum heartbeat interval of 5
seconds should suffice. Workstation (desktop) clients should use a much larger heartbeat interval (at least 90
seconds), since these clients typically number into the hundreds and possibly thousands. However, if the
TCP/IP time-out period is adequate, or if there is nothing the application can do even if it is aware that
something is wrong, it may be appropriate to disable heartbeats even in a production environment.
Message Masks
CTI Server can provide much more real-time data than the typical CTI client needs. The CTI Server provides
message masks to suppress the transmission of unneeded data and avoid wasting network bandwidth. You
should carefully consider the network impact of the expected number of simultaneously connected CTI clients
before deploying a CTI client application that unmasks a large number of messages.
Message Order
When an event occurs that would conceptually result in two or more event messages being generated at the
same time, the CTI client must be prepared to handle the messages arriving in any order. For example, an
agent answering an inbound call might generate both a CALL_ESTABLISHED_EVENT and an
AGENT_STATE_EVENT message. These may be received by a CTI client in either order, and other event
messages may be sent to the client in between. Also, since ACD event data is often obtained from multiple
sources, there can be a noticeable delay between event reports that logically occur at the same time.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
10
CTI Client Application Guidelines
Side AB Selection TCPIP Connections
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
11
CTI Client Application Guidelines
CTI Operations During Unified CCE Failures
This defect no longer exists in CTI Server Protocol Version 5 and subsequent releases. However, existing
CTI client applications may be inadvertently dependent upon the old (incorrect) behavior and may no longer
function correctly even though they continue to use the older CTI Server protocol revision. You should retest
all CTI Server applications with the new release in a controlled environment prior to upgrading production
systems with the Unified CCE, to avoid any impact to normal business operations.
CTI applications that use only the BEGIN_CALL_EVENT, CALL_DATA_UPDATE_EVENT, and
END_CALL_EVENT call event messages may not require any changes. CTI applications that use the
ConnectionID field in any other call event messages will almost certainly be affected.
For further call ConnectionID details, see “Call Identification” in Chapter 3.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
12
CHAPTER 3
Messaging Conventions
• CTI Message Convention, page 13
• Message Types, page 13
• Data Types, page 25
• Message Formats, page 28
• Floating Fields, page 29
• Invoke IDs, page 30
• Call Event Data, page 30
• Failure Indication Messages, page 32
Message Types
This table defines the complete CTI server message set. The messages are described in greater detail in the
remainder of this document. The length of the largest possible message (including the message header) defined
by this protocol is 4329 bytes.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
13
Messaging Conventions
Message Types
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
14
Messaging Conventions
Message Types
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
15
Messaging Conventions
Message Types
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
16
Messaging Conventions
Message Types
66 to 77 Reserved Reserved
80 to 81 Reserved Reserved
87 to 90 Reserved Reserved
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
17
Messaging Conventions
Message Types
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
18
Messaging Conventions
Message Types
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
19
Messaging Conventions
Message Types
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
20
Messaging Conventions
Message Types
160 OFFER_TASK_IND Report agent has been offered task, agent selected by
Unified CCE.
161 OFFER_APPLICATION_TASK_REQ Report agent has been offered task, agent not selected
by Unified CCE.
164 START_APPLICATION_TASK_REQ Report agent has begun task, agent not selected by
Unified CCE.
170 AGENT_MADE_NOT_ROUTABLE_EVENT Notify client that agent made not routable for MRD.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
21
Messaging Conventions
Message Types
191 BEGIN_TASK_EVENT Indicates that the specified task has entered the
system, either queued, offered, or begun.
192 QUEUED_TASK_EVENT Indicate that the specified task has been queued in
the router.
193 DEQUEUED_TASK_EVENT Indicate that the specified task has been dequeued
from the router.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
22
Messaging Conventions
Message Types
195 START_TASK_EVENT Indicates that the specified agent has started handling
the task.
199 END_TASK_EVENT Indicates that the specified agent has ended handling
of the specified task.
201 TASK_MONITOR_START_REQ Request to start the task monitor with the task mask
in the request message.
203 TASK_MONITOR_STOP_REQ Request to stop the task monitor with the monitor ID
in the request message.
205 CHANGE_TASK_MONITOR_MASK_REQ Request to change the task monitor mask with the
new mask in the request message.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
23
Messaging Conventions
Message Types
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
24
Messaging Conventions
Data Types
Data Types
This table lists the data types that define fields within messages. All numeric data longer than 1 byte are sent
in order of most significant byte to least significant byte. This is the canonical network byte order defined by
TCP/IP standards.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
25
Messaging Conventions
MHDR Data Type
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
26
Messaging Conventions
NAMEDVAR Data Type
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
27
Messaging Conventions
TASKID Data Type
TaskGroupLow The least significant 4 bytes of the Task Group ID. INT 4
Message Formats
Messages contain either a fixed part only or a fixed part and a floating part. The fixed part of a message
contains the message header and all required, fixed length fields. The variable part of a message immediately
follows the fixed part. It contains one or more floating fields that are optional and/or variable in length. The
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
28
Messaging Conventions
Floating Fields
message type field in the message header determines the format of the message, and therefore indicates if the
message includes a floating part and what types of floating fields may appear within it.
Floating Fields
Each floating field has the same format. The field begins with a two-byte tag, which identifies the field type.
Following the tag is a two-byte field length, which indicates the number of bytes of data in the field (excluding
the tag and field length). The data immediately follows the FieldLength. The maximum size listed for each
floating field is the maximum number of data bytes allowed. It does not include the tag and field length bytes.
For string data, it includes the null termination byte.
Floating fields are packed together in the floating part of the message. The tag of one floating field immediately
follows the data of the previous field. The message length (in the message header) indicates the end of the
message. This figure shows the format of a floating field.
Within the floating part, floating fields may appear in any order. In general, each floating field appears only
once unless the field is a member of a list. In this case, a fixed field in the message indicates the number of
list entries present. This table defines the format of the floating field:
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
29
Messaging Conventions
Invoke IDs
For a list of possible floating field tag values, see the Tag Values table.
Related Topics
Tag Values, on page 252
Invoke IDs
All request messages that can be sent to the CTI Server contain a field called the InvokeID. The InvokeID
value is returned in the corresponding response message to the CTI client. A CTI client usually places a value
in this field that enables it to associate a received response with the corresponding request. Typically, this is
simply a counter that is incremented as each request message is sent.
Device IDs
The Call Event messages detailed later in this document typically provide several different device ID fields.
Depending upon the type of peripheral and the nature of the event, the device ID may represent a Trunk
number, a Trunk Group number, or an agent teleset number (extension). Some peripheral types may not
provide a device ID for one or more fields. To handle these situations, the Call Event messages provide device
IDs using two fields: a fixed field indicating whether or not the device ID was provided and enumerating the
type of device identified, and a floating field containing the device ID (if provided).
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
30
Messaging Conventions
Event Cause Codes
Related Topics
EventCause Values, on page 269
Call Identification
CTI Server uses the CSTA method of identifying calls. A numeric ConnectionCallID identifies a call; each
connection of a device to that call is identified by a ConnectionDeviceID string and an enumerated
ConnectionDeviceIDType value. All call related messages identify the ConnectionCallID as well as the
ConnectionDeviceIDType and ConnectionDeviceID of the call connection that is the subject of the event.
A ConnectionDeviceID uniquely identifies a call connection. However, it cannot directly identify the connected
device; use other event message fields for that purpose. In some cases, the ConnectionDeviceID may simply
be the ID of the connected device, the connected deviceID with additional identifying data included, or a
string that does not contain the deviceID at all. A valid CTI Server application can make no assumption about
the content or format of a ConnectionDeviceID.
Occasionally, both the ConnectionDeviceID and the numeric ConnectionCallID are required in order to
properly identify the subject call. This occurs when the ACD uses the ConnectionCallID value from an ACD
call as the ConnectionCallID value for any related consultative calls. This poses two particularly significant
requirements for applications: they must be able to keep track of two calls with the same numeric
ConnectionCallID value, and they must be able to decide which of the two calls is being referenced by any
given call event message. These requirements are relatively easy to implement by keeping track of the
ConnectionDeviceIDs associated with each call. The call that has a ConnectionDeviceID that matches the
ConnectionDeviceID provided in the call event message is the call that is the subject of the event. The only
difficult case is determining which call is the subject when a new call connection is created. For this case, the
following rule applies:
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
31
Messaging Conventions
Failure Indication Messages
• When more than one call with the same ConnectionCallID value exists, the connection being created
by a CALL_ESTABLISHED_ EVENT shall apply to the call that does not yet have a destination
connection established.
Typically, when this occurs, one call will have been the subject of a prior CALL_ESTABLISHED_EVENT
and will have two connections; the other will have only one originating connection. The
CALL_ESTABLISHED_EVENT will therefore create the second connection on that call. It should never be
the case that both calls have already been the subject of a CALL_ESTABLISHED_EVENT.
Status A status code indicating the cause of the failure. The UINT 4
possible status codes are defined in the Failure
Indication Message status code table.
The CTI Server may use the FAILURE_EVENT message to asynchronously indicate a failure or error condition
to the CTI client. The format of the FAILURE_EVENT message is defined in this table:
Status A status code indicating the cause of the failure. The UINT 4
possible status codes are defined in the Failure
Indication Message status code table.
Related Topics
Failure Indication Message Status Codes, on page 244
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
32
CHAPTER 4
Session Management
• Configuring TCPIP Transport Services, page 33
• Connection Management, page 33
• Session Initialization, page 34
• Session Maintenance, page 44
• Session Termination, page 45
Connection Management
You should configure the CTI clients with two sets of hostname/port number pairs; one for the IP address and
TCP port number of the CTI Server on side “A” and the other for the corresponding CTI Server on side “B”.
The CTI clients should alternately attempt to connect to each side until a connection is established. Once a
connection between the CTI client and the CTI Server has been established, the connection remains in place
until a failure occurs or the client closes the connection. Connection failures may be detected by the TCP layer
or by the heartbeat message mechanism described later in this chapter. If a failure occurs, the CTI client should
again alternately attempt to establish a connection to either side until a new connection is established.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
33
Session Management
Session Initialization
Session Initialization
Once a TCP connection has been established, you can attempt to initialize a communications session by
sending an OPEN_REQ message to the CTI Server. The CTI Server responds with an OPEN_CONF message
to confirm the successful establishment of a session. This figure depicts the message flow.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
34
Session Management
CTI Service Masks
Unused 0x00004000
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
35
Session Management
OPEN_REQ Message
OPEN_REQ Message
This table defines the OPEN_REQ message.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
36
Session Management
OPEN_REQ Message
Floating Part
AgentID The agent’s ACD sign-in ID. For CLIENT EVENTS STRING 12
service, the CTI Client must provide at least one of
AgentExtension, AgentID, or AgentInstrument.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
37
Session Management
OPEN_REQ Message
Related Topics
CONFIG_REQUEST_EVENT, on page 230
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
38
Session Management
OPEN_REQ Message
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
39
Session Management
OPEN_REQ Message
AGENT_WORK_NOT_READY_MASK Set when client wishes to receive “work not ready” 0x00000020
AGENT_STATE_EVENT messages.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
40
Session Management
OPEN_CONF Message
OPEN_CONF Message
This table defines the OPEN_CONF message.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
41
Session Management
OPEN_CONF Message
Floating Part
AgentID (Client Events The agent’s ACD sign-in ID, when STRING 12
Service Only) Client Events service has been granted
and the agent is currently signed in on
the ACD.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
42
Session Management
OPEN_CONF Message
If the CTI Server determines that a new session should not be opened, it responds to the OPEN_REQ message
with a FAILURE_CONF message. If necessary floating data has not been provided, a FAILURE_CONF
message is returned with the status code set to E_CTI_REQUIRED_DATA_MISSING.
A CTI client might try to open a session for Client Events service and the provide device information items
that are inconsistent with each other. Then, a FAILURE_CONF message is returned with the status code set
to E_CTI_INCONSISTENT_AGENT_DATA. If the ACD device is already associated with a different CTI
client, the CTI Server refuses to open the new session and returns a FAILURE_CONF message. The status
code in the message is set to E_CTI_DEVICE_IN_USE. If the ACD device is already associated with the
same CTI client, the existing session is terminated and the CTI Server opens the new session.
During an OPEN_REQ of an ALL_EVENTS client session, the CTI Server responds with an OPEN_CONF
message to confirm the successful establishment of a session. In addition to the OPEN_CONF,
SYSTEM_EVENT messages are sent to the ALL_EVENTS client, per peripheral, to indicate the status of
each peripheral associated with the PG.
If the CTI Server rejects an OPEN_REQ message, reset the TCP connection. The status code received in the
rejection indicates the message data to correct before retrying to establish a session.
Normally, you receive a response to the OPEN_REQ message within 5 seconds. Some failure scenarios cause
all connected CTI clients to lose their connection to the CTI Server. This causes them to then reconnect and
reopen their sessions. In the worst case situations, there could be hundreds or even thousands of simultaneous
OPEN_REQ messages sent to the CTI Server, causing significant response delays. For this reason, allow at
least 30 seconds before considering a lack of response to the OPEN_REQ message as a failure to open the
session. In larger configurations of more than 500 clients, allow 60 seconds or more. Then reset the TCP
connection, reconnect, and retry the OPEN_REQ after a short delay.
Related Topics
Constants and Status Codes, on page 243
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
43
Session Management
Session Maintenance
Session Maintenance
Compared to some other protocols, TCP/IP is relatively slow at detecting and recovering from communication
path failures. If an IP packet is dropped within the network, retransmission does not occur until the sender
notices a time-out. This time-out period is long enough to allow for worst-case round-trip delays and network
congestion. If you need more rapid error detection, you may send an optional HEARTBEAT_REQ message
to the CTI Server whenever no heartbeat interval messages have been sent. Upon receipt of a
HEARTBEAT_REQ message, the CTI Server immediately responds with a HEARTBEAT_CONF message.
If three heartbeats go unconfirmed, the CTI client declares a session failure and resets the TCP connection.
You determine the appropriate heartbeat interval for a production environment—It depends on the application
and the environment. Find a reasonable balance between the speed of failure detection and the network
bandwidth consumed by heartbeat messages and confirmations. In cases with few CTI clients, such as a CTI
Bridge, the minimum heartbeat interval of 5 seconds should suffice. Workstation (desktop) clients usually
need a larger heartbeat interval (at least 90 seconds), since there are typically hundreds or thousands of clients.
A Heartbeat Interval of –1 disables heartbeats. The default setting for application developers is –1. However,
if the TCP/IP time-out period is adequate or if the application can do nothing during a failure, you can choose
to disable heartbeats in a production environment.
This figure depicts the heartbeat message flow.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
44
Session Management
Session Termination
The CTI Server does not begin HEARTBEAT_REQ messages. The CTI Server detects failures using the
IdleTimeout value from the OPEN_REQ message. If you are using heartbeat messages, the CTI client should
set the IdleTimeout value to four times the heartbeat interval. If the CTI Server receives no messages (including
HEARTBEAT_REQ messages) for this period, the CTI Server declares a session failure and resets the TCP
connection.
The CTI Server may respond to a HEARTBEAT_REQ message with a FAILURE_CONF. This indicates to
the CTI client that the CTI Server is off-line, and the CTI client resets the TCP connection.
Session Termination
The CTI client may begin the graceful termination of a communication session by sending a CLOSE_REQ
message. The CTI Server responds with a CLOSE_CONF message. Upon receipt of the CLOSE_CONF
message, the CTI client can reset the TCP connection. The CTI client should wait up to 5 seconds for the
CLOSE_CONF message before resetting the connection.
The CTI Server may indicate that it no longer wishes to communicate with the client through an unsolicited
FAILURE_EVENT message. The Status field in the message is set to E_CTI_CTI_SERVER_OFFLINE.
Upon receipt of this message, the CTI client closes the session.
The CLOSE_REQ message includes a status code that indicates the reason for closing the session. You can
set the status code to one of the following:
• E_CTI_NO_ERROR—If the CTI client began the request to end the session.
• E_CTI_CTI_SERVER_OFFLINE—If the CTI Server is no longer online.
• E_CTI_TIMEOUT—If the CTI Server does not respond to a request message within the time-out period.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
45
Session Management
Session Termination
Status A status code indicating the reason for closing the UINT 4
session.
Related Topics
Failure Indication Messages, on page 32
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
46
CHAPTER 5
Application Level Interfaces
• CTI Server Application Level Interfaces, page 47
• Client Events Service, page 48
• All Events Service, page 97
• Peripheral Monitor Service, page 99
• Client Monitor Service, page 104
• Supervisor Service, page 109
• Call Data Update Service, page 120
• Miscellaneous Service, page 127
• Connection Monitor Service, page 169
• Client Control Service, page 169
• Server Service, page 225
• Configuration Acquisition Messages, page 227
All Events
This service provides real-time call and agent state change, and status information for all ACD calls
and agent positions, to a CTI client.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
47
Application Level Interfaces
Client Events Service
Peripheral Monitor
This service lets a CTI client dynamically change the list of calls and devices that it wishes to receive
call and agent state change messages for.
Client Monitor
This service lets a CTI client receive notifications whenever any other CTI Client session is opened or
closed. This service also enables the CTI Client to monitor the activity of other CTI Client sessions.
Supervisor
This service lets a CTI client perform agent supervisory functions.
Miscellaneous
This service informs CTI clients of significant Peripheral Gateway events.
Connection Monitor
This service monitors the CTI client connection and generates alarm events whenever the CTI client
connection is established or terminated.
Client Control
This service permits direct control of agent state (such as the ACD sign-in and sign-out). It also controls
of inbound and outbound calls from the CTI client application.
Server Service
This service enables the CTI Server to register a service that it wishes to provide.
You specify which levels you want in the ServicesRequested field of the OPEN_REQ message.
Related Topics
Session Management, on page 33
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
48
Application Level Interfaces
Client Events Service
the initial call context data. More call and agent state events are then sent to the client as the call is handled.
The events depend on the type of ACD involved and the treatment that the call receives. Finally, an
END_CALL_EVENT message is sent to the CTI client when its association with a call is dissolved, as shown
in this figure:
The content of most of the Call Event message is event-specific and, often, peripheral-specific. Some ACDs
may not provide all these events.
For peripheral-specific Call Event message information, see the CTI OS Developer Guide for Cisco Unified
ICM/Contact Center Enterprise at http://www.cisco.com/c/en/us/support/customer-collaboration/
computer-telephony-integration-option/products-programming-reference-guides-list.html.
The relative order of call event messages and any corresponding agent state change event messages is not
specified. An agent state event message for an agent in the “talking” state, for example, can be sent before or
after the corresponding call established event message.
This table lists the Client Events service messages.
END_CALL_EVENT When CTI Server dissolves association between a call and the
CTI Client
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
49
Application Level Interfaces
Client Events Service
CALL_ORIGINATED_EVENT Sent to CTI client upon initialization of a call from the peripheral
RTP_STARTED_EVENT Indicates that a Real Time Protocol (RTP) media stream has
started.
RTP_STOPPED_EVENT Indicates that a Real Time Protocol (RTP) media stream has
stopped.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
50
Application Level Interfaces
BEGIN_CALL_EVENT
BEGIN_CALL_EVENT
When the CTI Server associates a call with the CTI client, it sends the client a BEGIN_CALL_EVENT
message. This message provides the call ID and the initial call context data. The combination of
ConnectionCallID, ConnectionDeviceIDType, and ConnectionDeviceID uniquely identify the call. This
message always precedes any other event messages for that call. If any subsequent changes to the call context
data occur, the CTI Server sends CALL_DATA_UPDATE_EVENT messages containing the changed call
data to the CTI client. There can be multiple calls with the same ConnectionCallID value.
This table defines the format of the BEGIN_CALL_EVENT message.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
51
Application Level Interfaces
BEGIN_CALL_EVENT
Floating Part
… … … …
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
52
Application Level Interfaces
BEGIN_CALL_EVENT
CTIClientTimestamp (optional) The date and time that the preceding TIME 4
CTIClientSignature was first
associated with the call. There may
be more than one
CTIClientTimestamp field in the
message. (See NumCTIClients.) This
field always immediately follows the
CTIClientSignature field to which it
refers.
Related Topics
CallType Values, on page 275
ConnectionDeviceIDType Values, on page 277
NAMEDVAR Data Type, on page 27
NAMEDARRAY Data Type, on page 27
PeripheralType Values, on page 267
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
53
Application Level Interfaces
END_CALL_EVENT
END_CALL_EVENT
The CTI Server sends an END_CALL_EVENT message to the CTI client when the association between a
call and the CTI client is dissolved. This message does not necessarily indicate that the subject call has been
terminated. The message indicates only that the CTI client is no longer responsible for processing the call and
is receiving no further call event messages for the call.
This table defines the format of the END_CALL_EVENT message: defines the format of the
END_CALL_EVENT message:
Floating Part
Related Topics
ConnectionDeviceIDType Values, on page 277
PeripheralType Values, on page 267
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
54
Application Level Interfaces
CALL_AGENT_GREETING_EVENT
CALL_AGENT_GREETING_EVENT
This message indicates if the agent greeting has started, finished, or failed after the Agent Greeting request
has been made. This table defines the format of the message.
Fixed Part
Floating Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
55
Application Level Interfaces
CALL_DATA_UPDATE_EVENT
CALL_DATA_UPDATE_EVENT
The CTI Server sends a CALL_DATA_UPDATE_EVENT message to the CTI client when changes to the
call context data occur. This message contains only the items that have changed. The initial call context is
provided in the BEGIN_CALL_EVENT message. This table defines the CALL_DATA_UPDATE_EVENT
message.
Fixed Part
NumCTIClients The number of CTI Clients associated with this call. USHORT 2
This value also indicates the number of CTI Client
signatures and timestamps that are present in the
floating part of the message.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
56
Application Level Interfaces
CALL_DATA_UPDATE_EVENT
NewConnectionCallID The new Call ID value assigned to this call by the UINT 4
peripheral or Unified CCE.
QueryRuleID Query rule ID for value that appears in the Agent UINT 4
Real Time table. Set to zero if not used.
Floating Part
CallerEnteredDigits (optional) The digits entered by the caller in response to IVR STRING 40
prompting.
RouterCallKeyCallID (optional) The call key created by Unified CCE. Unified CCE UINT 4
resets this counter at midnight.
… … … …
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
57
Application Level Interfaces
CALL_DELIVERED_EVENT
NamedVariable (optional) Call-related variable data that has a variable name NAMED 251
defined in the Unified CCE. There may be an VAR
arbitrary number of Named Variable and
NamedArray fields in the message, subject to a
combined total limit of 2000 bytes.
NamedArray (optional) Call-related variable data that has an array variable NAMED 252
name defined in the Unified CCE. There may be ARRAY
an arbitrary number of Named Variable and
NamedArray fields in the message, subject to a
combined total limit of 2000 bytes.
CustomerPhoneNumber (optional) Customer phone number for value that appears in STRING 20
the Agent Real Time table.
CustomerAccount Number Customer Account Number for value that appears STRING 32
(optional) in the Agent Real Time table.
CTIClientSignature (optional) The Client Signature of a CTI Client that was STRING 64
previously associated with this call. There may be
more than one CTIClientSignature field in the
message (see NumCTIClients).
CTIClientTimestamp (optional) The date and time that the preceding CTI Client TIME 4
signature was first associated with the call. There
may be more than one CTIClientTimestamp field
in the message (see NumCTIClients). This field
always immediately follows the CTIClientSignature
field to which it refers.
CallReferenceID (optional) For Unified CCE systems where the Unified CM UNSPEC 32
provides it, this will be a unique call identifier.
Related Topics
CallType Values, on page 275
ConnectionDeviceIDType Values, on page 277
NAMEDVAR Data Type, on page 27
NAMEDARRAY Data Type, on page 27
PeripheralType Values, on page 267
CALL_DELIVERED_EVENT
The CTI Server may send a CALL_DELIVERED_EVENT message to the CTI client in two cases:
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
58
Application Level Interfaces
CALL_DELIVERED_EVENT
The LocalConnectionState field indicates which case applies. This table defines the
CALL_DELIVERED_EVENT message.
Fixed Part
PeripheralID The PeripheralID of the ACD where the call activity UINT 4
occurred.
LineType The type of the teleset line in the LineHandle field, USHORT 2
if any. Otherwise this field is set to 0xffff.
ServiceNumber The service that the call is attributed to, as known to UINT 4
the peripheral. May contain the special value
NULL_SERVICE when not applicable or not
available.
ServiceID The ServiceID of the service that the call is attributed UINT 4
to. May contain the special value NULL_SERVICE
when not applicable or not available.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
59
Application Level Interfaces
CALL_DELIVERED_EVENT
SkillGroupNumber The number of the agent Skill Group the call is UINT 4
attributed to, as known to the peripheral. May contain
the special value NULL_SKILL_GROUP when not
applicable or not available. Some ACDs ignore this
field and/or use the ACD default; see the list
immediately following this table.
SkillGroupPriority The priority of the skill group, or 0 when skill group USHORT 2
priority is not applicable or not available.
LocalConnection State The state of the local end of the connection. When a USHORT 2
call is delivered to an agent teleset, the
LocalConnectionState will be LCS_ALERTING.
Floating Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
60
Application Level Interfaces
CALL_DELIVERED_EVENT
LastRedirect Device ID (optional) The device ID of the previously alerted device. STRING 64
CallerEnteredDigits (optional) The digits entered by the caller in response to IVR STRING 40
prompting.
NamedVariable (optional) Call-related variable data that has a variable name NAMEDVAR 251
defined in the Unified CCE. There may be an
arbitrary number of NamedVariable and NamedArray
fields in the message, subject to a combined total
limit of 2000 bytes.
NamedArray (optional) Call-related variable data that has an array variable NAMED 252
name defined in the Unified CCE. There may be an ARRAY
arbitrary number of NamedVariable and NamedArray
fields in the message, subject to a combined total
limit of 2000 bytes.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
61
Application Level Interfaces
CALL_ESTABLISHED_EVENT
• Enterprise Agent, Alcatel, and Avaya Communication Manager (ACM) (if not in EAS mode) require a
valid SkillGroupNumber and use it
• Avaya Aura ignores the SkillGroupNumber field altogether and uses the ACD default
• ACM (in EAS mode) and Aspect process the SkillGroupNumber field in the following fashion:
◦Use a valid SkillGroupNumber if one is supplied
◦If SkillGroupNumber is omitted or set to –1, use the ACD defaults
◦Any other value for SkillGroupNumber results in a failure; in this case, use the last valid
SkillGroupNumber for the agent
Related Topics
ConnectionDeviceIDType Values, on page 277
DeviceIDType Values, on page 274
EventCause Values, on page 269
LineType Values, on page 278
LocalConnectionState Values, on page 268
NAMEDVAR Data Type, on page 27
NAMEDARRAY Data Type, on page 27
PeripheralType Values, on page 267
Special Values, on page 251
CALL_DELIVERED_EVENT, on page 58
LocalConnectionState Values, on page 268
CALL_ESTABLISHED_EVENT
When a call is answered at the agent’s teleset, the CTI Server may send a CALL_ESTABLISHED_EVENT
message to the CTI client. This table defines the CALL_ESTABLISHED_EVENT message:
Fixed Part
MonitorID The Monitor ID of the device or call monitor that caused this UINT 4
message to be sent to the client, or zero if there is no monitor
associated with the event (All Events Service).
PeripheralID The PeripheralID of the ACD where the call activity occurred. UINT 4
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
62
Application Level Interfaces
CALL_ESTABLISHED_EVENT
ConnectionCallID The Call ID value assigned to this call by the peripheral or UINT 4
Unified CCE.
ServiceNumber The service that the call is attributed to, as known to the UINT 4
peripheral. May contain the special value NULL_SERVICE
when not applicable or not available.
ServiceID The ServiceID of the service that the call is attributed to. May UINT 4
contain the special value NULL_ SERVICE when not
applicable or not available.
SkillGroupNumber The number of the agent Skill Group the call is attributed to, UINT 4
as known to the peripheral. May contain the special value
NULL_SKILL_ GROUP when not applicable or not available.
Some ACDs ignore this field and/or use the ACD default; see
the list in the CALL_DELIVERED_EVENT section.
SkillGroupID The SkillGroupID of the agent SkillGroup the call is attributed UINT 4
to. May contain the special value NULL_SKILL_GROUP
when not applicable or not available.
SkillGroupPriority The priority of the skill group, or 0 when skill group priority USHORT 2
is not applicable or not available.
Floating Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
63
Application Level Interfaces
CALL_HELD_EVENT
ConnectionDevice The device ID of the device associated with the connection. STRING 64
ID
AnsweringDevice ID The device ID of the device that answered the call. STRING 64
(optional)
Related Topics
CALL_DELIVERED_EVENT, on page 58
ConnectionDeviceIDType Values, on page 277
DeviceIDType Values, on page 274
EventCause Values, on page 269
LineType Values, on page 278
LocalConnectionState Values, on page 268
PeripheralType Values, on page 267
Special Values, on page 251
CALL_HELD_EVENT
The CTI Server may send a CALL_HELD_EVENT message to the CTI client when a call is placed on hold
at the agent’s teleset. This table defines the CALL_HELD_EVENT message.
Fixed Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
64
Application Level Interfaces
CALL_RETRIEVED_EVENT
LocalConnection State The state of the local end of the connection. USHORT 2
Floating Part
HoldingDeviceID (optional) The device ID of the device that activated the hold. STRING 64
Related Topics
ConnectionDeviceIDType Values, on page 277
DeviceIDType Values, on page 274
EventCause Values, on page 269
LocalConnectionState Values, on page 268
PeripheralType Values, on page 267
CALL_RETRIEVED_EVENT
The CTI Server may send a CALL_RETRIEVED_EVENT message to the CTI client when a call previously
placed on hold at the agent’s teleset is resumed.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
65
Application Level Interfaces
CALL_RETRIEVED_EVENT
Fixed Part
MonitorID The Monitor ID of the device or call monitor that caused this UINT 4
message to be sent to the client, or zero if there is no monitor
associated with the event (All Events Service).
PeripheralID The PeripheralID of the ACD where the call activity occurred. UINT 4
ConnectionCallID The Call ID value assigned to this call by the peripheral or UINT 4
Unified CCE.
Floating Part
ConnectionDevice The device ID of the device associated with the connection. STRING 64
ID
Related Topics
ConnectionDeviceIDType Values, on page 277
DeviceIDType Values, on page 274
EventCause Values, on page 269
LocalConnectionState Values, on page 268
PeripheralType Values, on page 267
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
66
Application Level Interfaces
CALL_CLEARED_EVENT
CALL_CLEARED_EVENT
The CTI Server sends a CALL_CLEARED_EVENT message to the CTI client when a call is terminated,
usually when the last device disconnects from a call.
Fixed Part
MonitorID The Monitor ID of the device or call monitor that caused this UINT 4
message to be sent to the client, or zero if there is no monitor
associated with the event (All Events Service).
PeripheralID The PeripheralID of the ACD where the call activity occurred. UINT 4
ConnectionCallID The Call ID value assigned to this call by the peripheral or UINT 4
Unified CCE.
Floating Part
ConnectionDevice The device ID of the device associated with the cleared STRING 64
ID connection.
Related Topics
ConnectionDeviceIDType Values, on page 277
EventCause Values, on page 269
LocalConnectionState Values, on page 268
PeripheralType Values, on page 267
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
67
Application Level Interfaces
CALL_CONNECTION_CLEARED_EVENT
CALL_CONNECTION_CLEARED_EVENT
The CTI Server may send a CALL_CONNECTION_CLEARED_ EVENT message to the CTI client when
a party drops from a conference call.
Fixed Part
MonitorID The Monitor ID of the device or call monitor that caused this UINT 4
message to be sent to the client, or zero if there is no monitor
associated with the event (All Events Service).
PeripheralID The PeripheralID of the ACD where the call activity occurred. UINT 4
ConnectionCallID The Call ID value assigned to this call by the peripheral or UINT 4
Unified CCE.
Floating Part
ConnectionDevice The device ID of the device associated with the cleared STRING 64
ID connection.
ReleasingDeviceID The device ID of the device that cleared the connection. STRING 64
(optional) Note For Contact Center Enterprise, this field does not
reliably indicate which party hung up first.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
68
Application Level Interfaces
CALL_ORIGINATED_EVENT
Related Topics
ConnectionDeviceIDType Values, on page 277
DeviceIDType Values, on page 274
EventCause Values, on page 269
LocalConnectionState Values, on page 268
PeripheralType Values, on page 267
CALL_ORIGINATED_EVENT
The CTI Server may send a CALL_ORIGINATED_EVENT message to the CTI client when the peripheral
initiates an outbound call.
Fixed Part
MonitorID The Monitor ID of the device or call monitor that caused this UINT 4
message to be sent to the client, or zero if there is no monitor
associated with the event (All Events Service).
PeripheralID The PeripheralID of the ACD where the call activity occurred. UINT 4
ConnectionCallID The Call ID value assigned to this call by the peripheral or UINT 4
Unified CCE.
ServiceNumber The service that the call is attributed to, as known to the UINT 4
peripheral. May contain the special value NULL_SERVICE
when not applicable or not available.
ServiceID The ServiceID of the service that the call is attributed to. May UINT 4
contain the special value NULL_ SERVICE when not
applicable or not available.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
69
Application Level Interfaces
CALL_ORIGINATED_EVENT
SkillGroupNumber The number of the agent SkillGroup the call is attributed to, UINT 4
as known to the peripheral. May contain the special value
NULL_SKILL_ GROUP when not applicable or not available.
Some ACDs ignore this field and/or use the ACD default; see
the list in the CALL_DELIVERED_EVENT section.
SkillGroupID The SkillGroupID of the agent SkillGroup the call is attributed UINT 4
to. May contain the special value NULL_SKILL_GROUP if
not applicable or not available.
SkillGroupPriority The priority of the skill group, or 0 when skill group priority USHORT 2
is not applicable or not available.
LocalConnection State The state of the local end of the connection. USHORT 2
Floating Part
ConnectionDevice ID The device ID of the device associated with the connection. STRING 64
Related Topics
CALL_DELIVERED_EVENT, on page 58
ConnectionDeviceIDType Values, on page 277
DeviceIDType Values, on page 274
EventCause Values, on page 269
LineType Values, on page 278
LocalConnectionState Values, on page 268
PeripheralType Values, on page 267
Special Values, on page 251
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
70
Application Level Interfaces
CALL_FAILED_EVENT
CALL_FAILED_EVENT
The CTI Server may send a CALL_FAILED_EVENT message to the CTI client when a call cannot be
completed.
Fixed Part
MonitorID The Monitor ID of the device or call monitor that caused this UINT 4
message to be sent to the client, or zero if there is no monitor
associated with the event (All Events Service).
PeripheralID The PeripheralID of the ACD where the call activity occurred. UINT 4
ConnectionCallID The Call ID value assigned to this call by the peripheral or UINT 4
Unified CCE.
Floating Part
ConnectionDevice ID The device ID of the device associated with the connection. STRING 64
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
71
Application Level Interfaces
CALL_CONFERENCED_EVENT
Related Topics
ConnectionDeviceIDType Values, on page 277
DeviceIDType Values, on page 274
EventCause Values, on page 269
LocalConnectionState Values, on page 268
PeripheralType Values, on page 267
CALL_CONFERENCED_EVENT
The CTI Server may send a CALL_CONFERENCED_EVENT message to the CTI client when calls are
joined into a conference call.
Fixed Part
MonitorID The Monitor ID of the device or call monitor that caused UINT 4
this message to be sent to the client, or zero if there is
no monitor associated with the event (All Events
Service).
PeripheralID The PeripheralID of the ACD where the call activity UINT 4
occurred.
PrimaryCallID The Call ID value assigned to the primary call by the UINT 4
peripheral or Unified CCE.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
72
Application Level Interfaces
CALL_CONFERENCED_EVENT
SkillGroupNumber The number of the agent SkillGroup the call is attributed UINT 4
to, as known to the peripheral. May contain the special
value NULL_SKILL_ GROUP when not applicable or
not available. Some ACDs ignore this field and/or use
the ACD default; see the list in the
CALL_DELIVERED_EVENT section.
SkillGroupPriority The priority of the skill group, or 0 when skill group USHORT 2
priority is not applicable or not available.
SecondaryCallID The Call ID value assigned to the secondary call by the UINT 4
peripheral or Unified CCE.
Floating Part
PrimaryDeviceID The device ID of the device associated with the primary STRING 64
call connection.
SecondaryDeviceID The device ID of the device associated with the secondary STRING 64
call connection.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
73
Application Level Interfaces
CALL_TRANSFERRED_EVENT
ConnectedPartyCallID The Call ID value assigned to one of the conference call UINT 4
(optional) parties. There may be more than one Connected Party
CallID field in the message (see NumParties).
ConnectedParty DeviceID The device identifier of one of the conference call parties. STRING 64
(optional) There may be more than one ConnectedParty DeviceID
field in the message (see NumParties). This field always
immediately follows the corresponding Connected
PartyDeviceIDType field.
Related Topics
CALL_DELIVERED_EVENT, on page 58
DeviceIDType Values, on page 274
EventCause Values, on page 269
LineType Values, on page 278
LocalConnectionState Values, on page 268
PeripheralType Values, on page 267
Special Values, on page 251
CALL_TRANSFERRED_EVENT
The CTI Server may send a CALL_TRANSFERRED_EVENT message to the CTI client when a call is
transferred to another destination.
Fixed Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
74
Application Level Interfaces
CALL_TRANSFERRED_EVENT
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
75
Application Level Interfaces
CALL_TRANSFERRED_EVENT
Floating Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
76
Application Level Interfaces
CALL_DIVERTED_EVENT
ConnectedParty DeviceID (optional) The device identifier of one of the call STRING 64
parties. There may be more than one
ConnectedParty Device ID field in the
message (see NumParties). This field
always immediately follows the
corresponding Connected PartyDevice
IDType field.
Related Topics
CALL_DELIVERED_EVENT, on page 58
DeviceIDType Values, on page 274
EventCause Values, on page 269
LineType Values, on page 278
LocalConnectionState Values, on page 268
PeripheralType Values, on page 267
Special Values, on page 251
CALL_DIVERTED_EVENT
The CTI Server may send a CALL_DIVERTED_EVENT message to the CTI client when a call is removed
from a previous delivery target.
Fixed Part
MonitorID The Monitor ID of the device or call monitor that caused UINT 4
this message to be sent to the client, or zero if there is no
monitor associated with the event (All Events Service).
PeripheralID The Unified CCE PeripheralID of the ACD where the UINT 4
call activity occurred.
ConnectionCallID The Call ID value assigned to this call by the peripheral UINT 4
or Unified CCE.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
77
Application Level Interfaces
CALL_SERVICE_INITIATED_EVENT
ServiceNumber The service that the call is attributed to, as known to the UINT 4
peripheral. May contain the special value NULL_
SERVICE when not applicable or not available.
ServiceID The ServiceID of the service that the call is attributed to. UINT 4
May contain the special value NULL_ SERVICE when
not applicable or not available.
Floating Part
DivertingDeviceID The device ID of the device from which the call was STRING 64
(optional) diverted.
CalledDeviceID (optional) The device ID of the device to which the call was STRING 64
diverted.
Related Topics
ConnectionDeviceIDType Values, on page 277
DeviceIDType Values, on page 274
EventCause Values, on page 269
LocalConnectionState Values, on page 268
PeripheralType Values, on page 267
Special Values, on page 251
CALL_SERVICE_INITIATED_EVENT
The CTI Server may send a CALL_SERVICE_INITIATED_EVENT message to the CTI client upon the
initiation of telecommunications service (“dial tone”) at the agent’s teleset.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
78
Application Level Interfaces
CALL_SERVICE_INITIATED_EVENT
Fixed Part
MonitorID The Monitor ID of the device or call monitor that caused UINT 4
this message to be sent to the client, or zero if there is no
monitor associated with the event (All Events Service).
PeripheralID The Unified CCE PeripheralID of the ACD where the call UINT 4
activity occurred.
ConnectionCallID The Call ID value assigned to this call by the peripheral UINT 4
or Unified CCE.
ServiceNumber The service that the call is attributed to, as known to the UINT 4
peripheral. May contain the special value
NULL_SERVICE when not applicable or not available.
ServiceID The ServiceID of the service that the call is attributed to. UINT 4
May contain the special value NULL_SERVICE when
not applicable or not available.
SkillGroupNumber The number of the agent SkillGroup the call is attributed UINT 4
to, as known to the peripheral. May contain the special
value NULL_SKILL_GROUP when not applicable or not
available. Some ACDs ignore this field and/or use the
ACD default; see the list in the
CALL_DELIVERED_EVENT section.
SkillGroupPriority The priority of the skill group, or 0 when skill group USHORT 2
priority is not applicable or not available.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
79
Application Level Interfaces
AGENT_STATE_EVENT
Floating Part
CallReferenceID For Unified CCE systems where the Unified CM provides UNSPEC 32
(optional) it, this will be a unique call identifier.
Related Topics
CALL_DELIVERED_EVENT, on page 58
ConnectionDeviceIDType Values, on page 277
DeviceIDType Values, on page 274
EventCause Values, on page 269
LineType Values, on page 278
LocalConnectionState Values, on page 268
PeripheralType Values, on page 267
Special Values, on page 251
AGENT_STATE_EVENT
An agent state change (such as logging on or becoming available to handle incoming calls) generates an
AGENT_STATE_EVENT message to the CTI client.
Fixed Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
80
Application Level Interfaces
AGENT_STATE_EVENT
PeripheralID The PeripheralID of the ACD where the call activity UINT 4
occurred.
StateDuration The number of seconds since the agent entered this UINT 4
state (typically 0).
SkillGroupPriority The priority of the skill group, or 0 when skill group USHORT 2
priority is not applicable or not available.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
81
Application Level Interfaces
AGENT_STATE_EVENT
AgentMode The mode that the agent will be in when the login USHORT 2
completes. ROUTABLE = 1, NOT ROUTABLE = 0
MaxTaskLimit The maximum number of tasks that the agent can be UINT 4
simultaneously working on.
ICMAgentID The Unified CCE Skill Target ID, a unique agent INT 4
identifier for Unified CCE.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
82
Application Level Interfaces
AGENT_STATE_EVENT
NumFltSkillGroups If information for more than one skill group is passed USHORT 2
this should be non-zero and indicate the number of
floating FltSkillGroupNumber, FltSkillGroupID,
FltSkillGroupPriority, and FltSkillGroupState floating
fields present in the floating part of the message (up
to 99). If 0, a single set of those entities is specified in
the fixed part of the message.
Floating Part
CTIClientSignature The Client Signature of the CTI client associated with STRING 64
(optional) this agent.
Direction The direction of the call the agent is currently working UINT 4
on:
• 0 = None
• 1 = In
• 2 =Out
• 3 = Other In
• 4 = Other Out
• 5 = OutboundReserve
• 6 = OutboundPreview
• 7 = OutboundPredictiv
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
83
Application Level Interfaces
CALL_REACHED_NETWORK_EVENT
FltSkillGroupNumber The number of an agent SkillGroup queue that the call INT 4
has been added to, as known to the peripheral. May
contain the special value NULL_SKILL_GROUP
when not applicable or not available. There may be
more than one SkillGroupNumber field in the message
(see NumSkillGroups).
FltSkillGroup Priority The priority of the skill group, or 0 when skill group USHORT 2
priority is not applicable or not available. There may
be more than one SkillGroupPriority field in the
message (see NumSkillGroups). This field always
immediately follows the corresponding SkillGroupID
field.
Related Topics
AgentState Values, on page 265
CALL_DELIVERED_EVENT, on page 58
PeripheralType Values, on page 267
Special Values, on page 251
AgentState Values, on page 265
CALL_REACHED_NETWORK_EVENT
The CTI Server may send a CALL_REACHED_NETWORK_EVENT message to the CTI client when an
outbound call is connected to another network.
Fixed Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
84
Application Level Interfaces
CALL_REACHED_NETWORK_EVENT
MonitorID The Monitor ID of the device or call monitor that caused UINT 4
this message to be sent to the client, or zero if there is no
monitor associated with the event (All Events Service).
PeripheralID The Unified CCE PeripheralID of the ACD where the call UINT 4
activity occurred.
ConnectionCallID The Call ID value assigned to this call by the peripheral or UINT 4
Unified CCE.
LineHandle This field identifies the teleset line used, if known. USHORT 2
Otherwise this field is set to 0xffff.
LineType Indicates the type of the teleset line given in the LineHandle USHORT 2
field.
Floating Part
ConnectionDeviceID The device ID of the device associated with the connection. STRING 64
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
85
Application Level Interfaces
CALL_QUEUED_EVENT
Related Topics
ConnectionDeviceIDType Values, on page 277
DeviceIDType Values, on page 274
EventCause Values, on page 269
LocalConnectionState Values, on page 268
PeripheralType Values, on page 267
CALL_QUEUED_EVENT
The CTI Server may send a CALL_QUEUED_EVENT message to the CTI client when a call is placed in a
queue pending the availability of some resource.
Fixed Part
MonitorID The Monitor ID of the device or call monitor that caused this UINT 4
message to be sent to the client, or zero if there is no monitor
associated with the event (All Events Service).
PeripheralID The Unified CCE PeripheralID of the ACD where the call UINT 4
activity occurred.
ConnectionCallID The Call ID value assigned to this call by the peripheral or UINT 4
Unified CCE.
ServiceNumber The service that the call is attributed to, as known to the UINT 4
peripheral. May contain the special value NULL_SERVICE
when not applicable or not available.
ServiceID The ServiceID of the service that the call is attributed to. May UINT 4
contain the special value NULL_SERVICE when not applicable
or not available.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
86
Application Level Interfaces
CALL_QUEUED_EVENT
NumQueued The number of calls in the queue for this service. USHORT 2
NumSkillGroups The number of Skill Group queues that the call has queued to, USHORT 2
up to a maximum of 20. This value also indicates the number
of Skill GroupNumber, Skill GroupID, and SkillGroupPriority
floating fields in the floating part of the message.
Floating Part
ConnectionDevice The device ID of the device associated with the connection. STRING 64
ID
SkillGroupNumber The number of an agent SkillGroup queue that the call has been INT 4
added to, as known to the peripheral. May contain the special
value NULL_SKILL_GROUP when not applicable or not
available. There may be more than one SkillGroup Number
field in the message (see NumSkillGroups). Some ACDs ignore
this field and/or use the ACD default; see the list in the
CALL_DELIVERED_EVENT section.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
87
Application Level Interfaces
CALL_DEQUEUED_EVENT
SkillGroupID The Unified CCE SkillGroupID of the agent SkillGroup queue UINT 4
that the call has been added to. May contain the special value
NULL_SKILL_ GROUP when not applicable or not available.
There may be more than one SkillGroupID field in the message
(see NumSkill Groups). This field always immediately follows
the corresponding SkillGroupNumber field.
SkillGroupPriority The priority of the skill group, or 0 when skill group priority USHORT 2
is not applicable or not available. There may be more than one
SkillGroup Priority field in the message (see NumSkillGroups).
This field always immediately follows the corresponding
SkillGroupID field.
Related Topics
CALL_DELIVERED_EVENT, on page 58
ConnectionDeviceIDType Values, on page 277
DeviceIDType Values, on page 274
EventCause Values, on page 269
LocalConnectionState Values, on page 268
PeripheralType Values, on page 267
Special Values, on page 251
CALL_DEQUEUED_EVENT
The CTI Server may send a CALL_DEQUEUED_EVENT message to the CTI client when a call is removed
from a queue.
Fixed Part
MonitorID The Monitor ID of the device or call monitor that caused this UINT 4
message to be sent to the client, or zero if there is no monitor
associated with the event (All Events Service).
PeripheralID The Unified CCE PeripheralID of the ACD where the call UINT 4
activity occurred.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
88
Application Level Interfaces
CALL_DEQUEUED_EVENT
ConnectionCallID The Call ID value assigned to this call by the peripheral or UINT 4
Unified CCE.
ServiceNumber The service that the call is attributed to, as known to the UINT 4
peripheral. May contain the special value NULL_SERVICE
when not applicable or not available.
ServiceID The ServiceID of the service that the call is attributed to. May UINT 4
contain the special value NULL_ SERVICE when not applicable
or not available.
NumQueued The number of calls remaining in the queue for this service. USHORT 2
NumSkillGroups The number of Skill Group queues that the call has been USHORT 2
removed from, up to a maximum of 20. This value also indicates
the number of SkillGroupNumber, Skill GroupID, and
SkillGroup Priority floating fields in the floating part of the
message. A zero value indicates that the call has been implicitly
removed from all queues.
Floating Part
Connection The device ID of the device associated with the connection. STRING 64
DeviceID
SkillGroup Number The number of an agent Skill Group queue that the call has been UINT 4
removed from, as known to the peripheral. May contain the
special value NULL_SKILL_GROUP when not applicable or
not available. There may be more than one SkillGroupNumber
field in the message (see NumSkillGroups). Some ACDs ignore
this field and/or use the ACD default; see the list in the
CALL_DELIVERED_EVENT section.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
89
Application Level Interfaces
CALL_ATTRIBUTE_CHANGE_EVENT
SkillGroupID The SkillGroupID of the agent SkillGroup queue that the call UINT 4
has been removed from. May contain the special value
NULL_SKILL_GROUP when not applicable or not available.
There may be more than one SkillGroupID field in the message
(see NumSkill Groups). This field always immediately follows
the corresponding SkillGroup Number field.
SkillGroupPriority The priority of the skill group, or 0 when skill group priority is USHORT 2
not applicable or not available. There may be more than one
SkillGroup Priority field in the message (see NumSkillGroups).
This field always immediately follows the corresponding
SkillGroupID field.
Related Topics
CALL_DELIVERED_EVENT, on page 58
ConnectionDeviceIDType Values, on page 277
DeviceIDType Values, on page 274
EventCause Values, on page 269
LocalConnectionState Values, on page 268
PeripheralType Values, on page 267
Special Values, on page 251
CALL_ATTRIBUTE_CHANGE_EVENT
Changes to certain key attributes of the call will generate a CALL_ATTRIBUTE_CHANGE_EVENT to the
client.
Fixed Part
PeripheralID The ICM PeripheralID of the ACD where the call UINT 4
is located.
(CRS_PERIPHERAL_ID for
ICD)
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
90
Application Level Interfaces
AGENT_PRE_CALL_EVENT
CallTypeID The ICM call type of the call. May be 0 if not UINT 4
changed.
Floating Part
AGENT_PRE_CALL_EVENT
An AGENT_PRE_CALL_EVENT message is generated when a call or task is routed to Enterprise Agent.
The message contains the call context data that is assigned to the call after it arrives at the agent’s desktop.
Unlike the translation route event message, which is only sent to All Event clients, the AGENT_PRE_CALL_
EVENT message is also sent to the targeted Client Events client, if any. Typically, the
AGENT_PRE_CALL_EVENT message is received before the BEGIN_ CALL_EVENT announcing the
arrival of the call at the agent’s device. Application developers should note that it is possible, but not typical,
for the call to arrive at the agent and to receive a BEGIN_CALL_EVENT message and other call event
messages for the call before the AGENT_PRE_CALL_EVENT message is received.
Fixed Part
MonitorID The Monitor ID of the device monitor that caused this UINT 4
message to be sent to the client, or zero if there is no monitor
associated with the event (All Events Service).
NumNamed Variables The number of NamedVariable floating fields present in the USHORT 2
floating part of the message.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
91
Application Level Interfaces
AGENT_PRE_CALL_EVENT
ServiceNumber The service that the call is attributed to, as known to the UINT 4
peripheral. May contain the special value NULL_SERVICE
when not applicable or not available.
ServiceID The Unified CCE ServiceID of the service that the call is UINT 4
attributed to. May contain the special value NULL_ SERVICE
when not applicable or not available.
SkillGroupNumber The number of the agent Skill Group the call is attributed to, UINT 4
as known to the peripheral. May contain the special value
NULL_ SKILL_GROUP when not applicable or not available.
Some ACDs ignore this field and/or use the ACD default;
see the list in the CALL_DELIVERED_EVENT section.
SkillGroupID The SkillGroupID of the agent SkillGroup the call is attributed UINT 4
to. May contain the special value NULL_SKILL_ GROUP
when not applicable or not available.
SkillGroupPriority The priority of the skill group, or 0 when skill group priority USHORT 2
is not applicable or not available.
AgentSkillTargetID The skill target ID of the agent to whom the task or call will UINT 4
be routed.
Floating Part
AgentInstrument The agent instrument that the call will be routed to. STRING 64
RouterCallKey CallID The call key created by Unified CCE. Unified CCE resets UINT 4
this counter at midnight.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
92
Application Level Interfaces
AGENT_PRE_CALL_ABORT_EVENT
CallerEnteredDigits The digits entered by the caller in response to IVR prompting. STRING 40
(optional)
PreCallInvokeID If present, specifies the invoke of the PreCall related to this UNIT 4
(optional) event.
… … … …
NamedVariable Call-related variable data that has a variable name defined in NAMED 251
(optional) the Unified CCE. There may be an arbitrary number of Named VAR
Variable and NamedArray fields in the message, subject to
a combined total limit of 2000 bytes.
NamedArray Call-related variable data that has an array variable name NAMED 252
(optional) defined in the Unified CCE. There may be an arbitrary number ARRAY
of Named Variable and NamedArray fields in the message,
subject to a combined total limit of 2000 bytes.
AgentID (optional) The agent ID of the agent to whom the task or call will be STRING 12
routed.
Related Topics
CALL_DELIVERED_EVENT, on page 58
NAMEDVAR Data Type, on page 27
NAMEDARRAY Data Type, on page 27
Special Values, on page 251
AGENT_PRE_CALL_ABORT_EVENT
An AGENT_PRE_CALL_ABORT_EVENT message is generated when a call or task that was previously
announced via an AGENT_PRE_CALL_EVENT cannot be routed as intended (due to a busy or other error
condition detected during call routing) to Enterprise Agent. The AGENT_PRE_CALL_ABORT_ EVENT
message is sent to the to ALL_EVENTS client.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
93
Application Level Interfaces
RTP_STARTED_EVENT
Fixed Part
MonitorID The Monitor ID of the device monitor that caused this UINT 4
message to be sent to the client, or zero if there is no monitor
associated with the event (All Events Service).
Floating Part
AgentInstrument The agent instrument that the call was to have been routed STRING 64
to.
RouterCallKeyDay Together with the RouterCall KeyCallID field forms the UINT 4
unique 64-bit key for locating this call’s records in the Unified
CCE.
RouterCallKey CallID The call key created by Unified CCE. Unified CCE resets UINT 4
this counter at midnight.
RTP_STARTED_EVENT
The RTP_STARTED_EVENT message indicates that an RTP media stream has been started. There are two
media streams for audio media so there will be two RTP Started events, one indicating the input has started
(i.e. the phone is listening) and the other that the output has started (i.e. the outgoing media from the agent
phone has begun).
The RTP_STARTED_EVENT message will generally come up at the same time as the established event. It
also occurs when a call is retrieved from being on hold, and when the transfer or conference operations are
completed.
There is no guarantee of order of the RTP started events in relationship to the established and retrieved events.
The RTP started events may occur before or after the established event.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
94
Application Level Interfaces
RTP_STARTED_EVENT
Fixed Part
RTPType The type of the event. One of the following values: USHORT 2
0: Audio;
1: Video;
2: Data.
BitRate The media bit rate, used for g.723 payload only. UINT 4
Floating Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
95
Application Level Interfaces
RTP_STOPPED_EVENT
Connection DeviceID The identifier of the connection between the call STRING 64
and the device.
SendingAddress The IP Address that the client is sending the RTP STRING 64
stream to.
SendingPort The UDP port number that the client is sending the UINT 4
RTP Stream to.
RTP_STOPPED_EVENT
The RTP_STOPPED_EVENT message indicates that an RTP media has been stopped. There are two media
streams for audio media so there will be two RTP Stopped events, one indicating the input has started (i.e.
the phone is not listening) and the other that the output has started (i.e. the outgoing media from the agent
phone has stopped).
The RTP_STOPPED_EVENT will be received when the call is placed on hold, and when the call disconnects.
Fixed Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
96
Application Level Interfaces
All Events Service
Floating Part
SendingAddress The IP Address that the client is sending the RTP STRING 64
stream to.
SendingPort The UDP port number that the client is sending the UINT 4
RTP Stream to.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
97
Application Level Interfaces
CALL_DELIVERED_EVENT
CALL_DELIVERED_EVENT
In addition to the Client Events service CALL_DELIVERED_EVENT message, a CTI client with the All
Events service may also receive a CALL_DELIVERED_EVENT message when an inbound ACD trunk is
seized. The same message format is used in both cases; the LocalConnectionState field distinguishes between
the two cases. In this case, the LocalConnectionState is set to LCS_INITIATE.
CALL_TRANSLATION_ROUTE_EVENT
The CTI Server sends a CALL_TRANSLATION_ROUTE_EVENT message to the CTI client when a call
is routed to a peripheral monitored by the PG via a translation route. The message contains the call context
data that will be assigned to the call after it arrives at the peripheral.
Fixed Part
Floating Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
98
Application Level Interfaces
Peripheral Monitor Service
RouterCallKeyCallID The call key created by Unified CCE. Unified CCE UINT 4
resets this counter at midnight.
… … … …
NamedVariable (optional) Call-related variable data that has a variable name NAMED 251
defined in the Unified CCE. There may be an arbitrary VAR
number of Named Variable and NamedArray fields in
the message, subject to a combined total limit of 2000
bytes.
NamedArray (optional) Call-related variable data that has an array variable NAMED 252
name defined in the Unified CCE. There may be an ARRAY
arbitrary number of Named Variable and NamedArray
fields in the message, subject to a combined total limit
of 2000 bytes.
Related Topics
NAMEDVAR Data Type, on page 27
NAMEDARRAY Data Type, on page 27
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
99
Application Level Interfaces
MONITOR_START_REQ
CHANGE_MONITOR_MASK_ REQ When a call and agent state event mask is changed.
Related Topics
CALL_TRANSLATION_ROUTE_EVENT, on page 98
MONITOR_START_REQ
Use this message to create a new monitor for the given call or device.
This figure depicts the Monitor Start message flow.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
100
Application Level Interfaces
MONITOR_START_REQ
Fixed Part
PeripheralID The PeripheralID of the ACD where the call or device UINT 4
to be monitored is located.
Connection CallID The Call ID value of the call to be monitored. Set this UINT 4
field to zero when creating a monitor for a device.
Connection DeviceIDType Indicates the type of the device identifier supplied in USHORT 2
the ConnectionDeviceID floating field when creating
a monitor for a call. Set this field to
CONNECTION_ID_NONE when creating a monitor
for a device.
Floating Part
When the requested device or call monitor has been created, the CTI Server responds to the CTI client with
the MONITOR_START_CONF message.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
101
Application Level Interfaces
MONITOR_STOP_REQ
InvokeID Set to the same value as the InvokeID from the UINT 4
corresponding request message.
Related Topics
AgentState Values, on page 265
ConnectionDeviceIDType Values, on page 277
DeviceIDType Values, on page 274
MONITOR_STOP_REQ
Use this message to terminate a call or device monitor. This figure depicts the Monitor Stop message flow.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
102
Application Level Interfaces
CHANGE_MONITOR_MASK_REQ
When the requested device or call monitor has been terminated, the CTI Server responds to the CTI client
with the MONITOR_STOP_CONF message.
InvokeID Set to the same value as the InvokeID from the UINT 4
corresponding request message.
CHANGE_MONITOR_MASK_REQ
Use this message to change the call and agent state change event masks used to filter messages from the given
call or device monitor. This figure depicts the Change Monitor Mask message flow.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
103
Application Level Interfaces
Client Monitor Service
MonitorID The Monitor ID of the device or call monitor whose call UINT 4
and agent state change event masks are to be changed.
When the requested device or call monitor masks have been updated, the CTI Server responds to the CTI
client with the CHANGE_MONITOR_MASK_CONF message.
InvokeID Set to the same value as the InvokeID from the UINT 4
corresponding request message.
Related Topics
AgentState Values, on page 265
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
104
Application Level Interfaces
CLIENT_SESSION_OPENED_EVENT
CLIENT_SESSION_OPENED_EVENT
This message indicates that a new CTI client session has been opened. One of these messages is sent for each
existing CTI client session to the newly opened session, as if those CTI clients had just opened their sessions.
Fixed Part
Floating Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
105
Application Level Interfaces
CLIENT_SESSION_CLOSED_EVENT
Related Topics
AgentState Values, on page 265
CTI Service Masks, on page 291
CLIENT_SESSION_CLOSED_EVENT
This message indicates that a CTI client session has been terminated.
Fixed Part
SessionID A value that uniquely identified the CTI session that was closed. UINT 4
PeripheralID If the session was opened for Client Events Service, this field UINT 4
contains the peripheral ID of the ACD specified by the other client
when the session was opened. Otherwise this field contains the
special value NULL_ PERIPHERAL_ID.
Status A status code indicating the reason for termination of the session. UINT 4
ClientPort The TCP/IP port number of the opening CTI client connection. UINT 4
Floating Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
106
Application Level Interfaces
SESSION_MONITOR_START_REQ
AgentExtension The AgentExtension specified by the other CTI client when the STRING 16
(optional) session was opened, if any.
AgentID (optional) The AgentID specified by the other CTI client when the session STRING 12
was opened, if any.
AgentInstrument The AgentInstrument specified by the other CTI client when the STRING 64
(optional) session was opened, if any.
SESSION_MONITOR_START_REQ
Use this message to initiate monitoring of the given CTI client session. This figure depicts the Session Monitor
Start message flow. The SESSION_MONITOR_START_REQ and SESSION_MONITOR_START_CONF
messages formats are defined in the tables given in the following.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
107
Application Level Interfaces
SESSION_MONITOR_STOP_REQ
When the requested session monitor has been created, the CTI Server responds to the CTI client with the
SESSION_MONITOR_START_CONF message.
InvokeID Set to the same value as the InvokeID from the UINT 4
corresponding request message.
MonitorID The Monitor ID of the CTI client session monitor that UINT 4
was created.
SESSION_MONITOR_STOP_REQ
Use this message to terminate monitoring of a CTI client session. This figure depicts the Session Monitor
stop message flow.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
108
Application Level Interfaces
Supervisor Service
When the requested CTI client session monitor terminates, the CTI Server responds to the CTI client with the
SESSION_MONITOR_STOP_CONF message.
InvokeID Set to the same value as the InvokeID from the corresponding UINT 4
request message.
Supervisor Service
The Supervisor service requests supervisor services when the client opens a CTI session.
CTI_SERVICE_SUPERVISOR service type will be used in addition to the existing Service types, and requires
CTI_SERVICE_CLIENT_EVENTS to be specified as well.
Supervisor services rely on the configuration of Agent Teams in the Unified CCE. When an agent opens a
session with CTI_SERVICE_SUPERVISOR service type requested, the CTI Server will check to see if the
agent is configured as a supervisor. If the agent is a supervisor, the CTI Server will open the session and send
the OPEN_CONF to the agent. Otherwise, the FAILURE_CONF message with the status code set to
E_CTI_FUNCTION_NOT_AVAILABLE will be sent to the requesting client.
The CTI Client that has been granted Supervisor Service receives notifications whenever agent team clients
request supervisor assistance or indicate that they are handling an emergency call. The following messages
are used by Supervisor Service clients to provide these notifications and to perform agent supervisory functions.
AGENT_TEAM_CONFIG_ EVENT When a supervisor adds or changes the list of agent team
members.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
109
Application Level Interfaces
SUPERVISE_CALL_REQ
SUPERVISE_CALL_REQ
At any time, for monitoring quality of service, training, etc., a supervisor CTI client may send a
SUPERVISE_CALL_REQ message to the CTI Server to request barge-in or interception of a call. At end of
such call supervision, a supervisor CTI client should send SUPERVISE_CALL_REQ message with
SUPERVISOR_CLEAR as the SupervisorAction value to disconnect the supervisor’s device from the call.
The SUPERVISE_CALL_REQ message allows a supervisor CTI Client to supervise an agent’s call, either
through barge-in or interception. The client may select a specific agent call connection, or may select an
agent’s currently active call by specifying only the agent:
Fixed Part
AgentConnection CallID The Call ID value assigned to the call by the UINT 4
peripheral or Unified CCE. May contain the
special value 0xffffffff when selecting the
agent’s currently active call.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
110
Application Level Interfaces
SUPERVISE_CALL_REQ
Floating Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
111
Application Level Interfaces
SUPERVISE_CALL_REQ
Fixed Part
InvokeID Set to the same value as the InvokeID from the UINT 4
corresponding request message.
ConnectionCallID The Call ID value assigned to the call by the peripheral UINT 4
or Unified CCE.
Floating Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
112
Application Level Interfaces
EMERGENCY_CALL_REQ
ConnectionDevice ID The identifier of the connection between the call and STRING 64
the agent device that is being supervised.
Related Topics
ConnectionDeviceIDType Values, on page 277
EMERGENCY_CALL_REQ
The EMERGENCY_CALL_REQ message indicates that a CTI Client is handling the indicated call as an
emergency call:
Fixed Part
ConnectionCallID The Call ID value of the call that the agent needs UINT 4
assistance with. May contain the special value
0xffffffff when there is no related call.
Floating Part
AgentExtension The agent’s ACD teleset extension. For clients with STRING 16
ALL EVENTS or PERIPHERAL MONITOR
service, at least one of AgentExtension, AgentID,
or AgentInstrument must be provided.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
113
Application Level Interfaces
EMERGENCY_CALL_REQ
AgentID The agent’s ACD login ID. For clients with ALL STRING 12
EVENTS or PERIPHERAL MONITOR service, at
least one of AgentExtension, AgentID, or
AgentInstrument must be provided.
Fixed Part
InvokeID Set to the same value as the InvokeID from the UINT 4
corresponding request message.
ConnectionDevice IDType Indicates the type of the connection identifier supplied USHORT 2
in the ConnectionDeviceID floating field.
LineHandle This field identifies the teleset line used, if known. USHORT 2
Otherwise this field is set to 0xffff.
LineType Indicates the type of the teleset line given in the USHORT 2
LineHandle field.
Floating Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
114
Application Level Interfaces
EMERGENCY_CALL_EVENT
Related Topics
ConnectionDeviceIDType Values, on page 277
LineType Values, on page 278
EMERGENCY_CALL_EVENT
The EMERGENCY_CALL_EVENT message, defined below, notifies bridge clients that an agent is handling
the indicated call as an emergency call:
Fixed Part
PeripheralID The PeripheralID of the ACD where the call is located. UINT 4
ConnectionCallID The Call ID value assigned to the call by the peripheral or UINT 4
Unified CCE.
ConnectionDevice Indicates the type of the connection identifier supplied in the USHORT 2
IDType ConnectionDeviceID floating field.
SessionID The CTI client SessionID of the CTI client making the UINT 4
notification.
Floating Part
ConnectionDevice ID The identifier of the connection between the call and the STRING 64
agent’s device.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
115
Application Level Interfaces
AGENT_TEAM_CONFIG_EVENT
Related Topics
ConnectionDeviceIDType Values, on page 277
AGENT_TEAM_CONFIG_EVENT
Once a supervisor CTI client session is opened, the CTI Server sends one or more
AGENT_TEAM_CONFIG_EVENT messages with the list of team members for that supervisor.
The CTI Server also sends out the AGENT_TEAM_CONFIG_EVENT when any change is made to the agent
team configuration.
The AGENT_TEAM_CONFIG_EVENT message contains the list of team members for a supervisor or
changes to the team configuration.
Fixed Part
PeripheralID The PeripheralID of the CTI Server where the team is located. UINT 4
Floating Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
116
Application Level Interfaces
LIST_AGENT_TEAM_REQ
AgentFlags (optional) A set of flags indicating the attributes of the corresponding USHORT 2
AgentID. Possible values are:
0x0001: Primary Supervisor;
0x0002: Temporary Agent;
0x0004: Supervisor.
(0 flag is for regular agent)
There may be more than one AgentFlags field in the message
(see NumberOfAgents).
AtcStateDuration The number of seconds since the agent entered this state. UINT 4
LIST_AGENT_TEAM_REQ
A CTI Supervisor Client could use the LIST_AGENT_TEAM_REQ message to obtain the list of associated
agent teams. Once the list of agent teams is obtained, the supervisor could use
MONITOR_AGENT_TEAM_START_REQ to start monitoring agent teams. The agent states of the agent
team will be send to the requesting supervisor session until a MONITOR_AGENT_TEAM_STOP_REQ is
received.
When any change is made to the agent team configuration, an AGENT_TEAM_CONFIG_EVENT will be
sending out. If agent team and supervisor mapping are changed (add or remove), an
AGENT_TEAM_CONFIG_EVENT will be sending out with AgentFlags set to 0x0004 for supervisor.
The LIST_AGENT_TEAM_REQ message allows a CTI Supervisor Client to obtain the list of agent team
that the supervisor can monitor. The list should be pre-configured in the Agent Team Supervisor Table.
InvokeID An ID for this request message that will be returned in the UINT 4
corresponding confirm message.
The LIST_AGENT_TEAM_CONF message contains the list of agent teams that associated with the requesting
supervisor.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
117
Application Level Interfaces
MONITOR_AGENT_TEAM_START_REQ
Fixed Part
NumberOfAgent The number of TeamID present in the floating part of the USHORT 2
Teams message, up to a maximum of 64.
More Indicates if this message is the last confirmation. (More than USHORT 2
one confirmations are sent out if more than 64 Agent Teams
are associated with the supervisor).
0: last message;
1: more messages to follow;
Floating Part
TeamID The agent team ID. There may be more than one TeamID UINT 4
field in the message (see NumberOf AgentTeams).
MONITOR_AGENT_TEAM_START_REQ
The MONITOR_AGENT_TEAM_START_REQ allows a CTI Supervisor Client to start monitoring agent
team.
InvokeID Set to the same value as the InvokeID from the corresponding UINT 4
request message.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
118
Application Level Interfaces
MONITOR_AGENT_TEAM_STOP_REQ
When the request has been received, the CTI Server responds to the CTI Client with the
MONITOR_AGENT_TEAM_START_CONF message.
InvokeID Set to the same value as the InvokeID from the corresponding UINT 4
request message.
MONITOR_AGENT_TEAM_STOP_REQ
The MONITOR_AGENT_TEAM_STOP_REQ message allows a CTI Supervisor Client to stop monitoring
agent teams.
InvokeID Set to the same value as the InvokeID from the corresponding UINT 4
request message.
When the request has been received, the CTI Server responds to the CTI Client with the
MONITOR_AGENT_TEAM_STOP_CONF message.
InvokeID Set to the same value as the InvokeID from the corresponding UINT 4
request message.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
119
Application Level Interfaces
Call Data Update Service
RELEASE_CALL_REQ To indicate that you are finished with a call and that all call
variable and call wrapup updates have been made.
SET_DEVICE_ATTRIBUTES_REQ To set the default service, skill group, and call type information
associated with a calling device that is defined in the Unified CCE
Dialer_Port_Map database table.
SET_CALL_DATA_REQ
Send this message to the CTI Server to set one or more call variables and/or call wrapup data. The combination
of ConnectionCallID, ConnectionDeviceIDType, and ConnectionDeviceID uniquely identify the call to be
operated upon. Variables not provided in the message are not affected. This figure depicts the Set Call Data
message flow
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
120
Application Level Interfaces
SET_CALL_DATA_REQ
Fixed Part
InvokeID An ID for this request message that will be returned in the UINT 4
corresponding confirm message.
PeripheralID The PeripheralID of the ACD where the call is located. UINT 4
ConnectionDevice Indicates the type of the connection identifier supplied in the USHORT 2
IDType ConnectionDeviceID floating field.
ConnectionCallID The Call ID value assigned to the call by the peripheral or UINT 4
Unified CCE.
CampaignID Campaign ID for value that appears in the Agent Real Time UINT 4
table. Set to zero if not used.
QueryRuleID Query rule ID for value that appears in the Agent Real Time UINT 4
table. Set to zero if not used.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
121
Application Level Interfaces
SET_CALL_DATA_REQ
Floating Part
ConnectionDevice ID The identifier of the connection between the call and the STRING 64
device.
CallerEnteredDigits The digits entered by the caller in response to IVR prompting. STRING 40
(optional)
… … … …
NamedVariable Call-related variable data that has a variable name defined in NAMED 251
(optional) the Unified CCE. There may be an arbitrary number of Named VAR
Variable and NamedArray fields in the message, subject to a
combined total limit of 2000 bytes.
NamedArray Call-related variable data that has an array variable name NAMED 252
(optional) defined in the Unified CCE. There may be an arbitrary number ARRAY
of Named Variable and NamedArray fields in the message,
subject to a combined total limit of 2000 bytes.
CustomerPhone Customer phone number for value that appears in the Agent STRING 20
Number (optional) Real Time table.
CustomerAccount Customer Account Number for value that appears in the Agent STRING 32
Number (optional) Real Time table.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
122
Application Level Interfaces
RELEASE_CALL_REQ
CallOriginated From Dialer Only ‘D’. Tags a call as being originated from the dialer. UCHAR 1
When the requested call variables have been updated and the new values are guaranteed to remain set should
the CTI session be abnormally terminated, the CTI Server responds to the CTI client that requested the update
with the SET_CALL_DATA_CONF message.
InvokeID Set to the value of the InvokeID from the corresponding UINT 4
request message.
Related Topics
CallType Values, on page 275
ConnectionDeviceIDType Values, on page 277
NAMEDVAR Data Type, on page 27
NAMEDARRAY Data Type, on page 27
RELEASE_CALL_REQ
Send this message to the CTI Server to indicate that you are finished with a call and that all call variable and
call wrapup data updates have been made. This message does not disconnect the call. The combination of
ConnectionCallID, ConnectionDeviceIDType, and ConnectionDeviceID uniquely identify the call to be
operated upon. CTI clients with Call Data Update Service should use this message to let the call termination
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
123
Application Level Interfaces
RELEASE_CALL_REQ
record be logged in the Unified CCE central database prior to the expiration of the call wrapup data timer
(default value 2 minutes).
Fixed Part
Connection CallID The Call ID value assigned to the call by the UINT 4
peripheral or Unified CCE.
Floating Part
Connection DeviceID The device ID of the device associated with the STRING 64
connection.
The CTI Server responds to the CTI client with the RELEASE_CALL_CONF message.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
124
Application Level Interfaces
SET_DEVICE_ATTRIBUTES_REQ
Related Topics
ConnectionDeviceIDType Values, on page 277
SET_DEVICE_ATTRIBUTES_REQ
This message is sent by a CTI Client to set the default service, skill group, and call type information associated
with a calling device that is defined in the Unified CCE Dialer_Port_Map database table. The default attributes
are initially assigned to all subsequent calls that originate from that device, although the service, skill group,
and call type of any call may be modified during subsequent call handling. These tables define the
SET_DEVICE_ATTRIBUTES_REQ and SET_DEVICE_ATTRIBUTES_CONF messages.
Fixed Part
InvokeID An ID for this request message that will be returned in the UINT 4
corresponding confirm message.
PeripheralID The PeripheralID of the ACD where the call is located. UINT 4
ServiceNumber The service that the call is attributed to, as known to the UINT 4
peripheral. May contain the special value NULL_SERVICE
when not applicable or not available.
ServiceID The ServiceID of the service that the call is attributed to. UINT 4
May contain the special value NULL_SERVICE when not
applicable or not available.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
125
Application Level Interfaces
SET_DEVICE_ATTRIBUTES_REQ
SkillGroupNumber The number of the agent SkillGroup the call is attributed UINT 4
to, as known to the peripheral. May contain the special
value NULL_SKILL_GROUP when not applicable or not
available.Some ACDs ignore this field and/or use the ACD
default; see the list in the CALL_DELIVERED_EVENT
section.
SkillGroupPriority The priority of the skill group, or 0 when skill group USHORT 2
priority is not applicable or not available.
CallType The general classification of the call type. May contain the USHORT 2
special value NULL_CALLTYPE.
CallingDeviceType Indicates the type of the device identifier supplied in the USHORT 2
CallingDeviceID floating field.
Floating Part
When the requested default settings have been updated the CTI Server responds to the CTI Client that requested
the update with the SET_DEVICE_ATTRIBUTES_CONF message. A FAILURE_CONF message is returned
if the provided Service or SkillGroup values are invalid, or if the CallingDevice is not configured in the Unified
CCE Dialer_Port_Map database table.
InvokeID Set to the value of the InvokeID from the corresponding request UINT 4
message.
Related Topics
CALL_DELIVERED_EVENT, on page 58
CallType Values, on page 275
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
126
Application Level Interfaces
Miscellaneous Service
Miscellaneous Service
The Miscellaneous service is provided to all connected CTI clients. This service consists of a variety of
unsolicited event messages and request/response paired messages.
QUERY_AGENT_STATISTICS_ REQ To obtain the current call handling statistics for the
client’s agent.
QUERY_SKILL_GROUP_ STATISTICS_REQ To obtain the current call handling statistics for one of
the client agent’s skill groups.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
127
Application Level Interfaces
SYSTEM_EVENT
SYSTEM_EVENT
System event messages include the current PG Status as well as data related to the specific event that has
occurred. You can use the PG Status as a general indication of the operational health of the PG. Normally
you need not be aware of any specific codes; a non-zero value indicates a component failure or data link
outage that prevents normal CTI operations.
Fixed Part
Floating Part
Text (optional) A text message associated with the provided STRING 255
SystemEperiphventID.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
128
Application Level Interfaces
CLIENT_EVENT_REPORT_REQ
Related Topics
DeviceIDType Values, on page 274
PGStatusCode Values, on page 266
SystemEventID Values, on page 250
CLIENT_EVENT_REPORT_REQ
Send the CLIENT_EVENT_REPORT_REQ message to report significant events through the Unified CCE
Alarm subsystem. The Unified CCE Alarm subsystem allows simple textual event reports as well as an
object-oriented model that tracks the current state of named objects. The Unified CCE Alarm subsystem can
also forward these events as SNMP traps.
A CTI client that elects to report events with named objects should initialize the objects in the Unified CCE
Alarm subsystem soon after establishing its session with the CTI Server by reporting the current state of each
named object. The object name given uniquely identifies the alarm object. Therefore, CTI client applications
that wish to create multiple instances of an alarm object must include some instance-identifying characters
(such as ClientID or ACD extension) in the object name.
For example, if a CTI client “A” and a CTI client “B” both report events on an object named “C”, there will be
one Unified CCE Alarm object “C” that is manipulated by both clients. If, on the other hand, the Client ID
were included in the object name, then two Unified CCE Alarm objects would result; object “A:C” being
manipulated by client “A” and object “B:C” being independently manipulated by client “B”.
Fixed Part
Floating Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
129
Application Level Interfaces
USER_MESSAGE_REQ
ObjectName (optional) The name of the Unified CCE Alarm object affected STRING 128
by this event. The object is created if it does not
already exist.
Text A text message associated with the event being STRING 255
reported.
The CTI Server responds to the CTI client with the CLIENT_EVENT_REPORT_CONF message:
USER_MESSAGE_REQ
The USER_MESSAGE_REQ message allows a CTI Client to send a message to a specified client, the client
agent’s supervisor, all clients in the client agent’s team, or all clients connected to the CTI Server.
Fixed Part
PeripheralID The PeripheralID of the ACD where the agent indicated by Agent UINT 4
Extension, AgentID, or Agent Instrument is located. For clients
with All Events or Peripheral Monitor service, this value must be
provided if the Distribution field specifies DISTRIBUTE_TO_
SUPERVISOR or DISTRIBUTE_ TO_TEAM.
Floating Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
130
Application Level Interfaces
USER_MESSAGE_REQ
ClientID The clientid of the intended message recipient. Required if the STRING 64
(optional) distribution field specifies DISTRIBUTE_TO_ CLIENT.
AgentExtension The agent’s ACD teleset extension. For clients with ALL EVENTS STRING 16
or PERIPHERAL MONITOR service, at least one of Agent
Extension, AgentID, or Agent Instrument must be provided if the
Distribution field specifies DISTRIBUTE_TO_ SUPERVISOR
or DISTRIBUTE_ TO_TEAM.
AgentID The agent’s ACD login ID. For clients with ALL EVENTS or STRING 12
PERIPHERAL MONITOR service, at least one of
AgentExtension, AgentID, or AgentInstrument must be provided
if the Distribution field specifies DISTRIBUTE_TO_
SUPERVISOR or DISTRIBUTE_ TO_TEAM.
AgentInstrument The agent’s ACD instrument number. For clients with ALL STRING 64
EVENTS or PERIPHERAL MONITOR service, at least one of
AgentExtension, AgentID, or AgentInstrument must be provided
if the Distribution field specifies DISTRIBUTE_TO_
SUPERVISOR or DISTRIBUTE_ TO_TEAM.
The CTI Server responds to the CTI Client with the USER_MESSAGE_CONF message:
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
131
Application Level Interfaces
USER_MESSAGE_EVENT
InvokeID Set to the value of the InvokeID from the corresponding request UINT 4
message.
USER_MESSAGE_EVENT
The USER_MESSAGE_EVENT message delivers a message that was sent from another CTI Server client:
Fixed Part
Floating Part
Related Topics
USER_MESSAGE_REQ, on page 130
QUERY_AGENT_STATISTICS_REQ
The QUERY_AGENT_STATISTICS_REQ message allows a CTI Client to obtain the current call handling
statistics for the client’s agent. To avoid impacting system performance, clients should not request agent
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
132
Application Level Interfaces
QUERY_AGENT_STATISTICS_REQ
statistics too frequently. Depending upon the needs of the client application, updating agent statistics after
each call is handled my be appropriate.
Fixed Part
InvokeID An ID for this request message that will be returned in the UINT 4
corresponding confirm message.
PeripheralID The PeripheralID of the ACD where the agent is located. UINT 4
Floating Part
AgentExtension The agent’s ACD teleset extension. For clients with ALL STRING 16
EVENTS or PERIPHERAL MONITOR service, at least one
of AgentExtension, AgentID, or AgentInstrument must be
provided.
AgentID The agent’s ACD login ID. For clients with ALL EVENTS or STRING 12
PERIPHERAL MONITOR service, at least one of
AgentExtension, AgentID, or AgentInstrument must be
provided.
AgentInstrument The agent’s ACD instrument number. For clients with ALL STRING 64
EVENTS or PERIPHERAL MONITOR service, at least one
of AgentExtension, AgentID, or AgentInstrument must be
provided.
The CTI Server responds to the CTI Client with the QUERY_AGENT_STATISTICS_CONF message.
“Session” values represent statistics accumulated since the agent logged in. “Today” values represent statistics
accumulated since midnight. Call counts and times are updated when any after-call work for the call is
completed (calls currently in progress are not included in the statistics):
Fixed Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
133
Application Level Interfaces
QUERY_AGENT_STATISTICS_REQ
InvokeID Set to the same value as the InvokeID from the corresponding request UINT 4
message.
PeripheralID The PeripheralID of the ACD where the agent is located. UINT 4
AvailTime Session Total time, in seconds, the agent was in the Available state for any UINT 4
skill group.
LoggedOnTime Total time, in seconds, the agent has been logged on. UINT 4
Session
NotReadyTime Total time, in seconds, the agent was in the Not Ready state for all UINT 4
Session skill groups.
ICMAvailable Total time, in seconds, the agent was in the Unified CCE Available UINT 4
TimeSession state.
RoutableTime Total time, in seconds, the agent was in the Routable state for all UINT 4
Session skill groups.
AgentOutCalls Total number of completed outbound ACD calls made by agent. UINT 4
Session
AgentOutCalls Total talk time, in seconds, for completed outbound ACD calls UINT 4
TalkTimeSession handled by the agent. The value includes the time spent from the call
being initiated by the agent to the time the agent begins after call
work for the call. The time includes hold time associated with the
call.
AgentOutCalls Total handle time, in seconds, for completed outbound ACD calls UINT 4
Time Session handled by the agent. The value includes the time spent from the call
being initiated by the agent to the time the agent completes after call
work time for the call. The time includes hold time associated with
the call.
AgentOutCalls The total number of completed outbound ACD calls the agent has UINT 4
Held Session placed on hold at least once.
AgentOutCalls Total number of seconds outbound ACD calls were placed on hold. UINT 4
HeldTime Session
HandledCalls The number of inbound ACD calls handled by the agent. UINT 4
Session
HandledCalls Total talk time in seconds for Inbound ACD calls counted as handled UINT 4
TalkTime Session by the agent. Includes hold time associated with the call.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
134
Application Level Interfaces
QUERY_AGENT_STATISTICS_REQ
HandledCalls Total after call work time in seconds for Inbound ACD calls counted UINT 4
AfterCall as handled by the agent.
TimeSession
HandledCalls Total handle time, in seconds, for inbound ACD calls counted as UINT 4
Time Session handled by the agent. The time spent from the call being answered
by the agent to the time the agent completed after call work time for
the call. Includes hold time associated with the call.
IncomingCalls The total number of completed inbound ACD calls the agent placed UINT 4
Held Session on hold at least once.
IncomingCalls Total number of seconds completed inbound ACD calls were placed UINT 4
HeldTime Session on hold.
InternalCalls Number of seconds spent on internal calls initiated by the agent. UINT 4
TimeSession
InternalCalls Number of seconds spent on internal calls received by the agent. UINT 4
RcvdTime Session
InternalCalls The total number of internal calls the agent placed on hold at least UINT 4
HeldSession once.
InternalCalls Total number of seconds completed internal calls were placed on UINT 4
HeldTime Session hold.
AutoOutCalls Total number of AutoOut (predictive) calls completed by the agent. UINT 4
Session
AutoOutCalls Total talk time, in seconds, of AutoOut (predictive) calls completed UINT 4
TalkTime Session by the agent. The value includes the time spent from the call being
initiated by the agent to the time the agent begins after call work for
the call. The time includes hold time associated with the call.
AutoOutCalls Total handle time, in seconds, for AutoOut (predictive) calls UINT 4
Time Session completed by the agent. The value includes the time spent from the
call being initiated by the agent to the time the agent completes after
call work time for the call. The time includes hold time associated
with the call.
AutoOutCalls The total number of completed AutoOut (predictive) calls the agent UINT 4
Held Session has placed on hold at least once.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
135
Application Level Interfaces
QUERY_AGENT_STATISTICS_REQ
AutoOutCalls Total number of seconds AutoOut (predictive) calls were placed on UINT 4
HeldTime Session hold.
PreviewCalls Total number of outbound Preview calls completed by the agent. UINT 4
Session
PreviewCalls Total talk time, in seconds, of outbound Preview calls completed by UINT 4
TalkTime Session the agent. The value includes the time spent from the call being
initiated by the agent to the time the agent begins after call work for
the call. The time includes hold time associated with the call.
PreviewCalls Total handle time, in seconds, outbound Preview calls completed by UINT 4
TimeSession the agent. The value includes the time spent from the call being
initiated by the agent to the time the agent completes after call work
time for the call. The time includes hold time associated with the
call.
PreviewCalls The total number of completed outbound Preview calls the agent has UINT 4
HeldSession placed on hold at least once.
PreviewCalls Total number of seconds outbound Preview calls were placed on UINT 4
HeldTime Session hold.
Reservation Total number of agent reservation calls completed by the agent. UINT 4
CallsSession
Reservation Total talk time, in seconds, of agent reservation calls completed by UINT 4
CallsTalk the agent. The value includes the time spent from the call being
TimeSession initiated by the agent to the time the agent begins after call work for
the call. The time includes hold time associated with the call.
Reservation Total handle time, in seconds, agent reservation calls completed by UINT 4
CallsTime Session the agent. The value includes the time spent from the call being
initiated by the agent to the time the agent completes after call work
time for the call. The time includes hold time associated with the
call.
Reservation The total number of completed agent reservation calls the agent has UINT 4
CallsHeld Session placed on hold at least once.
Reservation Total number of seconds agent reservation calls were placed on hold. UINT 4
CallsHeld
TimeSession
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
136
Application Level Interfaces
QUERY_AGENT_STATISTICS_REQ
AvailTimeToday Total time, in seconds, the agent was in the Available state for any UINT 4
skill group.
LoggedOnTime Total time, in seconds, the agent has been logged on. UINT 4
Today
NotReadyTime Total time, in seconds, the agent was in the Not Ready state for all UINT 4
Today skill groups.
ICMAvailable Total time, in seconds, the agent was in the Unified CCE Available UINT 4
TimeToday state.
RoutableTime Total time, in seconds, the agent was in the Routable state for all UINT 4
Today skill groups.
AgentOutCalls Total number of completed outbound ACD calls made by agent. UINT 4
Today
AgentOutCalls Total talk time, in seconds, for completed outbound ACD calls UINT 4
TalkTime Today handled by the agent. The value includes the time spent from the call
being initiated by the agent to the time the agent begins after call
work for the call. The time includes hold time associated with the
call.
AgentOutCalls Total handle time, in seconds, for completed outbound ACD calls UINT 4
Time Today handled by the agent. The value includes the time spent from the call
being initiated by the agent to the time the agent completes after call
work time for the call. The time includes hold time associated with
the call.
AgentOutCalls The total number of completed outbound ACD calls the agent has UINT 4
HeldToday placed on hold at least once.
AgentOutCalls Total number of seconds outbound ACD calls were placed on hold. UINT 4
HeldTime Today
HandledCalls The number of inbound ACD calls handled by the agent. UINT 4
Today
HandledCalls Total talk time in seconds for Inbound ACD calls counted as handled UINT 4
TalkTime Today by the agent. Includes hold time associated with the call.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
137
Application Level Interfaces
QUERY_AGENT_STATISTICS_REQ
HandledCalls Total after call work time in seconds for Inbound ACD calls counted UINT 4
AfterCall as handled by the agent.
TimeToday
HandledCalls Total handle time, in seconds, for inbound ACD calls counted as UINT 4
TimeToday handled by the agent. The time spent from the call being answered
by the agent to the time the agent completed after call work time for
the call. Includes hold time associated with the call.
IncomingCalls The total number of completed inbound ACD calls the agent placed UINT 4
HeldToday on hold at least once.
IncomingCalls Total number of seconds completed inbound ACD calls were placed UINT 4
HeldTime Today on hold.
InternalCalls Number of seconds spent on internal calls initiated by the agent. UINT 4
TimeToday
InternalCalls Number of seconds spent on internal calls received by the agent. UINT 4
RcvdTime Today
InternalCalls The total number of internal calls the agent placed on hold at least UINT 4
HeldToday once.
InternalCalls Total number of seconds completed internal calls were placed on UINT 4
HeldTime Today hold.
AutoOutCalls Total number of AutoOut (predictive) calls completed by the agent. UINT 4
Today
AutoOutCalls Total talk time, in seconds, of AutoOut (predictive) calls completed UINT 4
TalkTime Today by the agent. The value includes the time spent from the call being
initiated by the agent to the time the agent begins after call work for
the call. The time includes hold time associated with the call.
AutoOutCalls Total handle time, in seconds, for AutoOut (predictive) calls UINT 4
TimeToday completed by the agent. The value includes the time spent from the
call being initiated by the agent to the time the agent completes after
call work time for the call. The time includes hold time associated
with the call.
AutoOutCalls The total number of completed AutoOut (predictive) calls the agent UINT 4
HeldToday has placed on hold at least once.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
138
Application Level Interfaces
QUERY_AGENT_STATISTICS_REQ
AutoOutCalls Total number of seconds AutoOut (predictive) calls were placed on UINT 4
HeldTime Today hold.
PreviewCalls Total number of outbound Preview calls completed by the agent. UINT 4
Today
PreviewCalls Total talk time, in seconds, of outbound Preview calls completed by UINT 4
TalkTimeToday the agent. The value includes the time spent from the call being
initiated by the agent to the time the agent begins after call work for
the call. The time includes hold time associated with the call.
PreviewCalls Total handle time, in seconds, outbound Preview calls completed by UINT 4
TimeToday the agent. The value includes the time spent from the call being
initiated by the agent to the time the agent completes after call work
time for the call. The time includes hold time associated with the
call.
PreviewCalls The total number of completed outbound Preview calls the agent has UINT 4
HeldToday placed on hold at least once.
PreviewCalls Total number of seconds outbound Preview calls were placed on UINT 4
HeldTimeToday hold.
Reservation Total number of agent reservation calls completed by the agent. UINT 4
CallsToday
Reservation Total talk time, in seconds, of agent reservation calls completed by UINT 4
CallsTalk the agent. The value includes the time spent from the call being
TimeToday initiated by the agent to the time the agent begins after call work for
the call. The time includes hold time associated with the call.
Reservation Total handle time, in seconds, agent reservation calls completed by UINT 4
CallsTimeToday the agent. The value includes the time spent from the call being
initiated by the agent to the time the agent completes after call work
time for the call. The time includes hold time associated with the
call.
Reservation The total number of completed agent reservation calls the agent has UINT 4
CallsHeldToday placed on hold at least once.
Reservation Total number of seconds agent reservation calls were placed on hold. UINT 4
CallsHeld
TimeToday
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
139
Application Level Interfaces
QUERY_SKILL_GROUP_STATISTICS_REQ
Floating Part
QUERY_SKILL_GROUP_STATISTICS_REQ
The QUERY_SKILL_GROUP_STATISTICS_REQ message allows a CTI Client to obtain the current call
handling statistics for one of the client agent’s skill groups. To avoid impacting system performance, clients
should not request skill group statistics too frequently. Depending upon the needs of the client application,
updating skill group statistics after each call is handled my be appropriate.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
140
Application Level Interfaces
QUERY_SKILL_GROUP_STATISTICS_REQ
The CTI Server responds to the CTI Client with the QUERY_SKILL_GROUP_STATISTICS_CONF message.
“ToHalf” values represent statistics accumulated in the current half hour period. “Today” values represent
statistics accumulated since midnight. Call counts and times are updated when any after-call work for the call
is completed (calls currently in progress are not included in the statistics):
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
141
Application Level Interfaces
QUERY_SKILL_GROUP_STATISTICS_REQ
Real-Time Statistics
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
142
Application Level Interfaces
QUERY_SKILL_GROUP_STATISTICS_REQ
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
143
Application Level Interfaces
QUERY_SKILL_GROUP_STATISTICS_REQ
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
144
Application Level Interfaces
QUERY_SKILL_GROUP_STATISTICS_REQ
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
145
Application Level Interfaces
QUERY_SKILL_GROUP_STATISTICS_REQ
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
146
Application Level Interfaces
QUERY_SKILL_GROUP_STATISTICS_REQ
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
147
Application Level Interfaces
QUERY_SKILL_GROUP_STATISTICS_REQ
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
148
Application Level Interfaces
QUERY_SKILL_GROUP_STATISTICS_REQ
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
149
Application Level Interfaces
QUERY_SKILL_GROUP_STATISTICS_REQ
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
150
Application Level Interfaces
QUERY_SKILL_GROUP_STATISTICS_REQ
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
151
Application Level Interfaces
QUERY_SKILL_GROUP_STATISTICS_REQ
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
152
Application Level Interfaces
QUERY_SKILL_GROUP_STATISTICS_REQ
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
153
Application Level Interfaces
QUERY_SKILL_GROUP_STATISTICS_REQ
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
154
Application Level Interfaces
QUERY_SKILL_GROUP_STATISTICS_REQ
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
155
Application Level Interfaces
QUERY_SKILL_GROUP_STATISTICS_REQ
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
156
Application Level Interfaces
QUERY_SKILL_GROUP_STATISTICS_REQ
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
157
Application Level Interfaces
REGISTER_VARIABLES_REQ
Related Topics
CALL_DELIVERED_EVENT, on page 58
Special Values, on page 251
REGISTER_VARIABLES_REQ
The REGISTER_VARIABLES_REQ message allows a CTI Client to register the call context variables that
it will use. By default, a CTI Client that does not explicitly register variables will receive all call and ECC
variables. If a CTI Client does not want to receive all possible variables, it must explicitly register for each
variable that it wants.
Fixed Part
InvokeID Set to the value of the InvokeID from the corresponding request UINT 4
message.
NumNamed The number of NamedArray floating fields present in the floating USHORT 2
Arrays part of the message.
Floating Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
158
Application Level Interfaces
REGISTER_VARIABLES_REQ
NamedVariable A variable name defined in the Unified CCE that the CTI Client NAMED 251
(optional) wishes to use. There may be an arbitrary number of Named VAR
Variable and NamedArray fields in the message, up to a combined
total limit of 2000 bytes. The variable value provided is ignored
in this request.
NamedArray An array variable name defined in the Unified CCE that the CTI NAMED 252
(optional) Client wishes to use. There may be an arbitrary number of Named ARRAY
Variable and NamedArray fields in the message, up to a combined
total limit of 2000 bytes. The array index and value provided are
ignored in this request.
If any specified Named Variable or Named Array is subsequently removed from the Unified CCE while the
CTI Client session is still open, the CTI Server will send a FAILURE_EVENT message to the CTI Client.
If any specified Named Variable or Named Array is not currently configured in the Unified CCE, the CTI
Server responds to the CTI Client with a FAILURE_CONF message. Otherwise, the CTI Server responds
with a REGISTER_VARIABLES_CONF message:
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
159
Application Level Interfaces
SET_APP_DATA_REQ
Related Topics
NAMEDVAR Data Type, on page 27
NAMEDARRAY Data Type, on page 27
SET_APP_DATA_REQ
This message is sent by a CTI Client to set one or more application variables. Variables not provided in the
message are not affected.
Fixed Part
InvokeID An ID for this request message that will be returned in the UINT 4
corresponding confirm message.
Floating Part
… … … …
PreCallInvokeID If present, specifies the invoke of the PreCall related to this UNIT 4
(optional) event.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
160
Application Level Interfaces
START_RECORDING_REQ
When the requested call variables have been updated, and the new values are guaranteed to remain set in the
event that the CTI session is abnormally terminated, the CTI Server responds to the CTI Client that requested
the update with the SET_APP_DATA_CONF message:
InvokeID Set to the same value as the InvokeID from the corresponding UINT 4
request message.
START_RECORDING_REQ
A CTI client may send a START_RECORDING_REQ message, requesting CTI server to start recording a
call. Upon receiving the START_RECORDING_REQ, CTI server will try to find an available recording
server to satisfy the recording request. The recording server will return START_RECORDING_CONF to
CTI Server. Upon receipt of the START_RECORDING_CONF from the recording server, it will send
START_RECORDING_CONF to the requesting CTI client.
Fixed Part
InvokeID An ID for this request message that will be returned in the UINT 4
corresponding confirm message.
PeripheralID The PeripheralID of the ACD where the call is located. UINT 4
ConnectionCallID The Call ID value assigned to this call by the peripheral or UINT 4
Unified CCE.
ClientPort The TCP/IP port number of the VoIP media stream. UINT 4
BitRate The media bit rate, used for g.723 payload only. UINT 4
ConnectionDevice Indicates the type of the connection identifier supplied in the USHORT 2
IDType ConnectionDeviceID floating field.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
161
Application Level Interfaces
START_RECORDING_REQ
Direction The direction of the event. One of the following values: USHORT 2
0: Input;
1: Output;
2: Bi-directional.
Floating Part
ConnectionDevice The identifier of the connection between the call and the device. STRING 64
ID
ClientID (server The ClientID of the CTI client requesting call recording, STRING 64
only) provided by CTIServer when this message is sent to a server
application.
ClientAddress The IP address of the CTI client requesting call recording, STRING 64
(server only) provided by CTIServer when this message is sent to a server
application.
AgentExtension The agent’s ACD teleset extension. For requesting clients with STRING 16
ALL EVENTS or PERIPHERAL MONITOR service, at least
one of AgentExtension, AgentID, or AgentInstrument must
be provided.
AgentID The agent’s ACD login ID. For requesting clients with ALL STRING 12
EVENTS or PERIPHERAL MONITOR service, at least one
of AgentExtension, AgentID, or AgentInstrument must be
provided.
AgentInstrument The agent’s ACD instrument number. For requesting clients STRING 64
with ALL EVENTS or PERIPHERAL MONITOR service, at
least one of AgentExtension, AgentID, or AgentInstrument
must be provided.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
162
Application Level Interfaces
START_RECORDING_REQ
The CTIServer forwards the START_RECORDING_REQ message to one or more servers applications that
have registered the “Cisco:CallRecording” service. The recording server will return the
START_RECORDING_CONF message when call recording has been activated. Upon receipt of the
START_RECORDING_CONF, the CTI Server forwards the response to the requesting CTI Client:
Fixed Part
InvokeID Set to the same value as the InvokeID from the corresponding UINT 4
request message.
SessionID A value that uniquely identifies the server application session UINT 4
providing the call recording service that should be supplied by
the client in the STOP_RECORDING_REQ message that
terminates this recording. Server applications should set this
field to 0xffffffff if the subsequent STOP_ RECORDING_REQ
should be sent only to that server, or set to zero if the
STOP_RECORDING_REQ may be sent to any registered
server.
ServerData An ID or other server value associated with this call recording UINT 4
that should be supplied by the client in the
STOP_RECORDING_REQ message that terminates this
recording.
Floating Part
ClientID (client The ClientID of the server application providing the call STRING 64
only) recording service, provided by CTIServer when this message
is sent to a client application.
ClientAddress The IP address of the server application providing the call STRING 64
(client only) recording service, provided by CTIServer when this message
is sent to a client application.
Related Topics
ConnectionDeviceIDType Values, on page 277
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
163
Application Level Interfaces
STOP_RECORDING_REQ
STOP_RECORDING_REQ
This table defines the format of the STOP_RECORDING_REQ message:
Fixed Part
InvokeID An ID for this request message that will be returned in the UINT 4
corresponding confirm message.
PeripheralID The PeripheralID of the ACD where the call is located. UINT 4
ConnectionCallID The Call ID value assigned to this call by the peripheral or UINT 4
Unified CCE.
ClientPort The TCP/IP port number of the VoIP media stream. UINT 4
SessionID A value that uniquely identifies the server application session UINT 4
providing the call recording service that was returned to the
client in the START_RECORDING_CONF message that
initiated this recording. A zero value indicates that the request
may be directed to any registered server.
ServerData The ID or other server value associated with this call recording UINT 4
that was returned to the client in the
START_RECORDING_CONF message that initiated this
recording.
ConnectionDevice Indicates the type of the connection identifier supplied in the USHORT 2
IDType ConnectionDeviceID floating field.
Direction The direction of the event. One of the following values: USHORT 2
0: Input;
1: Output;
2: Bi-directional.
Floating Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
164
Application Level Interfaces
STOP_RECORDING_REQ
ConnectionDevice The identifier of the connection between the call and the device. STRING 64
ID
ClientID (server The ClientID of the CTI client making this request, provided STRING 64
only) by CTIServer when this message is sent to a server application.
ClientAddress The IP address of the CTI making this request, provided by STRING 64
(server only) CTIServer when this message is sent to a server application.
AgentExtension The agent’s ACD teleset extension. For requesting clients with STRING 16
ALL EVENTS or PERIPHERAL MONITOR service, at least
one of AgentExtension, AgentID, or AgentInstrument must
be provided.
AgentID The agent’s ACD login ID. For requesting clients with ALL STRING 12
EVENTS or PERIPHERAL MONITOR service, at least one
of AgentExtension, AgentID, or AgentInstrument must be
provided.
AgentInstrument The agent’s ACD instrument number. For requesting clients STRING 64
with ALL EVENTS or PERIPHERAL MONITOR service, at
least one of AgentExtension, AgentID, or AgentInstrument
must be provided.
The CTIServer forwards the STOP_RECORDING_REQ message to the server application with session
SessionID if non-zero, or if SessionID is zero to one or more server applications that have registered the
“Cisco:CallRecording” service. The recording server will return the STOP_RECORDING_CONF message
when call recording has been terminated. Upon receipt of the STOP_RECORDING_CONF, the CTI Server
forwards the response to the requesting CTI Client:
Fixed Part
InvokeID Set to the same value as the InvokeID from the corresponding UINT 4
request message.
Floating Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
165
Application Level Interfaces
AGENT_DESK_SETTINGS_REQ
ClientID (client only) The ClientID of the server application terminating the call STRING 64
recording service, provided by CTIServer when this message
is sent to a client application.
ClientAddress (client The IP address of the server application terminating the call STRING 64
only) recording service, provided by CTIServer when this message
is sent to a client application.
Related Topics
ConnectionDeviceIDType Values, on page 277
AGENT_DESK_SETTINGS_REQ
This table defines the format of the AGENT_DESK_SETTINGS_REQ message:
Fixed Part
InvokeID Set to the same value as the InvokeID from the UINT 4
corresponding request message.
Floating Part
Fixed Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
166
Application Level Interfaces
AGENT_DESK_SETTINGS_REQ
InvokeID Set to the same value as the InvokeID from the UINT 4
corresponding request message.
QualityRecording Rate Indicates how frequently calls to the agent are UINT 4
recorded.
RingNoAnswer Time Number of seconds a call may ring at the agent’s UINT 4
station before being redirected.
SupervisorAssist Set for Unified CCE PIM will create a blind UINT 4
CallMethod conference call for supervisor assist request;
otherwise will create consultative call.
EmergencyCall Method Set for Unified CCE PIM will create a blind UINT 4
conference call for emergency call request;
otherwise create a consultative call.
AutoRecordOn Emergency Set for automatically record when emergency call UINT 4
request.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
167
Application Level Interfaces
AGENT_DESK_SETTINGS_REQ
Floating Part
DefaultDevicePort Address Optional value to override the default port address STRING 32
for the agent telephony device.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
168
Application Level Interfaces
Connection Monitor Service
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
169
Application Level Interfaces
Client Control Service
FailureCode A Status Code value specifying the reason that the USHORT 2
request failed.
The CTI client may receive unsolicited call or agent event messages that are caused by the request before or
after the request confirmation message.
This figure illustrates the general Client Control message flow (using the messages to control agent state,
described later in this section):
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
170
Application Level Interfaces
Client Control Service
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
171
Application Level Interfaces
QUERY_AGENT_STATE_REQ
Related Topics
Failure Indication Message Status Codes, on page 244
QUERY_AGENT_STATE_REQ
Send this message to retrieve the current state of an agent at a specified device.
Fixed Part
ICMAgentID The Skill Target ID, a unique agent identifier for INT 4
Unified CCE. At least one of ICMAgentID,
AgentExtension, AgentID, or AgentInstrument must
be provided.
Floating Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
172
Application Level Interfaces
QUERY_AGENT_STATE_REQ
The CTI Server sends the QUERY_AGENT_STATE CONF message as the query response:
Fixed Part
InvokeID Set to the value of the InvokeID from the corresponding UINT 4
request message.
NumSkillGroups The number of Skill Groups that the agent is currently USHORT 2
associated with, up to a maximum of 20. This value also
indicates the number of SkillGroup Number,
SkillGroupID, SkillGroup Priority, and Skill GroupState
floating fields in the floating part of the message.
AgentMode The mode that the agent will be in when the login USHORT 2
completes. ROUTABLE = 1, NOT ROUTABLE = 0
MaxTaskLimit The maximum number of tasks that the agent can be UINT 4
simultaneously working on.
ICMAgentID The Skill Target ID, a unique agent identifier for Unified INT 4
CCE.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
173
Application Level Interfaces
QUERY_AGENT_STATE_REQ
Floating Part
AgentID (optional) The agent’s ACD login ID, if an agent is logged into the STRING 12
specified device.
SkillGroup Number The number of an agent Skill Group queue that the call UINT 4
has been added to, as known to the peripheral. May
contain the special value NULL_SKILL_GROUP when
not applicable or not available. There may be more than
one SkillGroupNumber field in the message (see
NumSkillGroups).
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
174
Application Level Interfaces
SET_AGENT_STATE_REQ
SkillGroup Priority The priority of the skill group, or 0 when skill group USHORT 2
priority is not applicable or not available. There may be
more than one SkillGroup Priority field in the message
(see NumSkillGroups). This field always immediately
follows the corresponding SkillGroupID field.
SkillGroupState One of the values from representing the current state of USHORT 2
the associated agent with respect to the skill group.
There may be more than one SkillGroupState field in
the message (see NumSkillGroups). This field always
immediately follows the corresponding
SkillGroupPriority field.
InternalAgentState A value representing the agent's internal state. All the USHORT 2
transitional states the agent goes through are part of
agent internal states values. Cisco reserved this tag for
internal use only.
Related Topics
Agent Internal States Message Values, on page 296
AgentState Values, on page 265
Special Values, on page 251
SET_AGENT_STATE_REQ
Use this message to change an ACD agent state to one of the values defined below.
Note For Remote Agent login, use “;” to separate the instrument and agent phone number in the AgentInstrument
field. Use RA_CALL_BY_CALL or RA_NAILED_CONNECTION in the AgentWorkMode field for
the Remote Agent login mode.
Fixed Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
175
Application Level Interfaces
SET_AGENT_STATE_REQ
Floating Part
AgentID (optional) The agent’s ACD login ID. This field is STRING 12
required when AgentState is AGENT_
STATE_LOGIN or AGENT_
STATE_LOGOUT.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
176
Application Level Interfaces
SET_AGENT_STATE_REQ
AgentPassword (optional) The password that allows an agent to log into STRING 64
or out of an agent SkillGroup. This field is
required when AgentState is
AGENT_STATE_LOGIN or AGENT_
STATE_LOGOUT and the SSOEnabled
element is not set to 1.
The CTI Server sends the SET_AGENT_STATE_CONF message to confirm receipt of the request:
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
177
Application Level Interfaces
ALTERNATE_CALL_REQ
InvokeID Set to the value of the InvokeID from the corresponding request UINT 4
message.
Related Topics
AgentState Values, on page 265
AgentWorkMode Values, on page 291
CALL_DELIVERED_EVENT, on page 58
ALTERNATE_CALL_REQ
Use this message to alternate between calls. This message requests the compound action of placing an active
call on hold and then either retrieving a previously held call or answering an alerting call at the same device.
Fixed Part
PeripheralID The PeripheralID of the ACD where the calls are located. UINT 4
ActiveConnection The Call ID value assigned to the currently active call by UINT 4
CallID the peripheral or Unified CCE.
OtherConnection CallID The Call ID value assigned to the other call by the peripheral UINT 4
or Unified CCE.
Floating Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
178
Application Level Interfaces
ANSWER_CALL_REQ
ActiveConnection The device ID of the device associated with the currently STRING 64
DeviceID active connection.
OtherConnection Device The device ID of the device associated with the other STRING 64
ID connection.
The CTI Server sends the ALTERNATE_CALL_CONF message to confirm receipt of the request:
Related Topics
ConnectionDeviceIDType Values, on page 277
ANSWER_CALL_REQ
Use this message upon delivery of an alerting call, to connect the alerting call at the device that is alerting.
The ANSWER_CALL_REQ message is defined in this table:
Fixed Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
179
Application Level Interfaces
CLEAR_CALL_REQ
Floating Part
The CTI Server sends the ANSWER_CALL_CONF message to confirm receipt of the request:
InvokeID Set to the value of the InvokeID from the corresponding UINT 4
request message.
Related Topics
ConnectionDeviceIDType Values, on page 277
CLEAR_CALL_REQ
Use this message on hanging up a call, to release all devices from the specified call.
Fixed Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
180
Application Level Interfaces
CLEAR_CONNECTION_REQ
PeripheralID The PeripheralID of the ACD where the call is located. UINT 4
ConnectionCallID The Call ID value assigned to the call by the peripheral or UINT 4
Unified CCE.
Floating Part
ConnectionDevice ID The device ID of the device associated with the connection. STRING 64
The CTI Server sends the CLEAR_CALL_CONF message to confirm receipt of the request:
Related Topics
ConnectionDeviceIDType Values, on page 277
CLEAR_CONNECTION_REQ
Use this message on hanging up a specific phone, to release the device connection from the designated call.
Fixed Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
181
Application Level Interfaces
CLEAR_CONNECTION_REQ
PeripheralID The PeripheralID of the ACD where the call is located. UINT 4
ConnectionCallID The Call ID value assigned to the call by the peripheral or UINT 4
Unified CCE.
RequestingDevice Indicates the type of the device identifier supplied in the USHORT 2
IDType (optional) RequestingDeviceID field. NONE is an acceptable value.
Floating Part
AgentInstrument The ACD instrument number of the instrument with device STRING 64
(optional) connection that is to be released.
CTIOSCILClientID Unique ID for use by CTI OS to identify the CIL Client. STRING 64
RequestingDeviceID Optionally specifies the controller device requesting the clear STRING 64
(optional) operation.
The CTI Server sends the CLEAR_CONNECTION_CONF message to confirm receipt of the request:
InvokeID Set to the value of the InvokeID from the corresponding UINT 4
request message.
Related Topics
ConnectionDeviceIDType Values, on page 277
DeviceIDType Values, on page 274
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
182
Application Level Interfaces
CONFERENCE_CALL_REQ
CONFERENCE_CALL_REQ
Use this message to conference an existing held call with another active call. The two calls are merged and
the two connections at the conferencing device are in the connected state.
Fixed Part
HeldConnection CallID The Call ID value assigned to the held call by UINT 4
the peripheral or Unified CCE.
ActiveConnection CallID The Call ID value assigned to the active call by UINT 4
the peripheral or Unified CCE.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
183
Application Level Interfaces
CONFERENCE_CALL_REQ
Floating Part
ActiveConnection DeviceID The device ID of the device associated with the STRING 64
active connection.
HeldConnection Device ID The device ID of the device associated with the STRING 64
held connection.
… … … …
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
184
Application Level Interfaces
CONFERENCE_CALL_REQ
NamedVariable (optional) Call-related variable data that has a variable NAMEDVAR 251
name defined in the Unified CCE. There may
be an arbitrary number of NamedVariable and
NamedArray fields in the message, subject to a
combined total limit of 2000 bytes.
NamedArray (optional) Call-related variable data that has an array NAMED 252
variable name defined in the Unified CCE. There ARRAY
may be an arbitrary number of Named Variable
and NamedArray fields in the message, subject
to a combined total limit of 2000 bytes.
The CTI Server sends the CONFERENCE_CALL_CONF message to confirm receipt of the request:
Fixed Part
LineHandle This field identifies the teleset line used, if known. USHORT 2
Otherwise this field is set to 0xffff.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
185
Application Level Interfaces
CONSULTATION_CALL_REQ
LineType The type of the teleset line in the LineHandle field. USHORT 2
Floating Part
NewConnection DeviceID The device ID of the device associated with the STRING 64
connection.
ConnectedParty CallID The Call ID value assigned to one of the conference UINT 4
(optional) call parties. There may be more than one
ConnectedParty CallID field in the message (see
NumParties).
ConnectedParty DeviceID The device identifier of one of the conference call STRING 64
(optional) parties. There may be more than one
ConnectedParty DeviceID field in the message (see
NumParties). This field always immediately follows
the corresponding Connected PartyDeviceIDType
field.
Related Topics
AnsweringMachine Values, on page 290
CallMannerType Values, on page 288
CallOption Values, on page 288
CallPlacementType Values, on page 287
ConnectionDeviceIDType Values, on page 277
FacilityType Values, on page 289
LineType Values, on page 278
NAMEDVAR Data Type, on page 27
NAMEDARRAY Data Type, on page 27
CONSULTATION_CALL_REQ
Use this message to request the combined action of placing an active call on hold and then making a new call.
By default, the CTI Server uses the call context data of the active call to initialize the context data of the
consultation call. You can override some or all of this original call context in the consultation call by providing
the desired values in this request.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
186
Application Level Interfaces
CONSULTATION_CALL_REQ
Because this request includes putting the call on hold, you cannot use it for a call that is already on hold. If
you use this in a third-party desktop, the desktop must disable any options that make use of this call when the
active call is on hold.
Fixed Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
187
Application Level Interfaces
CONSULTATION_CALL_REQ
Floating Part
… … … …
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
188
Application Level Interfaces
CONSULTATION_CALL_REQ
NamedVariable (optional) Call-related variable data that has a variable NAMEDVAR 251
name defined in the Unified CCE. There
may be an arbitrary number of Named
Variable and NamedArray fields in the
message, subject to a combined total limit
of 2000 bytes.
NamedArray (optional) Call-related variable data that has an array NAMEDARRAY 252
variable name defined in the Unified CCE.
There may be an arbitrary number of
Named Variable and NamedArray fields
in the message, subject to a combined total
limit of 2000 bytes.
The CTI Server sends the CONSULTATION_CALL_CONF message to confirm receipt of the request:
Fixed Part
NewConnection CallID The Call ID value assigned to the resulting new call UINT 4
by the peripheral or Unified CCE.
LineHandle This field identifies the teleset line used, if known. USHORT 2
Otherwise this field is set to 0xffff.
LineType The type of the teleset line in the LineHandle field. USHORT 2
Floating Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
189
Application Level Interfaces
DEFLECT_CALL_REQ
NewConnection DeviceID The device ID of the device associated with the new STRING 64
call.
Related Topics
AnsweringMachine Values, on page 290
CallMannerType Values, on page 288
CallOption Values, on page 288
CallPlacementType Values, on page 287
ConnectionDeviceIDType Values, on page 277
ConsultType Values, on page 289
FacilityType Values, on page 289
LineType Values, on page 278
NAMEDVAR Data Type, on page 27
NAMEDARRAY Data Type, on page 27
DEFLECT_CALL_REQ
Use this message during a call forward operation, to take an alerting call from a known device and move it
to another device.
Fixed Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
190
Application Level Interfaces
HOLD_CALL_REQ
Floating Part
The CTI Server sends the DEFLECT_CALL_CONF message to confirm receipt of the request:
Related Topics
ConnectionDeviceIDType Values, on page 277
DeviceIDType Values, on page 274
HOLD_CALL_REQ
Use this message to place an existing call connection into the held state.
Fixed Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
191
Application Level Interfaces
MAKE_CALL_REQ
Reservation TRUE to reserve the facility for reuse by the held BOOL 2
call. Not appropriate for most non-ISDN telephones.
Floating Part
The CTI Server sends the HOLD_CALL_CONF message to confirm receipt of the request.
InvokeID Set to the value of the InvokeID from the corresponding request UINT 4
message.
Related Topics
ConnectionDeviceIDType Values, on page 277
MAKE_CALL_REQ
Use this message to initiate a call between two devices. This request attempts to create a new call and establish
a connection between the calling device (originator) and the called device (destination).
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
192
Application Level Interfaces
MAKE_CALL_REQ
Fixed Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
193
Application Level Interfaces
MAKE_CALL_REQ
Floating Part
… … … …
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
194
Application Level Interfaces
MAKE_CALL_REQ
The CTI Server sends the MAKE_CALL_CONF message to confirm receipt of the request.
Fixed Part
NewConnection CallID The Call ID value assigned to the call by the UINT 4
peripheral or Unified CCE.
Floating Part
NewConnection DeviceID The device ID of the device associated with the STRING 64
connection.
Related Topics
AnsweringMachine Values, on page 290
CallMannerType Values, on page 288
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
195
Application Level Interfaces
MAKE_PREDICTIVE_CALL_REQ
MAKE_PREDICTIVE_CALL_REQ
Use this message to request the initiation of a call between a group of devices and a logical device on behalf
of a calling device (originating). The request creates a new call and establishes a connection with the called
device (terminating).
Fixed Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
196
Application Level Interfaces
MAKE_PREDICTIVE_CALL_REQ
Priority Set this field to TRUE if the call should receive BOOL 2
priority handling.
Floating Part
OriginatingDevice ID The ACD device (CCT, VDN, etc.) that will STRING 64
originate the call.
… … … …
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
197
Application Level Interfaces
MAKE_PREDICTIVE_CALL_REQ
NamedVariable (optional) Call-related variable data that has a variable NAMEDVAR 251
name defined in the Unified CCE. There may be
an arbitrary number of Named Variable and
NamedArray fields in the message, subject to a
combined total limit of 2000 bytes.
NamedArray (optional) Call-related variable data that has an array NAMED 252
variable name defined in the Unified CCE. There ARRAY
may be an arbitrary number of Named Variable
and NamedArray fields in the message, subject
to a combined total limit of 2000 bytes.
OriginatingLineID (optional) The originating line ID to be used for the call STRING 40
(not supported by all ACDs and trunk types).
CCT (optional) Call control table, required for Aspect PIM STRING 4
unless Call Placement Type is
CPT_OUTBOUND.
Fixed Part
InvokeID Set to the same value as the InvokeID from the UINT 4
corresponding request message.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
198
Application Level Interfaces
RECONNECT_CALL_REQ
LineHandle This field identifies the teleset line used, if known. USHORT 2
Otherwise this field is set to 0xffff.
LineType Indicates the type of the teleset line given in the USHORT 2
LineHandle field.
Floating Part
Related Topics
AllocationState Values, on page 285
AnswerDetectMode Values, on page 290
RECONNECT_CALL_REQ
Use this message to request the combined action of clearing an active call and then retrieving an existing held
call.
Fixed Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
199
Application Level Interfaces
RETRIEVE_CALL_REQ
Floating Part
The CTI Server sends the RECONNECT_CALL_CONF message to confirm receipt of the request:
Related Topics
ConnectionDeviceIDType Values, on page 277
RETRIEVE_CALL_REQ
Use this message to retrieve an existing held connection.
Fixed Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
200
Application Level Interfaces
TRANSFER_CALL_REQ
HeldConnection CallID The Call ID value assigned to the held call by the UINT 4
peripheral or Unified CCE.
Floating Part
HeldConnection DeviceID The device ID of the device associated with the STRING 64
held connection.
The CTI Server sends the RETRIEVE_CALL_CONF message to confirm receipt of the request.
Related Topics
ConnectionDeviceIDType Values, on page 277
TRANSFER_CALL_REQ
Use this message to transfer a held call to an active call. The two calls must have connections to a single
common device. Upon transfer, both of the connections with the common device become NULL and their
connection identifiers are released.
You can also use this message to transfer an active call to another number (single step or blind transfer).
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
201
Application Level Interfaces
TRANSFER_CALL_REQ
Fixed Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
202
Application Level Interfaces
TRANSFER_CALL_REQ
Floating Part
… … … …
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
203
Application Level Interfaces
TRANSFER_CALL_REQ
NamedVariable (optional) Call-related variable data that has a variable NAMED VAR 251
name defined in the Unified CCE. There
may be an arbitrary number of Named
Variable and NamedArray fields in the
message, subject to a combined total limit
of 2000 bytes.
NamedArray (optional) Call-related variable data that has an array NAMED 252
variable name defined in the Unified CCE. ARRAY
There may be an arbitrary number of Named
Variable and NamedArray fields in the
message, subject to a combined total limit
of 2000 bytes.
The CTI Server sends the TRANSFER_CALL_CONF message to confirm receipt of the request.
Fixed Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
204
Application Level Interfaces
TRANSFER_CALL_REQ
Floating Part
Related Topics
AnsweringMachine Values, on page 290
CallMannerType Values, on page 288
CallOption Values, on page 288
CallPlacementType Values, on page 287
ConnectionDeviceIDType Values, on page 277
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
205
Application Level Interfaces
QUERY_DEVICE_INFO_REQ
QUERY_DEVICE_INFO_REQ
Use this message to retrieve general information about a specified device.
Fixed Part
Reserved Reserved for internal use, set this field to zero. USHORT 2
Floating Part
Fixed Part
InvokeID Set to the value of the InvokeID from the corresponding UINT 4
request message.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
206
Application Level Interfaces
QUERY_DEVICE_INFO_REQ
MaxDevicesIn Conference The maximum number of devices that may participate USHORT 2
in conference calls at the device. Set to 0xFFFF if
unknown or unavailable.
Floating Part
LineHandle This field identifies the “handle” that is used by the USHORT 2
Unified CCE for this teleset line. There may be more
than one LineHandle field in the message (see
NumLines).
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
207
Application Level Interfaces
QUERY_DEVICE_INFO_REQ
LineType The type of the teleset line in the preceding Line Handle USHORT 2
field. There may be more than one LineHandle field in
the message (see NumLines). This field always
immediately follows the corresponding LineHandle field.
CONF_SETUP_CONSULT_SPECIFIC ACD call and consultation call that was initiated with a 0x00000001
specific transfer or conference CallType.
CONF_SETUP_CONSULT_ANY ACD call and consultation call that was initiated with 0x00000002
any CallType.
CONF_SETUP_CONN_ HELD Any connected call and any held call. 0x00000004
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
208
Application Level Interfaces
QUERY_DEVICE_INFO_REQ
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
209
Application Level Interfaces
SNAPSHOT_CALL_REQ
Related Topics
AgentState Values, on page 265
ClassOfDevice Values, on page 287
LineType Values, on page 278
PeripheralType Values, on page 267
TypeOfDevice Values, on page 286
SNAPSHOT_CALL_REQ
Use this message to retrieve information about a specified call, including a list of the associated devices and
the connection state for each device.
Fixed Part
Floating Part
The CTI Server sends the SNAPSHOT_CALL_CONF message to provide the requested data.
Fixed Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
210
Application Level Interfaces
SNAPSHOT_CALL_REQ
Floating Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
211
Application Level Interfaces
SNAPSHOT_CALL_REQ
RouterCallKey CallID The call key created by Unified CCE. Unified UINT 4
CCE resets this counter at midnight.
… … … …
NamedVariable (optional) Call-related variable data that has a variable NAMED VAR 251
name defined in the Unified CCE. There may
be an arbitrary number of Named Variable and
NamedArray fields in the message, subject to a
combined total limit of 2000 bytes.
NamedArray (optional) Call-related variable data that has an array NAMED 252
variable name defined in the Unified CCE. There ARRAY
may be an arbitrary number of Named Variable
and NamedArray fields in the message, subject
to a combined total limit of 2000 bytes.
CTIClient Timestamp The date and time that the preceding CTIClient TIME 4
signature was first associated with the call. There
may be more than one CTIClientTimestamp field
in the message (see NumCTI Clients). This field
always immediately follows the
CTIClientSignature field to which it refers.
CallConnection CallID The Call ID value assigned to one of the call UINT 4
(optional) device connections. There may be more than one
CallConnection CallID field in the message (see
NumCallDevices).
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
212
Application Level Interfaces
SNAPSHOT_CALL_REQ
CallConnection DeviceID The device identifier of one of the call device STRING 64
(optional) connections. There may be more than one
CallConnection DeviceID field in the message
(see Num CallDevices). This field always
immediately follows the corresponding
CallConnection DeviceIDType field.
CallDeviceID (optional) The device ID of the subject device. There may STRING 64
be more than one CallDeviceID field in the
message (see NumCall Devices). This field
always immediately follows the corresponding
CallDevice IDType field.
CallDevice Connection State The local connection state of one of the call USHORT 2
(optional) device connections. There may be more than one
Call DeviceConnection State field in the message
(see NumCall Devices). This field always
immediately follows the corresponding
CallDeviceID field.
CallReferenceID (optional) For Unified CCE systems where the Unified CM UNSPEC 32
provides it, this will be a unique call identifier.
Related Topics
CallType Values, on page 275
ConnectionDeviceIDType Values, on page 277
DeviceIDType Values, on page 274
LocalConnectionState Values, on page 268
NAMEDVAR Data Type, on page 27
NAMEDARRAY Data Type, on page 27
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
213
Application Level Interfaces
SNAPSHOT_DEVICE_REQ
SNAPSHOT_DEVICE_REQ
Use this message to retrieve information on a specified device, including a list of the calls associated with the
device and the current state of each call. The CTI Client must be granted both Client Control and All Events
services to look at all devices.
Fixed Part
SnapshotDeviceType For non-agent devices this indicates the type of the USHORT 2
device specified in the DeviceIDType Values table
supplied in the following AgentInstrument floating
field.
Floating Part
The CTI Server sends the SNAPSHOT_DEVICE_CONF message to provide the requested data.
Fixed Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
214
Application Level Interfaces
SNAPSHOT_DEVICE_REQ
Floating Part
CallState (optional) The active state of the call. There may be USHORT 2
more than one CallState field in the message
(see NumCalls). This field always
immediately follows the corresponding Call
ConnectionDeviceID field.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
215
Application Level Interfaces
SEND_DTMF_SIGNAL_REQ
SilentMonitorStatus (optional) The silent monitor status for the call: USHORT 2
0: normal call (not silent monitor call)
1: monitor initiator of silent monitor call. This
call was the result of a supervisor silently
monitoring an agent.
2: monitor target of silent monitor call. This
call was the result of an agent being silently
monitored.
There may be more than one
SilentMonitorStatus field in the message (see
NumCalls). This field always immediately
follows the corresponding CallState field.
Related Topics
ConnectionDeviceIDType Values, on page 277
DeviceIDType Values, on page 274
LocalConnectionState Values, on page 268
Special Values, on page 251
SEND_DTMF_SIGNAL_REQ
Use this message to request that the ACD transmits a sequence of DTMF tones on behalf of a call party.
Fixed Part
PeripheralID The Unified CCE PeripheralID of the ACD where the device UINT 4
is located.
ConnectionCallID The Call ID value assigned to the call by the peripheral or UINT 4
Unified CCE.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
216
Application Level Interfaces
SUPERVISOR_ASSIST_REQ
Floating Part
ConnectionDevice ID The device ID of the device associated with the connection. STRING 64
The CTI Server sends the SEND_DTMF_SIGNAL_CONF message to confirm receipt of the request.
InvokeID Set to the value of the InvokeID from the corresponding UINT 4
request message.
Related Topics
ConnectionDeviceIDType Values, on page 277
SUPERVISOR_ASSIST_REQ
When an agent needs supervisor assistance, an agent may send a SUPERVISOR_ASSIST_REQ message to
the CTI server asking for assistance from a team supervisor. The message will be forwarded to the PIM, who
will first check the team’s primary supervisor. If the primary supervisor is not available, the PIM will initiate
a post-route request to the Unified CCE CallRouter using the team’s configured DialedNumber to find an
available supervisor in the supervisor group. Once an available supervisor is found, a call with calltype
SUPERVISOR_ASSIST is initiated, and a SUPERVISOR_ASSIST_CONF will be sent to the requesting
client. If no supervisor can be found a FAILURE_CONF response is returned to the requesting client.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
217
Application Level Interfaces
SUPERVISOR_ASSIST_REQ
The SUPERVISOR_ASSIST_REQ message allows a CTI Client to notify the client agent’s supervisor that
assistance with the indicated call is required.
Fixed Part
InvokeID An ID for this request message that will be returned in the UINT 4
corresponding confirm message.
PeripheralID The Unified CCE PeripheralID of the ACD where the call is UINT 4
located.
ConnectionCallID The Call ID value of the call that the agent needs assistance UINT 4
with. May contain the special value 0xffffffff when there is
no related call.
ConnectionDevice Indicates the type of the connection identifier supplied in the USHORT 2
IDType ConnectionDeviceID floating field.
Floating Part
ConnectionDevice The identifier of the connection between the call and the agent’s STRING 64
ID device.
AgentExtension The agent’s ACD teleset extension. For clients with ALL STRING 16
EVENTS or PERIPHERAL MONITOR service, at least one
of AgentExtension, AgentID, or AgentInstrument must be
provided.
AgentID The agent’s ACD login ID. For clients with ALL EVENTS or STRING 12
PERIPHERAL MONITOR service, at least one of
AgentExtension, AgentID, or AgentInstrument must be
provided.
AgentInstrument The agent’s ACD instrument number. For clients with ALL STRING 64
EVENTS or PERIPHERAL MONITOR service, at least one
of AgentExtension, AgentID, or AgentInstrument must be
provided.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
218
Application Level Interfaces
EMERGENCY_CALL_REQ
When a supervisor CTI client has been notified the CTI Server responds to the CTI Client with the
SUPERVISOR_ASSIST_CONF message.
Fixed Part
InvokeID Set to the same value as the InvokeID from the corresponding UINT 4
request message.
ConnectionDevice Indicates the type of the connection identifier supplied in the USHORT 2
IDType ConnectionDeviceID floating field.
LineHandle This field identifies the teleset line used, if known. Otherwise USHORT 2
this field is set to 0xffff.
LineType Indicates the type of the teleset line given in the LineHandle USHORT 2
field.
Floating Part
ConnectionDevice The identifier of the device connection associated with the new STRING 64
ID call.
Related Topics
ConnectionDeviceIDType Values, on page 277
LineType Values, on page 278
EMERGENCY_CALL_REQ
When an agent needs to declare an emergency situation to their supervisor, an agent may send
EMERGENCY_CALL_REQ to the CTI server to notify an agent team supervisor. Like the Supervisor Assist
Request, the message will be forwarded to the PIM, who will first check the team’s primary supervisor. If the
primary supervisor is not available, the PIM will initiate a post-route request to the Unified CCE CallRouter
using the team’s configured DialedNumber to find an available supervisor in the supervisor group. Once an
available supervisor is found, a call with calltype EMERGENCY_ASSIST is initiated and an
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
219
Application Level Interfaces
EMERGENCY_CALL_REQ
Fixed Part
InvokeID An ID for this request message that will be returned in the UINT 4
corresponding confirm message.
PeripheralID The Unified CCE PeripheralID of the ACD where the call is UINT 4
located.
ConnectionCallID The Call ID value of the call that the agent needs assistance UINT 4
with. May contain the special value 0xffffffff when there is
no related call.
ConnectionDevice Indicates the type of the connection identifier supplied in the USHORT 2
IDType Connection DeviceID floating field.
Floating Part
ConnectionDevice The identifier of the connection between the call and the agent’s STRING 64
ID device.
AgentExtension The agent’s ACD teleset extension. For clients with ALL STRING 16
EVENTS or PERIPHERAL MONITOR service, at least one
of AgentExtension, AgentID, or AgentInstrument must be
provided.
AgentID The agent’s ACD login ID. For clients with ALL EVENTS or STRING 12
PERIPHERAL MONITOR service, at least one of
AgentExtension, AgentID, or AgentInstrument must be
provided.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
220
Application Level Interfaces
EMERGENCY_CALL_REQ
AgentInstrument The agent’s ACD instrument number. For clients with ALL STRING 64
EVENTS or PERIPHERAL MONITOR service, at least one
of AgentExtension, AgentID, or AgentInstrument must be
provided.
Fixed Part
InvokeID Set to the same value as the InvokeID from the corresponding UINT 4
request message.
ConnectionCallID The Call ID value of the call that the agent needs assistance UINT 4
with. Contains the special value 0xffffffff if there is no related
call.
ConnectionDevice Indicates the type of the connection identifier supplied in the USHORT 2
IDType Connection DeviceID floating field.
LineHandle This field identifies the teleset line used, if known. Otherwise USHORT 2
this field is set to 0xffff.
LineType Indicates the type of the teleset line given in the LineHandle USHORT 2
field.
Floating Part
ConnectionDevice The identifier of the connection between the call and the agent’s STRING 64
ID device.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
221
Application Level Interfaces
EMERGENCY_CALL_REQ
Fixed Part
PeripheralID The Unified CCE PeripheralID of the ACD where the call is UINT 4
located.
ConnectionCallID The Call ID value assigned to the call by the peripheral or UINT 4
Unified CCE.
ConnectionDevice Indicates the type of the connection identifier supplied in the USHORT 2
IDType ConnectionDeviceID floating field.
SessionID The CTI client SessionID of the CTI client making the UINT 4
notification.
Floating Part
ConnectionDevice The identifier of the connection between the call and the agent’s STRING 64
ID device.
Related Topics
ConnectionDeviceIDType Values, on page 277
LineType Values, on page 278
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
222
Application Level Interfaces
BAD_CALL_REQ
BAD_CALL_REQ
The agent or supervisor can click on a Bad Call Line button on their desktop to initiate this feature. A record
would capture the information of the trunk, gateways, and other devices used in the connection. This information
is intended to aid troubleshooting by service personnel.
When a line condition is in poor quality, an agent could send the BAD_CALL_REQ message to mark the bad
line.
Fixed Part
InvokeID An ID for this request message that will be returned in the UINT 4
corresponding confirm message.
PeripheralID The Unified CCE PeripheralID of the ACD where the call is UINT 4
located.
ConnectionDevice Indicates the type of the connection identifier supplied in the USHORT 2
IDType Connection DeviceID floating field.
ConnectionCallID The Call ID value of the call that the agent needs to mark to UINT 4
bad line call.
Floating Part
Connection The identifier of the connection between the call and the agent’s STRING 64
DeviceID device.
When the request has been processed, the CTI Server responds to the CTI Client with the BAD_CALL_CONF
message.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
223
Application Level Interfaces
AGENT_GREETING_CONTROL_REQ
InvokeID Set to the same value as the InvokeID from the corresponding UINT 4
request message.
Related Topics
ConnectionDeviceIDType Values, on page 277
AGENT_GREETING_CONTROL_REQ
The AGENT_GREETING_CONTROL_REQ allows the agent to stop the greeting while the greeting is
playing and allows the agent to enable or disable the playing of the greeting during a login sesssion.
Fixed Part
Field Name Value Data Type Byte Size
MessageHeader Standard message header. MHDR 8
MessageType = 249
PeripheralID The ICR PeripheralID of the ACD where the call UINT 4
is located.
Floating Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
224
Application Level Interfaces
Server Service
The CTI Server responds to the CTI Client with the AGENT GREETING_CONTROL_CONF message.
Fixed Part
Field Name Value Data Type Byte
Size
MessageHeader Standard message header. MHDR 8
MessageType = 250.
Server Service
Server Service
A server application specifies the new service type CTI_SERVICE_SERVER to identify itself as server
application. The server application then registers each service that it wishes to provide by sending a new
message, REGISTER_SERVICE_REQ, to the CTI Server. When a CTI client application requests a service
that is provided by a server application, such as CallRecording, the CTIServer selects a registered server
application and forwards the client request to the server application. If no server is registered for the desired
service the client request is refused with an E_CTI_NO_SERVER_FOR_REQUEST error.
The server service optionally allows multiple server applications to supply the same service. The ServerMode
registration parameter determines how a server is selected to handle a given request. All server applications
that wish to provide the same service must use the same ServerMode:
• Exclusive. The first server application to register the service is the only one to serve requests. All other
requests to register a server application for that service are refused with an
E_CTI_NO_SERVER_FOR_REQUEST.
• Round-Robin. Multiple server applications may register the service. The server application that has
been waiting the longest for a request of this service type is chosen to service the request.
• Parallel. Multiple server applications may register the service. Every request is sent to all registered
servers concurrently. Every server response is forwarded back to the requesting client.
REGISTER_SERVICE_REQ
Initially, the only service that server applications may provide is call recording by registering the
“Cisco:CallRecording” service using a REGISTER_SERVICE_REQ message.
Fixed Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
225
Application Level Interfaces
UNREGISTER_SERVICE_REQ
InvokeID An ID for this request message that will be returned in the UINT 4
corresponding confirm message.
ServerMode The CTI Server method is for selecting among multiple server USHORT 2
applications that register to provide this service. All servers
must specify the same ServerMode, one of the following
values:
0: Exclusive;
1: Round-Robin;
2: Parallel.
Floating Part
ServiceName The name of the service that the application wishes to provide. STRING 64
InvokeID Set to the same value as the InvokeID from the corresponding UINT 4
request message.
UNREGISTER_SERVICE_REQ
Prior to closing its session with the CTI Server, or at any time that the server application wishes to discontinue
providing a registered service, it must send an UNREGISTER_SERVICE_REQ message.
Fixed Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
226
Application Level Interfaces
Configuration Acquisition Messages
InvokeID An ID for this request message that is returned in the corresponding UINT 4
confirm message.
InvokeID Set to the same value as the InvokeID from the corresponding UINT 4
request message.
Configuration keys
The configuration key is an 8 byte unique identifier that will be maintained by the server and optionally saved
by the client. The purpose of each key is to allow the client to determine if any configuration changes have
occurred since they last received the configuration from the server. There are 4 individual keys allowing
granularity for each major configuration item. If the server does not support 4 individual keys then it should
send up a single key in all 4 individual keys so that all configuration operations will be done. The key(s)
should be changed on the server any time when there is a configuration change.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
227
Application Level Interfaces
Update messages
If a configuration is specified then immediately following the CONFIG_END_EVENT, server is free to send
up unsolicited configuration events.
Update messages
After the CONFIG_REQUEST_EVENT is received by the server, and if requested the configuration data is
sent up to the client, the server is free to send blocks of update configuration messages any time to the client.
Additionally, the server should honor the mask for the particular configuration event message types specified
in the OPEN_REQ message.
Message order
The configuration must be sent in a particular order. This order is as follows:
1 Service Information
2 Skill Group
3 Agent Information
4 Device Information
5 Call Type Information
6 Media Routing Domain Information
Please note that there are no Invocation ID for the request and response events. This is due to the fact that
only one request can be outstanding at one time.
CONFIG_REQUEST_KEY_EVENT
The CONFIG_REQUEST_KEY_EVENT may be sent by the client to request the current configuration keys
for different items.
CONFIG_REQUEST_KEY_EVENT Message Format
Fixed Part
Floating Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
228
Application Level Interfaces
CONFIG_KEY_EVENT
CONFIG_KEY_EVENT
The CONFIG_KEY_EVENT message is sent by the CTI Server in response to
CONFIG_REQUEST_KEY_EVENT message. It will contain the configuration keys at the time of the request.
Note that if the CTI Server doesn’t support separate keys that it may respond with 4 identical keys and it
should send the message with no optional fields. Returning any key of all binary 0’s will indicate to the client
that particular configuration should be uploaded.
Fixed Part
Floating Part
ServiceConfigKey The CTI Server configuration key for Services. UNSPEC (8) 8
SkillGroupConfigKey The CTI Server configuration key for Skill UNSPEC (8) 8
Groups.
AgentConfigKey The CTI Server configuration key for Agents. UNSPEC (8) 8
DeviceConfigKey The CTI Server configuration key for Device UNSPEC (8) 8
Information.
CallTypeConfigKey The CTI Server configuration key for Call Type UNSPEC (8) 8
Information.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
229
Application Level Interfaces
CONFIG_REQUEST_EVENT
CONFIG_REQUEST_EVENT
The CONFIG_REQUEST_EVENT message may be sent by the client whenever it wants to check andreceive
a particular configuration from the CTI Server. The CTI Server should respond by sending a
CONFIG_BEGIN_EVENT, CONFIG_xxx records, then a CONFIG_END block containing all records for
that configuration item.
Fixed Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
230
Application Level Interfaces
CONFIG_BEGIN_EVENT
Floating Part
CONFIG_BEGIN_EVENT
The CONFIG_BEGIN_EVENT signifies the beginning of configuration data (all of the same key) from the
CTI Server.
Fixed Part
Floating Part
SkillGroupConfigKey The CTI Server configuration key for Skill Groups. UNSPEC 8
(8)
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
231
Application Level Interfaces
CONFIG_SERVICE_EVENT
CallTypeConfi The CTI Server configuration key for Call Type Information. UNSPEC 8
Key (8)
CONFIG_SERVICE_EVENT
The CONFIG_SERVICE_EVENT message will be sent by the CTI Server to provide information about a
Service. Please note that the Peripheral Number field is considered unique for all records. Two records sent
with matching Peripheral Numbers will be the considered the same record.
Fixed Part
Floating Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
232
Application Level Interfaces
CONFIG_SERVICE_EVENT
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
233
Application Level Interfaces
CONFIG_SKILL_GROUP_EVENT
CONFIG_SKILL_GROUP_EVENT
The CONFIG_SKILL_GROUP_EVENT message will be sent to indicate a Skill Group configuration update.
Please note that the Peripheral Number field is considered unique for all records. Two records sent with
matching Peripheral Numbers will be the considered the same record.
Fixed Part
Floating Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
234
Application Level Interfaces
CONFIG_AGENT_EVENT
CONFIG_AGENT_EVENT
The CONFIG_AGENT_EVENT message is sent by the CTI Server to provide information about Agent.
Please note that the LoginID field is considered unique for all records. Two records sent with matching
LoginID’s are considered as the same record.
Fixed Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
235
Application Level Interfaces
CONFIG_AGENT_EVENT
Floating Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
236
Application Level Interfaces
CONFIG_AGENT_EVENT
Note The CONFIG_AGENT_EVENT sends MRD information only for baseline configurations. Configuration
updates will not have MRD information.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
237
Application Level Interfaces
CONFIG_DEVICE_EVENT
CONFIG_DEVICE_EVENT
The CONFIG_DEVICE_EVENT message will be sent by the CTI Server to indicate an update to some device
configuration. Devices are associated with all entities like Services, Skill Groups, Agent Phones, Route Points
and CTI ports etc. For these devices, CONFIG_DEVICE_EVENT message will be sent.
Fixed Part
NumRecords The number of records contained in the floating part of this USHORT 2
message. (>=1) (The entire floating portion) (Maximum of
10)
Floating Part
FltServiceID The Service this entry is associated with. (if any) UINT 4
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
238
Application Level Interfaces
CONFIG_CALL_TYPE_EVENT
CONFIG_CALL_TYPE_EVENT
The CONFIG_CALL_TYPE_EVENT message will be sent by the CTI Server to provide information about
a call type. Please note that the CallTypeID field is considered unique for all records. Two records sent with
matching CallTypeIDs will be the considered the same record.
Fixed Part
Floating Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
239
Application Level Interfaces
CONFIG_MRD_EVENT
CONFIG_MRD_EVENT
The CONFIG_MRD_EVENT will be sent by the CTI Server to provide infomration about a Media Routing
Domain. Please note that the MRDomainID field is considered unique for all records. Two records sent with
matching MRDomainIDs will be the considered the same record.
Fixed Part
NumRecords The number of records contained in the floating part of this USHORT 2
message. (>=1) (The entire floating portion) (Maximum of
10)
Floating Part
FltDescription A free form description of the Media Routing Domain. STRING 128
FltInterruptible Indicates whether tasks assigned from another MRD can BOOL 2
interrupt an agent.
CONFIG_END_EVENT
The CONFIG_END_EVENT message will be sent by the CTI Server to indicate the end of a successful
configuration upload or an error condition. It most likely will follow configuration records preceded by a
CONFIG_BEGIN_EVENT message to respond to a CONFIG_REQUEST_EVENT message indicating either
an error or there is no configuration for the items requested.
Please note that status CONFIGEND_PARTIAL is used during the initial configuration upload if the server
needs to break up the configuration into multiple CONFIG_BEGIN_EVENT/CONFIG_END_EVENT
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
240
Application Level Interfaces
CONFIG_END_EVENT
messages. In this case all but the last should be CONFIGEND_PARTIAL status. The reason for this is to let
the client know when the entire configuration has been received.
Fixed Part
Floating Part
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
241
Application Level Interfaces
CONFIG_END_EVENT
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
242
CHAPTER 6
Constants and Status Codes
• In this chapter, page 244
• Failure Indication Message Status Codes, page 244
• SystemEventID Values, page 250
• Special Values, page 251
• Tag Values, page 252
• AgentState Values, page 265
• PGStatusCode Values, page 266
• PeripheralType Values, page 267
• LocalConnectionState Values, page 268
• EventCause Values, page 269
• DeviceIDType Values, page 274
• CallType Values, page 275
• ConnectionDeviceIDType Values, page 277
• LineType Values, page 278
• ControlFailureCode Values, page 278
• AllocationState Values, page 285
• ForwardType Values, page 285
• TypeOfDevice Values, page 286
• ClassOfDevice Values, page 287
• CallPlacementType Values, page 287
• CallMannerType Values, page 288
• CallOption Values, page 288
• ConsultType Values, page 289
• FacilityType Values, page 289
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
243
Constants and Status Codes
In this chapter
In this chapter
This section lists the possible values for various status codes and fields that can appear in CTI Server messages.
These values are defined in the CTILink.h file, located in the \icm\include directory.
E_CTI_INVALID_ VERSION The CTI Server does not support the protocol 1
version number requested by the CTI client.
E_CTI_REQUIRED_ DATA_ MISSING The request did not include one or more 6
floating items that are required.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
244
Constants and Status Codes
Failure Indication Message Status Codes
E_CTI_INVALID_ AGENT_ DATA The provided agent data item(s) are invalid. 8
E_CTI_PROTECTED_ VARIABLE The CTI client may not update the requested 14
variable.
E_CTI_INVALID_ AGENT_ STATE_ MASK The AgentStateMask field has unused bits set. 21
All unused bit positions must be zero.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
245
Constants and Status Codes
Failure Indication Message Status Codes
E_CTI_ INCONSISTENT_ AGENT_DATA The provided agent extension, agent id, and/or 32
agent instrument values are inconsistent with
each other.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
246
Constants and Status Codes
Failure Indication Message Status Codes
E_CTI_INVALID_ TAG_FOR_ VERSION A floating field tag value is invalid for the 49
opened protocol version.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
247
Constants and Status Codes
Failure Indication Message Status Codes
E_CTI_INVALID_ CALL_VARIABLE_ MASK The specified call variable mask in not valid. 69
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
248
Constants and Status Codes
Failure Indication Message Status Codes
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
249
Constants and Status Codes
SystemEventID Values
SystemEventID Values
This table shows the SystemEventID values that may be included in the SYSTEM_EVENT messages.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
250
Constants and Status Codes
Special Values
Special Values
This table shows the values used to define sizes and limits, indicate special IDs, and unspecified data elements.
MAX_NUM_ SKILL_GROUPS The maximum number of skill group fields that can 20
be in a message list.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
251
Constants and Status Codes
Tag Values
Tag Values
This table shows the values used in the tag subfield of floating fields.
TEXT_TAG SYSTEM_EVENT, 7
CLIENT_EVENT_REPORT_REQ
UUI_TAG BEGIN_CALL_EVENT, 9
CALL_DATA_UPDATE_EVENT,
CALL_TRANSLATION_ROUTE_ EVENT,
CONSULTATION_ CALL_REQ,
MAKE_CALL_REQ,
TRANSFER_CALL_REQ,
SNAPSHOT_CALL_CONF
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
252
Constants and Status Codes
Tag Values
CALLING_DEVID_TAG CALL_DELIVERED_EVENT, 27
CALL_ESTABLISHED_EVENT,
CALL_ORIGINATED_EVENT,
CALL_SERVICE_INITIATED_EVENT,
CALL_QUEUED_EVENT,
SET_DEVICE_ATTRIBUTES_REQ
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
253
Constants and Status Codes
Tag Values
FAILING_DEVID_TAG CALL_FAILED_EVENT 34
PARTY_CALLID_TAG CALL_CONFERENCED_EVENT, 39
CALL_TRANSFERRED_EVENT,
CONFERENCE_CALL_CONF,
TRANSFER_CALL_CONF
PARTY_DEVID_TAG CALL_CONFERENCED_EVENT, 41
CALL_TRANSFERRED_EVENT,
CONFERENCE_CALL_CONF,
TRANSFER_CALL_CONF
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
254
Constants and Status Codes
Tag Values
FACILITY_CODE_TAG CONSULTATION_CALL_REQ, 51
MAKE_CALL_REQ,
TRANSFER_CALL_REQ
(reserved) 54-55
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
255
Constants and Status Codes
Tag Values
OBJECT_NAME_TAG CLIENT_EVENT_REPORT 66
DTMF_STRING_TAG SEND_DTMF_SIGNAL_REQ 67
POSITION_ID_TAG SET_AGENT_STATE_REQ 68
SUPERVISOR_ID_TAG SET_AGENT_STATE_REQ 69
LINE_HANDLE_TAG QUERY_DEVICE_INFO_CONF 70
LINE_TYPE_TAG QUERY_DEVICE_INFO_CONF 71
(reserved) 74
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
256
Constants and Status Codes
Tag Values
MONITORED_DEVID_TAG MONITOR_START_REQ 76
ACCOUNT_CODE_TAG CONFERENCE_CALL_REQ, 78
CONSULTATION_CALL_REQ,
MAKE_CALL_REQ,
MAKE_PREDICTIVE_CALL_REQ,
TRANSFER_CALL_REQ
ORIGINATING_DEVID_TAG MAKE_PREDICTIVE_CALL_REQ 79
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
257
Constants and Status Codes
Tag Values
ATC_AGENT_ID_TAG AGENT_TEAM_CONFIG_EVENT 86
AGENT_FLAGS_TAG AGENT_TEAM_CONFIG_EVENT 87
LIST_TEAM_ID_TAG LIST_AGENT_TEAM_CONF 92
DEFAULT_DEVICE_ AGENT_DESK_SETTINGS_CONF 93
PORT_ADDRESS_TAG
SERVICE_NAME_TAG REGISTER_SERVICE_REQ 94
APP_PATH_ID_TAG OPEN_REQ 97
SCRIPT_SELECTOR_TAG SNAPSHOT_TASK_RESP 99
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
258
Constants and Status Codes
Tag Values
Unused 127-128
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
259
Constants and Status Codes
Tag Values
Reserved 143-149
Reserved 151-172
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
260
Constants and Status Codes
Tag Values
Unused 196-197
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
261
Constants and Status Codes
Tag Values
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
262
Constants and Status Codes
Tag Values
Used 226-227
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
263
Constants and Status Codes
Tag Values
SET_APPDATA_CALLID_TAG 233
CLIENT_SHARE_KEY_TAG 234
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
264
Constants and Status Codes
AgentState Values
Unused 256
AgentState Values
This table shows the agent state values that may appear in the QUERY_AGENT_STATE_CONF messages.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
265
Constants and Status Codes
PGStatusCode Values
AGENT_STATE_ NOT_ READY The agent is unavailable for any call work. 2
AGENT_STATE_ WORK_NOT_READY The agent is performing after call work, but will 5
not be ready to receive a call when completed.
AGENT_STATE_ WORK_ READY The agent is performing after call work, and will 6
be ready to receive a call when completed.
AGENT_STATE_ RESERVED The agent is reserved for a call that will arrive at 8
the ACD shortly.
PGStatusCode Values
This table shows the PGStatusCode values that may be included in the SYSTEM_EVENT message.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
266
Constants and Status Codes
PeripheralType Values
PGS_CTI_SERVER_OFFLINE Loss of communication between the CTI Server and the 0x00000008
CTI Client. This status code is not reported by a software
layer between the CTI Server and the client application.
PeripheralType Values
This table shows the PeripheralType values that may be included in the Client Events service messages.
PT_G2 Lucent G2 3
PT_GALAXY Obsolete 6
PT_SPECTRUM Obsolete 7
PT_DMS100 Obsolete 10
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
267
Constants and Status Codes
LocalConnectionState Values
PT_NEC_NEAX_2x00 Obsolete 14
PT_GENERIC Generic 20
PT_ACMI_EXPERT_ADVISOR Obsolete 26
{reserved} 27
LocalConnectionState Values
This table shows the LocalConnectionState values.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
268
Constants and Status Codes
EventCause Values
EventCause Values
These tables show the EventCause values.
EventCause Value
CEC_NONE 0xffff
CEC_ACTIVE_MONITOR 1
CEC_ALTERNATE 2
CEC_BUSY 3
CEC_CALL_BACK 4
CEC_CALL_CANCELLED 5
CEC_CALL_FORWARD_ALWAYS 6
CEC_CALL_FORWARD_BUSY 7
CEC_CALL_FORWARD_NO_ANSWER 8
CEC_CALL_FORWARD 9
CEC_CALL_NOT_ANSWERED 10
CEC_CALL_PICKUP 11
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
269
Constants and Status Codes
EventCause Values
EventCause Value
CEC_CAMP_ON 12
CEC_DEST_NOT_OBTAINABLE 13
CEC_DO_NOT_DISTURB 14
CEC_INCOMPATIBLE_DESTINATION 15
CEC_INVALID_ACCOUNT_CODE 16
CEC_KEY_CONFERENCE 17
CEC_LOCKOUT 18
CEC_MAINTENANCE 19
CEC_NETWORK_CONGESTION 20
CEC_NETWORK_NOT_OBTAINABLE 21
CEC_NEW_CALL 22
CEC_NO_AVAILABLE_AGENTS 23
CEC_OVERRIDE 24
CEC_PARK 25
CEC_OVERFLOW 26
CEC_RECALL 27
CEC_REDIRECTED 28
CEC_REORDER_TONE 29
CEC_RESOURCES_NOT_AVAILABLE 30
CEC_SILENT_MONITOR 31
CEC_TRANSFER 32
CEC_TRUNKS_BUSY 33
CEC_VOICE_UNIT_INITIATOR 34
CEC_TIME_OUT 35
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
270
Constants and Status Codes
EventCause Values
EventCause Value
CEC_NEW_CALL_INTERFLOW 36
CEC_SIMULATION_INIT_REQUEST 37
CEC_SIMULATION_RESET_REQUEST 38
CEC_CTI_LINK_DOWN 39
CEC_PERIPHERAL_RESET_REQUEST 40
CEC_MD110_CONFERENCE_TRANSFER 41
CEC_REMAINS_IN_Q 42
CEC_SUPERVISOR_ASSIST 43
CEC_EMERGENCY_CALL 44
CEC_SUPERVISOR_CLEAR 45
CEC_SUPERVISOR_MONITOR 46
CEC_SUPERVISOR_WHISPER 47
CEC_SUPERVISOR_BARGE_IN 48
CEC_SUPERVISOR_INTERCEPT 49
CEC_CALL_PARTY_UPDATE_IND 50
CEC_CONSULT 51
CEC_NIC_CALL_CLEAR 52
EventCause Value
CECX_ABAND_NETWORK 1001
CECX_ABAND_LOCAL_QUEUE 1002
CECX_ABAND_RING 1003
CECX_ABAND_DELAY 1004
CECX_ABAND_INTERFLOW 1005
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
271
Constants and Status Codes
EventCause Values
EventCause Value
CECX_ABAND_AGENT_TERMINAL 1006
CECX_SHORT 1007
CECX_BUSY 1008
CECX_FORCED_BUSY 1009
CECX_DROP_NO_ANSWER 1010
CECX_DROP_BUSY 1011
CECX_DROP_REORDER 1012
CECX_DROP_HANDLED_PRIMARY_ROUTE 1013
CECX_DROP_HANDLED_OTHER 1014
CECX_REDIRECTED 1015
CECX_CUT_THROUGH 1016
CECX_INTRAFLOW 1017
CECX_INTERFLOW 1018
CECX_RING_NO_ANSWER 1019
CECX_INTERCEPT_REORDER 1020
CECX_INTERCEPT_DENIAL 1021
CECX_TIME_OUT 1022
CECX_VOICE_ENERGY 1023
CECX_NONCLASSIFIED_ENERGY_DETECT 1024
CECX_NO_CUT_THROUGH 1025
CECX_UABORT 1026
CECX_FAILED_SOFTWARE 1027
CECX_BLIND_TRANSFER 1028
CECX_ANNOUNCED_TRANSFER 1029
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
272
Constants and Status Codes
EventCause Values
EventCause Value
CECX_CONFERENCED 1030
CECX_DUPLICATE_TRANSFER 1031
CECX_UNMONITORED_DEVICE 1032
CECX_ANSWERING_MACHINE 1033
CECX_NETWORK_BLIND_TRANSFER 1034
CECX_TASK_ABANDONED_IN_ROUTER 1035
CECX_TASK_ABANDONED_BEFORE_OFFERED 1036
CECX_TASK_ABANDONED_WHILE_OFFERED 1037
CECX_NORMAL_END_TASK 1038
CECX_CANT_OBTAIN_TASK_ID 1039
CECX_AGENT_LOGGED_OUT_DURING_TASK 1040
CECX_MAX_TASK_LIFETIME_EXCEEDED 1041
CECX_APPLICATION_PATH_WENT_DOWN 1042
CECX_ICM_ROUTING_COMPLETE 1043
CECX_ICM_ROUTING_DISABLED 1044
CECX_APPL_INVALID_MRD_ID 1045
CECX_APPL_INVALID_DIALOGUE_ID 1056
CECX_APPL_DUPLICATE_DIALOGUE_ID 1047
CECX_APPL_INVALID_INVOKE_ID 1048
CECX_APPL_INVALID_SCRIPT_SELECTOR 1049
CECX_APPL_TERMINATE_DIALOGUE 1050
CECX_TASK_ENDED_DURING_APP_INIT 1051
CECX_CALLED_PARTY_DISCONNECTED 1052
CECX_PARTIAL_CALL 1053
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
273
Constants and Status Codes
DeviceIDType Values
EventCause Value
CECX_DROP_NETWORK_CONSULT 1054
CECX_NETWORK_CONSULT_TRANSFER 1055
CECX_NETWORK_CONFERENCE 1056
CECX_ABAND_NETWORK_CONSULT 1057
DeviceIDType Values
This table shows the DeviceIDType values.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
274
Constants and Status Codes
CallType Values
CallType Values
This table shows the CallType values.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
275
Constants and Status Codes
CallType Values
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
276
Constants and Status Codes
ConnectionDeviceIDType Values
ConnectionDeviceIDType Values
This table shows the possible ConnectionDeviceIDType values.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
277
Constants and Status Codes
LineType Values
LineType Values
This table shows the possible LineType values.
ControlFailureCode Values
This table shows the possible ControlFailureCode values.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
278
Constants and Status Codes
ControlFailureCode Values
CF_VALUE_OUT_OF_ RANGE The parameter has a value that is not in the range 3
defined for the server.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
279
Constants and Status Codes
ControlFailureCode Values
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
280
Constants and Status Codes
ControlFailureCode Values
CF_ SEQUENCE_NUMBER_ VIOLATED The server has detected an error in the sequence 61
number of the operation.
CF_ TIME_STAMP_ VIOLATED The server has detected an error in the time stamp of 62
the operation.
CF_ PAC_VIOLATED The server has detected an error in the PAC of the 63
operation.
CF_ SEAL_VIOLATED The server has detected an error in the Seal of the 64
operation.
CF_ GENERIC_UNSPECIFIED_ The request has been rejected (no specific details 70
REJECTION available).
CF_ GENERIC_OPERATION_ The requested operation has been rejected (no specific 71
REJECTION details available).
CF_ DUPLICATE_ The request duplicated another request for the same 72
INVOCATION_REJECTION service.
CF_ SERVICE_ The request failed because the required service has 77
TERMINATION_REJECTION been terminated.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
281
Constants and Status Codes
ControlFailureCode Values
CF_SPECIFIED_AGENT_ The request failed because the specified agent is already 259
ALREADY_SIGNED_ON logged in.
CF_INVALID_AGENT_ WORKMODE The request specified an invalid agent work mode. 265
CF_AGENT_NOT_PARTY_ The specified agent is not a party on the indicated call. 268
ON_CALL
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
282
Constants and Status Codes
ControlFailureCode Values
CF_TAKE_CALL_CONTROL_ The ACD refused an Unified CCE request to take control 270
REJECTION of a call.
CF_TAKE_DOMAIN_ The ACD refused an Unified CCE request to take control 271
CONTROL_REJECTION of a domain.
CF_REQUESTED_SERVICE_ The Unified CCE is not registered on the ACD for the 272
NOT_REGISTERED requested service.
CF_INVALID_DIGITS_ 276
RNATIMEOUT_AMSDELAY_
OR_COUNTRY
CF_ANSWER_DETECT_ 277
PORT_UNAVAILABLE
CF_VIRTUAL_AGENT_ 278
UNAVAILABLE
CF_TAKEBACK_N_XFER_ 279
ROUTE_END
CF_INVALID_TRUNK_ID_ 282
SPECIFIED
CF_SPECIFIED_EXTENSION_ 283
ALREADY_IN_USE
CF_ARBITRARY_CONF_OR_ 284
XFER_NOT_SUPPORTED
CF_NETWORK_TRANSFER_OR_ 285
CONSULT
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
283
Constants and Status Codes
ControlFailureCode Values
CF_DEVICE_RESTRICTED 287
CF_LINE_RESTRICTED 288
CF_AGENT_ACCOUNT_ 289
LOCKED_OUT
CF_DROP_ANY_PARTY_NOT_ 290
ENABLED_CTI
CF_MAXIMUM_LINE_LIMIT_ 291
EXCEEDED
CF_SHARED_LINES_NOT_ 292
SUPPORTED
CF_EXTENSION_NOT_UNIQUE 293
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
284
Constants and Status Codes
AllocationState Values
AllocationState Values
This table shows the AllocationState values.
ForwardType Values
This table shows the ForwardType values.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
285
Constants and Status Codes
TypeOfDevice Values
TypeOfDevice Values
This table shows the TypeOfDevice values.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
286
Constants and Status Codes
ClassOfDevice Values
DEVT_OTHER A device that does not fall into any of the preceding 255
categories.
ClassOfDevice Values
This table shows the ClassOfDevice values.
DEVC_OTHER A class of device not covered by the following image, data, or voice 10x
classes.
DEVC_IMAGE A device that is used to make digital data calls involving imaging 20x
or high speed circuit switched data in general.
DEVC_DATA A device that is used to make digital data calls (both circuit switched 40x
and packet switched).
CallPlacementType Values
This table shows the CallPlacementType values.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
287
Constants and Status Codes
CallMannerType Values
CPT_OUTBOUND_NO_ ACCESS_CODE An outbound call that will not require an access code. 3
CallMannerType Values
This table shows the CallMannerType values.
CMT_RESERVED Reserved 4
CallOption Values
This table shows the CallOption values.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
288
Constants and Status Codes
ConsultType Values
COPT_CALLING_ AGENT_ONLINE Attempt the call only if the calling agent is “online” 1
(available to interact with the destination party).
ConsultType Values
This table shows the ConsultType values.
FacilityType Values
This table shows the FacilityType values.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
289
Constants and Status Codes
AnsweringMachine Values
AnsweringMachine Values
This table shows the AnsweringMachine values.
AnswerDetectMode Values
This table shows the AnswerDetectMode values.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
290
Constants and Status Codes
AgentWorkMode Values
AgentWorkMode Values
This table shows the AgentWorkMode values.
DestinationCountry Values
This table shows the DestinationCountry values.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
291
Constants and Status Codes
CTI Service Masks
CTI_SERVICE_ CLIENT_ EVENTS Client receives call and agent state change 0x00000001
events associated with a specific ACD
phone.
CTI_SERVICE_ CLIENT_CONTROL Client may control calls and agent states 0x00000004
associated with a specific ACD phone.
CTI_SERVICE_ALL_ EVENTS Client receives all call and agent state 0x00000010
change events (associated with any ACD
phone).
CTI_SERVICE_ PERIPHERAL_ MONITOR Client may dynamically add and remove 0x00000020
devices and/or calls that it wishes to receive
call and agent state events for.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
292
Constants and Status Codes
Disposition Code Values
CTI_SERVICE_ACD_ LINE_ONLY Request that events for non-ACD lines not 0x00400000
be sent. (Unified CCE only)
1 Abandoned in Network
3 Abandoned Ring
4 Abandoned Delay
5 Abandoned Interflow
7 Short
8 Busy
9 Forced Busy
10 Disconnect/drop no answer
11 Disconnect/drop busy
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
293
Constants and Status Codes
Disposition Code Values
12 Disconnect/drop reorder
15 Redirected
16 Cut Through
17 Intraflow
18 Interflow
19 Ring No Answer
20 Intercept reorder
21 Intercept denial
22 Time Out
23 Voice Energy
25 No Cut Through
26 U-Abort
27 Failed Software
28 Blind Transfer
29 Announced Transfer
30 Conferenced
31 Duplicate Transfer
32 Unmonitored Device
33 Answering Machine
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
294
Constants and Status Codes
Disposition Code Values
53 Partial Call
60 Network Error
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
295
Constants and Status Codes
Agent Service Request Masks
63 Task Transfer
64 Application Disconnected
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
296
Constants and Status Codes
TaskState Values
AGENT_STATE_LOGOUT The agent has logged out of the ACD and cannot accept 1
any additional calls.
AGENT_STATE_WORK_NOT_READY The agent is performing after call work, but will not be 5
ready to receive a call when completed.
AGENT_STATE_WORK_READY The agent is performing after call work, but will be ready 6
to receive a call when completed.
TaskState Values
This table shows the TaskState values that may appear in SNAPSHOT_TASK_RESP messages.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
297
Constants and Status Codes
TaskState Values
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
298
CHAPTER 7
Changes and Additions
• Protocol Version 21, page 299
• Protocol Version 20, page 300
• Protocol Version 19, page 301
• Protocol Version 18, page 301
• Protocol Version 17, page 301
• Protocol Version 16, page 302
• Protocol Version 15, page 302
• Protocol Version 14, page 302
• Protocol Versions 10-13, page 304
• Protocol Version 9, page 306
• Protocol Version 8, page 306
• Protocol Version 7, page 308
• Protocol Version 6, page 308
• Protocol Version 5, page 310
Protocol Version 21
Following is a list of changes made in Protocol Version 21:
• Added NumMRDs, FLTAgentMRDID, and FltAgentMRDState under CONFIG_AGENT_EVENT.
• Added a new Message with the type 259. This Message is reserved for internal use only.
• Changed the behavior of the PeripheralType field in the OPEN_CONF message.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
299
Changes and Additions
Protocol Version 20
Protocol Version 20
Following is a list of additional changes made in Protocol Version 20 (Unified CCE Release11.5(1)):
Important In the CTI Server Protocol Version 20 the floating field tag and length size changed from 1 byte to 2 byte
USHORT.
• Added the fixed AgentSkillTargetID and floating AgentID fields to the AGENT_PRE_CALL_EVENT
message.
• Added the CONFIG_MRD_EVENT message.
◦Added bit mask value 32=Media Routing Domain Information to the CONFIG_REQUEST_EVENT
message ConfigInformation field. Added a cross-reference to this field from the OPEN_REQ
message ConfigMsgMask field.
◦Added bit mask value 32=Media Routing Domain Information to the CONFIG_BEGIN_EVENT
message ConfigInformation field.
◦Added the MR_DOMAIN_ID_TAG, DESCRIPTION_TAG, ENTERPRISE_NAME_TAG,
MAX_TASK_DURATION_TAG, AND INTERRUPTIBLE_TAG to the event
CONFIG_MRD_EVENT.
• Added that the AGENT_PRE_CALL_ABORT_ EVENT message is sent to the to ALL_EVENTS client.
• Added the following values to the Tag Values table:
◦SSO_ENABLED_TAG for the CONFIG_AGENT_EVENT and SET_AGENT_STATE_REQ
◦FLT_TASK_ID_TAG for the AGENT_TASKS_RESP message
◦FLT_ICM_DISP_TAG and FLT_APP_DISP_TAG for the MEDIA_LOGOUT_IND message
• For the CONFIG_AGENT_EVENT message, the length of the LoginName field is increased to 255
Bytes.
• Floating field subfields have changed:
◦The Tag subfield is a Data Type of USHORT and a Byte Size of 2.
◦The FieldLength subfield is a Data Type of USHORT and a Byte Size of 2.
• Added or modified these tags in the Tag Values table for the SNAPSHOT_TASKS_RESP message:
SCRIPT_SELECTOR_TAG , APPLICATION_STRING1_TAG, APPLICATION_STRING2_TAG,
CALL_VAR_1_TAG through CALL_VAR_10_TAG, NAMED_VARIABLE_ TAG,
NAMED_ARRAY_TAG.
• Added new TaskState Values that may appear in SNAPSHOT_TASK_RESP messages.
• Added the following values to the Disposition Codes table for nonvoice tasks:
◦63=Task Transferred
◦64=Application Disconnected
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
300
Changes and Additions
Protocol Version 19
Protocol Version 19
The following is a list of changes made for CTI Server in Protocol Version 19:
• Updated Message Types in Messaging Conventions chapter.
• Added Configuration Acquisition Messages section in Application Level Interfaces chapter.
• Added row containing INTERNAL_AGENT_STATE_TAG to Tag Values. Table Tag Values.
• Added values 27 to 37 for outbound call types to CallType Values CallType Values, on page 275.
• Added row containing InternalAgentState to QUERY_AGENT_STATE CONF Message Form to Table
Message Types.
• Added Agent’s Internal States and their Status Values to Table Agent Internal States Message Values.
• Removed the ClientAddressIPV6 and SendingAddressIPV6 elements and the
CLIENT_ADDRESS_IPV6_TAG (226) and SENDING_ADDRESS_IPV6_TAG(227) tags due to a
change in the handling of IPv6 addresses.
• Changed ClientAddress and SendingAddress elements’ size from 16 byte to 64 byte to support IPv6
addresses.
• Added the DepartmentID field to the following messages:
◦OPEN_CONF
◦AGENT_STATE_EVENT
◦AGENT_TEAM_CONFIG_EVENT
◦QUERY_AGENT_STATE_CONF
Protocol Version 18
The following is a list of changes made for CTI Server in Protocol Version 18 (Unified CCE version 10.0(1)
- internal use only):
• Added values 247 to 254 to Tag Values Table Tag Values.
Protocol Version 17
The following is a list of changes made for CTI Server in Protocol Version 17 (Unified CCE version 9.0(1)
- internal use only):
Added row containing OPTIONS_TAG to Tag Values Table Tag Values.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
301
Changes and Additions
Protocol Version 16
Protocol Version 16
The following is a list of changes made for CTI Server in Protocol Version 16 (Unified CCE verion 9.0(1)).
• Added Agent TeamName to AGENT_TEAM_CONFIG_EVENT Table Supervisor Service
Added AGENT_TEAM_NAME_TAG(243) to Table Tag Values
Added Direction to AGENT_STATE_EVENT Table Tag Values
Added DIRECTION_TAG(244) to Table Tag Values
Protocol Version 15
The following is a list of additions and changes made to the CTI Server in Protocol Version 15 (Unified CCE
Version 8.5(x)).
• Added three message types to Table Tag Values.
Added CALL_AGENT_GREETING_MASK to Table Unsolicited Call Event Message Masks.
Added CALL_AGENT_GREETING_EVENT in Table Unsolicited Call Event Message Masks.
Added AGENT_GREETING_CONTROL_REQ in Table Message Types.
Added AGENT_GREETING_CONTROL_CONF in Table Message Types.
Added CF_AGENT_GREETING_CONTROL_OPERATION_FAILURE Extended Control Failure
Code to Table ControlFailureCode Values.
Protocol Version 14
The following is a list of additions and changes made to the CTI Server in Protocol Version 14 (Unified CCE
Version 8.0(x)).
• Changed the VersionNumber field in OPEN_REQ to 14 from 13.
Added new floating field tags to Table Tag Values:
◦REQUESTING_DEVICE_ID_TAG (219)
REQUESTING_DEVICE_ID_TYPE_TAG (220)
PRE_CALL_INVOKE_ID_TAG (221)
ENTERPRISE_QUEUE_TIME (222)
CALL_REFERENCE_ID_TAG (223)
MULTI_LINE_AGENT_CONTROL_TAG (224)
NETWORK_CONTROLLED_TAG (225)
CLIENT_ADDRESS_IPV6_TAG (226)
SENDING_ADDRESS_IPV6_TAG(227)
NUM_PERIPHERALS_TAG(228)
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
302
Changes and Additions
Protocol Version 14
COC_CONNECTION_CALL_ID_TAG(229)
COC_CALL_CONNECTION_DEVICE_ID_TYPE_TAG(230)
COC_CALL_CONNECTION_DEVICE_ID_TYPE_TAG(231)
CALL_ORIGINATED_FROM_TAG(232)
SET_APPDATA_CALLID_TAG(233)
CLIENT_SHARE_KEY_TAG(234)
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
303
Changes and Additions
Protocol Versions 10-13
◦CF_ARBITRARY_CONF_OR_XFER_NOT_SUPPORTED
◦CF_MAXIMUM_LINE_LIMIT_EXCEEDED
◦CF_SHARED_LINES_NOT_SUPPORTED
◦CF_EXTENSION_NOT_UNIQUE
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
304
Changes and Additions
Protocol Versions 10-13
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
305
Changes and Additions
Protocol Version 9
Protocol Version 9
The following is a list of additions and changes made to the CTI Server in Protocol Version 9 (ICM Version
5.0).
• Added Server Service. See the section “Server Service” in Chapter 5, “Application Level Interfaces.”
• Added the CampaignID and QueryRuleID fields to the SET_CALL_DATA_REQ and
CALL_DATA_UPDATE_EVENT messages.
• During an OPEN_REQ of an ALL_EVENTS client session, additional SYSTEM_EVENTs are now
sent to the ALL_EVENTS client to indicate the status of each peripheral associated with the PG.
• Added AgentAvailabilityStatus and ICMAgentID fields to QUERY_AGENT_STATE_CONF and
AGENT_STATE_EVENT.
• Added field AgentsICMAvailable and AgentsApplicationAvailable to
QUERY_SKILL_GROUP_STATISTICS_CONF.
• Added fields ICMAvailableTimeSession, RoutableTimeSession, ICMAvailableTimeToday, and
RoutableTimeToday to QUERY_AGENT_STATISTICS_CONF.
• Added ICMAgentID, AgentExtension, AgentID, and AgentInstrument fields to
QUERY_AGENT_STATE_REQ.
• Updates to several tables in Chapter 6, “Constants and Status Codes.”
Protocol Version 8
The following is a list of additions and changes made to the CTI Server in Protocol Version 8 (ICM Version
4.6).
• Moved the RTP_STARTED_EVENT and RTP_STOPPED_EVENT messages to the ClientEvents
Service.
• Added AgentInstrument optional field to the following messages:
◦ALTERNATE_CALL_REQ
◦CLEAR_CALL_REQ
◦CONFERENCE_CALL_REQ
◦DEFLECT_CALL_REQ
◦HOLD_CALL_REQ
◦RECONNECT_CALL_REQ
◦RETRIEVE_CALL_REQ
◦TRANSFER_CALL_REQ
◦SEND_DTMF_SIGNAL_REQ
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
306
Changes and Additions
Protocol Version 8
• Added the CustomerPhoneNumber, and CustomerAccountNumber fields. Developers may receive these
fields in the CALL_DATA_UPDATE_EVENT messages.
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
307
Changes and Additions
Protocol Version 7
Protocol Version 7
The following is a list of additions and changes made to the CTI Server in Protocol Version 7 (ICM Version
4.5).
• Added the RTP_STARTED_EVENT and RTP_STOPPED_EVENT messages
• Added skill group parameters to the CALL_DELIVERED_EVENT message.
• Added LineHandle and LineType parameters to the CALL_REACHED_NETWORK_EVENT message.
Protocol Version 6
The following is a list of additions and changes made to the CTI Server in Protocol Version 6 (ICM Version
4.1).
• Added the NAMEDVAR and NAMEDARRAY data types.
• Added ICRCentralControllerTime and SystemCapabilities fields to the OPEN_CONF and
SYSTEM_EVENT messages.
• System Events Service renamed to Miscellaneous Services.
• NamedVariable and NamedArray optional fields added to the following messages:
◦BEGIN_CALL_EVENT
◦CALL_DATA_UPDATE_EVENT
◦CALL_TRANSLATION_ROUTE_EVENT
◦SET_CALL_DATA_REQ
◦CONFERENCE_CALL_REQ
◦CONSULTATION_CALL_REQ
◦MAKE_CALL_REQ
◦MAKE_PREDICTIVE_CALL_REQ
◦TRANSFER_CALL_REQ
◦SNAPSHOT_CALL_CONF
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
308
Changes and Additions
Protocol Version 6
◦QUERY_AGENT_STATISTICS_REQ/CONF
◦QUERY_SKILL_GROUP_STATISTICS_REQ/CONF
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
309
Changes and Additions
Protocol Version 5
Protocol Version 5
The following is a list of additions and changes made to the CTI Server in Protocol Version 5 (ICM Version
4.0).
• Added Peripheral Monitor service and related messages.
• Added a new MonitorID field to all Call and Agent Event messages.
• Added Client Monitor service and related messages.
• Added CallingDeviceType and CallingDeviceID fields to the CALL_SERVICE_INITIATED_EVENT
message.
• Increased the maximum number of skill groups from 10 to 20.
• Added AlertRings, CallOption, AuthorizationCode, and AccountCode fields to the
CONSULTATION_CALL_REQ, MAKE_CALL_REQ, and TRANSFER_CALL_REQ messages.
• Readded MAKE_PREDICTIVE_CALL_REQ and MAKE_PREDICTIVE_CALL_CONF messages.
• Added new SYS_PERIPHERAL_GATEWAY_OFFLINE System Event ID to the SystemEventID
Values table (Table PeripheralType Values, on page 267).
• Added new AM_NONE, AM_NONE_NO_MODEM and AM_CONNECT_NO_MODEM
AnsweringMachine values to the AnsweringMachine Values table (Table AnsweringMachine Values,
on page 290).
• ANSWER_CALL_REQ message (Table SystemEventID Values, on page 250) revised for peripherals
that do not provide alerting call identification.
• Added fields for single step conference to the CONFERENCE_CALL_REQ message:
◦CallPlacementType
◦CallMannerType
◦AlertRings
◦CallOption
◦FacilityType
◦Priority
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
310
Changes and Additions
Protocol Version 5
◦PostRoute
◦DialedNumber
◦UserToUserInfo
◦CallVariable1 – CallVariable10
◦CallWrapupData
◦FacilityCode
◦AuthorizationCode
◦AccountCode
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise, Release
11.6(1)
311
Changes and Additions
Protocol Version 5
CTI Server Message Reference Guide (Protocol Version 21) for Cisco Unified Contact Center Enterprise,
Release 11.6(1)
312