Re: [Asterisk-Users] Boosting Shared Internet Bandwidth for Asterisk

2005-05-24 Thread Andrew Kohlsmith
On May 22, 2005 03:20 am, chawki hammoud wrote:
> My ISP has the internet connection set-up where 8
> people share the bandwidth. Would the script still
> help boost my voip calls?

You can only control your own bandwidth.  Your ISP would have to be willing to 
help you in this matter.

-A.
___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] Boosting Shared Internet Bandwidth for Asterisk

2005-05-24 Thread Andrew Kohlsmith
On May 22, 2005 04:43 am, Jean-Christophe Heger wrote:
> Depending on you bandwidth, you might not need QoS. Priority could be
> enough.

Provided that the ISP doesn't just strip the bits anyway.  I know many who do 
this, especially since kids tend to set their traffic to high priority 
because they think it's elite.

-A.
___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] Boosting Shared Internet Bandwidth for Asterisk

2005-05-22 Thread Jean-Christophe Heger
Depending on you bandwidth, you might not need QoS. Priority could be
enough.

In you sip.conf (if you use SIP), place a tos value:

[general]
tos = 0x10   ; low delay
or
tos = 0x46   ; DiffServ Premium (EF: Expedited Forward)

Remark: for un unknown reason, tos=lowdelay doesn't work anymore on my
asterisk (v1.0.7), but was working in the past. I replaced it by 0x10
(hex value of lowdelay).

Most of the routers support PFIFO (FIFO with priority), which means that
low delay flagged packet will be sent in priority.
I haven't tested the 0x46 value yet. Routers must be configured for
DiffServ values, while ToS is by default. But the low delay TOS bit is
also set within the 0x46 value. If a router treat the the DiffServ byte
as TOS, it should be sent with priority as well (to be validated).

If you want to check what priority is set inside your packets, you might
use Ethereal. You might see either UDP or RTP packets, depending on the
RTP ports that are used. In the branch "Internet Protocol", you will
find the TOS/DiffServ decode, named "Type of service" or "Differential
services Field". The TOS low delay bit is the 5th, and should be 1.

If you have a low bandwidth connection (e.g. 600/100), you might have a
new problem if you are using TOS as low delay. Voice will be good, but
data will stall. QoS won't resolve it, because big packets take too much
time to travell. The only way to share bandwidth for voice and data, on
low bandwidth lines, is to fragment the data. An MTU of 700 is quite
good, but you have to assume about 15% of bandwidth loss, because of
twice more overheads on big packets. Allthough, a 1200/200 kbps line
usually doesn't require such tricks.

Remark about Grandstream:
If you are using a GS device, you must know that QoS is buggy, and will
have no effect at all. You must upgrade to the beta version of the
firmware, which is OK. Therefore, GS recommands a QoS value of 48
(whithout "0x" on a GS device). This is a DiffServ value, which does not
set the los delay TOS bit. Cisco recommands 46, which does.

Jean-Christophe


chawki hammoud a écrit :

>--- Matt Riddell <[EMAIL PROTECTED]> wrote:
>
>
>  
>
>>Assuming your provider completely ignores QOS, it is
>>still not a 
>>complete waste of time.
>>
>>If for example you have 5 people on the LAN, 4
>>uploading files to a 
>>remote server and 1 trying to make a phone call.
>>
>>
>
>My ISP has the internet connection set-up where 8
>people share the bandwidth. Would the script still
>help boost my voip calls?
>
>
>
>
>   
>__ 
>Yahoo! Mail Mobile 
>Take Yahoo! Mail with you! Check email on your mobile phone. 
>http://mobile.yahoo.com/learn/mail 
>___
>Asterisk-Users mailing list
>Asterisk-Users@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
>  
>

___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] Boosting Shared Internet Bandwidth for Asterisk

2005-05-22 Thread chawki hammoud

--- Matt Riddell <[EMAIL PROTECTED]> wrote:


> Assuming your provider completely ignores QOS, it is
> still not a 
> complete waste of time.
> 
> If for example you have 5 people on the LAN, 4
> uploading files to a 
> remote server and 1 trying to make a phone call.

My ISP has the internet connection set-up where 8
people share the bandwidth. Would the script still
help boost my voip calls?





__ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 
___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] Boosting Shared Internet Bandwidth for Asterisk

2005-05-21 Thread Matt Riddell

Robert Goodyear wrote:

On May 20, 2005, at 8:11 AM, chawki hammoud wrote:

--- Andrew Kohlsmith <[EMAIL PROTECTED]>
wrote:

http://www.mixdown.ca/~andrew/dump/rc.tc.  It's what

Could you please tell me where and how to install it

Thanks.


GOOGLE. LEARN. DEPLOY.

