A phone call over the internet
A softphone on the laptop calls extension 200 through a phone system (PBX). Follow the call from ring to hang-up, and find the audio packets that never arrived.
-
Placing the call
The laptop sends a SIP INVITE. Its body (SDP) offers G.711 audio and says which port to send the voice to.
Think about it: What does the other side need from this message?
Who is calling, who is called, and where and how to send audio.
-
Ringing
180 Ringing: the phone at extension 200 is ringing.
-
Answered
200 OK after 2.1 seconds: someone picked up. The PBX's SDP says where to send the laptop's audio.
-
Confirmed
The laptop acknowledges the answer. The call is set up.
-
The voice starts
Audio travels as RTP: one packet every 20 milliseconds in each direction, each with a sequence number and timestamp.
Think about it: How many voice packets does each side send per second?
Fifty: one every 20 ms.
-
A gap in the voice
The sequence numbers in this direction jump by three: two packets never arrived. A few are hidden by the phone; many sound like choppy audio.
Think about it: Where could the packets have been lost?
Anywhere on the path, often on Wi-Fi. The capture shows the loss, not where it happened.
-
Hanging up
SIP BYE ends the call, and the PBX confirms with 200 OK.