![](/images/new-backgrounds/1106499/10649943x1.webp)
Optimize Dial Peer and Network Interface Configurations
To generate an SNMP trap message if the reserved QoS is less than the configured value for a selected VoIP peer, use the following commands, beginning in global configuration mode:
Step | Command | Purpose |
1 | Enter the | |
|
| configure a VoIP peer. |
|
|
|
2 | Specify the QoS value below which an SNMP | |
| trap will be generated. | |
|
|
|
Note RSVP reservations are only
Configure CODEC and VAD for Dial Peers
Configure CODEC for a VoIP Dial Peer
To specify a voice coder rate for a selected VoIP peer, use the following commands beginning in global configuration mode:
Step | Command | Purpose |
1 | Enter the | |
|
| configure a VoIP peer. |
|
|
|
2 | codec [g711alaw g711ulaw g729r8] | Specify the desired voice coder rate of speech. |
|
|
|
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
session target ipv4:10.0.0.8