Cisco Cisco Unified Customer Voice Portal 10.0(1)

Page of 561
This is the reason that Unified CVP does not allow the Script Writer to specify a name without
a value. Specifying only a name and not a value in a ToExtVXML parameter is useless because
the external VoiceXML already has the variable defined.
URL Parameter Element
When you use the URL parameter element option, the name/value pairs that you set in the
User.microapp.ToExtVXML parameter are appended to the URL to the external VoiceXML.
The media server side scripting logic parses the URL and passes the parameters to the external
VoiceXML document. Unlike the “VXML Parameters,” this is not a 100% VoiceXML solution
and requires media-server side scripting.
Using the examples above in the 
external VoiceXML would be in the following form: 
http://server/en-us/app/
MyVXML?Company=Cisco&Job=technical+writer&
Location=Boxborough&Street=Main&FirstName=Gerrard&LastName=Thock&
Commute=1+hour&Car=Isuzu&BadgeID=2121212
ECC Variable Array Formula
The equation for figuring out how many bytes you are sending to and from the external
VoiceXML is below. You must be careful to keep this calculation in mind so that you do not
overload the ECC Variable with too many bytes.
5 + (1 + Maximum_Length) * (Maximum_Array_Size)
For example, if you are sending 3 array elements to the external VoiceXML of the maximum
210 bytes, the equation would look like this:
5 + (1 + 210) * 3
5 + (211 * 3)
5 + 633
638
Although the maximum number of bytes you can set each variable to is 210, as you can see
from the formula above, maxing out each variable would go over the 1050 character limit. Thus,
you need to make sure you use this formula to keep your character limit under the 1050
maximum.
You must use a single 210-byte array element in each direction.
Note: Remember that when you are returning a call from the external VoiceXML, the
User.microapp.caller_input variable is automatically returned.
Notes
If the User.microapp.ToExtVXML array is either not defined on Unified ICME or empty,
the IVR Service does not pass any parameters to the external VoiceXML.
You do not need to define the User.microapp.ToExtVXML array to contain 5 elements.
However, it must be defined as an ARRAY variable, not a SCALAR variable, even if you
Configuration and Administration Guide for Cisco Unified Customer Voice Portal Release 4.1(1)
221
Chapter 4: Writing Scripts for Unified CVP
Using Unified CVP Micro-Applications