I am having a very strange problem with one of my gateways. No matter how I set up my regions and device pools I continue to have all calls go through this gateway as G729. This would be fine except that I can't do conference calls because of codec mismatches.
The gateway is a PRI running H323. CM 3.2.2(c) Gateway is a 3640 running 12.2.11(t)
All regions are currently set to G711.
I read something about a command under voice-port that sets the default codec. What I don't understand is, if this is what is causing it to go to G729, why is this the only gateway that ignores the regions.
Cisco VoIP gateways support the codec negotiation feature. This feature provides the ability for a Cisco VoIP gateway to connect to other VoIP devices without necessarily knowing which codec is used for a call-setup. Also, this feature allows Cisco VoIP gateways to dynamically adjust to changes on remote devices. As long as the codec used by the remote VoIP device matches the capabilities-list of the Cisco VoIP gateway, the VoIP call is completed.
The following example shows how to configure codec negotiation:
Cisco-router# config t
Cisco-router(config)# voice class codec 1
!--- This sets up class 1 to be assigned to the dial peer.
I was under the same impression about outgoing dial-peer. However, it appears that CME uses the outgoing dial-peer (the one that cme uses to reach a device on callmanager) in call setup for calls from callmanger devices to the gateway in determining what codec to use.
You would need to use the voice-class codec command(s) on the same dial-peer that cme uses to reach the devices for a call from PSTN to a callmanager device.
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g729r8
codec preference 3 g729br8
dial-peer voice 100 voip
voice-class codec 1
a call from extension 55555 -> gateway -> pstn should now be able to negotiate g729 as long as regions are set up correctly. You wouldn't think that this outgoing dial-peer would come into play on an incoming call (cme perspective), but it does.
I'm not able to access my old voice mail messages all of a sudden. The recording says something like 'the message is currently not available'. This has never happened before in all the years I have been using this system. I have t...