4 voip rtp – Draytek Telnet Command 1.11 User Manual
Page 114

Telnet Command Reference Guide V1.1
108
2.23.4 voip rtp
2.23.4.1 voip rtp codec
This command allows users to set RTP codec type and size.
voip rtp codec [index]type[value]
voip rtp codec [index]size[value]
voip rtp codec [index]vad[value]
voip rtp codec [index]d711[value]
voip rtp codec [index]one[value]
Syntax Description
index
It means the index number of the VoIP settings.
type
It means to specify codec for VoIP call. The value for the type
includes 0(G.711MU),1(G.711A),2(G.729A/B,3(G.723),and
4(G.726_32).
size
It means the amount of data contained in a single packet. The value
for the size includes 0(10ms), 1(20ms), 2(30ms), 3(40ms), 4(50ms),
5(60ms).
vad
It means to detect if the voice on both sides is active or not. The
value for vad includes 0(Disable) and 1(Enable).
d711
It means to activate or inactivate codec G.711A and G.711MU. The
value for d711 includes 0(Disable) and 1(Enable).
one
It means to activate or inactivate single codec. The value for one
includes 0(Disable) and 1(Enable).
Example
> > voip rtp codec 1 type 1
> voip rtp codec ?
usage:
%voip rtp codec
%type: 0. G.711MU 1. G.711A 2. G.729A/B 3. G.723 4. G.726_32
%size: 0. 10ms 1. 20ms 2. 30ms 3. 40ms 4. 50ms 5.60ms
%VAD: 0. Disable 1. Enable
------------------------------------------
%Current Setting:
%[index]-codec type/packet size/vad/disable g.711/single codec
[1]-1/1/off/No/No
[2]-2/1/off/No/No
[3]-2/1/off/No/No