#Lync Question 31: How do I Enable QoS for Exchange UM Media

Reblog of an old post of mine

I’m not going to cover setting up Quality of Service (QoS) in a Lync environment, Elan Shudnow’s Blog already covers this really well:

Enabling QOS for Lync Server 2010 – Part 1
Enabling QoS for Lync Server 2010 – Part 2

During your QoS planning you should have already planned your audio port ranges, i.e. Audio 49152 to 57500

On your Exchange UM server you need to open either:

  • C:\Program Files\Microsoft\Exchange Server\V14\Bin\MSExchangeUM.config for Microsoft Exchange Server 2010
  • C:\Program Files\Microsoft\Exchange Server\V15\Bin\MSExchangeUM.config for Microsoft Exchange Server 2013

Within the file you will find the following section, then update according with the correct port range for audio:

<!-- The min/max ports to use for RTP media. If the values are invalid, or max < min, the default will be used -->
<add key="MinimumRtpPort" value="1025" />
<add key="MaximumRtpPort" value="65535" />

Then restart the Exchange UM service.

Finally then either as a local policy or group policies (depending on how many UM servers you need to deploy the setting to)

Under Computer Configuration -> Windows Settings -> Policy-based QoS, create QoS policy with the following settings:

  • Policy Name: Exchange UM Media
  • DSCP Value: 46
  • Specify Outbound Throttle Rate: Unchecked
  • Only applications with the following executable name: UMWorkerProcess.exe
  • Source IP: Any Source Address
  • Destination IP: Any Destination Port
  • Source Port: 49152:57500 (as according to audio port range)
  • Destination Port Range: To any destination port

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s