cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
687
Views
0
Helpful
1
Replies

setting codec preffered list

sb-txr-cco
Level 1
Level 1

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

Jason Aarons
Level 6
Level 6

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

!

View solution in original post

1 Reply 1

Jason Aarons
Level 6
Level 6

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

!