Version

Note: To access a voice object in multiple contexts (for example, to share a prompt file), open the voice object separately for each context.

Figure 2. Current Message/Current Position








|
If you want to...
|
Then use...
|
|---|---|
|
Start recording at the current position in the current message
|
vceRecord
|
|
Record a message into a specified voice object
|
vceRecordMessage
|



Figure 3. Record Termination - No Voice
Figure 4. Record Termination - Voice End
Figure 5. Record Termination - Timeout


|
State
|
Description
|
|---|---|
|
Idle
|
The play and record functions are not active.
|
|
Playing
|
When the application initiates playing by invoking a play function (vcePlay, vcePlayList, or vcePlayMessage), the Voice Message service is in the playing state.
|
|
Recording
|
When the application initiates recording by invoking a record function (vceRecord or vceRecordMessage), the Voice Message service is in the recording state.
|
|
Play Stopping
|
The application initiates stopping the play by invoking vceStop. The Voice Message service generates a VCEEVN_PLAY_DONE event and returns to the idle state.
|
|
Record Stopping
|
The application initiates stopping the record by invoking vceStop. The Voice Message service generates a VCEEVN_RECORD_DONE event and returns to the idle state.
|


|
|
Most Significant Bit
|
|
|
|
|
|
|
Least Significant Bit
| ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Bit Position
|
15
|
14
|
13
|
12
|
11
|
10
|
9
|
8
|
7
|
6
|
5
|
4
|
3
|
2
|
1
|
0
|
|
DTMF Key
|
D
|
C
|
B
|
A
|
#
|
*
|
9
|
8
|
7
|
6
|
5
|
4
|
3
|
2
|
1
|
0
|






|
To...
|
Use...
|
|---|---|
|
Read data at the current position in the current message
|
vceRead
|
|
Write data at the current position in the current message
|
vceWrite
|



|
Use this utility...
|
To...
|
|---|---|
|
mkprompt
|
Create a prompt rules table. Refer to Section 5.6.
|
|
testpmpt
|
Test a prompt rules table. Refer to Section 5.7.
|
Figure 7. Prompt Builder in the Voice Message Service
Version