MOH calculation

hi folks,

I want to caculate MOS upon the hangup of every call, i saw the variable ${RTPAUDIOQOS}
which have the information like
ssrc=1591259881;themssrc=0;lp=0;rxjitter=0.000000;rxcount=0;txjitter=0.000000;txcount=0;rlp=0;rtt=0.000000

any idea how can calculate MOS or maybe anyone knows about any other variable?
thanks

MOS is a a function of the codec choice, not any of the other parameters. If you know the codec, you can look them up on wikipedia.

The averaging process implied by “mean” is done when the codec is evaluated, not on a call by call basis.

In particular, it doesn’t account for network problems. However, I assume it can be limited by upstream and downstream links using lower MOS codecs.

To get an MOS from first principles, you would need several real humans, all listening to the same call!

Please use Asterisk Support for support questions, in future.