Руководство Разработчика для Cisco Cisco Customer Voice Portal 8.0(1)
Figure 5: DTD Diagram for Response to Call End Action
The tags in these XML documents are:
•
new_data – This tag holds the session data to be created. Any number of <session> tags can
appear, one for each session data variable to be created.
appear, one for each session data variable to be created.
Note: Element data cannot be created because the call end action is not an element.
•
set_uid – This tag is used to associate the call to a UID in the user management system. The
content of the tag should be the integer UID.
content of the tag should be the integer UID.
•
log – This tag is used to trigger logger events for this application. Any number of
<custom>
tags can appear, denoting the triggering of a custom event. The
name
attribute holds the name
of the data, and the
<custom>
tag encapsulates the value. Any number of
<warning>
tags
can appear, denoting the triggering of a warning event. The
<warning>
tag encapsulates
the warning message.
•
error – This tag reports to VXML Server that an error occurred while executing the call end
action. VXML Server will then throw an exception whose message is contained in the
action. VXML Server will then throw an exception whose message is contained in the
<error>
tag. This allows the XML API to throw exceptions just as the Java API does.
Note: Since the call has ended, there would be no adverse affect to the call itself, though an
error event will be thrown.
error event will be thrown.
•
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.
•
vxml_response – This optional tag encapsulates the VoiceXML page that is to be passed to
the voice browser for the final response. It is expected to contain a CDATA tag that
encapsulates the entire VoiceXML document as it is to be returned to the voice browser
(including the first line starting with
the voice browser for the final response. It is expected to contain a CDATA tag that
encapsulates the entire VoiceXML document as it is to be returned to the voice browser
(including the first line starting with
<?xml
).The developer is responsible for ensuring the
Programming Guide for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 8.0(1)
33
Chapter 5: Call End Action
Using the XML API