Podrška #18785
Zatvorenasterisk voip QoS quality of service, asterisk 1.6 reference
0%
Fajlovi
Povezani tiketi 2 (0 otvoreno — 2 zatvorenih)
Izmjenjeno od Ernad Husremović prije više od 15 godina
http://www.howtoforge.com/voip_qos_traffic_shaping_iproute2_asterisk
The quality of my VoIP phone calls suffered whenever I was downloading or uploading anything. This was irritating, especially for those calling me (I heard them better than they heard me). So I poked at Iproute2 and other howtos, especially with regard to VoIP traffic, but I couldn't find anything that worked well. After some playing around, I've found settings that were right for me: consistant VoIP quality, regardless of any activities on the wire.
A note regarding my VoIP system: I'm using Asterisk on a spare laptop (IBM T20), and my VoIP provider is the excellent Unlimitel, in Canada. Since I host my own Asterisk box, I can pretty much configure it to do whatever I want. I also bought an IAX hardphone which resides on my intranet.
Setup
I assume you already have in place your Linux firewall. VoIP packets transverse your firewall and your NAT is already set and working. We won't even touch your firewall with this setup. All you need to do is to create the right qdisc, classes and filters to prioritize your VoIP packets. Iproute2's tc command is here for that.
Let's pretend your network is as such:
Internet <------> Cable modem <-------> Linux Firewall <-----> Intranet <-----> VoIP phone
Since I'm using Asterisk with IAX, the port of interest is port 4569. If you're using SIP, adapt the port in the following lines.
....
Izmjenjeno od Ernad Husremović prije više od 15 godina
- Fajl asterisk.pdf asterisk.pdf dodano
asterisk 1.6 reference¶
...
2.1.5 IP Quality of Service
Introduction
Asterisk support different QoS settings on application level on various protocol on any of signaling and media. Type of Service (TOS) byte can be set
on outgoing IP packets for various protocols. The TOS byte is used by the network to provide some level of Quality of Service (QoS) even if the network is congested with other traffic.
Also asterisk running on Linux can set 802.1p CoS marks in VLAN packets for all used VoIP protocols. It is useful when you are working in switched
environment. In fact asterisk only set priority for Linux socket. For mapping this priority and VLAN CoS mark you need to use this command:
vconfig set_egress_map [vlan-device] [skb-priority] [vlan-qos]
Izmjenjeno od Ernad Husremović prije više od 15 godina
- Naslov promijenjeno iz voip QoS quality of service u asterisk voip QoS quality of service
jitterbuffer na iax trunku¶
na fbde stavio jitterbuffer=yes ali mi se čini da je razgovor vazda lošiji sada
zato sam ga isključio i sa fbde i bhingco
Izmjenjeno od Ernad Husremović prije više od 15 godina
- Naslov promijenjeno iz asterisk voip QoS quality of service u asterisk voip QoS quality of service, asterisk 1.6 reference
Izmjenjeno od Ernad Husremović prije skoro 15 godina
- Status promijenjeno iz Dodijeljeno u Odbačeno