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

Página de 91
V
OICE 
E
LEMENT
:
 
R
ECORD
 
 
C
ISCO 
CVP
 
V
OICE
XML
 
3.0 
 
 
Element Specifications 
 
 
 
Copyright 2001 - 2005 Audium Corporation.  All Rights Reserved. 1/14/05
 
71
 
Name (Label) 
Type 
Req’d 
Single 
setting 
value 
Substitution 
allowed 
Default 
Notes 
mime_type 
(Mime Type) 
string Yes true true none  This specifies the MIME type of the file that will 
hold the recording, if file_type is set to 
other
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". 
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. 
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. 
ftp_user 
(FTP User) 
string No true true None  The user name to use while FTPing the 
recording. 
ftp_password 
(FTP Password) 
string No true true None  The password to use while FTPing the recording. 
ftp_path 
(FTP Path) 
string No true true None  The directory in which to FTP the recording. 
ftp_in_background 
(FTP In Background) 
boolean Yes  true true true 
Whether or not the FTP is to be performed in the 
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). 
•  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 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\). 
•  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.