Type of Service
From Pbxnsip Wiki
Contents |
Purpose
When a router has more packets for an interface that is able to send with the available bandwidth, it needs to make a decision which packets have to be dropped. It makes this decision based on bits in the IP header of the packet. These bits are called TOS bits (see http://en.wikipedia.org/wiki/Type_of_Service), also sometimes QoS (Quality of Service, see http://en.wikipedia.org/wiki/Quality_of_service) or DiffSrv (see http://en.wikipedia.org/wiki/Differentiated_services). The differences are in the interpretation of the bits.
Setup
The PBX supports changing the TOS bits for RTP. There is a setting in the Global Configuration File with the name "tos_rtp", which you may change with a text editor (there is no way to change this setting from the web page; you need to restart the PBX process to update the value in the PBX). The value of the setting is the 8-bit value of the byte in the IP header, as it should appear on the network. The default value is 184 which is hexadecimal for 0xB8.
Linux
In Linux, you need to run the PBX process with the right permissions (see Necessary Privileges).
Windows
In Windows, you need to change the registry to make this happen. There is a article from Microsoft on this topic: http://support.microsoft.com/kb/248611/en-us.
