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

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

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.