Cisco Cisco Customer Voice Portal Downloads Developer's Guide
V
OICE
E
LEMENT
: R
ECORD
C
ISCO
CVP V
OICE
XML 3.1
Element Specifications
Name (Label)
Type
Req’d
Single
setting
Substitution
allowed
Default
Notes
value
mime_type
(Mime Type)
(Mime Type)
string
Yes
true
true
none
This specifies the MIME type of the file that will
hold the recording, if
hold the recording, if
file_type
is set to
other
.
file_extension
(File Extension)
(File Extension)
string
No
true
true
None
This specifies the file extension to use for the
recorded file. A file extension different from the
file type can be used. For example, with a mime
type of vox, the file extension could be set to
"ulaw".
recorded file. A file extension different from the
file type can be used. For example, with a mime
type of vox, the file extension could be set to
"ulaw".
path
(Path)
(Path)
string
No
true
true
None
The path to the file that will hold the recording.
If left blank, the file is assumed to be sent via
ftp.
If left blank, the file is assumed to be sent via
ftp.
ftp_host
(FTP Host)
(FTP Host)
string
No
true
true
None
The domain name of the host to ftp the
recording. If left blank, the recording is assumed
to be stored in a local file.
recording. If left blank, the recording is assumed
to be stored in a local file.
ftp_user
(FTP User)
(FTP User)
string
No
true
true
None
The user name to use while FTPing the
recording.
recording.
ftp_password
(FTP Password)
(FTP Password)
string
No
true
true
None
The password to use while FTPing the recording.
ftp_path
(FTP Path)
(FTP Path)
string
No
true
true
None
The directory in which to FTP the recording.
ftp_in_background
(FTP In Background)
(FTP In Background)
boolean
Yes
true
true
true
Whether or not the FTP is to be performed in the
background.
background.
Notes:
•
Nomatch events cannot be thrown in this voice element. Since all audio is recorded (except DTMF key presses), there is no
reaction on spoken commands (including hotlinks).
reaction on spoken commands (including hotlinks).
•
A noinput event is possible if the voice browser detects no audio once recording has started. If the input timeout has been reached,
the noinput event is thrown.
the noinput event is thrown.
•
The path setting does not require a trailing slash. The voice element will determine the appropriate destination. The path may be
specified in operating system specific format (for example, on Windows it might be specified as C:\directory\subdirectory\).
specified in operating system specific format (for example, on Windows it might be specified as C:\directory\subdirectory\).
•
If
terminate_on_DTMF
is “false” or off, recording will stop only after the voice browser reaches the input timeout.
•
It is important to ensure that CVP VoiceXML Server has permission to save audio files to the specified path.
Copyright 2001 - 2005 Audium Corporation. All Rights Reserved. 10/05
71