This is our old Q&A Site. Please post any new questions and answers at

Currently, I'm looking for a Lua script that would count active RTP sessions on a live tshark capture or on saved pcap files.

Right now, the only way I found is to count RTP packets per second with tshark -qz io,stat and divide by 50 to get actual number of VOIP conversations. However, this requires way too many steps to be realistic on a regular basis other than to troubleshoot specific time ranges.

I was thinking about creating a table/list with SSRC id, where the line count would indicate number of active sessions. Not sure this is the best way though.


asked 05 Mar '12, 12:46

yul_analyzer's gravatar image

accept rate: 0%

edited 07 Mar '12, 14:58

helloworld's gravatar image


Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 05 Mar '12, 12:46

question was seen: 2,869 times

last updated: 07 Mar '12, 14:58

p​o​w​e​r​e​d by O​S​Q​A