How can we Help?

Implementing QoS on Windows Environments

Follow

Unlike macOS and Linux environments, on Windows you need to create a group policy to allow the use of DSCP markings and prioritize voice traffic using QoS

To do this, please follow the steps below, which are based on Windows 10.

How to set DSCP markings with a QoS audio policy

To create a QoS policy, you will need to create a Group Policy by using the Group Policy Management: Start > Administrative Tools > Group Policy Management

Next, complete these following steps:

  1. Locate the container where the new policy should be created. 
  2. Right-click the relevant container, and then click ‘Create a GPO in this domain, and Link it here’.
  3. In ‘New GPO’, type a name for the new Group Policy object in the and click ‘OK’.
  4. Right-click the newly created policy, and then click ‘Edit’.

Prioritizing Talkdesk traffic from Callbar Electron

In the Group Policy Management Editor, expand ‘Computer Configuration’, followed by ‘Windows Settings’, right-click ‘Policy-based QoS’, and then click ‘Create new policy’:

qos_gpeditor.png

 

  1. In ‘Policy-based QoS’, type a name for the new policy. Select ‘Specify DSCP Value’ and set the value to 46. Leave ‘Specify Outbound Throttle Rate’ unselected, and then click ‘Next’.
  2. Select ‘Only applications with this executable name’. Enter Callbar.exe, and click ‘Next’. This setting sets the policy to only prioritize matching traffic from Callbar.
  3. On the third page, make sure that both ‘Any source IP address’ and ‘Any destination IP address’ are selected, and then click ‘Next’.
  4. On page four, choose ‘TCP and UDP’ in ‘Select the protocol this QoS policy applies to’.
  5. In ‘Specify the source port number’, make sure that both ‘Any source port’ and ‘Any destination port’ are selected and then click ‘Finish’.

Prioritizing Talkdesk traffic from Google Chrome

If you are using Talkdesk main web application in Google Chrome (the 'Web Mode') or Callbar Chrome App, follow these steps to prioritize the traffic.

In the Group Policy Management Editor, expand ‘Computer Configuration’, then ‘Windows Settings’, right-click ‘Policy-based QoS’, and then click ‘Create new policy’:

  1. In ‘Policy-based QoS’, type a name for the new policy. Select ‘Specify DSCP Value’ and set the value to 46. Leave ‘Specify Outbound Throttle Rate’ unselected, and then click ‘Next’.
  2. Select ‘Only applications with this executable name’. Enter Chrome.exe, and click ‘Next’. This setting sets the policy to only prioritize matching traffic from Chrome.
  3. On the third page, make sure that both ‘Any source IP address’ and ‘Any destination IP address’ are selected, and then click ‘Next’.
  4. On page four, choose ‘UDP’ in ‘Select the protocol this QoS policy applies to’.
  5. In ‘Specify the source port number’, make sure that both ‘Any source port’ and ‘Any destination port’ are selected and then click ‘Finish’.

To implement the new policy, the Group Policy needs to be refreshed in the client computers. It's refreshed once in a while, or after a restart, but you can force the refresh by running this in the command console: 

 ## as administrator
C:\Windows\system32> gpupdate.exe /force

For more information, please check this document from Microsoft: Quality of Service (QoS) Policy.

 

How to verify the DSCP marking

To verify the DSCP marking, you need to confirm the Group Policy object by running the following command prompt:

 ## as administrator
C:\Windows\system32> gpresult /H "%USERPROFILE%\Desktop\gp.html"
C:\Windows\system32> regedit /e "%USERPROFILE%\Desktop\gp.txt" HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\QoS

The TXT file will show this information:

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\QoS\callbar]
"Version"="1.0"
"Application Name"="Callbar.exe"
"Protocol"="*"
"Local Port"="*"
"Local IP"="*"
"Local IP Prefix Length"="*"
"Remote Port"="*"
"Remote IP"="*"
"Remote IP Prefix Length"="*"
"DSCP Value"="46"
"Throttle Rate"="-1"

And you will see the following in the HTML file:

qos_gp.png

 

You can also take a trace by running Wireshark.

Please make a capture while on a call.

Next, go to Analyze > Enabled Protocols and make sure that 'rtp_udp' is enabled.

The following will be displayed:

qos_wireshark.png

And that's it.

If you have any questions, please reach out to support@talkdesk.com.

Have more questions? Submit a request

Comments

Powered by Zendesk