Cisco Cisco Computer Telephony Integration OS 8.5 Reference Guide

Page of 276
   
3-13
CTI Server Message Reference Guide (Protocol Version 14) for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 8.0(1)
Chapter 3      Messaging Conventions
Data Types
The MHDR data type is a common message header that precedes all messages exchanged between a CTI 
client and the CTI Server. 
 defines the message header format.
The NAMEDVAR data type is a call context variable that has been defined in the Unified ICM 
Expanded_Call_Variable_Table. This variable length data type may appear in the floating part of a 
message and has the format shown in 
:
Table 3-3
Message Header (MHDR) Format 
Field Name
Value
Data Type
Byte Size
MessageLength
The length of the message in bytes, 
excluding the size of the message 
header (the first 8 bytes).
UINT
4
MessageType
The type of message. This value 
determines the format of the 
remainder of the message.
UINT
4
Table 3-4
Named Call Context Variable (NAMEDVAR) Format 
Subfield
Value
Data Type
Max. Size
Tag
NAMED_VARIABLE_TAG (= 82). 
The floating field tag that indicates 
that the following data is a named 
call context variable.
UCHAR
1
FieldLength
The total length of the 
VariableName and Variable Value 
fields, including the 
null-termination bytes. The value of 
this field may range from 3 to 251.
UCHAR
1
VariableName
The null-terminated defined name of 
the variable.
STRING
33
VariableValue
The null-terminated value of the 
variable.
STRING
211