<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>MSD selection algorithm both ICT and to a H323 gateway.  I too would love to know the algorithm.   Seems to be more random.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I ran about 10 calls out a H323 IOS gateway and whom was Master seemed to be random.  Can we influence Master selection somehow?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><a href="http://blog.ipexpert.com/2010/08/04/gatekeeeperh323-signaling-ras-h225-h245/">http://blog.ipexpert.com/2010/08/04/gatekeeeperh323-signaling-ras-h225-h245/</a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>See the H245 section.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> cisco-voip [mailto:cisco-voip-bounces@puck.nether.net] <b>On Behalf Of </b>Anthony Holloway<br><b>Sent:</b> Wednesday, September 18, 2013 11:03 AM<br><b>To:</b> Cisco VoIP Group<br><b>Subject:</b> [cisco-voip] CUCM ICT MasterSlaveDetermination Question<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><div><div><div><div><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>All,<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>I am troubleshooting a complex call flow with multiple clusters all connected via Non-Gatekeeper Controlled H.323 ICT's, and have narrowed down the failure to a region misconfiguration between a trunk and its transcoder.<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>My question to the group is about the H.245 MasterSlaveDetermination process, and how CUCM handles this between two CUCM's.  Because, as you might see below, it seems to be broken, or at least unpredictable.  Or maybe my lack of understanding is blinding me to the obvious answer.<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>First, let me start with a graphic of the H.225/H.245 messaging between two clusters.  What you will see here is that TCS is sent in both directions, and the the initiating side sends an H.245 endSession to the receiving side, before the MasterSlaveDetermination is sent or received by either party.<br><br><o:p></o:p></p><div style='margin-left:30.0pt'><p class=MsoNormal><img border=0 width=390 height=479 id="_x0000_i1025" src="cid:image001.png@01CEB463.96816EF0" alt="Inline image 1"><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>What the graphic doesn't show, are the details within the messages, but as you may know, the H.225 messaging is littered with customer specific details, so it's a bit of a challenge to simply just post it all to this mailing list.  Below are some of the details to help you understand the flow.  Please let me know if you need more specific details.<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>We'll start with the TCS message sent by the .9 host to the .13 host<o:p></o:p></p><div style='margin-left:30.0pt'><p class=MsoNormal><span style='font-family:"Courier New"'>05:37:28.999 |</span><br><span style='font-family:"Courier New"'>H245ASN - TtPid=(5551) -Outgoing #80462 -value MultimediaSystemControlMessage ::= request : terminalCapabilitySet : </span><br><span style='font-family:"Courier New"'>    {</span><br><span style='font-family:"Courier New"'>      sequenceNumber 1,</span><br><span style='font-family:"Courier New"'>      protocolIdentifier { 0 0 8 245 0 10 },</span><br><span style='font-family:"Courier New"'>      multiplexCapability h2250Capability : </span><br><span style='font-family:"Courier New"'>        {</span><br><span style='font-family:"Courier New"'>          maximumAudioDelayJitter 60,</span><br><span style='font-family:"Courier New"'>          receiveMultipointCapability </span><br><span style='font-family:"Courier New"'>          {</span><br><span style='font-family:"Courier New"'>            multicastCapability FALSE,</span><br><span style='font-family:"Courier New"'>            multiUniCastConference FALSE,</span><br><span style='font-family:"Courier New"'>            mediaDistributionCapability </span><br><span style='font-family:"Courier New"'>            {</span><br><span style='font-family:"Courier New"'>              {</span><br><span style='font-family:"Courier New"'>                centralizedControl FALSE,</span><br><span style='font-family:"Courier New"'>                distributedControl FALSE,</span><br><span style='font-family:"Courier New"'>                centralizedAudio FALSE,</span><br><span style='font-family:"Courier New"'>                distributedAudio FALSE,</span><br><span style='font-family:"Courier New"'>                centralizedVideo FALSE,</span><br><span style='font-family:"Courier New"'>                distributedVideo FALSE</span><br><span style='font-family:"Courier New"'>              }</span><br><span style='font-family:"Courier New"'>            }</span><br><span style='font-family:"Courier New"'>          },</span><br><span style='font-family:"Courier New"'>          transmitMultipointCapability </span><br><span style='font-family:"Courier New"'>          {</span><br><span style='font-family:"Courier New"'>            multicastCapability FALSE,</span><br><span style='font-family:"Courier New"'>            multiUniCastConference FALSE,</span><br><span style='font-family:"Courier New"'>            mediaDistributionCapability </span><br><span style='font-family:"Courier New"'>            {</span><br><span style='font-family:"Courier New"'>              {</span><br><span style='font-family:"Courier New"'>                centralizedControl FALSE,</span><br><span style='font-family:"Courier New"'>                distributedControl FALSE,</span><br><span style='font-family:"Courier New"'>                centralizedAudio FALSE,</span><br><span style='font-family:"Courier New"'>                distributedAudio FALSE,</span><br><span style='font-family:"Courier New"'>                centralizedVideo FALSE,</span><br><span style='font-family:"Courier New"'>                distributedVideo FALSE</span><br><span style='font-family:"Courier New"'>              }</span><br><span style='font-family:"Courier New"'>            }</span><br><span style='font-family:"Courier New"'>          },</span><br><span style='font-family:"Courier New"'>          receiveAndTransmitMultipointCapability </span><br><span style='font-family:"Courier New"'>          {</span><br><span style='font-family:"Courier New"'>            multicastCapability FALSE,</span><br><span style='font-family:"Courier New"'>            multiUniCastConference FALSE,</span><br><span style='font-family:"Courier New"'>            mediaDistributionCapability </span><br><span style='font-family:"Courier New"'>            {</span><br><span style='font-family:"Courier New"'>              {</span><br><span style='font-family:"Courier New"'>                centralizedControl FALSE,</span><br><span style='font-family:"Courier New"'>                distributedControl FALSE,</span><br><span style='font-family:"Courier New"'>                centralizedAudio FALSE,</span><br><span style='font-family:"Courier New"'>                distributedAudio FALSE,</span><br><span style='font-family:"Courier New"'>                centralizedVideo TRUE,</span><br><span style='font-family:"Courier New"'>                distributedVideo FALSE</span><br><span style='font-family:"Courier New"'>              }</span><br><span style='font-family:"Courier New"'>            }</span><br><span style='font-family:"Courier New"'>          },</span><br><span style='font-family:"Courier New"'>          mcCapability </span><br><span style='font-family:"Courier New"'>          {</span><br><span style='font-family:"Courier New"'>            centralizedConferenceMC FALSE,</span><br><span style='font-family:"Courier New"'>            decentralizedConferenceMC FALSE</span><br><span style='font-family:"Courier New"'>          },</span><br><span style='font-family:"Courier New"'>          rtcpVideoControlCapability FALSE,</span><br><span style='font-family:"Courier New"'>          mediaPacketizationCapability </span><br><span style='font-family:"Courier New"'>          {</span><br><span style='font-family:"Courier New"'>            h261aVideoPacketization FALSE</span><br><span style='font-family:"Courier New"'>          },</span><br><span style='font-family:"Courier New"'>          logicalChannelSwitchingCapability FALSE,</span><br><span style='font-family:"Courier New"'>          t120DynamicPortCapability FALSE</span><br><span style='font-family:"Courier New"'>        },</span><br><span style='font-family:"Courier New"'>      capabilityTable </span><br><span style='font-family:"Courier New"'>      {</span><br><span style='font-family:"Courier New"'>        {</span><br><span style='font-family:"Courier New"'>          capabilityTableEntryNumber 1,</span><br><span style='font-family:"Courier New"'>          capability nonStandard : </span><br><span style='font-family:"Courier New"'>            {</span><br><span style='font-family:"Courier New"'>              nonStandardIdentifier h221NonStandard : </span><br><span style='font-family:"Courier New"'>                {</span><br><span style='font-family:"Courier New"'>                  t35CountryCode 181,</span><br><span style='font-family:"Courier New"'>                  t35Extension 0,</span><br><span style='font-family:"Courier New"'>                  manufacturerCode 18</span><br><span style='font-family:"Courier New"'>                },</span><br><span style='font-family:"Courier New"'>              data '010000001400000000000000C0CEA6B5'H</span><br><span style='font-family:"Courier New"'>            }</span><br><span style='font-family:"Courier New"'>        },</span><br><span style='font-family:"Courier New"'>        {</span><br><span style='font-family:"Courier New"'>          capabilityTableEntryNumber 2,</span><br><span style='font-family:"Courier New"'>          capability genericControlCapability : </span><br><span style='font-family:"Courier New"'>            {</span><br><span style='font-family:"Courier New"'>              capabilityIdentifier standard : { 0 0 8 323 1 3 1 }</span><br><span style='font-family:"Courier New"'>            }</span><br><span style='font-family:"Courier New"'>        },</span><br><span style='font-family:"Courier New"'>        {</span><br><span style='font-family:"Courier New"'>          capabilityTableEntryNumber 3,</span><br><span style='font-family:"Courier New"'>          capability receiveAudioCapability : g729wAnnexB : 6</span><br><span style='font-family:"Courier New"'>        },</span><br><span style='font-family:"Courier New"'>        {</span><br><span style='font-family:"Courier New"'>          capabilityTableEntryNumber 4,</span><br><span style='font-family:"Courier New"'>          capability receiveAudioCapability : g729AnnexAwAnnexB : 6</span><br><span style='font-family:"Courier New"'>        },</span><br><span style='font-family:"Courier New"'>        {</span><br><span style='font-family:"Courier New"'>          capabilityTableEntryNumber 5,</span><br><span style='font-family:"Courier New"'>          capability receiveAudioCapability : g729 : 6</span><br><span style='font-family:"Courier New"'>        },</span><br><span style='font-family:"Courier New"'>        {</span><br><span style='font-family:"Courier New"'>          capabilityTableEntryNumber 6,</span><br><span style='font-family:"Courier New"'>          capability receiveAudioCapability : g729AnnexA : 6</span><br><span style='font-family:"Courier New"'>        },</span><br><span style='font-family:"Courier New"'>        {</span><br><span style='font-family:"Courier New"'>          capabilityTableEntryNumber 7,</span><br><span style='font-family:"Courier New"'>          capability receiveAndTransmitUserInputCapability : dtmf : NULL</span><br><span style='font-family:"Courier New"'>        },</span><br><span style='font-family:"Courier New"'>        {</span><br><span style='font-family:"Courier New"'>          capabilityTableEntryNumber 8,</span><br><span style='font-family:"Courier New"'>          capability receiveAndTransmitUserInputCapability : basicString : NULL</span><br><span style='font-family:"Courier New"'>        },</span><br><span style='font-family:"Courier New"'>        {</span><br><span style='font-family:"Courier New"'>          capabilityTableEntryNumber 44,</span><br><span style='font-family:"Courier New"'>          capability receiveAndTransmitUserInputCapability : hookflash : NULL</span><br><span style='font-family:"Courier New"'>        }</span><br><span style='font-family:"Courier New"'>      },</span><br><span style='font-family:"Courier New"'>      capabilityDescriptors </span><br><span style='font-family:"Courier New"'>      {</span><br><span style='font-family:"Courier New"'>        {</span><br><span style='font-family:"Courier New"'>          capabilityDescriptorNumber 0,</span><br><span style='font-family:"Courier New"'>|*^*^*</span><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>This is the TCS received on the .9 host from the .13 host<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p><div style='margin-left:30.0pt'><p class=MsoNormal><span style='font-family:"Courier New"'>05:37:29.211 |</span><br><span style='font-family:"Courier New"'>H245ASN - TtPid=(5551) [0xb0efe090 3040 bytes] -Incoming #103057 -value MultimediaSystemControlMessage ::= request : terminalCapabilitySet : </span><br><span style='font-family:"Courier New"'>    {</span><br><span style='font-family:"Courier New"'>      sequenceNumber 1,</span><br><span style='font-family:"Courier New"'>      protocolIdentifier { 0 0 8 245 0 10 },</span><br><span style='font-family:"Courier New"'>      multiplexCapability h2250Capability : </span><br><span style='font-family:"Courier New"'>        {</span><br><span style='font-family:"Courier New"'>          maximumAudioDelayJitter 60,</span><br><span style='font-family:"Courier New"'>          receiveMultipointCapability </span><br><span style='font-family:"Courier New"'>          {</span><br><span style='font-family:"Courier New"'>            multicastCapability FALSE,</span><br><span style='font-family:"Courier New"'>            multiUniCastConference FALSE,</span><br><span style='font-family:"Courier New"'>            mediaDistributionCapability </span><br><span style='font-family:"Courier New"'>            {</span><br><span style='font-family:"Courier New"'>              {</span><br><span style='font-family:"Courier New"'>                centralizedControl FALSE,</span><br><span style='font-family:"Courier New"'>                distributedControl FALSE,</span><br><span style='font-family:"Courier New"'>                centralizedAudio FALSE,</span><br><span style='font-family:"Courier New"'>                distributedAudio FALSE,</span><br><span style='font-family:"Courier New"'>                centralizedVideo FALSE,</span><br><span style='font-family:"Courier New"'>                distributedVideo FALSE</span><br><span style='font-family:"Courier New"'>              }</span><br><span style='font-family:"Courier New"'>            }</span><br><span style='font-family:"Courier New"'>          },</span><br><span style='font-family:"Courier New"'>          transmitMultipointCapability </span><br><span style='font-family:"Courier New"'>          {</span><br><span style='font-family:"Courier New"'>            multicastCapability FALSE,</span><br><span style='font-family:"Courier New"'>            multiUniCastConference FALSE,</span><br><span style='font-family:"Courier New"'>            mediaDistributionCapability </span><br><span style='font-family:"Courier New"'>            {</span><br><span style='font-family:"Courier New"'>              {</span><br><span style='font-family:"Courier New"'>                centralizedControl FALSE,</span><br><span style='font-family:"Courier New"'>                distributedControl FALSE,</span><br><span style='font-family:"Courier New"'>                centralizedAudio FALSE,</span><br><span style='font-family:"Courier New"'>                distributedAudio FALSE,</span><br><span style='font-family:"Courier New"'>                centralizedVideo FALSE,</span><br><span style='font-family:"Courier New"'>                distributedVideo FALSE</span><br><span style='font-family:"Courier New"'>              }</span><br><span style='font-family:"Courier New"'>            }</span><br><span style='font-family:"Courier New"'>          },</span><br><span style='font-family:"Courier New"'>          receiveAndTransmitMultipointCapability </span><br><span style='font-family:"Courier New"'>          {</span><br><span style='font-family:"Courier New"'>            multicastCapability FALSE,</span><br><span style='font-family:"Courier New"'>            multiUniCastConference FALSE,</span><br><span style='font-family:"Courier New"'>            mediaDistributionCapability </span><br><span style='font-family:"Courier New"'>            {</span><br><span style='font-family:"Courier New"'>              {</span><br><span style='font-family:"Courier New"'>                centralizedControl FALSE,</span><br><span style='font-family:"Courier New"'>                distributedControl FALSE,</span><br><span style='font-family:"Courier New"'>                centralizedAudio FALSE,</span><br><span style='font-family:"Courier New"'>                distributedAudio FALSE,</span><br><span style='font-family:"Courier New"'>                centralizedVideo TRUE,</span><br><span style='font-family:"Courier New"'>                distributedVideo FALSE</span><br><span style='font-family:"Courier New"'>              }</span><br><span style='font-family:"Courier New"'>            }</span><br><span style='font-family:"Courier New"'>          },</span><br><span style='font-family:"Courier New"'>          mcCapability </span><br><span style='font-family:"Courier New"'>          {</span><br><span style='font-family:"Courier New"'>            centralizedConferenceMC FALSE,</span><br><span style='font-family:"Courier New"'>            decentralizedConferenceMC FALSE</span><br><span style='font-family:"Courier New"'>          },</span><br><span style='font-family:"Courier New"'>          rtcpVideoControlCapability FALSE,</span><br><span style='font-family:"Courier New"'>          mediaPacketizationCapability </span><br><span style='font-family:"Courier New"'>          {</span><br><span style='font-family:"Courier New"'>            h261aVideoPacketization FALSE</span><br><span style='font-family:"Courier New"'>          },</span><br><span style='font-family:"Courier New"'>          logicalChannelSwitchingCapability FALSE,</span><br><span style='font-family:"Courier New"'>          t120DynamicPortCapability FALSE</span><br><span style='font-family:"Courier New"'>        },</span><br><span style='font-family:"Courier New"'>      capabilityTable </span><br><span style='font-family:"Courier New"'>      {</span><br><span style='font-family:"Courier New"'>        {</span><br><span style='font-family:"Courier New"'>          capabilityTableEntryNumber 1,</span><br><span style='font-family:"Courier New"'>          capability nonStandard : </span><br><span style='font-family:"Courier New"'>            {</span><br><span style='font-family:"Courier New"'>              nonStandardIdentifier h221NonStandard : </span><br><span style='font-family:"Courier New"'>                {</span><br><span style='font-family:"Courier New"'>                  t35CountryCode 181,</span><br><span style='font-family:"Courier New"'>                  t35Extension 0,</span><br><span style='font-family:"Courier New"'>                  manufacturerCode 18</span><br><span style='font-family:"Courier New"'>                },</span><br><span style='font-family:"Courier New"'>              data '010000001400000000000000C0EE86B6'H</span><br><span style='font-family:"Courier New"'>            }</span><br><span style='font-family:"Courier New"'>        },</span><br><span style='font-family:"Courier New"'>        {</span><br><span style='font-family:"Courier New"'>          capabilityTableEntryNumber 2,</span><br><span style='font-family:"Courier New"'>          capability genericControlCapability : </span><br><span style='font-family:"Courier New"'>            {</span><br><span style='font-family:"Courier New"'>              capabilityIdentifier standard : { 0 0 8 323 1 3 1 }</span><br><span style='font-family:"Courier New"'>            }</span><br><span style='font-family:"Courier New"'>        },</span><br><span style='font-family:"Courier New"'>        {</span><br><span style='font-family:"Courier New"'>          capabilityTableEntryNumber 3,</span><br><span style='font-family:"Courier New"'>          capability receiveAudioCapability : g711Ulaw64k : 30</span><br><span style='font-family:"Courier New"'>        },</span><br><span style='font-family:"Courier New"'>        {</span><br><span style='font-family:"Courier New"'>          capabilityTableEntryNumber 4,</span><br><span style='font-family:"Courier New"'>          capability receiveAudioCapability : g711Alaw64k : 30</span><br><span style='font-family:"Courier New"'>        },</span><br><span style='font-family:"Courier New"'>        {</span><br><span style='font-family:"Courier New"'>          capabilityTableEntryNumber 5,</span><br><span style='font-family:"Courier New"'>          capability receiveAndTransmitUserInputCapability : dtmf : NULL</span><br><span style='font-family:"Courier New"'>        },</span><br><span style='font-family:"Courier New"'>        {</span><br><span style='font-family:"Courier New"'>          capabilityTableEntryNumber 6,</span><br><span style='font-family:"Courier New"'>          capability receiveAndTransmitUserInputCapability : basicString : NULL</span><br><span style='font-family:"Courier New"'>        },</span><br><span style='font-family:"Courier New"'>        {</span><br><span style='font-family:"Courier New"'>          capabilityTableEntryNumber 44,</span><br><span style='font-family:"Courier New"'>          capability receiveAndTransmitUserInputCapability : hookflash : NULL</span><br><span style='font-family:"Courier New"'>        }</span><br><span style='font-family:"Courier New"'>      },</span><br><span style='font-family:"Courier New"'>      capabilityDescriptors </span><br><span style='font-family:"Courier New"'>      {</span><br><span style='font-family:"Courier New"'>        {</span><br><span style='font-family:"Courier New"'>          capabilityDescriptorNumber 0,</span><br><span style='font-family:"Courier New"'>          simultaneousCapabilities </span><br><span style='font-family:"Courier New"'>          {</span><br><span style='font-family:"Courier New"'>            {</span><br><span style='font-family:"Courier New"'>              3,</span><br><span style='font-family:"Courier New"'>              4</span><br><span style='font-family:"Courier New"'>            },</span><br><span style='font-family:"Courier New"'>            {</span><br><span style='font-family:"Courier New"'>              5,</span><br><span style='font-family:"Courier New"'>              6</span><br><span style='font-family:"Courier New"'>            },</span><br><span style='font-family:"Courier New"'>            {</span><br><span style='font-family:"Courier New"'>              44</span><br><span style='font-family:"Courier New"'>            }</span><br><span style='font-family:"Courier New"'>          }</span><br><span style='font-family:"Courier New"'>        }</span><br><span style='font-family:"Courier New"'>|*^*^*</span><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>What we can see now is a mismatch in supported capabilities: g729 versus g711.  Now, it is my understanding that during a dispute of capabilities, the Master gets to dictate the capabilities to use.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>The next two messages in the above ladder diagram are both sides ACKing each other's TCS's.<o:p></o:p></p><div style='margin-left:30.0pt'><p class=MsoNormal><span style='font-family:"Courier New"'>05:37:29.212 |</span><br><span style='font-family:"Courier New"'>H245ASN - TtPid=(5551) -Outgoing #80463 -value MultimediaSystemControlMessage ::= response : terminalCapabilitySetAck : </span><br><span style='font-family:"Courier New"'>    {</span><br><span style='font-family:"Courier New"'>      sequenceNumber 1</span><br><span style='font-family:"Courier New"'>    }</span><br><span style='font-family:"Courier New"'>|*^*^*</span><br><span style='font-family:"Courier New"'>05:37:29.213 |</span><br><span style='font-family:"Courier New"'>H245ASN - TtPid=(5551) [0xb0e99b58 1444 bytes] -Incoming #103058 -value MultimediaSystemControlMessage ::= response : terminalCapabilitySetAck : </span><br><span style='font-family:"Courier New"'>    {</span><br><span style='font-family:"Courier New"'>      sequenceNumber 1</span><br><span style='font-family:"Courier New"'>    }</span><br><span style='font-family:"Courier New"'>|*^*^*</span><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>However, in the CUCM traces, between the Outgoing TCS ACK and the Incoming TCS ACK, we see CUCM Media Resource Manager comparing codecs and regions, and deciding it needs to invoke a transcoder.  Even though MasterSlaveDetermination has not yet happen.<o:p></o:p></p><div style='margin-left:30.0pt'><p class=MsoNormal><span style='font-family:"Courier New"'>05:37:29.213 |DET-MediaManager-(22410)::preCheckCapabilities, region1=ICT-REG, region2=ICT-REG, Pty1 capCount=4 (Cap,ptime)= (15,60) (16,60) (11,60) (12,60), Pty2 capCount=2 (Cap,ptime)= (4,30) (2,30)|4,100,21,5551.2^X.X.X.13^Port 57377</span><br><span style='font-family:"Courier New"'>05:37:29.213 |RegionsServer::MatchCapabilities -- kbps=8, capACount=4, capBCount=2|*^*^*</span><br><span style='font-family:"Courier New"'>05:37:29.213 |DET-MediaManager-(22410)::preCheckCapabilities, caps mismatch! Xcoder Reqd. kbps(8), filtered A[capCount=4 (Cap,ptime)= (15,60) (16,60) (11,60) (12,60)], B[capCount=0 (Cap,ptime)=] allowMTP=0 numXcoderRequired=1 xcodingSide=2|4,100,21,5551.2^X.X.X.13^Port 57377</span><br><span style='font-family:"Courier New"'>05:37:29.213 |DET-MediaManager-(22410)::prepareInitialConnectionList, Party1CapCount=4 Party2CapCount=2 XcoderRequired=1 xcodingSide=2 allowMTP=0|4,100,21,5551.2^X.X.X.13^Port 57377</span><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>The timing in the logs, and unfortunately I do not have a PCAP to compare against, is such that the transcoder fails to be invoked due to a region misconfiguration between the ICT and the transcoder.  The classic mixup: "We need to transcode between g711 and g729, but the transcoder region to the g711 device is set for 8kbps."<o:p></o:p></p><div style='margin-left:30.0pt'><p class=MsoNormal><span style='font-family:"Courier New"'>05:37:29.213 |MediaResourceCdpc::getNextMTPDevice MtpDevice=XCODE1 Cepn=57d029f7-023b-2605-459d-af4afab55b6e devCap=0 resoureCount=1|4,100,21,5551.2^X.X.X.13^Port 57377</span><br><span style='font-family:"Courier New"'>05:37:29.213 |MediaResourceCdpc(21468)::sendMtpAllocateRequestToDevice MtpResource=XCODE1 Cepn=57d029f7-023b-2605-459d-af4afab55b6e|4,100,21,5551.2^X.X.X.13^Port 57377</span><br><span style='font-family:"Courier New"'>05:37:29.228 |MediaResourceCdpc(21468)::resource_rsvp_AllocateMtpResourceErr Device=XCODE1 deviceCapIntersec=0|4,100,21,5551.2^X.X.X.13^Port 57377</span><br><span style='font-family:"Courier New"'>05:37:29.228 |MediaResourceCdpc(21468)::adjustDeviceTblXcoder - mCepn=57d029f7-023b-2605-459d-af4afab55b6e, allocateErrBitset=0x44, devCapIntersect=0x0, mandatoryCaps=0x0, resourceCount=1|4,100,21,5551.2^X.X.X.13^Port 57377</span><br><span style='font-family:"Courier New"'>05:37:29.228 |MediaResourceCdpc(21468)::adjustDeviceTblXcoder - Codec Mismatch|4,100,21,5551.2^X.X.X.13^Port 57377</span><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>So it's at this point in the logs that we see CUCM fail the call due to no media resources available.<o:p></o:p></p><div style='margin-left:30.0pt'><p class=MsoNormal><span style='font-family:"Courier New"'>05:37:29.233 |!!ERROR!! -MediaManager-(22410)::disconnOnResourceAllocationFailure, ERROR  disconnOnResourceAllocationFailure - fails to allocate MTP/XCoder,connCount=2|4,100,21,5551.2^X.X.X.13^Port 57377</span><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>It's now at .236 that we see the .9 host send the H.245 endSession to the .13 host<o:p></o:p></p><div style='margin-left:30.0pt'><p class=MsoNormal><span style='font-family:"Courier New"'>05:37:29.235 |</span><br><span style='font-family:"Courier New"'>H245ASN - TtPid=(5550) -Outgoing #80464 -value MultimediaSystemControlMessage ::= command : endSessionCommand : disconnect : NULL</span><br><span style='font-family:"Courier New"'>|*^*^*</span><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>So that's why the call failed: .9 failed to invoke the media resource, and thus sent an endSession.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>What we don't see in the diagram above, is that in the .13 logs, it too was trying to invoke a transcoder based on the TCS it received: g729, because the endpoint: UCCX, is hard coded to g711.<o:p></o:p></p><div style='margin-left:30.0pt'><p class=MsoNormal><span style='font-family:"Courier New"'>22:37:29.114 |DET-MediaManager-(46351)::preCheckCapabilities, region1=ICT-REG, region2=UCCX-REG, Pty1 capCount=4 (Cap,ptime)= (15,60) (16,60) (11,60) (12,60), Pty2 capCount=2 (Cap,ptime)= (4,30) (2,30)|2,100,21,7815.2^X.X.X.13^Port 57377</span><br><span style='font-family:"Courier New"'>22:37:29.114 |RegionsServer::MatchCapabilities -- kbps=64, capACount=4, capBCount=2|*^*^*</span><br><span style='font-family:"Courier New"'>22:37:29.114 |DET-MediaManager-(46351)::preCheckCapabilities, caps mismatch! Xcoder Reqd. kbps(64), filtered A[capCount=4 (Cap,ptime)= (15,60) (16,60) (11,60) (12,60)], B[capCount=2 (Cap,ptime)= (4,30) (2,30)] allowMTP=0 numXcoderRequired=1 </span><o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>However, it invoked the transcoder successfully, and since the transcoder is 64kbps to UCCX and 8kbps to the ICT, this is why we'll see another TCS sent from the .13 host with g729 as its capabilities.<o:p></o:p></p><div style='margin-left:30.0pt'><p class=MsoNormal><span style='font-family:"Courier New"'>22:37:29.115 |MediaResourceCdpc::getNextMTPDevice MtpDevice=XCODE2 Cepn=26c772aa-3d19-4289-7dce-1d48d19807d7 devCap=0 resoureCount=1|2,100,21,7815.2^X.X.X.13^Port 57377</span><br><span style='font-family:"Courier New"'>22:37:29.115 |MediaResourceCdpc(38981)::sendMtpAllocateRequestToDevice MtpResource=XCODE2 Cepn=26c772aa-3d19-4289-7dce-1d48d19807d7|2,100,21,7815.2^X.X.X.13^Port 57377</span><br><span style='font-family:"Courier New"'>22:37:29.115 |MediaTerminationPointControl(1)::waiting_AllocateMtpResourceReq - (capCount,region),A(4,ICT-REG),B(2,UCCX-REG), reqDevCap=0x0, reqMandatoryCaps=0x0, supDevCap=0x129, passthru=0, resourceCount=1|2,100,21,7815.2^X.X.X.13^Port 57377</span><br><span style='font-family:"Courier New"'>22:37:29.115 |MediaTerminationPointControl(1)::getResourcesAllocated -- DeviceName=XCODE2 Ci=42721675 ResourceCount=1|2,100,21,7815.2^X.X.X.13^Port 57377</span><br><span style='font-family:"Courier New"'>22:37:29.115 |MediaTerminationPointControl(1)::getResourcesAllocated -- Logging RegionA=ICT-REG Caps and MTP/XCoder Region=XIR-REG Caps|2,100,21,7815.2^X.X.X.13^Port 57377</span><br><span style='font-family:"Courier New"'>22:37:29.115 |MediaTerminationPointControl(1)::logCapabilitiesinTrace -- MTP/XCoder Device Caps = 6 4 2 16 11 12 257 259 261 |2,100,21,7815.2^X.X.X.13^Port 57377</span><br><span style='font-family:"Courier New"'>22:37:29.115 |MediaTerminationPointControl(1)::logCapabilitiesinTrace -- Device Caps = 15 16 11 12 |2,100,21,7815.2^X.X.X.13^Port 57377</span><br><span style='font-family:"Courier New"'>22:37:29.115 |RegionsServer::MatchCapabilities -- kbps=8, capACount=4, capBCount=9|*^*^*</span><o:p></o:p></p></div></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><br>Here is the TCS and MasterSalveDetermination from the .13 host that you see in the diagram above, but that's just too late, looks like this:<o:p></o:p></p><div style='margin-left:30.0pt'><p class=MsoNormal><span style='font-family:"Courier New"'>05:37:29.426 |<br>H245ASN - TtPid=(5551) [0xb0edd038 3252 bytes] -Incoming #103060 -value MultimediaSystemControlMessage ::= request : terminalCapabilitySet : <br>    {<br>      sequenceNumber 2,<br>      protocolIdentifier { 0 0 8 245 0 10 },<br>      multiplexCapability h2250Capability : <br>        {<br>          maximumAudioDelayJitter 60,<br>          receiveMultipointCapability <br>          {<br>            multicastCapability FALSE,<br>            multiUniCastConference FALSE,<br>            mediaDistributionCapability <br>            {<br>              {<br>                centralizedControl FALSE,<br>                distributedControl FALSE,<br>                centralizedAudio FALSE,<br>                distributedAudio FALSE,<br>                centralizedVideo FALSE,<br>                distributedVideo FALSE<br>              }<br>            }<br>          },<br>          transmitMultipointCapability <br>          {<br>            multicastCapability FALSE,<br>            multiUniCastConference FALSE,<br>            mediaDistributionCapability <br>            {<br>              {<br>                centralizedControl FALSE,<br>                distributedControl FALSE,<br>                centralizedAudio FALSE,<br>                distributedAudio FALSE,<br>                centralizedVideo FALSE,<br>                distributedVideo FALSE<br>              }<br>            }<br>          },<br>          receiveAndTransmitMultipointCapability <br>          {<br>            multicastCapability FALSE,<br>            multiUniCastConference FALSE,<br>            mediaDistributionCapability <br>            {<br>              {<br>                centralizedControl FALSE,<br>                distributedControl FALSE,<br>                centralizedAudio FALSE,<br>                distributedAudio FALSE,<br>                centralizedVideo TRUE,<br>                distributedVideo FALSE<br>              }<br>            }<br>          },<br>          mcCapability <br>          {<br>            centralizedConferenceMC FALSE,<br>            decentralizedConferenceMC FALSE<br>          },<br>          rtcpVideoControlCapability FALSE,<br>          mediaPacketizationCapability <br>          {<br>            h261aVideoPacketization FALSE<br>          },<br>          logicalChannelSwitchingCapability FALSE,<br>          t120DynamicPortCapability FALSE<br>        },<br>      capabilityTable <br>      {<br>        {<br>          capabilityTableEntryNumber 1,<br>          capability nonStandard : <br>            {<br>              nonStandardIdentifier h221NonStandard : <br>                {<br>                  t35CountryCode 181,<br>                  t35Extension 0,<br>                  manufacturerCode 18<br>                },<br>              data '01000000140000001000E0B7C0EE86B6'H<br>            }<br>        },<br>        {<br>          capabilityTableEntryNumber 2,<br>          capability genericControlCapability : <br>            {<br>              capabilityIdentifier standard : { 0 0 8 323 1 3 1 }<br>            }<br>        },<br>        {<br>          capabilityTableEntryNumber 3,<br>          capability receiveAudioCapability : g729AnnexAwAnnexB : 6<br>        },<br>        {<br>          capabilityTableEntryNumber 4,<br>          capability receiveAudioCapability : g729 : 6<br>        },<br>        {<br>          capabilityTableEntryNumber 5,<br>          capability receiveAudioCapability : g729AnnexA : 6<br>        },<br>        {<br>          capabilityTableEntryNumber 6,<br>          capability receiveAndTransmitUserInputCapability : dtmf : NULL<br>        },<br>        {<br>          capabilityTableEntryNumber 7,<br>          capability receiveAndTransmitUserInputCapability : basicString : NULL<br>        },<br>        {<br>          capabilityTableEntryNumber 44,<br>          capability receiveAndTransmitUserInputCapability : hookflash : NULL<br>        }<br>      },<br>      capabilityDescriptors <br>      {<br>        {<br>          capabilityDescriptorNumber 0,<br>          simultaneousCapabilities <br>          {<br>            {<br>              3,<br>              4,<br>              5<br>|*^*^*<br>05:37:29.427 |</span><br><span style='font-family:"Courier New"'>H245ASN - TtPid=(5551) [0xb0e99b58 1444 bytes] -Incoming #103061 -value MultimediaSystemControlMessage ::= request : masterSlaveDetermination : </span><br><span style='font-family:"Courier New"'>    {</span><br><span style='font-family:"Courier New"'>      terminalType 60,</span><br><span style='font-family:"Courier New"'>      statusDeterminationNumber 7594376</span><br><span style='font-family:"Courier New"'>    }</span><br><span style='font-family:"Courier New"'>|*^*^*</span><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Which from my experience, would tell me that the .13 host would have won the MasterSlaveDetermination, making the codec of choice be g711 and forcing the .9 host to resolve the mismatch with a transcoder.  However, each side tried to fix the codec mismatch, all before MasterSlaveDetermination even happened.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Did each side jump the gun, and begin invoking the transcoders too early?  Are the logs out of sequence from what actually happened on the wire?  Why would both sides attempt to resolve the codec mismatch?<o:p></o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>For comparison, here is the same message flow from the perspective of the .13 host logs.<o:p></o:p></p><div style='margin-left:30.0pt'><p class=MsoNormal><img border=0 width=391 height=461 id="_x0000_i1026" src="cid:image002.png@01CEB463.96816EF0" alt="Inline image 2"><o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>And in summary, I know what is needed to fix this: fix the region relationship from the transcoder to the g711 device so that it's 64kbps.<br><br>I would like to understand what determines which side sends and subsequently wins MasterSlaveDetermination on ICTs?  I know it's based on terminalType value and which is higher, and then a tie breaker is the statusDeterminationNumber value.  Is this a random election?  Is it controllable?  I.e., Can I adjust the terminalType such that it forces Master or Slave by setting a very High or Low value respectively?<o:p></o:p></p></div><div><p class=MsoNormal>If you've made it this far in my email, thank you!  I realize I have questions littered throughout.  It's just the casual tone of my email.  If the email doesn't flow very eloquently, I do apologize.  It's long and I was going back and forth making edits to different sections.<br><br>Please let me know if you need more details.  Thank you for your time.<o:p></o:p></p></div></div></div><p class=MsoNormal><br><br><span style='color:white'>itevomcid</span> <o:p></o:p></p></div></body></html>