Add support for setting the CoS for VLAN traffic (802.1p) in Linux. The

file doc/qos.tex has been updated to document the new functionality.
(issue #9540, patch submitted by IgorG)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2007-04-30 16:16:26 +00:00
parent a91f9b138d
commit b419fc1134
20 changed files with 151 additions and 89 deletions

View File

@@ -4,7 +4,7 @@
[general]
port = 1720
;bindaddr = 1.2.3.4 ; this SHALL contain a single, valid IP address for this machine
;tos=lowdelay
;tos=ef
;
; You may specify a global default AMA flag for iaxtel calls. It must be
; one of 'default', 'omit', 'billing', or 'documentation'. These flags

View File

@@ -225,8 +225,9 @@ forcejitterbuffer=no
;
;authdebug=no
;
; See doc/README.tos for a description of the tos parameters.
; See doc/qos.tex for a description of the tos parameters.
;tos=ef
;cos=5
;
; If regcontext is specified, Asterisk will dynamically create and destroy
; a NoOp priority 1 extension for a given peer who registers or unregisters

View File

@@ -53,7 +53,7 @@ codec=ulaw
;
flags=register,heartbeat
;
; See doc/README.tos for a description of this parameter.
; See doc/qos.tex for a description of this parameter.
;tos=ef
;
; Example iaxy provisioning

View File

@@ -5,6 +5,9 @@
;port = 2427
;bindaddr = 0.0.0.0
; See doc/qos.tex for a description of the tos parameters.
;tos=ef
;------------------------------ JITTER BUFFER CONFIGURATION --------------------------
; jbenable = yes ; Enables the use of a jitterbuffer on the receiving side of a
; MGCP channel. Defaults to "no". An enabled jitterbuffer will

View File

@@ -57,10 +57,16 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
; and multiline formatted headers for strict
; SIP compatibility (defaults to "no")
; See doc/README.tos for a description of these parameters.
; See doc/qos.tex for a description of these parameters.
;tos_sip=cs3 ; Sets TOS for SIP packets.
;tos_audio=ef ; Sets TOS for RTP audio packets.
;tos_video=af41 ; Sets TOS for RTP video packets.
;tos_text=af41 ; Sets TOS for RTP text packets.
;cos_sip=4 ; Sets CoS for SIP packets.
;cos_audio=6 ; Sets CoS for RTP audio packets.
;cos_video=5 ; Sets CoS for RTP video packets.
;cos_text=0 ; Sets CoS for RTP text packets.
;maxexpiry=3600 ; Maximum allowed time of incoming registrations
; and subscriptions (seconds)