<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
I think it's time to look at the CCM traces for the same call to see why CUCM isn't allowing g.711.<div><br></div><div><div> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">-Ryan</font></p>  </div><br><div><div>On Jan 7, 2009, at 10:47 AM, Andy Yerofyeyev wrote:</div><br class="Apple-interchange-newline">Ryan , thanks for reply<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style=""><div>Note the outbound TCS only has g.729 in it.  This indicates there is no codec configured on the inbound dial-peer.  Also of interest is that the inbound TCS also only has g.729 so this is probably why your g.711 call fails.  </div> </div></blockquote><div><br>Here is it :<br>Jan  7 15:01:47.920: H245 MSC INCOMING PDU ::=<br>      capabilityTable<br>        {<br>          capabilityTableEntryNumber 1<br>          capability receiveAudioCapability : g729 : 6<br>         },<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style=""><div></div><div>Do you perhaps have MTP required set on the gateway and are invoking a g.729 only MTP?  </div> </div></blockquote><div><br>MTP Required flag is UNchecked. If I check it call is connected w/729 and wont connect if incoming DP restricted w/codec g711ulaw. I have 2 software MTP configured , which belongs to same Region/DP/Location.<br>  </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style=""><div>Unless CCM is just matching your TCS I don't know of a device that only supports one particular g.729 codec.</div> </div></blockquote><div><br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style=""><div></div><div><br></div><font color="#888888"><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" size="3" face="Helvetica">-Ryan</font></div>  </div></font><div><div></div><div class="Wj3C7c"><br><div><div>On Jan 7, 2009, at 10:10 AM, Andy Yerofyeyev wrote:</div><br>Ryan, appreciate your reply.<br><br>H.245 info gathered from gateway itself. Full version of H.245 asn1 here : <a href="http://pastebin.com/f1529472e" target="_blank">http://pastebin.com/f1529472e</a><br> <br>CM configured with Location A (unlimited bw) , Region A (codec G711 inside Region) , Device Pool A (&lt;-Region A) , Phones and newly created H323 gateway assigned to location A and DP A. <br> If I don't put any restriction on incoming dial-peer on h323 gateway (cisco ,2811 , 12.4 ios) call succeed with g729 codec, if I restrict codec to only 711ulaw by using codec class call failed.<br> <br><br><div class="gmail_quote"> On Wed, Jan 7, 2009 at 9:59 AM, Ryan Ratliff <span dir="ltr">&lt;<a href="mailto:rratliff@cisco.com" target="_blank">rratliff@cisco.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div>The codec selection on the gateway is defined by the codec-class or codec command applied to the outbound/inbound voip dial-peer.  On the CUCM server  the maximum bandwidth used for a voice call between two devices is set by the region configuration.  Because the region is simply a max value, if one party in a g.711 region only supports g.729 then assuming the other party also supports g.729 the call will be set up using that codec.<div> <br></div><div>Is the H.245 TCS info you supplied below from the gateway or the CUCM?  </div><div><br><div><div style="margin: 0px;"><font style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" size="3" face="Helvetica">-Ryan</font></div>  </div><br><div><div><div></div><div><div>On Jan 7, 2009, at 9:51 AM, Andy Yerofyeyev wrote:</div><br>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">       capabilityTable<br>      {<br><br>        {<br>          capabilityTableEntryNumber 6<br>          capability receiveAudioCapability : g729AnnexA : 2<br>         },<br>        {<br>          capabilityTableEntryNumber 5<br>           capability receiveAudioCapability : g729 : 2<br>        }<br>      }<br><br>      capabilityTable<br>      {<br><br>        {<br>          capabilityTableEntryNumber 1<br>           capability receiveAudioCapability : g729 : 6<br>         },<br>        {<br>          capabilityTableEntryNumber 44<br>          capability receiveAndTransmitUserInputCapability : hookflash : NULL<br>        },<br>         {<br>          capabilityTableEntryNumber 45<br>           capability receiveAndTransmitUserInputCapability : basicString : NULL<br>        },<br>        {<br>          capabilityTableEntryNumber 46<br>          capability receiveAndTransmitUserInputCapability : dtmf : NULL<br>         }<br>      }<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></div></div></div></div></div></blockquote></div><br></div><br></div></div></div></blockquote> </div><br><br clear="all"><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></div><br></div></body></html>