Cisco Cisco Unified Customer Voice Portal 10.0(1) Guida Dello Sviluppatore
V
OICE
E
LEMENT
: R
ECORD
C
ISCO
CVP V
OICE
XML 3.1
Element Specifications
Record
The Record voice element makes a recording of the caller's voice. A prompt is played to the caller then the voice element records the
caller’s voice until a termination key is inputted or the recording time limit has been reached. An audio cue (beep) may be activated to
signal to the caller that the system is ready to record the caller’s voice.
caller’s voice until a termination key is inputted or the recording time limit has been reached. An audio cue (beep) may be activated to
signal to the caller that the system is ready to record the caller’s voice.
The recording is sent to the Record element by the voice browser and is stored in an audio file in a location specified by the developer.
Any pre-existing file with the same name will be overwritten. The element can be configured to produce a non-repeating filename so
all recordings can be retained. By default the format for this filename is audioN.wav where N is the number of milliseconds since
midnight January 1, 1970 (GMT), and all recordings are saved in the WAV format.
Any pre-existing file with the same name will be overwritten. The element can be configured to produce a non-repeating filename so
all recordings can be retained. By default the format for this filename is audioN.wav where N is the number of milliseconds since
midnight January 1, 1970 (GMT), and all recordings are saved in the WAV format.
Settings
Name (Label)
Type
Req’d
Single
setting
value
Substitution
allowed
Default
Notes
noinput_timeout
(Noinput Timeout)
(Noinput Timeout)
string
Yes
true
true
5s
The maximum time length allowed (in seconds)
for silence or no keypress before a noinput event
is thrown.
for silence or no keypress before a noinput event
is thrown.
max_noinput_count
(Max NoInput Count)
(Max NoInput Count)
int ≥ 0
Yes
true
true
3
The maximum number of noinput events
allowed during input capture.
allowed during input capture.
0
= infinite
noinputs allowed.
start_with_beep
(Start With Beep)
(Start With Beep)
boolean
Yes
true
true
true
Whether or not to play a beep before recording
begins.
begins.
terminate_on_dtmf
(Terminate On DTMF)
(Terminate On DTMF)
boolean
Yes
true
true
true
Whether or not the caller can end the recording
by pressing a touchtone key.
by pressing a touchtone key.
max_record_time
(Max Record Time)
(Max Record Time)
int ≥ 0
Yes
true
true
180
The maximum number of seconds the recording
is allowed to last.
is allowed to last.
final_silence
(Final Silence)
(Final Silence)
string
Yes
true
true
4s
The interval of silence (in number of seconds)
that indicates the end of speech.
that indicates the end of speech.
filename
(Filename)
(Filename)
string
No
true
true
None
The filename of the recording (without
extension). If left blank, an auto-generated
filename will be used.
extension). If left blank, an auto-generated
filename will be used.
file_type
(File Type)
(File Type)
string
enum
Yes
true
true
wav
This specifies the audio type of the file that will
hold the recording. Possible values are:
hold the recording. Possible values are:
wav
|
vox
|
au
|
other
.
Copyright 2001 - 2005 Audium Corporation. All Rights Reserved. 10/05
70