]> 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-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Wed, 14 Feb 2024 15:05:40 +0000 (15:05 +0000)
commit162c920f90fd50066f4020ebf4ba60c76b3d2a28
tree8b05017cfa240fb53144c27e536746730391ace9
parent526a6e0ce44ab3e114f0328cdc440127ff3e0982
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
res/res_rtp_asterisk.c