Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

setting codec preffered list

hi,

i have a simple config. Voice GW with only outbound call to a PSTN E1 port, incoming call are SIP with codec g729br8. The config is based on a single pots dial-peer:

dial-peer voice 1000 pots

preference 5

destination-pattern .T

port 1/0/0:15

All incoming SIP call are refuse with this message:

//1972/D1D8EB2F8049/SIP/Media/sipSPISelectCodecVersion: Codec (g729br8) is not in preferred list

//-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Sent:

SIP/2.0 488 Not Acceptable Media

i try to change the codec list and preference with:

voice class codec 1

codec preference 1 g729br8

codec preference 2 g729r8

codec preference 3 g723ar63

codec preference 4 g723r63

codec preference 5 g711ulaw

but where i must apply it??? only a single pots dial-peer is defined and it doesn't accept the voice-class command..

thnx

s.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: setting codec preffered list

You must have a voip dial peer.

While the command uses the word preference, I believe it's just a list of advertised codecs in the h.245 media negotiation. TAC has said previously the order does not matter.

dial-peer voice 3001000 voip

destination-pattern 1...

voice-class codec 1

session target ipv4:10.10.10.10

incoming called-number .

dtmf-relay h245-alphanumeric

!

1 REPLY

Re: setting codec preffered list

You must have a voip dial peer.

While the command uses the word preference, I believe it's just a list of advertised codecs in the h.245 media negotiation. TAC has said previously the order does not matter.

dial-peer voice 3001000 voip

destination-pattern 1...

voice-class codec 1

session target ipv4:10.10.10.10

incoming called-number .

dtmf-relay h245-alphanumeric

!

374
Views
0
Helpful
1
Replies
CreatePlease login to create content