Skip to content

Check VoIP call quality from a pcap

Capture a SIP call, then read its MOS, jitter and packet loss per direction and its SIP ladder in Framehound on iPhone, iPad or Mac, to tell one-way audio, jitter and failed signaling apart.

"The audio was bad" covers at least four different problems: loss in one direction, jitter at one moment, a call that never set up properly, and media that never arrived at all. Each has a different owner and a different fix. A packet capture of the call tells you which one you have, and Framehound reads it on the device you have with you.

This guide covers capturing a call, then reading it in Framehound's Calls tab. VoIP analysis is part of Framehound Pro. The free tier still opens the capture, names the conversations and lets you filter the SIP and RTP packets by hand.

1. Capture the right traffic

A call is two things on the wire: SIP signaling, which sets the call up and tears it down, and RTP media, the audio itself, usually on ports negotiated in the SIP message body (SDP). To judge quality you need both, in both directions.

  • Capture as close to the phone as you can: a span or mirror of the phone's switch port, or the voice VLAN. A capture at the core may only see one leg of the media.
  • Start the capture before the call is placed, so the INVITE and its SDP are in the file. Framehound uses the SDP to tie the RTP streams to the call.
  • Keep it running through the part of the call that sounded bad, and through the hang-up.
  • If the phone is on Wi-Fi, a monitor-mode capture near the phone also shows retries and roams, which are a common cause of choppy audio on wireless.
  • SIP over TLS (usually port 5061) is encrypted, and so is the SDP inside it. Without the SDP there is nothing to tie the media to a call, so for troubleshooting, capture a test call over plain SIP where you can.

To see the screens first, open +, Try a Sample Capture, and pick VoIP call.

2. Start with the call list

Open the capture and go to Calls. There is one row per call, correlated from the signaling, with its outcome and how long setup took. Quality is shown as the worst of the two legs, because a call is only as good as its worse direction and averaging the two hides exactly the one-way problem you are hunting.

The Calls tab on iPhone: one completed call with a 91 ms setup, and a warning that no RTP was observed

Above the list, Framehound calls out anything that cannot be right. On the bundled sample it says the call reached 200 OK and negotiated SDP media, but no RTP was observed for any negotiated stream. That one sentence is the diagnosis for a "no audio" ticket: the signaling worked and the media never showed up, which usually points at a firewall, NAT or an address in the SDP the other side cannot reach.

Tap a call and the packet list is filtered to that call's Call-ID, so you always end up at the frames.

3. Read the call detail

The call detail has the per-direction numbers and the signaling behind them:

  • MOS (an estimated mean opinion score) and loss, per direction.
  • Jitter and its distribution over the call.
  • Packet loss, and where in the call it happened.
  • The SIP ladder: every message between the endpoints with its method, status, CSeq and the time between them.
  • The media timeline, which shows the RTP streams against the call's duration.

Call detail on iPhone: the SIP ladder between two endpoints and the media timeline

4. Match the numbers to the complaint

What you see What it usually means
Loss in one direction only A routing, NAT or QoS asymmetry, not a bandwidth shortage
Jitter that spikes at one moment Something else used the link then: a backup, a roam, a burst of retries
Clean media, failed or odd signaling The call never got where it was going; read the ladder for the error response
200 OK with no RTP Media blocked or sent to an unreachable address in the SDP
A codec change mid-call Renegotiation (a re-INVITE), often after a transfer or hold

As general guidance for voice, keep one-way delay under about 150 ms, jitter under about 30 ms and loss under 1 percent. Above those, people start to notice.

Display filters worth knowing

Filter What it finds
sip || rtp All signaling and media
sip.method == "INVITE" Call setup attempts, including re-INVITEs
sip.status_code >= 400 Every SIP error response
sip.call_id == "<Call-ID>" One call's signaling
rtp.ssrc == 0x1234abcd One RTP stream

If you are not sure where to start, the Calls sound choppy guided investigation (also Pro) runs the checks in order and names the next thing to look at.

Common questions

Can Framehound measure quality if the RTP is on unusual ports?

Yes, as long as the capture includes the SIP INVITE and its answer. RTP ports are negotiated in the SDP, and Framehound uses that negotiation to find the streams.

Why does a call show no RTP streams?

Either the media never crossed the point where you captured, or the capture started after the call was set up, so the SDP that names the media ports is missing. Capture closer to the phone, and start before the call.

Does the audio get decoded or played back?

No. Framehound measures the media stream's timing, loss and jitter from packet headers. It does not decode or play the audio.

More guides