HP MSR2000/3000/4000 Router Series Voice Command Reference

77
Examples
# Configure the codec as g711alaw for VoIP entity 10.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] dial-program
[Sysname-voice-dial] entity 10 voip
[Sysname-voice-dial-entity10] codec g711alaw
codec preference
Use codec preference to assign a priority to a codec in a codec template.
Use the undo codec preference command to delete the assigned priority.
Syntax
codec preference priority { g711alaw | g711ulaw | g723r53 | g723r63 | g726r16 | g726r24 |
g726r32 | g726r40 | g729a | g729br8 | g729r8 } [ bytes payload-size ]
undo codec preference priority
Default
No codecs exist in a template.
Views
Codec template view
Predefined user roles
network-admin
mdc-admin
Parameters
priority: Specify the priority of a codec, in the range of 1 to 4. The smaller the value, the higher the
priority.
For information about other keywords, see the codec co
mmand.
Usage guidelines
For information about the codecs, see the codec command.
Examples
# Configure the g711alaw codec to have the first priority.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] voice class codec 1
[Sysname-voice-class-codec1] codec preference 1 g711alaw
description
Use description to configure a description for a voice entity.
Use undo description to delete the configured description.