PassFinder AP2520 VoIP Router/Gateway Operation Manual
Version 1.10 / Mar. 2002
AddPac Technology Co., Ltd.
-
180
-
5.3.2.4.
Setting CODEC and VAD in the Dial Peer
To set the COder-DECoder(CODEC) and the Voice Activity Detection (VAD) in
the dial peer, how much bandwidth the voice session can have shall be
defined. Normally, the CODEC converts analog signals into digital bit streams
or vice versa. During this procedure, the CODEC defines the voice coder rate
for the dial peer. The VAD prohibits silent packets (created while the
caller/callee does not talk) from being sent.
5.3.2.4.1.
Setting CODEC in the VoIP Dial Peer
To set the coder rate for the selected VoIP peer, use the following commands
in the global setup mode (start.)
Step Command
Description
1
dial-peer voice
tag VoIP
Enters into the dial-peer setup mode to set the
VoIP peer.
2
codec [g711alaw / g711ulaw
/g729 / g7231r63 /g7231r53]
Selects the CODEC for the voice considering the
coder rate.
Codec
The default of “Codec” command is
g7231r63.
In normal cases, the
default value is the most suitable. However, to connect to a network that has
a high bandwidth or to get the highest voice quality, select
g711alaw
or
g711ulaw
from “Codec” command. These values allows better voice quality
but requires more bandwidth for the voice session.
For example, to use a CODEC with G.711a-law Rate for the VoIP dial peer 108,
set the CODEC as follows:
dial-peer voice 108 VoIP
destination-pattern 14085551234
codec g711alaw
session target 10.0.0.8
Besides doing the above, users can create CODEC classes and store them in