Cisco Cisco Unified Customer Voice Portal 11.0(1) 开发者指南
C
HAPTER
4:
C
ALL
S
TART
A
CTION
C
ISCO
CVP V
OICE
XML 3.1
Programmer
Guide
•
set_default_path
– This tag is used to change the default audio path.
•
set_maintainer
– This tag is used to change the maintainer e-mail address.
•
set_voice_browser
– This tag is used to change the voice browser for this particular call.
Note that the real name of the voice browser must be used here, not the display name.
Gateway Adapter real names can be seen by reading the folder name for that adapter in the
Gateway Adapter real names can be seen by reading the folder name for that adapter in the
gateways
folder of the Server.
•
set_logging_level
– This tag is used to change the logging level for this particular call. The
possible values are “None”, “Minimal”, “Moderate”, or “Complete”.
•
set_timeout
– This tag allows the timeout length set for this session to be changed. The
contents of the tab must be an integer representing the number of minutes in the timeout.
•
set_main_doc_content
– This tag allows the encoding and language settings for the main
VoiceXML documents to be changed for this call. The
<language>
tag content is formatted
according to the specification for using languages in VoiceXML (e.g. “en-US”). The
<encoding>
tag content is formatted according to the specification for encoding XML pages
(e.g. “UTF-8”).
•
set_root_doc_content
– This tag allows the encoding and language for the root document to
be changed as well as allowing for the addition and removal of VoiceXML properties and
variables. The
variables. The
<delete>
tag is necessary only if properties or variables were set in the
application’s project pane in CVP VoiceXML Studio and due to runtime circumstances the
call start action determines they are no longer needed. The
call start action determines they are no longer needed. The
name
attribute specifies the
property or variable name and the tag contents encapsulates the value.
Note that all the tags are optional, there is no tag required except for the root
<result>
tag.
Since the XML API requires a document in response, it is acceptable to return an XML
document whose
document whose
<result>
tag is empty.
Copyright 2001 - 2005 Audium Corporation. All Rights Reserved. 10/05
29