Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Operator » MOS Value in Call History (Add a column for Call Quality in Call History)
  •  
sourceminer

Messages: 66
Karma: 4
Send a private message to this user
It would be nice for the sake of troubleshooting voip issues to list out the MOS value in the Call History page. While your at it add this to the MIB file for monitoring of this value with SNMP monitoring systems.

[Updated on: Thu, 22 May 2014 16:43]

  •  
Vladimir Toncar (Kerio)

Messages: 1696
Karma: 39
Send a private message to this user
Hi,

You probably mean a MOS? How would you calculate it, given there's Asterisk under the hood? Based on codec/jitter/latency?

Vladimir
  •  
sourceminer

Messages: 66
Karma: 4
Send a private message to this user
There are many people doing calculations and adding it to the CDR Database.

http://lists.digium.com/pipermail/asterisk-users/2009-April/ 229657.html


saving the SIP RTCP stats with:

[macro-hangupcall]
exten => s,1,Set(CDR(userfield)=${CHANNEL(rtpqos|audio|all)})
exten => s,n,ResetCDR(vw)
exten => s,n,NoCDR()

So I retrieve these values in my MySQL CDR table in order to calculate a MOS
value:
" ssrc=592614191;themssrc=0;lp=1;rxjitter=0.000000;rxcount=0;t xjitter=0.000000;txcount=20734;rlp=0;rtt=0.094000 "
codec used: g711a


Here is the formula used (note that this is 'psuedo-code', not real code):

' Take the average latency, add jitter, but double the impact to latency
' then add 10 for protocol latencies
EffectiveLatency = ( AverageLatency + Jitter * 2 + 10 )

' Implement a basic curve - deduct 4 for the R value at 160ms of latency
' (round trip). Anything over that gets a much more agressive deduction
if EffectiveLatency < 160 then
R = 93.2 - (EffectiveLatency / 40)
else
R = 93.2 - (EffectiveLatency - 120) / 10

' Now, let's deduct 2.5 R values per percentage of packet loss
R = R - (PacketLoss * 2.5)

' Convert the R into an MOS value.(this is a known formula)
MOS = 1 + (0.035) * R + (.000007) * R * (R-60) * (100-R)
  •  
hoomAn

Messages: 2
Karma: 0
Send a private message to this user
hi

do you have any proof for this formula?? is it same E-Model?
  •  
hoomAn

Messages: 2
Karma: 0
Send a private message to this user
hello friend

when i use rtpqos, it get me 0,000000 all parameters. can you help me?
Sad Sad Sad Sad Sad
Previous Topic: Common voicemail amongst multiple phones
Next Topic: call recording option
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Tue Dec 06 18:54:44 CET 2016

Total time taken to generate the page: 0.00931 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.