Current Location :Home > About Us > News Center > BLOG > QoS Marking for Voice: DSCP Practices on the SIP Side

QoS Marking for Voice: DSCP Practices on the SIP Side

Oct 22Source:RedstoneIntelligent Browse: 0
Background

QoS Marking for Voice: DSCP Practices on the SIP Side

Voice quality problems are often blamed on bandwidth, but bandwidth is rarely the binding constraint in a well-run office network. One saturated uplink or a congested access port is enough to produce clipping, delay and jitter on calls, and by the time users report garbled audio the underlying cause is a queue that treated a voice packet like an email attachment. Differentiated services, and specifically DSCP marking, exist to make that distinction. The catch is that marking is a contract between endpoints and the network. If the endpoints mark correctly and the network ignores or rewrites the marks, the whole mechanism quietly does nothing. If the network trusts the marks and the endpoints mark everything as high priority, the network carries your bad marking decisions to the rest of the internet. Getting this right requires deliberate decisions at the phone, at the edge, at the access layer, and across any provider handoff.

Why Marking Alone Does Not Improve Anything

A DSCP value is only meaningful if something downstream acts on it. Marking is a label applied to a packet as it leaves the phone system; the classification and queuing behaviour that actually protect voice calls happens in the network devices along the path. On an unmanaged network, marking is decoration. On a managed network, marking is the trigger for a scheduling decision that reserves queue capacity for the packet class that matters most for delay.

This distinction explains why some organisations believe they have QoS and do not have QoS. They configured a DSCP value on the IP-PBX, confirmed it in a packet capture at the first hop, and saw quality problems persist. The packets were marked correctly and the switches were not configured to do anything with the marks. A capture taken close to the phone is evidence of marking, not evidence of treatment.

The Trust Boundary Problem

Trust is the central concept. An edge router or switch can be configured to trust DSCP values that arrive from the internal voice VLAN, in which case the marks set by the phones and the phone system are preserved. It can be configured to clear all incoming marks and re-classify traffic itself, in which case internal marking is irrelevant and classification logic lives in the network. The failure mode is a mixed configuration where some ports trust and others do not, so voice is protected on one floor and not on another.

There is a second trust question at the WAN boundary. When voice traffic leaves your site toward a carrier, uplink, or cloud provider, do you want the far end to honour your marks? Most providers treat inbound DSCP as advisory, and some remap it. Assuming your Expedited Forwarding marking survives the provider is a common source of disappointment, particularly on internet-routed paths where congestion is managed by something other than your own policy.

Where marking happensWho controls itCommon mistake
IP phone or endpointVendor configurationLeft at default; voice and data share a value
IP-PBX or SBCAdministratorNo policy for signalling vs media
Access switch portNetwork teamTrust configured on data ports as well as voice
Distribution or coreNetwork teamQueues sized but not verified under load
WAN edge routerNetwork teamMarks re-classified without documentation
Provider handoffCarrierAssumed to preserve marks; rarely verified

A Layered Approach to Voice Priority

Most working deployments use a consistent layered policy rather than a clever one. Signalling gets a class that keeps it moving reliably. Real-time media gets the highest forwarding priority available. Interactive traffic such as voice signalling and session setup gets a class above bulk data but below media. Bulk traffic such as file transfer, replication, and backups sits at the bottom and is expected to yield. The value of this approach is that it is auditable: an engineer reading the configuration can state what each class is for.

Class names vary by platform, so the useful question is not what a particular device calls its voice class but what behaviour it guarantees. Two devices may use different labels for the same intent, and one may implement the intent only while the link is congested while the other reserves capacity permanently. Understanding whether queue behaviour is strict priority, weighted fair queueing, or a blend of the two matters more for voice quality than the label on the policy.

What DSCP Marking Will and Will Not Fix

  • It helps when the bottleneck is a congested egress queue on a link you control
  • It helps when a burst of bulk traffic shares a link with real-time voice
  • It does nothing when the bottleneck is the internet path beyond your control
  • It does nothing when the problem is packet loss caused by physical-layer errors
  • It does nothing when the problem is codec mismatch, jitter buffer tuning, or echo cancellation
  • It does nothing when the endpoint is generating RTP with excessive packetisation intervals
  • It cannot repair a misconfigured switch that clears every mark at the edge

Verifying Treatment Rather Than Assuming It

Verification needs to happen at multiple points and under the right conditions. A packet capture at a distribution switch during a live call confirms that the mark survived the internal path. A capture or interface counter check on a congested link confirms that the queueing policy behaved as intended under load. Testing while the link is idle proves very little, because most policies do nothing when there is no contention.

Verification stepWhat it provesWhen to run it
Capture at the phone or switch portThe intended DSCP value is being setDuring a live call
Capture at distributionMarks survived the internal path unchangedDuring a live call
Counter check on congested egressQueueing policy treated the class as configuredUnder induced load
Trace and latency measurementActual delay and jitter match expectationsAt representative times
Call quality assessmentUsers perceive no impairmentAfter any change

Practical Guidance for Marking Configuration

  • Define one class for real-time media, one for signalling, and one for interactive data, and document what each protects
  • Mark at the source and re-classify at the network edge rather than trusting every internal port
  • Restrict trust to ports that carry phone system or voice VLAN traffic, and verify no data ports trust marks
  • Test under load, because idle behaviour does not distinguish a working policy from an absent one
  • Record what your provider does with inbound marks rather than assuming
  • Re-test after any router replacement, because policies are among the first settings lost on a new platform
  • Keep the marking policy documented alongside the voice design so it survives staff changes

