<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Try Setting Inbound/Outbound VoIP DP's to utilize G711u; if you don't specify a codec on a DP then the default is G729r8.<div>Sam</div><div><br><div><div>On Jan 7, 2009, at 8:51 AM, Andy Yerofyeyev wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hello , <br><br>I'll appreciate if you can help me understand how codecs is selected and how to restrict gateway to use only G711 when call placed via H323 gateway.<br>I created H323 gateway , assigned gateway to same device pool and location as all of my phones , but when I place call thru this gateway I can see only g729 codec in H245 capabilities .<br> <br>debug h245 asn on gateway itself shows about incoming call (from CM)<br clear="all">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; capabilityTable<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; capabilityTableEntryNumber 6<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; capability receiveAudioCapability : g729AnnexA : 2<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; },<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; capabilityTableEntryNumber 5<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; capability receiveAudioCapability : g729 : 2<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; capabilityTable<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; capabilityTableEntryNumber 1<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; capability receiveAudioCapability : g729 : 6<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; },<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; capabilityTableEntryNumber 44<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; capability receiveAndTransmitUserInputCapability : hookflash : NULL<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; },<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; capabilityTableEntryNumber 45<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; capability receiveAndTransmitUserInputCapability : basicString : NULL<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; },<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; capabilityTableEntryNumber 46<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; capability receiveAndTransmitUserInputCapability : dtmf : NULL<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>If I use Non-gatekeeper controlled intracluster trunk situation pretty the same. Just FUI , location bandwidth is Unlimited and 711 codec configured to use inside Region to which phones and gateway belongs to. If call placed from one 7960 to anoter they use 711 codec.<br> <br>If I restrict to use only 711 codec on gateway itself (by using codec-class on incoming dial-peer) call failed.<br><br><br><br>-- <br>Best Regards,<br><br>Andriy Yerofyeyev CCIE #21607<br><a href="http://www.linkedin.com/in/ccie21607">http://www.linkedin.com/in/ccie21607</a><br> _______________________________________________<br>cisco-voip mailing list<br><a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>https://puck.nether.net/mailman/listinfo/cisco-voip<br></blockquote></div><br></div></body></html>