sipcapture / heplify-server

HEP Capture Server for HOMER
https://sipcapture.org
GNU Affero General Public License v3.0
184 stars 85 forks source link

Jitter Buffer Misunderstand #453

Closed waleedmagdy closed 3 years ago

waleedmagdy commented 3 years ago

A friend of mine is using Homer to analyze the Asterisk servers and we are getting peaks in Jitter buffer reaching 40s however I don't understand how Homer Calculate the Jitter Buffer he is using this query from Promql

avg_over_time(heplify_rtcp_jitter{node_id="10020"}[30m]) > 10 and changes(heplify_rtcp_jitter{node_id="10020"}[1m]) > 0

if you could please help me how Homer calculate the Jitter and what does it mean and if this query right and will give the right values or not

Thanks

waleedmagdy commented 3 years ago

This is how the Voice Traffic going

Untitled Diagram

lmangani commented 3 years ago

Hello @waleedmagdy RTCP Jitter is measured in time units not seconds, and the data as-is it extracted from the RTCP reports the user-agents generate, if any. Nothing is calculated by HOMER so you should refer to the RTCP RFC in terms of how the metric parameters and format. Spikes and mistakes in RTCP are quite normal so it's hard to tell with so little information about the actual metrics.

waleedmagdy commented 3 years ago

Thanks @lmangani I will take a look at RTCP RFC