diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-28 03:28:52 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-28 03:28:52 +0000 |
commit | 7c697789d6cce6e95c7297bfcddbc600efe83eed (patch) | |
tree | 2b87d0a9e58db877d4d925a55015ca72d877001d /configs | |
parent | 0d346196f902203b34c480881c27367ae49b522d (diff) |
improve IP TOS support for SIP and IAX2 (issue #6355, code from jcollie plus modifications)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15435 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs')
-rw-r--r-- | configs/iax.conf.sample | 11 | ||||
-rw-r--r-- | configs/iaxprov.conf.sample | 6 | ||||
-rw-r--r-- | configs/sip.conf.sample | 8 |
3 files changed, 10 insertions, 15 deletions
diff --git a/configs/iax.conf.sample b/configs/iax.conf.sample index 20db97ad2..55b024c69 100644 --- a/configs/iax.conf.sample +++ b/configs/iax.conf.sample @@ -207,15 +207,8 @@ forcejitterbuffer=no ; ;authdebug=no ; -; Finally, you can set values for your TOS bits to help improve -; performance. Valid values are: -; lowdelay -- Minimize delay -; throughput -- Maximize throughput -; reliability -- Maximize reliability -; mincost -- Minimize cost -; none -- No flags -; -tos=lowdelay +; See doc/README.tos for a description of the tos parameters. +;tos=ef ; ; If regcontext is specified, Asterisk will dynamically create and destroy ; a NoOp priority 1 extension for a given peer who registers or unregisters diff --git a/configs/iaxprov.conf.sample b/configs/iaxprov.conf.sample index ad13166ed..1644356d0 100644 --- a/configs/iaxprov.conf.sample +++ b/configs/iaxprov.conf.sample @@ -53,10 +53,8 @@ codec=ulaw ; flags=register,heartbeat ; -; tos is the requested type of service setting and may be one a number or -; 'lowdelay','throughput','reliability','mincost' or 'none' -; -tos=lowdelay +; See doc/README.tos for a description of this parameter. +;tos=ef ; ; Example iaxy provisioning ; diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample index 3a1208ead..5a7e483ed 100644 --- a/configs/sip.conf.sample +++ b/configs/sip.conf.sample @@ -58,8 +58,12 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ;pedantic=yes ; Enable slow, pedantic checking for Pingtel ; and multiline formatted headers for strict ; SIP compatibility (defaults to "no") -;tos=184 ; Set IP QoS to either a keyword or numeric val -;tos=lowdelay ; lowdelay,throughput,reliability,mincost,none + +; See doc/README.tos 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. + ;maxexpiry=3600 ; Max length of incoming registrations/subscriptions we allow (seconds) ;minexpiry=60 ; Minimum length of registrations/subscriptions (default 60) ;defaultexpiry=120 ; Default length of incoming/outoing registration |