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

From innovaphone wiki
Revision as of 07:43, 23 August 2013 by Ckl (talk | contribs) (→‎Applies To)
Jump to navigation Jump to search

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.

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\innovaphone myPBX Video RTP]
"Version"="1.0"
"Application Name"="%programfiles(x86)%\\innovaphone\\myPBX\\myPBX.exe"
"Protocol"="UDP"
"Local Port"="*"
"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\innovaphone SoftwarePhone Audio RTP]
"Version"="1.0"
"Application Name"="%programfiles(x86)%\\innovaphone\\SoftwarePhone\\softwarephone.exe"
"Protocol"="UDP"
"Local Port"="*"
"Local IP"="*"
"Local IP Prefix Length"="*"
"Remote Port"="*"
"Remote IP"="*"
"Remote IP Prefix Length"="*"
"DSCP Value"="46"
"Throttle Rate"="-1"


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

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