Forum Discussion
QoS for SfB when using Cloud PBX and PSTN Calling
- Sep 11, 2017
Hey Peter,
(Author of those articles checking in)
I am curious as to what is causing the traffic not to be marked. Are you able to test on a machine that is not domain joined? (Should be able to export those Registry Keys and import them on the test machine)
*EDIT* - I think I found the issue.
- Go to the GPO Editor and navigate to 'Computer Configuration>Windows Settings'
- Right-click 'Policy-Based QoS' > choose 'Advanced QoS Settings ...'
- Go to the 'DSCP Marking Override' tab
- Check 'Control DSCP Marking requests from applications and services'
- Select "Allowed'
I can't update the Perficient blog post since I am no longer employed there.
But I will try to figure out the PowerShell GPO cmd to create this entry
Hopefully this works for you!
how to do this
what is the command to do this
and once done how can i verify
- JasonWynnJul 18, 2018MVP
Hello Himanshu!
The PowerShell you need should be in the above thread however you can try mine:
#Written by Jason Wynn - as is - currently conigured for test only #Import the Powershell Module for Active Directory and Group Policy Import-Module ActiveDirectory,GroupPolicy #Create a new Group Policy Object (GPO) that will be applied to the Organizational Units (OU's) that contain the computer objects that will be used by the Skype for Business users. #The value "Skype for Business Online client - QoS" can be modified to fit your needs or naming standards New-GPO -Name "Skype for Business Online Client - QoS" -Comment "QoS/DSCP markings for Skype for Businessa media traffic. That contain the computer objects that will be used by the Skype for Business users." #Create Registry Value to enable TCP/IP QoS on the computer Set-GPPrefRegistryValue -Name "Skype for Business Online Client - QoS" -Context Computer -Key "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\QoS" -ValueName "Do not use NLA" -Value "1" -Type String -Action Update #Create Registry Value for Skype for Business client Audio QoS in the "Skype for Business Client - QoS" GPO Set-GPRegistryValue -Name "Skype for Business Online Client - QoS" -Key "HKLM\SOFTWARE\Policies\Microsoft\Windows\QoS\Skype for Business Online Audio QoS - lync.exe" -ValueName "Version", "Application Name", "Protocol", "Local Port", "Local IP", "Local IP Prefix Length", "Remote Port", "Remote IP", "Remote IP Prefix Length", "DSCP Value", "Throttle Rate" -Type String -Value "1.0", "lync.exe", "*", "50000:50019", "*", "*", "*", "*", "*", "46", "-1" #Create Registry Value for Skype for Business client Video QoS in the "Skype for Business Client - QoS" GPO Set-GPRegistryValue -Name "Skype for Business Online Client - Qos" -Key "HKLM\SOFTWARE\Policies\Microsoft\Windows\QoS\Skype for Business Online Video QoS - lync.exe" -ValueName "Version", "Application Name", "Protocol", "Local Port", "Local IP", "Local IP Prefix Length", "Remote Port", "Remote IP", "Remote IP Prefix Length", "DSCP Value", "Throttle Rate" -Type String -Value "1.0", "lync.exe", "*", "50020:50039", "*", "*", "*", "*", "*", "34", "-1" #Create Registry Value for Skype for Business client Application Sharing QoS in the "Skype for Business Client - QoS" GPO Set-GPRegistryValue -Name "Skype for Business Online Client - Qos" -Key "HKLM\SOFTWARE\Policies\Microsoft\Windows\QoS\Skype for Business Online App Sharing QoS - lync.exe" -ValueName "Version", "Application Name", "Protocol", "Local Port", "Local IP", "Local IP Prefix Length", "Remote Port", "Remote IP", "Remote IP Prefix Length", "DSCP Value", "Throttle Rate" -Type String -Value "1.0", "lync.exe", "*", "50040:50059", "*", "*", "*", "*", "*", "24", "-1" #Create Registry Value for Skype for Business client File Transfer QoS in the "Skype for Business Client - QoS" GPO Set-GPRegistryValue -Name "Skype for Business Online Client - Qos" -Key "HKLM\SOFTWARE\Policies\Microsoft\Windows\QoS\Skype for Business Online File Transfer QoS - lync.exe" -ValueName "Version", "Application Name", "Protocol", "Local Port", "Local IP", "Local IP Prefix Length", "Remote Port", "Remote IP", "Remote IP Prefix Length", "DSCP Value", "Throttle Rate" -Type String -Value "1.0", "lync.exe", "*", "50040:50059", "*", "*", "*", "*", "*", "24", "-1"
This will create the group policy objects (GPO) that you need to apply to your Skype for Business client/users.
To validate this you need to trace on the switches or the local machines to verify it is going via the ports to do so. You can use netmon or wireshark to trace the ports and verify the ports are as expected or it will just go via the path of least resistance and use 443 or 3478, from memory.
Good Luck, don't be afraid to ask if you've got anything else!