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

Page of 145
C
HAPTER 
16:
 
F
ORM
_W
ITH
_C
ONFIRM
 
 
E
LEMENT 
S
PECIFICATIONS FOR 
C
ISCO 
U
NIFIED 
CVP
 
VXML
 
S
ERVER AND 
C
ISCO 
U
NIFIED 
C
ALL 
S
TUDIO 
 
 
 
 
59
 
 
Name (Label) 
Type 
Req’d  Single 
setting 
value 
Substitution 
allowed 
Default 
Notes 
voice_grammar 
(Voice Grammar) 
string 
*No false
true 
None 
Defines an external voice grammar for Form_With_Confirm, in 
a string format delimited with semi-colons specifying five values 
in the following order:  
1)
 
The language context in which the current grammar should 
be used (optional). If omitted the language will be the same 
as the page-scoped language. 
2)
 
The language code to assign to the xml:lang attribute of 
the parent <grammar> tag (optional). If omitted the 
attribute will not have an xml:lang attribute and the 
standard scoping rules apply. 
3)
 
The grammar weight (optional) 
4)
 
The grammar type (optional) 
5)
 
URL of the grammar file (required) 
The type can be left blank to use the adapter default or set to 
‘null’ to not include a type at all. If one of the optional 
parameters is defined, four semi-colons must be used, even if 
the other parameters are not used. For example:  
 
en-US;en-US;0.6;application/srgs+xml;http://IP:PORT/ 
mygrammar.grxml 
 
fr-FR;en-US;;application/srgs+xml;http://IP:PORT/ 
mygrammar.grxml 
 
;;0.6;;http://IP:PORT/mygrammar.grxml 
 
;fr-FR;0.6;null;http://IP:PORT/mygrammar.grxml 
 
http://IP:PORT/mygrammar.grxml 
This setting is repeatable so multiple external grammar sources 
may be specified.  None of the four settings - 
voice_grammar, dtmf_grammar, voice_keyword 
and dtmf_keypress, are required, but at least one must be 
specified since a form cannot be completed without a grammar.