]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_rtp_asterisk.c: Correct coefficient in MOS calculation.
authorromryz <51915794+romryz@users.noreply.github.com>
Tue, 6 Feb 2024 13:57:32 +0000 (15:57 +0200)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 7 Mar 2024 14:17:23 +0000 (14:17 +0000)
commita494b61fe2df07a855b07de6b26d42c6d3a6511d
treee06bca3b6a61f1a6ec66116dd7f64129ec388329
parent70ff49c47441fc831ea13be6b0081f818cd62fc3
res_rtp_asterisk.c: Correct coefficient in MOS calculation.

Media Experience Score relies on incorrect pseudo_mos variable
calculation. According to forming an opinion section of the
documentation, calculation relies on ITU-T G.107 standard:

    https://docs.asterisk.org/Deployment/Media-Experience-Score/#forming-an-opinion

ITU-T G.107 Annex B suggests to calculate MOS with a coefficient
"seven times ten to the power of negative six", 7 * 10^(-6). which
would mean 6 digits after the decimal point. Current implementation
has 7 digits after the decimal point, which downrates the calls.

Fixes: #597
(cherry picked from commit 335b925fac1188a0fc1deaf70f3b698197de66e9)
res/res_rtp_asterisk.c