[Asterisk-Users] Can you comment on this Qos script? How does
one shape RTP?
trixter http://www.0xdecafbad.com
trixter at 0xdecafbad.com
Mon Apr 11 07:21:43 MST 2005
I used the one posted to this list and for a test did a
speedtest.dslreports.com bandwidth test duringa call, no loss in
quality.
I set ports 10000-11024 to RTP in rtp.conf, I dont need 10k ports for
that as I have few calls being processed. I also added sip to the queue
although that prolly doesnt matter becuase its such a low bandwidth
protocol comparitevly speaking.
# udp/5060 is SIP
tc filter add dev $DSLDEV parent 1:0 protocol ip prio 1 u32 match ip
dport 506
0 0xffff match ip protocol 17 0xff flowid 1:0
tc filter add dev $DSLDEV parent 1:0 protocol ip prio 2 u32 match ip
sport 506
0 0xffff match ip protocol 17 0xff flowid 1:0
# udp/10000-11024 is RTP
tc filter add dev $DSLDEV parent 1:0 protocol ip prio 1 u32 match ip
dport 100
00 0xf670 match ip protocol 17 0xff flowid 1:0
tc filter add dev $DSLDEV parent 1:0 protocol ip prio 2 u32 match ip
sport 100
00 0xf670 match ip protocol 17 0xff flowid 1:0
On Mon, 2005-04-11 at 07:08 -0700, Sean Kennedy wrote:
> Honestly, the best script I've ever found is the wondershaper script (
> google it ). I tried the correct one posted in this thread, tried
> modifying it, but in the end I just used wondershaper.
>
> Does a great job. My only fear is it doesn't specifically target IAX2
> traffic as high priority, but I can modify it later to do so if needed.
>
> On a 192 line I am able to get 4 ulaw ( IAX2 ) calls out with no
> noticable problems. Along with someone streaming a shoutcast station (
> sigh ). The station broke up, but the calls didn't.
>
> cmisip wrote:
>
> >I got this from the voip wiki but the original script didn't seem to
> >work right so I fiddled with it a little bit. I am no expert so maybe
> >someone can look at it for errors. This is for my cable connection. So
> >far asterisk seems to use 1:10 while all other traffic uses 1:102. How
> >does one packet shape RTP?
> >
> >Thanks for any help.
> >
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
--
Trixter http://www.0xdecafbad.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050411/b94c9559/attachment.pgp
More information about the asterisk-users
mailing list