Specifications

VoiceFinder VoIP Gateway Configuration Guide (APOS 2.0) Release Version 3.1
AddPac Technology Co., LTD
- 148 / 416-
describes above can configure only one codec, but on the other hand, codec class has an
advantage of being flexible as it has many codec in a list with priority order.
The following is the procedure to create codec class first:
Step Commands Description
1
model name# configure Get into configuration mode
2
model name(config)# voice class codec tag Move to codec class configuration
mode. ‘tag’ is the only codec class
identifier.
3
model name(config-class)# codec
preference value codec-type
Get into configuration mode
4
model name(config-class)# codec
preference value codec-type
Get into configuration mode
5
model name(config-class)# exit Finish codec class configuration mode
(When the configuration is finished,
the configuration has the effect.
The following are the procedure for specifying the codec class, which has been created through
the procedure above, to a specific VoIP peer.
Step Commands Usage
1 dial-peer voice tag voip
Move to dial-peer configuration mode to configure
VoIP peer
2 voice-class codec
codec-class-tag
Select a codec with consideration of coder rate to be
used for voice
The followings show an example of creating codec class 99 and specifying it to VoIP peer 108:
voice class codec 99
codec preference 1 g7231r63
codec preference 2 g729
dial-peer voice 108 voip
voice-class codec 99
3.3.2.4.2. Configuring VAD from VoIP Dial Peer
Use the following commands in the beginning of global configuration mode to disable
transmission of silence packet to VoIP peer.
Step Commands Usage
1 dial-peer voice number voip
Move to dial-peer configuration mode to configure
VoIP peer
2 vad
Disable transmission of silence packer. In other