Cisco Cisco Customer Voice Portal 8.0(1) Guia Do Programador

Página de 98
C
HAPTER 
8:
 
S
TANDARD 
D
ECISION 
E
LEMENTS
 
 
V
OICE
XML
 
P
ROGRAMMING 
G
UIDE 
 
 
 
FOR 
C
ISCO 
U
NIFIED 
C
USTOMER 
V
OICE 
P
ORTAL 
R
ELEASE 
4.0(1) 
 
 
 
 
39
 
   
set_flag 
–  This tag is used to make the decision element act like a flag when visited. If it 
appears, a flag with the same name as the decision element will be considered triggered and 
that fact will be noted in the activity log. 
   
log 
– This tag is used to store information in log files for this application when this standard 
decision element is executed. Any number of  
<custom>
 tags can appear, denoting the 
information to insert in the application’s activity log. The 
name
 attribute holds the name of 
the data, and the 
<custom>
 tag encapsulates the value. Any number of 
<warning>
 tags can 
appear, denoting warnings to be placed in the application’s error log. The 
<warning>
 tag 
encapsulates the warning message. 
   
set_default_path 
– This tag is used to change the default audio path from this point onwards 
for this call. 
   
set_maintainer 
– This tag is used to change the maintainer e-mail address from this point 
onwards for this call. 
   
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 from this point onwards 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”). 
   
invalidate_session 
– This tag, if included in the XML, will prompt Unified CVP VoiceXML 
Server to invalidate the call session it retains in memory, call the end of call class or URI (if 
defined), and free up the VoiceXML Server port utilized by the call. The session is 
invalidated only after the execution method of the standard decision element is completed. 
This tag is rarely used and would be needed in a few circumstances where some external 
process takes the call away from the VoiceXML Server such as when using a CTI system to 
transfer the call to an agent.