Cisco Cisco Customer Voice Portal Downloads Developer's Guide

Page of 91
V
OICE 
E
LEMENT
:
 
F
ORM
 
 
C
ISCO 
CVP
 
V
OICE
XML
 
3.0 
 
 
Element Specifications 
 
 
 
Copyright 2001 - 2005 Audium Corporation.  All Rights Reserved. 1/14/05
 
41
 
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, in a string format 
delimited with semi-colons specifying three values in the 
following order:  
1)  The grammar weight (optional) 
2)  The grammar type (optional) 
3)  URL of the grammar file (required) 
Note that if one of the two optional values (weight and type) is 
defined, the same number of delimiters (i.e. two semi-colons) must 
be used.  For example:  
•  0.6;application/srgs+xml;http://www.vxml.com/mygrammar.gr
xml; 
•  application/srgs+xml;http://www.vxml.com/mygrammar.grxml
•  0.6;;http://www.vxml.com/mygrammar.grxml 
•  http://www.vxml.com/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 at least one grammar. 
dtmf_grammar 
(DTMF Grammar) 
URI 
*No false
true 
None 
Defines an external DTMF grammar for Form, in a string format 
delimited with a semi-colon specifying two values in the following 
order:  
1)  The grammar type (optional) 
2)  URL of the grammar file (required) 
Sample configuration values are:  
•  application/srgs+xml;http://www.vxml.com/mygrammar.grxml
•  http://www.vxml.com/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 at least one grammar.