SIP and RTP traffic priority

Status
Not open for further replies.

complex1

Customer
Advanced Certified
Joined
Jan 25, 2010
Messages
1,141
Reaction score
128
Hi,

I’m running 3CX v15.5 SP6 on a NUC with Debian 9.7 and I want to give SIP and RTP traffic priority.
To do so, I want to mark SIP traffic with DSCP 26 and Voice traffic (RTP) with DSCP 46.

I use this link as guide
https://www.3cx.com/blog/voip-howto/qos-linux/

I want to add the following rules in iptables

-A OUTPUT -p tcp -m tcp --sport 5060 -j DSCP --set-dscp 26
-A OUTPUT -p udp -m udp --sport 5060 -j DSCP --set-dscp 26
-A OUTPUT -p udp -m udp --sport 9000:10999 -j DSCP --set-dscp 46

Is this going to work or do it need some changes?

Any thoughts?

Thanks.
 
Should work but the only way to make sure is to do it and then wireshark and confirm
 
  • Like
Reactions: YiannisH_3CX
Status
Not open for further replies.

Forum statistics

Threads
111,913
Messages
589,706
Members
164,781
Latest member
Alina avdeyeva