
Net-2000™ Voice Codec Unit
User’s Manual
Page 50
Section 3 – Net-2000™ VCU Control
DVSI Confidential Proprietary
Table 47 Voice Response Packet
The
cmode
element of the packet contains the status flags returned by the first decoder function as
shown in Table 48 cmode Bits for Voice Response Packets.
cmode parameter bits
Voice Response
Packet Flags
Byte 18
7 6 5 4 3 2 1 0
Byte 19
7 6 5 4 3 2 1 0
Bits
AMBE DTMF FRAME FLAG
If set, the decoder determined that the data in the
voice[] array is a single, DTMF, or call progress
tone. The index and amplitude of the tone should
be put in the tone.idx and tone.amp parameters of
the packet, respectively.
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
15
AMBE DATA INVALID FLAG
If set, the decoder has determined that the channel
data passed to it is invalid and a frame repeat or
comfort noise insertion was performed.
0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0
5
AMBE VOICE ACTIVE FLAG
If set, the data in the voice[] array is voice or tone
data. If cleared the data in the voice[] array is a
silence frame.
0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
1
*Not Used
x * * * * * * *
* * x * * * x *
14, 13, 12, 11,
10, 9, 8, 7, 6,
4, 3, 2, 0
Table 48 cmode Bits for Voice Response Packets
If the decoder sets the AMBE DTMF FRAME FLAG status flags output, the tone.idx and tone.amp
elements will contain the tone index and amplitude of the tone. Otherwise, tone.idx would be set to
AMBE INVALID TONE and tone.amp would be set to zero.
Voice Response Packet
Bytes
(msb-lsb)
Bit
7 6 5 4 3 2 1 0
Bit
7 6 5 4 3 2 1 0
Parameter Name
0 - 1
x x x x x x x x
x x x x x x x x
len
2 - 3
0 0 0 0 0 0 0 0
0 0 0 0 0 0 1 0
type
Header
4 - 5
x x x x x x x x
x x x x x x x x
seq
6 - 7
0 0 0 0 0 0 0 0
1 1 0 0 0 x x x
rate [0]
8 - 9
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
rate [1]
10 - 11
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
rate [2]
12 - 13
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
rate [3]
14 - 15
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
rate [4]
16 - 17
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
rate [5]
18 - 19
0 x 0 0 0 0 0 0
0 0 0 0 0 0 0 0
cmode
20 - 21
0 0 0 0 0 0 0 0
1 0 x x x x x x
tone.idx
22 - 23
x 0 0 0 0 0 0 0
0 x x x x x x x
tone.amp
24 - 25
0 0 0 0 0 0 0 0
1 0 x x x x x x
ws
26 - 27
0 0 0 0 x x x x
0 0 0 x 0 0 x x
format
28 - 29
x x x x x x x x
x x x x x x x x
voice [0]
30 - 31
x x x x x x x x
x x x x x x x x
voice [1]
32 - 33
x x x x x x x x
x x x x x x x x
voice [2]
… … … …
(len-2) - (len-1)
x x x x x x x x
x x x x x x x x
voice [ws-1]