Howto:Set Type of Service (ToS) DiffServ DSCP Values for innovaphone Windows Applications (SoftwarePhone, myPBX Video): Difference between revisions

From innovaphone wiki
Jump to navigation Jump to search
(→‎Problem Details: added signalling ToS Values)
Line 11: Line 11:


Usually the configuration of the Policy-based Quality of Service is done by defining a [http://technet.microsoft.com/en-us/library/hh831689.aspx Group Policy Object (GPO) in the Group Policy Management Console (GPMC)]. This could be done for a single computer or distributed to a number of computers via the domain controller.
Usually the configuration of the Policy-based Quality of Service is done by defining a [http://technet.microsoft.com/en-us/library/hh831689.aspx Group Policy Object (GPO) in the Group Policy Management Console (GPMC)]. This could be done for a single computer or distributed to a number of computers via the domain controller.
In the Windows 8 and Server 2012 it is possible to use [http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx PowerShell] to configure the values with the [http://technet.microsoft.com/en-us/library/hh967471.aspx Set-NetQosPolicy] Cmdlet.
{|border="2" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show;"
|+ Microsoft Windows QoS Policy Mappings for innovaphone Applications
!Policy Name!!Application Path!!Protocol!!Source Port!!Destination Port!!Source IP / Mask!!Destination IP / Mask!!DSCP Vlaue!!Throttling Rate
|-
| myPBX Video RTP||%programfiles(x86)%\innovaphone\myPBX\myPBX.exe||UDP||50000:50100||*||*||*||34||-1
|-
| myPBX Signalling HTTP||%programfiles(x86)%\\innovaphone\\myPBX\\myPBX.exe||TCP||*||80||*||*||26||-1
|-
| myPBX Signalling HTTPS||%programfiles(x86)%\\innovaphone\\myPBX\\myPBX.exe||TCP||*||443||*||*||26||-1
|-
| SoftwarePhone Audio RTP||%programfiles(x86)%\\innovaphone\\SoftwarePhone\\softwarephone.exe||UDP||16384:32767||*||*||*||46||-1
|-
| SoftwarePhone Signalling RAS||%programfiles(x86)%\\innovaphone\\SoftwarePhone\\softwarephone.exe||UDP||*||1718:1719||*||*||26||-1
|-
| SoftwarePhone Signalling H225||%programfiles(x86)%\\innovaphone\\SoftwarePhone\\softwarephone.exe||TCP||*||2048:59999||*||*||26||-1
|-
| SoftwarePhone Signalling SIP||%programfiles(x86)%\\innovaphone\\SoftwarePhone\\softwarephone.exe||TCP/UDP||*||5060||*||*||26||-1
|-
| SoftwarePhone Signalling SIPS||%programfiles(x86)%\\innovaphone\\SoftwarePhone\\softwarephone.exe|| TCP||*||5061||*||*||26||-1
|}
The DSCP Values in the above example are default DSCP values used by innovaphone devices, according to the Wiki article [[Howto:Calculate Values for Type of Service %28ToS%29 from DiffServ or DSCP Values]]. You may change this values to meet requirements on your traffic prioritisation and routing equipment.


The GPO is stored on the local computer in the registry. The following registry export file could be used to setup QoS Values on the local computer:
The GPO is stored on the local computer in the registry. The following registry export file could be used to setup QoS Values on the local computer:
Line 18: Line 46:
  [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\QoS]
  [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\QoS]
   
   
  [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\QoS\innovaphone myPBX Video RTP]
  [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\QoS\myPBX Signalling HTTP]
"Version"="1.0"
"Application Name"="%programfiles(x86)%\\\\innovaphone\\\\myPBX\\\\myPBX.exe"
"Protocol"="TCP"
"Local Port"="*"
"Local IP"="*"
"Local IP Prefix Length"="*"
"Remote Port"="80"
"Remote IP"="*"
"Remote IP Prefix Length"="*"
"DSCP Value"="26"
"Throttle Rate"="-1"
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\QoS\myPBX Signalling HTTPS]
"Version"="1.0"
"Application Name"="%programfiles(x86)%\\\\innovaphone\\\\myPBX\\\\myPBX.exe"
"Protocol"="TCP"
"Local Port"="*"
"Local IP"="*"
"Local IP Prefix Length"="*"
"Remote Port"="443"
"Remote IP"="*"
"Remote IP Prefix Length"="*"
"DSCP Value"="26"
"Throttle Rate"="-1"
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\QoS\myPBX Video RTP]
  "Version"="1.0"
  "Version"="1.0"
  "Application Name"="%programfiles(x86)%\\innovaphone\\myPBX\\myPBX.exe"
  "Application Name"="%programfiles(x86)%\\innovaphone\\myPBX\\myPBX.exe"
  "Protocol"="UDP"
  "Protocol"="UDP"
  "Local Port"="*"
  "Local Port"="50000:50100"
  "Local IP"="*"
  "Local IP"="*"
  "Local IP Prefix Length"="*"
  "Local IP Prefix Length"="*"
Line 31: Line 85:
  "Throttle Rate"="-1"
  "Throttle Rate"="-1"
   
   
  [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\QoS\innovaphone SoftwarePhone Audio RTP]
  [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\QoS\SoftwarePhone Audio RTP]
  "Version"="1.0"
  "Version"="1.0"
  "Application Name"="%programfiles(x86)%\\innovaphone\\SoftwarePhone\\softwarephone.exe"
  "Application Name"="C:\\Program Files (x86)\\innovaphone\\SoftwarePhone\\softwarephone.exe"
  "Protocol"="UDP"
  "Protocol"="UDP"
  "Local Port"="*"
  "Local Port"="16384:32767"
  "Local IP"="*"
  "Local IP"="*"
  "Local IP Prefix Length"="*"
  "Local IP Prefix Length"="*"
Line 44: Line 98:
  "Throttle Rate"="-1"
  "Throttle Rate"="-1"
   
   
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\QoS\SoftwarePhone Signalling H225]
 
