Cisco Cisco Unified Customer Voice Portal 11.0(1) Developer's Guide

Page of 103
V
OICE 
E
LEMENT
:
 
C
URRENCY
_W
ITH
_C
ONFIRM
 
 
 
          
E
LEMENT 
S
PECIFICATIONS FOR 
C
ISCO 
U
NIFIED 
C
USTOMER 
V
OICE 
P
ORTAL 
R
ELEASE 
4.0(1)
 
 
 
9
 
Currency_With_Confirm 
The Currency_With_Confirm voice element captures from the caller a currency amount in dollars and cents, and presents a 
confirmation menu allowing the caller to either accept their entry or re-enter the currency value. The currency amount can be entered 
using the keypad or speech input. The captured value will be stored in element data as a decimal value (without the $ character).  
There are several different formats for speaking a currency amount or entering it through the keypad. Voice browsers may use 
different grammars and therefore accept different utterances. However, the spoken formats listed below should result in the same 
behavior for all supported browsers. The tables below list each input and the value that is stored in element data as a result. If some 
data is left out, the system assumes a default value for the missing information. 
Utterance 
Stored 
Value 
Example 
Description 
[dollar] "dollar(s)" ("and") [cent] "cent(s)" 
D.CC 
"thirteen dollars and fifty cents " = 13.50  Dollars are whole numbers >= 0. Cents are from 00 to 99. 
The word "and" is optional. 
[dollar] "dollar(s) "[cent] 
D.CC 
"thirteen dollars five" = 13.05 
Dollars are whole numbers >= 0. Cents are from 00 to 99. 
[dollar] "dollar(s)" 
D.00 
“three hundred fifty” = 350.00 
A plain whole number is interpreted as dollars with no 
cents. 
[cent] "cent(s)" 
0.CC 
"three cents" = 0.03 
To specify cents only, the word "cents" but be uttered. 
Cents are from 00 to 99. 
 
DTMF Entry 
Stored 
Value 
Example 
Description 
[D]*[CC]  
D.CC 
3*99 = 3.99 
The decimal is represented by the * button. 
There are other formats that are possible, particularly when entering via DTMF and inputting incomplete amounts. These inputs may 
yield inconsistent results on various voice browsers. The returned variable will always be a decimal value with the appropriate number 
of padded zeros if applicable. 
Settings 
Name (Label) 
Type 
Req’d 
Single 
setting 
value 
Substitution 
allowed 
Default 
Notes 
inputmode 
(Input Mode) 
string enum 
Yes 
true
 
false
 
both 
The type of entry allowed for input.  Possible 
values are: voice | dtmf | both.  
noinput_timeout 
string Yes 
true
 
true
 
5s 
The maximum time length allowed (in