Configuring Encoding and Decoding Types
When the Cisco Unified CCX system receives variables from the Cisco Unified ICME software or Enterprise Server, the variables do not have an associated type (such as Integer or Float). To use these variables in Cisco Unified ICME VRU or Cisco Unified CCX scripts, the Cisco Unified CCX system first decodes them to one of the available types. When the script sends variables back to the Cisco Unified ICME Server, the Cisco Unified CCX system then encodes them into a form the Cisco Unified ICME Server can use, depending on the type of the local Cisco Unified CCX script variable.
Table lists the encoding types that the Cisco Unified CCX system supports.
Note | The Input format is the data decoded from the Cisco Unified ICME Server variables to the Cisco Unified CCX script local variables. The Output format is the data encoded from the Cisco Unified CCX script local variables to the Cisco Unified ICME Server variables. |
Encoding Type |
Input Format |
Example Input |
Output Format |
---|---|---|---|
Integer—32-bit signed integer |
The Cisco
Unified CCX Editor supports three formats:
|
Decimal:
Hexadecimal:
Octal:
|
Decimal digits from 0 to 9 with no leading 0 |
Long—64-bit signed integer. | |||
Float—32-bit floating number |
[-]Digits.DigitsExponentTrailer where:
|
3.1415927f 6.02e23F 25 -4.2323E5f |
Same as input |
Double—64-bit floating number |
0.843 1.871E3d .23e-123 -3.4e34 |
Same as input | |
Boolean |
To designate
this non-case-sensitive type:
|
Yes F 0 n |
Either true or false |
String |
Type requires no conversion. |
Hello world |
Same as input |
Date |
Use the format mm/dd/yyyy where mm is the month, dd is the day, and yyyy is the year. |
10/22/1999 3/30/2000 |
Same as input |
Time |
Use the format Hh:MmTod where Hh is the hour, Mm is the minute, and Tod is am or pm. This type is not case-sensitive. |
12:20am 09:05PM |
Same as input |