Hi,
I have a server running Asterisk on my network, and i’m trying to add some QoS.
But on wireshark I can see that paquets are not marqued.
I tried with two differents methods.
The first time I modified asterisks conf files.
on sip.conf I added:
tos_sip=cs3 ; Sets TOS for SIP packets.
tos_audio=ef ; Sets TOS for RTP audio packets.
tos_video=af41 ; Sets TOS for RTP video packets.
on iax.conf:
and on iaxprov.conf:
But nothing, DSCP is still equall to 0x00
So the second time I tried to mark packets using iptables with:
iptables -A OUTPUT -t mangle -p udp -m udp --dport 5060 -j DSCP --set-dscp 0x28
iptables -A OUTPUT -t mangle -p udp -m udp --sport 10000:20000 -j DSCP --set-dscp 0x28
But packets are still not marked
If someone has an idea please?
thanks[/code]