"Version"="1.0"
In the Windows 8 and Server 2012 it is possible to use [http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx PowerShell] to configure the values with the [http://technet.microsoft.com/en-us/library/hh967471.aspx Set-NetQosPolicy] Cmdlet.
"Application Name"="%programfiles(x86)%\\\\innovaphone\\\\SoftwarePhone\\\\softwarephone.exe"
"Protocol"="TCP"
"Local Port"="*"
"Local IP"="*"
"Local IP Prefix Length"="*"
"Remote Port"="2048:59999"
"Remote IP"="*"
"Remote IP Prefix Length"="*"
"DSCP Value"="26"
"Throttle Rate"="-1"
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\QoS\SoftwarePhone Signalling RAS]
"Version"="1.0"
"Application Name"="%programfiles(x86)%\\\\innovaphone\\\\SoftwarePhone\\\\softwarephone.exe"
"Protocol"="UDP"
"Local Port"="*"
"Local IP"="*"
"Local IP Prefix Length"="*"
"Remote Port"="1718:1719"
"Remote IP"="*"
"Remote IP Prefix Length"="*"
"DSCP Value"="26"
"Throttle Rate"="-1"
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\QoS\SoftwarePhone Signalling SIP]
"Version"="1.0"
"Application Name"="%programfiles(x86)%\\\\innovaphone\\\\SoftwarePhone\\\\softwarephone.exe"
"Protocol"="*"
"Local Port"="*"
"Local IP"="*"
"Local IP Prefix Length"="*"
"Remote Port"="5060"
"Remote IP"="*"
"Remote IP Prefix Length"="*"
"DSCP Value"="26"
"Throttle Rate"="-1"
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\QoS\SoftwarePhone Signalling SIPS]
"Version"="1.0"
"Application Name"="%programfiles(x86)%\\\\innovaphone\\\\SoftwarePhone\\\\softwarephone.exe"
"Protocol"="TCP"
"Local Port"="*"
"Local IP"="*"
"Local IP Prefix Length"="*"
"Remote Port"="5061"
"Remote IP"="*"
"Remote IP Prefix Length"="*"
"DSCP Value"="26"
"Throttle Rate"="-1"


==Related Articles==
==Related Articles==

Revision as of 17:31, 23 August 2013

Applies To

This information applies to all innovaphone Windows Applications sending the RTP Data (this is currently the SoftwarePhone (audio) and the myPBX launcher (video))

More Information

Problem Details

In contrast to the innovaphone devices, that allows you to specify the IP v4 TOS header field value used for voice and signalling IP packets, the MS Windows based applications like SoftwarePhone and myPBX do not have any possibility to set ToS Values on the RTP packets due restriction of the Microsoft Windows operating system.

Instead to set the ToS Value in the Application the Policy-based Quality of Service (QoS) provided by the MS Windows operating system can be used to mark the IP packets.

Usually the configuration of the Policy-based Quality of Service is done by defining a Group Policy Object (GPO) in the Group Policy Management Console (GPMC). This could be done for a single computer or distributed to a number of computers via the domain controller.

In the Windows 8 and Server 2012 it is possible to use PowerShell to configure the values with the Set-NetQosPolicy Cmdlet.


Microsoft Windows QoS Policy Mappings for innovaphone Applications
Policy Name Application Path Protocol Source Port Destination Port Source IP / Mask Destination IP / Mask DSCP Vlaue Throttling Rate
myPBX Video RTP %programfiles(x86)%\innovaphone\myPBX\myPBX.exe UDP 50000:50100 * * * 34 -1
myPBX Signalling HTTP %programfiles(x86)%\\innovaphone\\myPBX\\myPBX.exe TCP * 80 * * 26 -1
myPBX Signalling HTTPS %programfiles(x86)%\\innovaphone\\myPBX\\myPBX.exe TCP * 443 * * 26 -1
SoftwarePhone Audio RTP %programfiles(x86)%\\innovaphone\\SoftwarePhone\\softwarephone.exe UDP 16384:32767 * * * 46 -1
SoftwarePhone Signalling RAS %programfiles(x86)%\\innovaphone\\SoftwarePhone\\softwarephone.exe UDP * 1718:1719 * * 26 -1
SoftwarePhone Signalling H225 %programfiles(x86)%\\innovaphone\\SoftwarePhone\\softwarephone.exe TCP * 2048:59999 * * 26 -1
SoftwarePhone Signalling SIP %programfiles(x86)%\\innovaphone\\SoftwarePhone\\softwarephone.exe TCP/UDP * 5060 * * 26 -1
SoftwarePhone Signalling SIPS %programfiles(x86)%\\innovaphone\\SoftwarePhone\\softwarephone.exe TCP * 5061 * * 26 -1


