09-14-2004 12:33 PM - edited 03-13-2019 06:21 AM
Trying to force certain dial-peers to use a different codec. The following config we have setup in a lab. 2 MC3810's. 2 phones. Simulated WAN circuit using a serial cable between the 3810's with a DLCI of 231.
Router A:
dial-peer voice 1 pots
destination-pattern 10
port 1/1
dial-peer voice 2 pots
destination-pattern 11
dial-peer voice 101 vofr
destination-pattern 2.
session target Serial0 231
dial-peer voice 102 vofr
destination-pattern 20
session target Serial0 231
codec g711ulaw
Router B:
dial-peer voice 1 pots
destination-pattern 20
port 1/1
dial-peer voice 2 pots
destination-pattern 21
dial-peer voice 101 vofr
destination-pattern 1.
session target Serial0 231
dial-peer voice 102 vofr
destination-pattern 10
session target Serial0 231
codec g711ulaw
When I try to call 10, it does not default to the codec I specified and vice-versa. It continues to use g729ar8. I verify this when I do a "show voice ports summary". Any ideas? Thanks in advance.
Dave
09-27-2004 06:16 AM
There is a conflict in the destination patterns of the vofr dial-peers. One is " 1." and another is "10" Hence the problem. They need to be very specific or different as it will take the longest match." 10 " matches with " 1. "also.
Additionally, you may like to verify your conifguration with the following document:
VoFR Encapsulation and Fragmentation
http://www.cisco.com/en/US/tech/tk652/tk692/technologies_tech_note09186a00800942e1.shtml
03-04-2005 02:50 PM
Dear davidoates
add this config to your Terminator Router :
voice class codec 10
codec preference 1 g729r8
codec preference 2 g723r63
codec preference 3 g723r53
!
voice class h323 205
codec bytes preferred local
!
!
dial-peer voice 101 vofr
destination-pattern 1.
session target Serial0 231
voice-class codec 10
voice-class h323 205
!
dial-peer voice 102 vofr
destination-pattern 10
session target Serial0 231
voice-class codec 10
voice-class h323 205
Foad Godarzy (IT Manager)
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: