aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/utils
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2013-11-25 12:53:28 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-25 18:07:21 +0100
commit50079a18434836fc6193f7d8ee30aeda6adbf872 (patch)
treecf5244f6d4f3873b00fd5c2b677236f0e377abc8 /openbsc/src/utils
parentec37bb29563c92bf405b732019db4ed3b2cc9477 (diff)
mgcp/rtp: Add counter for invalid RTP timestamp deltas
This patch modifies the patch_and_count() function to check for RTP timestamp inconsistencies. It basically checks, whether dTS/dSeqNo remains constant. If this fails, the corresponding counter is incremented. There are four counter for this: Incoming and outgoing, each for streams from the BTS and the net. Note that this approach presumes, that the per RTP packet duration (in samples) remains the same throughout the entire stream. Changing the number of speech frames per channel and packet will be detected as error. In addition, the VTY command 'show mgcp' is extended by an optional 'stats' to show the counter values, too. Ticket: OW#964 Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc/src/utils')
0 files changed, 0 insertions, 0 deletions