I'm having problems with a CUBE used as IPIP h323 to h323 gateway and transcoder (Cisco 2811). In my incoming voip dial-peer I use a voice-class with codecs g711 and g729 declared as follows:
voice class codec 3
codec preference 1 g711ulaw
codec preference 2 g729r8
My scenario is:
Phone A (g711) calls phone B (g729) through CUBE. Then phone A transfers the call to phone C (g729). That's why I need both codecs.
But during the transfer, in TCS h245 message from CUBE I see TCS(g729A,g729), and there is no g711. If I remove g729r8 from voice class, I see TCS(g729A,g711u).
I also thought to declare codecs within the dial-peer configuration section, but it seems to me it is possible to declare only one codec.
Can you help me?