]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_rtp_asterisk: Asterisk Media Experience Score (MES)
authorGeorge Joseph <gjoseph@digium.com>
Fri, 28 Oct 2022 10:57:56 +0000 (04:57 -0600)
committerGeorge Joseph <gjoseph@digium.com>
Tue, 3 Jan 2023 13:54:57 +0000 (07:54 -0600)
commit62745013a4de9bafeda8dad6cab2b98c050ff69d
tree17223cc503a97685af3cbf7ed34ab3cf0aeb65be
parent40ed776c409df8bb4b127ea3c6ac7785a856a314
res_rtp_asterisk: Asterisk Media Experience Score (MES)

This module has been updated to provide additional
quality statistics in the form of an Asterisk
Media Experience Score.  The score is avilable using
the same mechanisms you'd use to retrieve jitter, loss,
and rtt statistics.  For more information about the
score and how to retrieve it, see
https://wiki.asterisk.org/wiki/display/AST/Media+Experience+Score

* Updated chan_pjsip to set quality channel variables when a
  call ends.
* Updated channels/pjsip/dialplan_functions.c to add the ability
  to retrieve the MES along with the existing rtcp stats when
  using the CHANNEL dialplan function.
* Added the ast_debug_rtp_is_allowed and ast_debug_rtcp_is_allowed
  checks for debugging purposes.
* Added several function to time.h for manipulating time-in-samples
  and times represented as double seconds.
* Updated rtp_engine.c to pass through the MES when stats are
  requested.  Also debug output that dumps the stats when an
  rtp instance is destroyed.
* Updated res_rtp_asterisk.c to implement the calculation of the
  MES.  In the process, also had to update the calculation of
  jitter.  Many debugging statements were also changed to be
  more informative.
* Added a unit test for internal testing.  The test should not be
  run during normal operation and is disabled by default.

ASTERISK-30280

Change-Id: I458cb9a311e8e5dc1db769b8babbcf2e093f107a
channels/chan_pjsip.c
channels/pjsip/dialplan_functions.c
doc/CHANGES-staging/res_rtp_asterisk.txt [new file with mode: 0644]
include/asterisk/rtp_engine.h
include/asterisk/time.h
main/rtp_engine.c
res/res_rtp_asterisk.c
tests/test_res_rtp.c