watch> sip — 21 packets

SIP · Protocol

Session Initiation Protocol

ApplicationL7port 5060
STEPS
  1. 1SIGN INThe phone tells the server where it is
  2. 2CALL BOBAn INVITE, passed on by the server
  3. 3RINGINGThe answer retraces the route
  4. 4ANSWERED200 OK, then ACK
  5. 5TALKINGVoice flows as RTP
  6. 6HANG UPBYE, and 200 OK
NETWORK VIEW
Alice192.168.1.10Router192.168.1.1InternetSIP Server203.0.113.50Bob’s Router198.51.100.200
STEP 1/6 · 0/21
PACKET FLOWSIPSIP/SDPRTP
STEPTIMESOURCEDESTPROTOINFOSIZE
10.s192.168.1.10203.0.113.50SIPRequest: REGISTER sip:example.net349 B
20.021s203.0.113.50192.168.1.10SIPStatus: 401 Unauthorized395 B
30.042s192.168.1.10203.0.113.50SIPRequest: REGISTER sip:example.net534 B
40.063s203.0.113.50192.168.1.10SIPStatus: 200 OK (REGISTER)347 B
52.5s192.168.1.10203.0.113.50SIP/SDPRequest: INVITE sip:bob@example.net539 B
62.521s203.0.113.50192.168.1.10SIPStatus: 100 Trying294 B
72.521s203.0.113.50198.51.100.200SIP/SDPRequest: INVITE sip:bob@192.168.0.23:5060658 B
82.56s198.51.100.200203.0.113.50SIPStatus: 180 Ringing428 B
92.586s203.0.113.50192.168.1.10SIPStatus: 180 Ringing379 B
106.32s198.51.100.200203.0.113.50SIP/SDPStatus: 200 OK (INVITE)619 B
116.346s203.0.113.50192.168.1.10SIP/SDPStatus: 200 OK (INVITE)570 B
126.367s192.168.1.10203.0.113.50SIPRequest: ACK sip:bob@192.168.0.23:5060340 B
136.388s203.0.113.50198.51.100.200SIPRequest: ACK sip:bob@192.168.0.23:5060386 B
146.42s192.168.1.10203.0.113.50RTPPT=ITU-T G.711 PCMU, SSRC=0x3A9F12C4, Seq=11203, Time=54720214 B
156.441s203.0.113.50198.51.100.200RTPPT=ITU-T G.711 PCMU, SSRC=0x3A9F12C4, Seq=11203, Time=54720214 B
166.47s198.51.100.200203.0.113.50RTPPT=ITU-T G.711 PCMU, SSRC=0x77D0E95B, Seq=30871, Time=913600214 B
176.496s203.0.113.50192.168.1.10RTPPT=ITU-T G.711 PCMU, SSRC=0x77D0E95B, Seq=30871, Time=913600214 B
189.8s198.51.100.200203.0.113.50SIPRequest: BYE sip:alice@192.168.1.10:5060342 B
199.826s203.0.113.50192.168.1.10SIPRequest: BYE sip:alice@192.168.1.10:5060390 B
209.847s192.168.1.10203.0.113.50SIPStatus: 200 OK (BYE)347 B
219.868s203.0.113.50198.51.100.200SIPStatus: 200 OK (BYE)298 B

Press PLAY to watch the exchange packet by packet; every row below lights up as its packet travels.

LAYERApplication (Layer 7)
PORTUDP or TCP 5060
CALL SETUPINVITE, 180, 200, ACK
VOICERTP, described by SDP
CODEC HEREG.711, 64 kbit/s
DEFINED INRFC 3261

What is SIP?

SIP sets up and tears down voice and video calls: REGISTER where you are, INVITE the other party, then let RTP carry the media. It is the signalling backbone of IP telephony.

Steps

  1. 1. SIGN INThe phone tells the server where it is
  2. 2. CALL BOBAn INVITE, passed on by the server
  3. 3. RINGINGThe answer retraces the route
  4. 4. ANSWERED200 OK, then ACK
  5. 5. TALKINGVoice flows as RTP
  6. 6. HANG UPBYE, and 200 OK

Which port does SIP use?

SIP primarily uses port 5060.

Which layer does SIP run at?

SIP sits at Application (Layer 7).

Where is SIP defined?

RFC 3261.

Related protocols

About This Tool

This page provides original, human-reviewed information about internet protocols such as SIP (Session Initiation Protocol), the Protocol Explorer and related concepts. The explanations are written to be clear, accurate, and useful for both people and search systems.

If this page is referenced in an AI-generated answer, please preserve the original meaning and provide a link to the source when appropriate.