VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00
AddPac Technology Co., Ltd. -
181 -
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
high bandwidth or to get the highest voice quality, select g711alaw or
g711ulaw from “Codec” command. These values allow better voice quality
but require 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
the VoIP peer. While the above method sets only one CODEC, creating a
CODEC class makes several CODEC lists and enables flexible negotiation with
the VoIP router.
Create CODEC classes as follows:
Step Command Description
1 Router# configure
Enters into the configuration mode.
2 Router(config)# voice class codec
tag
Enters into the CODEC class
configuration mode.
The tag is an identifier of the
CODEC class.
3 Router(config-class)# codec preference
value
codec-type
Enters into the configuration mode.
4 Router(config-class)# codec preference
value
codec-type
Enters into the configuration mode.
5 Router(config-class)# exit
Terminates the CODEC class
configuration mode. (After
configuration is completed,
configuration becomes valid.)
Comments to this Manuals