Question one is howto run it, that is relatively easy:
Ok, I think you only need sch_htb, so that would be fine.
There is a chance the script will improve your traffic
as long as you set the CEIL and other variables correctly. By default it can improve your latency. It also improves the flow for traffic where the TOS bits are set. If for instance asteriks sets those tos bits, the script might do good as it is by default.
If that is not the case we will have to look more into the traffic your voip will generate.
Is it correct that you want to look at using this script with an asteriks on your sme?
Hans-Cees
Hans-Cees,
OK, i got the script running but it did give me a few errors:
Unknown qdisc "htb", hence option "default" is unparsable
+ tc class add dev eth1 parent 1: classid 1:1 htb rate 384kbit ceil 384kbit
Error: Qdisc "htb" is classless.
+ tc class add dev eth1 parent 1:1 classid 1:10 htb rate 100kbit ceil 200kbit prio 0
Error: Qdisc "htb" is classless.
+ tc class add dev eth1 parent 1:1 classid 1:11 htb rate 200kbit ceil 384kbit prio 1
Error: Qdisc "htb" is classless.
+ tc class add dev eth1 parent 1:1 classid 1:12 htb rate 50kbit ceil 384kbit prio 2
Error: Qdisc "htb" is classless.
+ tc class add dev eth1 parent 1:1 classid 1:13 htb rate 100kbit ceil 307kbit prio 3
Error: Qdisc "htb" is classless.
+ tc qdisc add dev eth1 parent 1:10 handle 100: sfq perturb 10
Is that bad?
I use VoIP in tree different ways:
1. My Sipura 2002 adapter set up to my VoIP provider. Simple but no fun... Is what i use at the moment.
2. I have an older server running asterisk@home and my sipura set up with local extensions. Good fun but not without problems.
3. A basic asterisk installation on the SME server. Works well.
If SME 7 and asterisk@home gets well integrated, then i will go for that in the long run. But ideally, the traffic shaping should wor regardless if the VoIP is happening on the SME serv or through it.
I will try running the script now for a while and see (hear
![Very Happy :-D](/Smileys/default/grin.gif)
) how it works.
Thanks
Per