Cisco Cisco Customer Voice Portal 8.0(1) 개발자 가이드

다운로드
페이지 91
V
OICE 
E
LEMENT
: F
ORM
 
 
C
ISCO 
CVP V
OICE
XML 3.1 
 
 
Element Specifications 
 
Name (Label) 
Type 
Req’d Single 
setting 
Substitution 
allowed 
Default 
Notes 
value 
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. 
 
 
Copyright 2001 - 2005 Audium Corporation.  All Rights Reserved. 10/05
 
41