Projekat

Općenito

Profil

Akcije

Podrška #18785

Zatvoren

asterisk voip QoS quality of service, asterisk 1.6 reference

Dodano od Ernad Husremović prije više od 15 godina. Izmjenjeno prije skoro 15 godina.

Status:
Odbačeno
Prioritet:
Normalan
Odgovorna osoba:
Kategorija:
-
Početak:
04.11.2009
Završetak:
% završeno:

0%

Procjena vremena:

Fajlovi

asterisk.pdf (629 KB) asterisk.pdf asterisk 1.6 reference Ernad Husremović, 04.11.2009 23:15

Povezani tiketi 2 (0 otvoreno2 zatvorenih)

korelira sa voip - Podrška #18784: gsm codec, bandwidth usage na openvpn-uZatvoreno04.11.2009

Akcije
korelira sa voip - Podrška #18820: voip latency - asterisk iax2 (test bhingco i fbde trunk)Zatvoreno10.11.2009

Akcije
Akcije #1

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.

....

Akcije #2

Izmjenjeno od Ernad Husremović prije više od 15 godina

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]

Akcije #3

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

Akcije #4

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
Akcije #5

Izmjenjeno od Ernad Husremović prije skoro 15 godina

  • Status promijenjeno iz Dodijeljeno u Odbačeno
Akcije

Također dostupno kao Atom PDF