The DSCP Values in the above example are default DSCP values used by innovaphone devices, according to the Wiki article Howto:Calculate Values for Type of Service (ToS) from DiffServ or DSCP Values. You may change this values to meet requirements on your traffic prioritisation and routing equipment.

The GPO is stored on the local computer in the registry. The following registry export file could be used to setup QoS Values on the local computer:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\QoS]

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\QoS\myPBX Signalling HTTP]
"Version"="1.0"
"Application Name"="%programfiles(x86)%\\\\innovaphone\\\\myPBX\\\\myPBX.exe"
"Protocol"="TCP"
"Local Port"="*"
"Local IP"="*"
"Local IP Prefix Length"="*"
"Remote Port"="80"
"Remote IP"="*"
"Remote IP Prefix Length"="*"
"DSCP Value"="26"
"Throttle Rate"="-1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\QoS\myPBX Signalling HTTPS]
"Version"="1.0"
"Application Name"="%programfiles(x86)%\\\\innovaphone\\\\myPBX\\\\myPBX.exe"
"Protocol"="TCP"
"Local Port"="*"
"Local IP"="*"
"Local IP Prefix Length"="*"
"Remote Port"="443"
"Remote IP"="*"
"Remote IP Prefix Length"="*"
"DSCP Value"="26"
"Throttle Rate"="-1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\QoS\myPBX Video RTP]
"Version"="1.0"
"Application Name"="%programfiles(x86)%\\innovaphone\\myPBX\\myPBX.exe"
"Protocol"="UDP"
"Local Port"="50000:50100"
"Local IP"="*"
"Local IP Prefix Length"="*"
"Remote Port"="*"
"Remote IP"="*"
"Remote IP Prefix Length"="*"
"DSCP Value"="34"
"Throttle Rate"="-1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\QoS\SoftwarePhone Audio RTP]
"Version"="1.0"
"Application Name"="C:\\Program Files (x86)\\innovaphone\\SoftwarePhone\\softwarephone.exe"
"Protocol"="UDP"
"Local Port"="16384:32767"
"Local IP"="*"
"Local IP Prefix Length"="*"
"Remote Port"="*"
"Remote IP"="*"
"Remote IP Prefix Length"="*"
"DSCP Value"="46"
"Throttle Rate"="-1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\QoS\SoftwarePhone Signalling H225]
"Version"="1.0"
"Application Name"="%programfiles(x86)%\\\\innovaphone\\\\SoftwarePhone\\\\softwarephone.exe"
"Protocol"="TCP"
"Local Port"="*"
"Local IP"="*"
"Local IP Prefix Length"="*"
"Remote Port"="2048:59999"
"Remote IP"="*"
"Remote IP Prefix Length"="*"
"DSCP Value"="26"
"Throttle Rate"="-1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\QoS\SoftwarePhone Signalling RAS]
"Version"="1.0"
"Application Name"="%programfiles(x86)%\\\\innovaphone\\\\SoftwarePhone\\\\softwarephone.exe"
"Protocol"="UDP"
"Local Port"="*"
"Local IP"="*"
"Local IP Prefix Length"="*"
"Remote Port"="1718:1719"
"Remote IP"="*"
"Remote IP Prefix Length"="*"
"DSCP Value"="26"
"Throttle Rate"="-1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\QoS\SoftwarePhone Signalling SIP]
"Version"="1.0"
"Application Name"="%programfiles(x86)%\\\\innovaphone\\\\SoftwarePhone\\\\softwarephone.exe"
"Protocol"="*"
"Local Port"="*"
"Local IP"="*"
"Local IP Prefix Length"="*"
"Remote Port"="5060"
"Remote IP"="*"
"Remote IP Prefix Length"="*"
"DSCP Value"="26"
"Throttle Rate"="-1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\QoS\SoftwarePhone Signalling SIPS]
"Version"="1.0"
"Application Name"="%programfiles(x86)%\\\\innovaphone\\\\SoftwarePhone\\\\softwarephone.exe"
"Protocol"="TCP"
"Local Port"="*"
"Local IP"="*"
"Local IP Prefix Length"="*"
"Remote Port"="5061"
"Remote IP"="*"
"Remote IP Prefix Length"="*"
"DSCP Value"="26"
"Throttle Rate"="-1"

Related Articles

Howto:Calculate Values for Type of Service (ToS) from DiffServ or DSCP Values

Howto:Firmware Upgrade V6 V7 and later#Default ToS Values

Howto:The IPv4 TOS field and DiffServ

Reference9:IP4/General/Settings

Reference:Configuration/IP/Settings