MTP/Transcoder & SIP Trunk Between Lync and CUCM 8.6

Answered Question
Jun 10th, 2014
User Badges:

So I have some behavior between my CUCM 8.6, Lync, and 2 voice gateways that I consider weird, but may be completely logical and I just am not aware that it's working as intended.  So I was hoping some experts here could help me figure out what is going on.

Calls will originate from CUCM either via a 7940 phone registered to CUCM or via the PSTN.  Both types of call will route via a route pattern to a SIP trunk that is configured to send calls to 2 Lync mediation servers.  MTP required is checked as per Lync requirements on the SIP trunk.  The phones and SIP trunk are in the same Location so they will be talking g711u the whole way.  They also have the same MRLs.  Those MRLs have 2 transcoding resources pointing to a pair of 3925 gateways.  They also have 2 MTP resources pointing to the 3925 gateways.   Gateway 1 has 200 MTP software sessions configured.  Gateway 2 has, right now, 2 MTP hardware sessions and 4 MTP software sessions.

Now, from what I understand, whenever a call is initiated from CUCM to a Lync conference an MTP session has to be initiated to connect the 2 sides.  And that MTP session will happen via one of the 3925 gateways.  We see that happen quite frequently.  However, the odd thing that I can't figure out is that we will see a transcoding resource be used instead of an MTP resource in some instances.  And this transcoding resource is talking g711u on both sides.  As I understand it, if an MTP resource is unavailable a transcoding resource will be used as MTP.   However, I've never seen more than 8 MTP sessions be used on our gateway with 200 sessions configured so I don't know how an MTP resource would be unavailable.

Also, it's never consistent in any of my tests what will use an MTP or what will use a transcoder.  Using 4 phones with 6 lines between them configured, I've had tests use 5 MTPs/1 xcode, 2 MTPs/4 xcode, and other combinations.  I'm not even sure how or where to debug this.  Any thoughts?

Correct Answer by Brian Meade about 3 years 2 months ago

The side with MTP Required checked will always allocate the MTP.  Since you had it checked on the trunk, it will use the trunk's MRGL for selecting an MTP resource.

Correct Answer by Manish Gogna about 3 years 2 months ago

Hi Shane,

You are correct that the transcoder can work as an MTP. Now, the reason for transcoder being invoked even though you have MTP's configured in the MRGL could be because of MTP and transcoder resources assigned to the same MRG, MTP leak issue or MTP resoources getting exhausted.

First, you need to ensure that you do not have MTP and transcoder is the same MRG. Assign xcoders and MTP resources to different MRG's and ensure the MTP MRG is on top of the MRGL.

This is because when cucm needs an MTP, it picks the first available MTP/Xcoder it finds in the MRGL. Hence, you should only have one codec-type MTP in the MRGL, for the codec that you intend to use across the trunk.

HTH

Manish

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
Manish Gogna Tue, 06/10/2014 - 21:23
User Badges:
  • Cisco Employee,

Hi Shane,

You are correct that the transcoder can work as an MTP. Now, the reason for transcoder being invoked even though you have MTP's configured in the MRGL could be because of MTP and transcoder resources assigned to the same MRG, MTP leak issue or MTP resoources getting exhausted.

First, you need to ensure that you do not have MTP and transcoder is the same MRG. Assign xcoders and MTP resources to different MRG's and ensure the MTP MRG is on top of the MRGL.

This is because when cucm needs an MTP, it picks the first available MTP/Xcoder it finds in the MRGL. Hence, you should only have one codec-type MTP in the MRGL, for the codec that you intend to use across the trunk.

HTH

Manish

Shane Miller Wed, 06/11/2014 - 07:09
User Badges:

Is this documented somewhere and I just missed it?  Or is it undocumented?  I'll create an MRG with MTP resources and create an MRG with Transcoding resources.  Should there be a 3rd MRG with all of the other resources (Conferencing, Announce, MOH) or can those resources go in one of the other 2?

Also, if the phone has one MRGL and the SIP Trunk has a different MRGL which one is used?  The one closest to the user, e.g. the phone MRGL?

Shane Miller Wed, 06/11/2014 - 08:27
User Badges:

And I guess I'll answer my own question.  It appears the SIP Trunk MRGL is taking precedence.  I ran a test where I only changed my phone's MRGL as suggested above by Manish and it made no difference.  I then changed the SIP Trunk MRGL as suggested above and now all 6 of my calls are using MTP resources on the correct gateway!!

Correct Answer
Brian Meade Wed, 06/11/2014 - 11:06
User Badges:
  • Silver, 250 points or more

The side with MTP Required checked will always allocate the MTP.  Since you had it checked on the trunk, it will use the trunk's MRGL for selecting an MTP resource.

Actions

This Discussion