Message Field Data Types
Table 1 lists the definitions of all the types of data that can appear in a Unified CCX CTI message.
Data type |
Meaning |
Byte size | ||
---|---|---|---|---|
CHAR |
Signed integer, -128 to 127 |
1 | ||
UCHAR |
Unsigned integer, 0 to 255 |
1 | ||
SHORT |
Signed integer, -32,768 to 32,767 |
2 | ||
USHORT |
Unsigned integer, 0 to 65,535 |
2 | ||
INT |
Signed Integer, -2,147,483,648 to 2,147,483,647 |
4 | ||
UINT |
Unsigned Integer, 0 to 4,294,967,295 |
4 | ||
BOOL |
Boolean (False = 0, True = 1) |
2 | ||
STRING[n] |
Encoded using UTF-8 and can be a multi-byte or single byte (ASCII) string of length n.
(used only in the floating part of a message) |
n | ||
UNSPEC[n] |
Unspecified data occupying n consecutive bytes (used only in the floating part of a message). |
n | ||
TIME |
A date/time, expressed as the number of seconds since midnight January 1, 1970 Coordinated Universal Time (UTC). |
4 | ||
MHDR |
Message header (see Table 1). |
8 | ||
NAMEDVAR |
A named call context variable (see NAMEDVARIABLE Data Format). |
3 … 251 | ||
NAMEDARRAY |
A named call context array element (see NAMEDARRAY Data Format). |
4 … 252 |