
Optimizing Dial Peer and Network Interface Configurations
14
Release 12.0(7)XK
The default for the codec command is g729r8; normally the default configuration for this command
is the most desirable. If, however, you are operating on a high bandwidth network and voice quality
is of the highest importance, you should configure the codec command for g711alaw or ulaw. Using
this value will result in better voice quality, but it will also require higher bandwidth requirements
for voice.
For example, to specify a codec rate of G.711a-law for VoIP dial peer 108, enter the following:
dial-peer voice 108 voip
destination-pattern +14085551234
codec g711alaw
session target ipv4:10.0.0.8
Configuring VAD for a VoIP Dial Peer
To disable the transmission of silence packets for a selected VoIP peer, use the following commands
beginning in global configuration mode:
The default for the vad command is enabled; normally the default configuration for this command
is the most desirable. If you are operating on a high bandwidth network and voice quality is of the
highest importance, you should disable vad. Using this value will result in better voice quality, but
it will also require higher bandwidth requirements for voice.
For example, to enable VAD for VoIP dial peer 108, enter the following:
dial-peer voice 108 voip
destination-pattern +14085551234
vad
session target ipv4:10.0.0.8
Configuring Codec Selection Order
To configure codec selection order, perform the following tasks:
• Configuring a Voice Class to Define Codec Selection Order
• Applying a Voice Class for Codec Selection to a VoIP Dial Peer
Configuring a Voice Class to Define Codec Selection Order
You can define a voice class in which you configure a selection order for codecs, and then map the
voice class to a VoIP dial peer.
2 router(config-dialpeer)# codec {g711alaw |
g711ulaw | g723ar53 | g723ar63 | g723r53 |
g723r63 | g726r16 | g726r24 | g726r32 | g728 |
g729abr8 | g729ar8 | g729br8 | g729r8}[bytes
payload-size
]
Specify the desired voice coder rate of speech.Optionally specify
the voice payload (in bytes) of each frame.
Step Command Purpose
1
router(config)# dial-peer voice
number
voip
Enter dial-peer configuration mode to configure a VoIP peer.
2
router(config)# vad
Disable the transmission of silence packets (enabling VAD).
Step Command Purpose
Comentarios a estos manuales