it certainly looks like you're using Mu-law on that call leg. furthermore, you stated that you are using an MGCP gateway. <br><br>What command did you use on the gateway that you were saying set it to a-law?<br><br>I believe CUCM is solely responsible for instructing the MGCP GW as to the voice codec to use, isnt it?<br>
<br>-Peter<br><br><div class="gmail_quote">On Mon, Nov 19, 2012 at 10:45 AM, abbas Wali <span dir="ltr"><<a href="mailto:abbaseo@gmail.com" target="_blank">abbaseo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">Thanks Ryan<br><br>when i do a show call active voice brief i get the below<br><br>13EC : 361450 15:40:32.381 UTC Mon Nov 19 2012.1 +0 pid:0 Originate connecting<br> dur 00:01:13 tx:3639/582240 rx:3638/582080<br>
IP <a href="http://172.30.176.162:28630" target="_blank">172.30.176.162:28630</a> SRTP: off rtt:0ms pl:71930/0ms lost:0/0/0 delay:55/55/65ms g711ulaw TextRelay: off<br>
media inactive detected:n media contrl rcvd:n/a timestamp:n/a<br> long duration call detected:n long duration call duration:n/a timestamp:n/a<br><br>13EC : 361449 15:40:32.379 UTC Mon Nov 19 2012.2 +10 pid:0 Originate active<br>
dur 00:01:13 tx:3638/611184 rx:3651/584160<br> Tele 0/0/0:15 (361449) [0/0/0.31] tx:73010/73010/0ms<b> g711ulaw</b> noise:-76 acom:2 i/0:-27/-57 dBm<br><br>does that mean its all ulaw?<br><br>and yes you are right we have checked that box for MTP req on the trunks. this was to cover another issue with the lose of DTMF tones when we upgraded from CM 7 to 8.5.<br>
<br>Thanks<br><br><br></div><div class="gmail_quote"><div class="im">On 19 November 2012 14:42, Ryan Ratliff <span dir="ltr"><<a href="mailto:rratliff@cisco.com" target="_blank">rratliff@cisco.com</a>></span> wrote:<br>
</div><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">If you were actually transcoding one of those legs would be doing alaw and the other ulaw. What you see is two ulaw legs which means that your MTP is acting just like an MTP. I assume by enabling the SIP trunk for MTP you mean you've checked the "MTP Required" box? That box does just what it says it does, it forces an MTP for each call. <div>
<br></div><div>You aren't wasting MTP resources for transcoding between alaw and ulaw, you are wasting them because you checked the box.</div><div><br></div><div>I'd guess that you are actually using a uniform codec (look at the rtp streams on your mgcp gateway when a call is active and I'm sure you'll see they are ulaw there too) just not the codec you want.</div>
<div><br></div><div>You've got two options for forcing ulaw vs alaw. The first is a custom codec preference list with 711ulaw at the bottom of the list (you can't disable codecs this way, just prioritize them). Look at System->Region Information->Audio Codec Preference List. The second option is to disable g.711 ulaw via the service parameter "G.711 mu-law Codec Enabled". </div>
<div><br></div><div>You may need to upgrade to get one or both of those options.</div><div><br></div><div><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">-Ryan</span>
</div>
<br><div><div><div><div>On Nov 19, 2012, at 8:40 AM, abbas Wali <<a href="mailto:abbaseo@gmail.com" target="_blank">abbaseo@gmail.com</a>> wrote:</div><br>Hi all, <br><br>just to clairfy, we have confirgured PCM Type to ALaw (as in UK) on the MGCP gateways but all calls received shows ULaw on the phones. <br>
<br>I believe our MGCP gateway is transcoding them as below<br><br>
Gateway3#show voice dsp active <br> <br>DSP DSP DSPWARE CURR BOOT PAK TX/RX<br>TYPE NUM CH CODEC VERSION STATE STATE RST AI VOICEPORT TS ABORT PACK COUNT<br>==== === == ======== ========== ===== ======= === == ========= == ===== ============<br>
<br> <br>----------------------------FLEX VOICE CARD 0 -----------------------<br>-------<br> *DSP ACTIVE VOICE CHANNELS*<br>DSP DSPWARE VOX DSP SIG DSP PAK TX/RX<br>
TYPE VERSION CODEC NUM CH TS VOICEPORT SLT NUM CH TS RST AI ABRT PACK COUNT<br>====== ========== ======== === == == ========= === === == == === == ==== ============<br>C5510 27.3.1 <b>g711ulaw</b> 001 01 29 0/0/0:15 000 002 12 29 0 0 0 13359/13680<br>
C5510 27.3.1 g711ulaw 001 02 31 0/0/0:15 000 002 14 31 0 0 0 3707/3816<br clear="all"><br>The SIP trunks are enalbed to use MTP resources and the <label>MTP Preferred Originating Codec</label><img src="" alt="Required Field"> is set to ALaw. <br>
<br><span style="color:rgb(255,0,0)">I think we are wasting alot of MTP resources converting from A to U. is there a way to use a uniform codec in CUCM 8.5. </span><br><br>Many thanks <br>-- <br><font style="font-family:comic sans ms,sans-serif;color:rgb(51,102,255)" size="4"><span style="color:rgb(0,0,153)">@bbas.. </span><br>
<span><span style="background-color:rgb(255,0,0)"></span></span></font><br></div></div>
_______________________________________________<br>cisco-voip mailing list<br><a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br><a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br>
</div><br></div></div></blockquote></div></div></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><font style="font-family:comic sans ms,sans-serif;color:rgb(51,102,255)" size="4"><span style="color:rgb(0,0,153)">@bbas.. </span><br>
<span><span style="background-color:rgb(255,0,0)"></span></span></font><br>
</font></span><br>_______________________________________________<br>
cisco-voip mailing list<br>
<a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br>
<br></blockquote></div><br>