You need a primer in IP networking before you endeavor to play with 
packet shaping or you'll be stabbing in the dark. You also need to 
ascertain whether or not it will be a complete waste of time if/when 
your provider completely ingores QoS.


Assuming your provider completely ignores QOS, it is still not a 
complete waste of time.


If for example you have 5 people on the LAN, 4 uploading files to a 
remote server and 1 trying to make a phone call.


If you were to put the packets for the uploads into say bin 3 and Voip 
into bin 1, your customers would definitely notice an increase in quality.


Agreed that's it's not going to work for inbound if your provider 
ignores it, but you still control outbound (and on asymmetric 
connections, outbound usually has the least bandwidth).


--
Cheers,

Matt Riddell
___

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] Boosting Shared Internet Bandwidth for Asterisk

2005-05-20 Thread Robert Goodyear
On May 20, 2005, at 8:11 AM, chawki hammoud wrote:
--- Andrew Kohlsmith <[EMAIL PROTECTED]>
wrote:
You want Quality of Service.  Google around, and
then look at
http://www.mixdown.ca/~andrew/dump/rc.tc.  It's what
I use and it seems to
work very well.
Could you please tell me where and how to install it
Thanks.

GOOGLE. LEARN. DEPLOY.
You need a primer in IP networking before you endeavor to play with 
packet shaping or you'll be stabbing in the dark. You also need to 
ascertain whether or not it will be a complete waste of time if/when 
your provider completely ingores QoS.

___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] Boosting Shared Internet Bandwidth for Asterisk

2005-05-20 Thread chawki hammoud

--- Andrew Kohlsmith <[EMAIL PROTECTED]>
wrote:

> You want Quality of Service.  Google around, and
> then look at 
> http://www.mixdown.ca/~andrew/dump/rc.tc.  It's what
> I use and it seems to 
> work very well.  

Thank you Andrew, I am trying to figure out why I
can't start it, meanwhile if you ran through this post
again, this is what i am getting when I do rc.tc
start:


./rc.tc start
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
We have an error talking to the kernel
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
We have an error talking to the kernel
iptables v1.2.9: Couldn't load match
`p2p':/lib/iptables/libipt_p2p.so: cannot open shared
object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more
information.
iptables v1.2.9: Couldn't load match
`ipp2p':/lib/iptables/libipt_ipp2p.so: cannot open
shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more
information.
iptables: No chain/target/match by that name

Any suggestions?





__ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 
___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] Boosting Shared Internet Bandwidth for Asterisk

2005-05-20 Thread chawki hammoud

--- Andrew Kohlsmith <[EMAIL PROTECTED]>
wrote:

> You want Quality of Service.  Google around, and
> then look at 
> http://www.mixdown.ca/~andrew/dump/rc.tc.  It's what
> I use and it seems to 
> work very well.  

Could you please tell me where and how to install it?

Thanks.



__ 
Do you Yahoo!? 
Make Yahoo! your home page 
http://www.yahoo.com/r/hs
___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] Boosting Shared Internet Bandwidth for Asterisk

2005-05-20 Thread chawki hammoud

--- Andrew Kohlsmith <[EMAIL PROTECTED]>
wrote:

> You want Quality of Service.  Google around, and
> then look at 
> http://www.mixdown.ca/~andrew/dump/rc.tc.  It's what
> I use and it seems to 
> work very well.  

Could you please tell me where and how to install it

Thanks.



__ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 
___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] Boosting Shared Internet Bandwidth for Asterisk

2005-05-19 Thread Andrew Kohlsmith
On May 19, 2005 03:42 pm, chawki hammoud wrote:
> I use shared internet bandwidth and the calls are very
> clear from around midnight till about 4 pm when it
> goes bad after that. Is there a way to boost the
> internet bandwidth for Asterisk at the peak time?

You want Quality of Service.  Google around, and then look at 
http://www.mixdown.ca/~andrew/dump/rc.tc.  It's what I use and it seems to 
work very well.  

Note: You *will* have to adjust values and experiment to find out where your 
particular link and link hardware works best.  DO NOT expect to just run it 
and have it magically work.

-A.
___
Asterisk-Users mailing list
Asterisk-Users@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


[Asterisk-Users] Boosting Shared Internet Bandwidth for Asterisk

2005-05-19 Thread chawki hammoud
Hi:

I use shared internet bandwidth and the calls are very
clear from around midnight till about 4 pm when it
goes bad after that. Is there a way to boost the
internet bandwidth for Asterisk at the peak time?

Thanks



Discover Yahoo! 
Have fun online with music videos, cool games, IM and more. Check it out! 
http://discover.yahoo.com/online.html
___
Asterisk-Users mailing list
Asterisk-Users@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