10-30-2006 06:40 AM - edited 03-13-2019 03:34 PM
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.
Solved! Go to Solution.
10-30-2006 07:51 AM
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
!
10-30-2006 07:51 AM
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
!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide