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

 

Prioritizing media traffic on Windows OS 


Quality Windows Audio Video Experience
(qWave) is a networking platform for Audio Video (AV) streaming applications on IP networks. qWave enhances AV streaming performance and reliability by ensuring network quality-of-service (QoS) for AV applications. It provides mechanisms for admission control, run time monitoring and enforcement, application feedback, and traffic prioritization.

 You might encounter issues with Talkdesk if you are using a computer with a Windows operating system. Talkdesk customers must have the service, "Quality Windows Audio Visual Experience" set to startup type "Automatic" and not the default value "Manual".

To ensure QWAVE is enabled and startup is automatic:

In the Windows start menu, "cmd".

          mceclip0.png

  1. Right-click the Command Prompt icon, then click Run as administrator.
  2. Paste the following text into the command line:
     
    net start QWAVE
  3. Press enter. You'll see the following results.

    mceclip1.png

  4. Paste the following to set the service startup type to automatic:
    REG add "HKLM\SYSTEM\CurrentControlSet\services\QWAVE" /v Start /t REG_DWORD /d 2 /f
  5. Press enter.

The "QWAVE" service is now set to startup type "Automatic". If you encountered an error when following the above steps, ask a member of your IT team or a computer administrator to perform them. Set up a group policy on your network to make all client computers set the service to automatic.


And that's it.


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

All Articles ""
Please sign in to submit a request.