PassFinder AP2520 VoIP Router/Gateway Operation Manual
Version 1.10 / Mar. 2002
AddPac Technology Co., Ltd.
-
181
-
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.)
Then, save CODEC classes created above in a certain VoIP peer by the
following method.
Step Command
Description
1
dial-peer voice
tag VoIP
Enters into the dial-peer setup mode to set the
VoIP peer.
2
voice-class
codec
codec-class-tag
Selects a CODEC for the voice considering the
voice coder rate.
The following example shows how to create CODEC class 99 and store it in the
VoIP peer 108.
voice class codec 99
codec preference 1 g7231r63
codec preference 2 g729
dial-peer voice 108 VoIP
voice-class codec 99