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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Voice class codec command not working right

Hello,

I am using the following on my inbound dial-peers:

voice class codec 1

codec preference 1 g729r8

codec preference 2 g711ulaw

Inbound calls all come in at g711ulaw. If I remove the codec pref 2 g711ulaw command, then calls come in g729 as both are advertised by the provider, global crossing, g729 first, then g711 second. Appears to be a bug or am I missing something?? Why aren't the calls connecting at g729r8 as that is my first preference??

Thanks,

Chuck

6 REPLIES

Re: Voice class codec command not working right

Hi Chuck,

Your preferences will not always be the first choice, depending on how the negotiation is done. It's also possible that you're using something like G729br8 and the provider is looking for G729r8.

This is likely something you can solve by talking with your provider, because if you're sure that voice class codec is applied to the right incoming dial peer, that is all you can do.

-nick

New Member

Re: Voice class codec command not working right

Hello,

I verified with provider that g729r8 is correct, I am thinking that this may a SIP Issue, this is a cube router, sip-sip, and when i do a debug ccsip all I see that :

Static payload sets g711ulaw

Preferred codec is g729r8

Dynamic payload(100) could not be reserved.

I'm thinking i need to do something with sip command to be able to choose the codec?

Chuck

Re: Voice class codec command not working right

Hi Chuck,

That output looks normal. You may want to use 'rtp payload nte 100' on your dial peers to prevent that last line, but so far that looks alright.

If you're using voice class codecs and CUBE, make sure you have the same one on the incoming and outgoing dial peers.

-nick

New Member

Re: Voice class codec command not working right

Hi, yeah, I have the payload type set already for nte 100, cant figure out why its not taking g729r8. It only takes g729 if I remove the option for G711.

Re: Voice class codec command not working right

Hi Chuck,

It sounds like the provider prefers G711, so that's what they're choosing.

They send the INVITE with their capabilities. We send a 200 OK with our preferences. They choose which of our preferences they want to use.

-nick

New Member

Re: Voice class codec command not working right

Hi Nick,

I emailed you a debug trace, didnt want to post it to the world, if you can take a quick look, Id appreciate it, the provider said they offering g729 first, then g711 second.

Thanks,

Chuck

232
Views
0
Helpful
6
Replies