
Configuring Codec Selection Order
Configuring Voice over IP for Cisco MC3810 Series Concentrators 15
To configure a voice class in which you can define the order of preference in which a router selects
a codec when it negotiates with a far-end router, enter the following commands beginning in global
configuration mode:
Applying a Voice Class for Codec Selection to a VoIP Dial Peer
After you have created the voice class, assign it to a VoIP dial peer. You cannot assign voice-class
codec attributes to POTS dial peers.
To apply voice-class signaling attributes to a VoIP dial peer, complete the following steps beginning
in global configuration mode:
Step Command Purpose
1
router(config)# voice class codec
tag
Create a voice class for a codec preference list. The range for the tag number
is 1 to 10000. The tag number must be unique on the router.
2
router(config-voice-class)# codec
preference
priority codec
[bytes
payload-size
]
Configure the selection order of preference for a codec. Repeat this command
to specify selection orders of preference for additional codecs, if required.
3
router(config-voice-class) #exit
Exit from voice-class configuration mode.
Step Command Purpose
1
router(config)# dial-peer voice
tag
voip
Define a VoIP dial peer and enter dial-peer configuration mode. All subsequent
commands that you enter in dial-peer voice mode before you exit will apply to this
dial peer.
The tag is a number that identifies the dial peer and must be unique on the router. Do
not assign duplicate tag numbers.
2
router(config-dialpeer)#
voice-class codec
tag
Assign to the dial peer the voice class that you created in the “Configuring a Voice
Class to Define Codec Selection Order” section.
Note The voice-class command in dial-peer configuration mode is entered with a
hyphen. The voice class command in global configuration mode is entered without the
hyphen.
Komentáře k této Příručce