Concepts / Network services

Network services

SIP

Also called session initiation protocol, VoIP, voice over IP, port 5060, INVITE, RTP, SDP, user agent, softphone, PBX, signaling

The signaling that sets up a VoIP call on port 5060: INVITE, ringing, 200 OK, ACK — then the audio flows separately over RTP.

One call, two flows
One call, two flows

SIP only sets the call up and ends it. The voice travels as RTP on other UDP ports, which the two sides told each other in the SDP inside INVITE and 200 OK.

SIP (Session Initiation Protocol) sets up and ends VoIP calls, on UDP or TCP port 5060 (5061 with TLS). It is readable text, like HTTP: the caller sends INVITE, gets 180 Ringing and 200 OK, answers ACK, then BYE hangs up. SIP is only signaling. The voice travels separately as RTP on its own UDP ports, which the SDP body inside the SIP messages names. One call is two flows.

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start learning