Developer's Guide
4-2
CTI Server Message Reference Guide (Protocol Version 15) for Cisco Unified Contact Center Enterprise
Release 8.5(1)
Chapter 4 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. Figure 4-1 depicts the message flow.
Figure 4-1 Session Initialization Message Flow
CTI Service Masks
Table 4-1 shows the CTIService masks.
CTI Client
CTI Server
OPEN_REQ
OPEN_CONF
Table 4-1 CTI Service Masks
MaskName Description Value
CTI_SERVICE_ DEBUG Causes all messages exchanged during the current
session to be captured to a file for later analysis.
0x80000000
CTI_SERVICE_ CLIENT_
EVENTS
Client receives call and agent state change events
associated with a specific ACD phone.
0x00000001
CTI_SERVICE_CALL_
DATA_UPDATE
Client may modify call context data. 0x00000002
CTI_SERVICE_
CLIENT_CONTROL
Client may control calls and agent states associated
with a specific ACD phone.
0x00000004
CTI_SERVICE_
CONNECTION_ MONITOR
Establishment and termination of this session cause
corresponding Unified CCE Alarm events to be
generated.
0x00000008
CTI_SERVICE_ALL_ EVENTS Client receives all call and agent state change events
(associated with any ACD phone).
0x00000010
CTI_SERVICE_ PERIPHERAL_
MONITOR
Client may dynamically add and remove devices
and/or calls that it wishes to receive call and agent
state events for.
0x00000020
CTI_SERVICE_
CLIENT_MONITOR
Client receives notification when all other CTI
client sessions are opened and closed, and may
monitor the activity of other CTI client sessions.
0x00000040
CTI_SERVICE_ SUPERVISOR Client may request supervisor services. 0x00000080