mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	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: https://origsvn.digium.com/svn/asterisk/trunk@120635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -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" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user