Redstone Approach

Redstone can help define the voice side of a QoS design, including how media and signalling from Redstone IP-PBX and RGW series deployments should be classified and where marking should be applied. Redstone engineers can work with your network team to identify which hop in your path owns the decision, so that the responsibility for each part of the marking chain is explicit rather than assumed to sit with the phone system alone.

Redstone also supports verification planning: structuring test calls and capture points so that you can confirm treatment rather than infer it. This is particularly useful during migrations, when the WAN platform often changes at the same time as the phone system and marking policy is easily overlooked.

About Redstone

Redstone Systems, Inc. founded in Delaware, USA in December 2002, has been the ODM vendor for many well-known communications companies, serving the Southeast Asian market. In 2020, Redstone Systems will begin to return to the North America market with its self-developed brand.


Redstone has a complete product line of intelligent voice gateways, providing IP-PBXs, analog VoIP gateways (FXS/FXO), digital VoIP gateways (E1/T1), border appliances, and session boundary controllers (SBCs).


With advanced technology in digital signal processor (DSP), speech coding and speech processing, as well as efficient operational tools such as cloud remote management, auto provisioning, Redstone gateways are widely used in markets of enterprise communications, cloud communications, call centers, operators’ IMS/SIP trunks, bringing users friendly, efficient and reliable communication experience.


For more information about Redstone, You can follow us on Facebook, Linkedin, and Youtube to be the first to get the latest news.

Contact Us

Mobile Phonel

Email: globalmarketing@redstonesystems.com

Address: 12816 SE 75th Court, Newcastle WA 98059, USA

Contact Us
We will do our best to contact you as soon as possible. In the meantime, please contact us for more information.
  • First Name*

  • Last name*

  • Company Name*

  • Email*

  • Phone

  • Product*

  • Message

  • I have read and agreed Privacy Policy
Privacy_policy
×

Privacy Statement

Platform information submission - privacy agreement

● Privacy Policy

We are committed to protecting the privacy, personal data and personal data (collectively referred to as "personal data") provided by you when using this website. Make us comply with the highest standards in terms of collection, use, storage and transmission of personal data (laws and regulations related to privacy of personal data) and consumer protection. To ensure that you have full confidence in the handling of personal data on this website, you must carefully read and understand the provisions of the privacy policy. This website (hereinafter referred to as "us") respects and protects the privacy of users. In particular, once you use this website, you will be deemed to accept, agree, promise and confirm this privacy agreement; You disclose your personal data to us voluntarily with the required consent; You will abide by any modification of this privacy policy; You agree that our relevant business personnel will contact you regarding the products and services you may be interested in (unless you have indicated that you do not want to receive such messages). With your consent, we will collect, manage and monitor the types of personal data collected


1. Scope of application

It is our unremitting pursuit to provide users with better, better and more personalized services. We also hope that the services we provide will be more convenient for your needs. This privacy policy applies to all information collection services provided by this website. You can visit this website and use the services provided by this website using this privacy policy


2. What information do we collect

In order to provide you with our various services, you need to provide personal data information, including personal data and anonymous data, including but not limited to: personal data (your name, gender, age, date of birth, telephone number, fax number, address or mailing address, e-mail address, etc.)


3. How to use the collected information

The purposes and purposes of collecting personal data and anonymous data are as follows: to provide you with our services through this website; When you use our website, you can identify and confirm your identity; Let you get the service for you when you use this website; The relevant business personnel of this website can contact you when necessary; Make it more convenient for you to use this website; The personal data and anonymous data provided by you to us will only be retained until the collection purpose has been achieved, unless they are retained due to applicable laws and regulations. The ownership of personal data and disclosure of all data collected on our website are owned by us and will not be leased or sold to any unrelated third party

 

4. How do we protect information

For the protection of personal data, we implement appropriate physical, electronic and management measures to protect and guarantee the safety of your personal data. We try our best to ensure that any personal data collected through this website is free from any nuisance of a third party unrelated to us. The security measures we take are not limited to: physical measures: the records with your personal data will be stored in a locked place Electronic measures: the computer data with your personal data will be stored in the computer system and storage media subject to strict login restrictions Management measures: only employees authorized by us can access your personal data, These employees need to comply with our internal rules on the confidentiality of personal data. If you are aware of any security loopholes on this website, please contact us in time so that we can take appropriate actions as soon as possible; Despite the implementation of the above security measures, we cannot guarantee the absolute security of data transmission on the Internet, so we cannot absolutely guarantee that the personal data and anonymous data you provide to us through this website are safe at all times. We will not be responsible for any unauthorized access to your personal data, and we will not be responsible for any losses and damages incurred or caused in this regard.

 

5. Juvenile Protection Law

The minor has provided personal data to this website without the approval or consent of any parent or guardian. Please contact the public telephone number and customer service telephone number on this website in time to ensure that the data are removed

 

6. Revision and effectiveness of privacy policy

With the expansion of the service scope of this website, we may revise the Legal Statement and Privacy Policy from time to time, which forms a part of this Legal Statement and Privacy Policy. In order to prevent you from being informed of such revisions, please read this Legal Statement and Privacy Policy frequently. In any way, if you continue to use our services, you agree to be bound by the revised Legal Statement and Privacy Policy