aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
authorbbryant <bbryant@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-05 16:24:19 +0000
committerbbryant <bbryant@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-05 16:24:19 +0000
commit68dea9b6d66ac8281286c8fd85d3ef4b1ed3a823 (patch)
treed1e5ce5e2319e18edd672e98cdfaae3e096a1e2e /funcs
parente387c61e4f71e932c9a81269c34c93b4ff92f0fb (diff)
This patch adds more detailed statistics for RTP channels, and provides an API call to access it, including maximums, minimums, standard deviatinos,
and normal deviations. Currently this is implemented for chan_sip, but could be added to the func_channel_read callbacks for the CHANNEL function for any channel that uses RTP. (closes issue #10590) Reported by: gasparz Patches: chan_sip_c.diff uploaded by gasparz (license 219) rtp_c.diff uploaded by gasparz (license 219) rtp_h.diff uploaded by gasparz (license 219) audioqos-trunk.diff uploaded by snuffy (license 35) rtpqos-trunk-r119891.diff uploaded by sergee (license 138) Tested by: jsmith, gasparz, snuffy, marsosa, chappell, sergee git-svn-id: http://svn.digium.com/svn/asterisk/trunk@120635 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_channel.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/funcs/func_channel.c b/funcs/func_channel.c
index 6a036139f..506cb2867 100644
--- a/funcs/func_channel.c
+++ b/funcs/func_channel.c
@@ -200,12 +200,24 @@ static struct ast_custom_function channel_function = {
" local_ssrc Local SSRC (stream ID)\n"
" local_lostpackets Local lost packets\n"
" local_jitter Local calculated jitter\n"
+ " local_maxjitter Local calculated jitter (maximum)\n"
+ " local_minjitter Local calculated jitter (minimum)\n"
+ " local_normdevjitter Local calculated jitter (normal deviation)\n"
+ " local_stdevjitter Local calculated jitter (standard deviation)\n"
" local_count Number of received packets\n"
" remote_ssrc Remote SSRC (stream ID)\n"
" remote_lostpackets Remote lost packets\n"
" remote_jitter Remote reported jitter\n"
+ " remote_maxjitter Remote calculated jitter (maximum)\n"
+ " remote_minjitter Remote calculated jitter (minimum)\n"
+ " remote_normdevjitter Remote calculated jitter (normal deviation)\n"
+ " remote_stdevjitter Remote calculated jitter (standard deviation)\n"
" remote_count Number of transmitted packets\n"
" rtt Round trip time\n"
+ " maxrtt Round trip time (maximum)\n"
+ " minrtt Round trip time (minimum)\n"
+ " normdevrtt Round trip time (normal deviation)\n"
+ " stdevrtt Round trip time (standard deviation)\n"
" all All statistics (in a form suited to logging, but not for parsing)\n"
"R/O rtpdest Get remote RTP destination information\n"
" This option takes one additional argument:\n"