SIP: setting up voice and video calls
SIP rings the phone. An INVITE starts a call, 180 Ringing and 200 OK answer it, and BYE hangs up. The voice itself travels separately, in RTP, to the address and port SIP agreed on.
23 SIP fields, explained
sip.Request-Line-
The first line of a SIP request: the method, the address being called, and the SIP version.
sip.Method-
The SIP request type, such as INVITE (start a call), ACK (confirm), BYE (hang up), or REGISTER.
Why it matters: SIP sets up and tears down calls; the voice itself travels separately in RTP.
sip.r-uri-
The request URI: the SIP address the request is for.
sip.Status-Line-
The first line of a SIP response: the version, a status code, and a short reason.
sip.Status-Code-
The SIP status code. 1xx means in progress (180 Ringing), 2xx success (200 OK), 4xx–6xx failure.
Why it matters: Codes work like HTTP's: 486 Busy Here, 404 Not Found, 503 Service Unavailable.
sip.msg_hdr-
The SIP headers: who is calling whom, the call's ID, and routing details.
sip.Via-
The path the request took so far. Responses travel back along it.
sip.From-
Who is making the request (the caller for an INVITE).
sip.from-
Parts of the From header: the address, user, host, and tag.
sip.To-
Who the request is for (the person being called).
sip.to-
Parts of the To header: the address, user, host, and tag.
sip.Call-ID-
A unique ID shared by every message in one call.
Why it matters: Grouping messages by Call-ID shows a call's whole setup and teardown.
sip.call_id_generated-
A Wireshark-generated label showing which call (Call-ID) this packet belongs to.
sip.CSeq-
A sequence number and method that orders requests within a call.
sip.Contact-
Where to send later requests for this call directly.
sip.Content-Type-
The kind of body attached, usually application/sdp describing the audio.
sip.Content-Length-
The size of the attached body in bytes.
sip.Max-Forwards-
How many more servers may forward this request, to stop loops.
sip.Server-
The software of the SIP server that answered.
sip.User-Agent-
The software of the phone or app that sent the request.
sip.resend-
Whether this message is a retransmission of one sent earlier.
Why it matters: SIP over UDP resends messages that go unanswered.
sip.response-request-
A Wireshark link to the request this response answers.
sip.response-time-
How long the response took after its request, in milliseconds.