Cisco Cisco Unified Customer Voice Portal 11.0(1) User Guide

Page of 83
C
HAPTER 
2:
 
C
ISCO 
CVP
 
V
OICE
XML
 
C
OMPONENTS IN 
D
ETAIL
 
 
C
ISCO 
CVP
 
V
OICE
XML 
 
 
User Guide 
 
attribute. The 
<times_elemvis_exit>
 tag returns the number of times the caller visited the 
element whose name is given in the attribute 
element
 which returned an exit state whose name 
is given in the 
exit_state
 attribute. 
The <historical_data> Tag
 
 
Figure 2-7 
Figure 2-7 shows the term that represents the historical activity of the user associated with the 
call on the current application. Note that if the application has not been configured with a user 
management database, using this term will cause an error. Refer to Chapter 4: User Management 
for more details about the user management system. The 
type
 attribute determines what kind of 
value is returned. A value of num means that the value returned is the number of calls matching 
the criteria defined by the children tags. A value of last_date_time means that the value returned 
is the last date/time a call was received matching the criteria defined by the children tags. A 
value of first_date_time returns the first date/time a call was received that matched the criteria. 
The 
field
 attribute is used if the 
type
 attribute is last_date_time and indicates which part of the 
date to compare. 
Field
 can be hour_of_day (which returns an integer from 0 to 23), minute 
(which returns an integer from 0 to 59), day_of_month (which returns an integer from 1 to 31), 
month (which returns an integer from 1 to 12), day_of_week (which returns an integer from 1 to 
7 where 1 is Sunday), or year (which returns the 4 digit year). The children tags are used to turn 
on various criteria to add to the search. The different search criteria are: 
• 
caller 
– If this tag appears, the search looks for calls made by the current caller only. If it 
does not appear, it will search all calls made by all callers. Note that if the call was not 
associated with a specific UID, an error will occur if this tag is used. 
• 
ani 
– If this tag appears, the search looks for calls made by the ANI specified in the 
value
 
attribute. If the 
value
 attribute is not included, the ANI of the current caller is used. 
• 
start 
– If this tag appears, the search looks for calls whose start date/time are between two 
times specified by successive 
<constant_date_time>
 children tags. The attributes of 
<constant_date_time>
 define the specific date to use. The 
month
 attribute must be an 
integer from 1 to 12. The 
day_of_month
 attribute must be an integer from 1 to 31. The 
year
 
 
 
©2000 - 2005 Audium Corporation.  All Rights Reserved.  1/14/05
 
35