Upgrade 3CX to v18 and get it hosted free!

DiffServ (Differentiated Services)

Author image

DiffServ is a QoS (Quality of Service) protocol for managing bandwidth allocation for Internet media connections (e.g. a VOIP voice connection). Overview here.

With low bandwidth lines, such as ADSL, users may feel jittering. Try to allow full upload bandwidth to eMule and do a phone call in G.711 at the same time, and you will surely understand what I mean.

Regarding Cisco docs, and others as well, the correct DiffServ value is EF (Expedited Forwarding). The EF DiffServ also contains the ToS Low Delay bit, which is treated by many routers without any configuration. This is called PFIFO (Priority Fist In First Out, or FIFO with Priority).

The values you must know:

  • EF DiffServ decimal: 184
  • EF DiffServ hexadecimal: 0xb8
  • EF DiffServ binary: 10111000 (in red: DSCP field)
  • EF DSCP decimal: 46
  • EF DSCP hexadecimal: 0x2e
  • EF DSCP binary: 101110

Remark: The DSCP field is contained within the 6 first bits of the DiffServ byte.

Here is the part where we getting crazy. Each constructor requires a different DiffServ or DSCP value.

    • Alcatel OmniPCX Office – EF DiffServ binary: 10111000 DIFFSERV_PHB_EF
    • Asterisk 1.0.9 (ie sip.conf) – EF DiffServ hexadecimal: tos = 0xb8
    • Grandstream (requires FW 1.0.6.3 and older) – EF DSCP decimal: 46
    • ZyXEL – EF DiffServ decimal: 184
    • TELES – EF DiffServ decimal: 184
    • snom comes with a TOS default of 160 and advises to use 184 (for RTP). For SIP a value of CS3 = TOS 96 would be advisable.

If any doubt, use a sniffer such as Wireshark (formerly Ethereal). If settings are correct, it will show the Differentiated Services Field in any of the RTP packets, with a value of 0xb8 (DSCP 0x2e: Expedited Forwarding: ECN: 0x00).

See also:


Article Reviews

Write a Review

Your email address will not be published. Required fields are marked *

Required Field. Minimum 5 characters.

Required Field. Minimum 5 characters, maximum 50.

Required field.There is an error with this field.

Required Field.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

There are no reviews for this article. Be the first one to write a review.

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.