Board logo

標題: TOS = Type of Service [打印本頁]

作者: bubblestar    時間: 2010-9-7 16:29     標題: TOS = Type of Service

本帖最後由 bubblestar 於 2010-9-7 17:24 編輯

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.

有無邊位朋友在sip.conf裡有使用TOS的設定呢。可能設定後或會增加以下幾方面的效能也說不定。

•lowdelay
•highthroughput
•highreliability
•mincost
•none

http://www.voip-info.org/wiki/view/Asterisk+sip+tos

其實我自己一直有沿用這方面的設定的,效果是否真的係好好,我不會說得太死,但so far仍然算是很穩定。對大家是否有幫助,要你地自己設定好試過至知。

Configuation Parameter Recommended
File Setting
- - - - - - - - - - - - - - - - - - - - - -
sip.conf tos_sip cs3
sip.conf tos_audio ef
sip.conf tos_video af41
作者: lttliang    時間: 2010-9-7 16:53

The TOS byte is used by the network to provide some level of Quality of Service (QoS) even if the ne ...
bubblestar 發表於 2010-9-7 16:29



    是咩功能?  我唔识英文   用google翻译过来  也不对
作者: bubblestar    時間: 2010-9-7 17:09

剛剛跟角色兄雙方以上面的設定通話,效果理想,跟昨天比較的數據如下:

6/9/2010     10分鐘 - PACKET LOSS 是 10386

7/9/2010     20分鐘 - PACKET LOSS 是 30

IP-01 (SPA942 IP Phone)  <<====>> D510MO (Siemens DECT)
作者: bubblestar    時間: 2010-9-7 17:22

本帖最後由 bubblestar 於 2010-9-7 17:31 編輯

回復 2# lttliang

減少通話延遲
增強封包流量
提升通話資料傳送可靠度
慳荷包

翻譯得不好,請見諒。
   
簡單地說,設定上述三個參數之後,可以減少SIP、聲音等的封包掉失,從而提昇通話的清晰度,降低死亡率 ,最重要是雙方通話時,就算是在擠擁的網絡及與其它網路資料相當多的情況下,會發揮疏通作用。

角色兄常說你地個個IP-01都死機,但我基本上真係未死過。他問我究竟我跟他的設定有什麼分別,我便想起這方面他應該沒有做的,因為相關設定不是預設的。其實我在一年前的舊機上已經有此設定了。

無論如何,現在大家都不知真正死因,不妨一試吧。總不能說死便要馬上另買一部的,可能大家怪錯好機呢!! 而且死機的說法,我始終覺得不會單一是IP-01的問題,外在原因應該也會有的。
作者: 角色    時間: 2010-9-7 17:38

是的,语音传送清晰度有所改进。谢谢bubblestar兄的指点。

角色
作者: bubblestar    時間: 2010-9-7 17:41

IP-01裡,應該就係呢三個PACKET參數,改好後,相信會對PACKET LOSS有一定幫助。通話清晰的話,死的感覺可能會沒有了。事實上,昨天跟角色兄通話中,超過10,000個封包掉失,與今天只是30個的分別,你地話係唔係由地獄返回天堂呢。


2010-09-07_173605.png
2010-9-7 17:41


圖片附件: 2010-09-07_173605.png (2010-9-7 17:41, 51.27 KB) / 下載次數 289
http://www.telecom-cafe.com/forum/attachment.php?aid=187&k=562efdc51fd27543b7e7e26fa4c7bb4b&t=1711704513&sid=3CfNih


作者: 角色    時間: 2010-9-7 17:48

This thread has already been documented in the VoIP reference book.

YH
作者: lttliang    時間: 2010-9-7 21:41

IP-01裡,應該就係呢三個PACKET參數,改好後,相信會對PACKET LOSS有一定幫助。通話清晰的話,死的感覺可能 ...
bubblestar 發表於 2010-9-7 17:41



    bubblestar 兄  真系型仔  经常会比D惊喜出来
作者: lttliang    時間: 2010-9-7 23:39

IP-01裡,應該就係呢三個PACKET參數,改好後,相信會對PACKET LOSS有一定幫助。通話清晰的話,死的感覺可能 ...
bubblestar 發表於 2010-9-7 17:41


这里面有很多选项,比如你列出来的这几个选项,分别代表咩意思呢?
    CS3   AF41   ef
作者: ckleea    時間: 2010-9-8 09:16

This is an excellent change. Keep it up.
作者: bubblestar    時間: 2010-9-8 10:06

本帖最後由 bubblestar 於 2010-9-8 10:09 編輯

回復 9# lttliang


實在太技術性了,要深入研究的話,真的是要慢慢學,正如 lttliang 兄所說,可能要等退休之後了   

AF 代表 Assured Forwarding 保証傳送。加上正確DSCP值,可保証使用一定數量的可使用頻寬傳送封包資料。又如下面所講,它可分金、銀、銅 用以確保50%、30%、20%頻寬傳送封包。太深入了,其實點樣做,我都不知道。

想起來,在我的Draytek Vigor Router,都有相類似的設定的,我都有做架,可能因為係咁樣,所以我的傳送一直都有一定程度的可靠性

Assured Forwarding (AF) defines classes by using DSCP values. AF is important in understanding how to relate DSCP AF terminology to DSCP values
AF has four AF classes, AF1x through AF4x, where the AF4 class is considered to have more importance than the AF1 class. Within each class, there are three drop probabilities. Depending on the policy of a given network, you can configure packets for a PHB based on required throughput, delay, jitter, loss, or according to priority of access to network services.

AF PHB defines a method by which traffic classes are given different forwarding assurances. A practical example of dividing a network into classes is as follows:

•Gold: 50 percent of the available bandwidth

•Silver: 30 percent of the available bandwidth

•Bronze: 20 percent of the available bandwidth


EF 代表 Expedited Forwarding 加速傳送。 通過適當設置,建立一條點對點而低丟失率、低延遲率、確實的頻寬,以確保兩點通話、通視頻、通文字的環境。

Expedited Forwarding defines the Expedited Forwarding (EF) PHB. Network devices use EF PHB to build a low-loss, low-latency, low-jitter, assured-bandwidth, end-to-end service through DiffServ domains. EF service appears to the endpoints as a point-to-point connection. An example is to apply EF PHBs to VoIP traffic. The remaining sections of this chapter explain the application of DSCP and DiffServ on Catalyst switches.

我仲未夠班係咁多位高手、前輩面前扮專家,都係留俾其他人解釋吧,能解決當前問題的話,我暫時都已經好心足了。
作者: lttliang    時間: 2010-9-8 10:10

回復  lttliang


實在太技術性了,要深入研究的話,真的是要慢慢學,正如 lttliang 兄所說,可能要等退休 ...
bubblestar 發表於 2010-9-8 10:06



    真系型仔   讲野都咁型




歡迎光臨 電訊茶室 (http://www.telecom-cafe.com/forum/) Powered by Discuz! 7.2