VoIP protocols
What each protocol of a VoIP or WebRTC capture does, what to look for when a call fails, and the tools that read it.
SIP
Session Initiation Protocol. Sets up, changes and ends calls: an INVITE is answered with a final response and acknowledged with an ACK; a BYE ends the call.
SDP
Session Description Protocol. Describes the media of a call: the address and port of each stream, its codecs and direction, and its encryption keys or fingerprints.
RTP
Real-time Transport Protocol. Carries the audio and video of a call, with a sequence number, a timestamp and a source identifier (SSRC) in each packet.
RTCP
RTP Control Protocol. Reports on the streams: packets sent, loss and jitter seen by the receiver, round-trip time, and feedback such as NACK and PLI for video.
SRTP
Secure Real-time Transport Protocol. Encrypts the payload of RTP and authenticates each packet; headers stay readable, so loss and jitter can still be measured.
STUN
Session Traversal Utilities for NAT. Tells a client its public address and port, and carries the connectivity checks of ICE.
TURN
Traversal Using Relays around NAT. Relays media through a server when no direct path works, such as behind symmetric NAT or strict firewalls.
ICE
Interactive Connectivity Establishment. Finds a working path between two peers by testing pairs of host, server-reflexive and relayed candidates, then nominates one.
DTLS-SRTP
Datagram TLS for SRTP keys. Agrees the SRTP keys of WebRTC with a DTLS handshake; each side checks the certificate of the other against the a=fingerprint of the SDP.
RFC 4733
RTP payload for DTMF digits. Sends keypad digits as events in RTP rather than as tones, so that codecs do not distort them.
T.38
Fax over IP. Carries fax as T.30 signals and image data, with redundancy, instead of fax tones through a voice codec.
STIR/SHAKEN
Signed caller identity. The carrier of the caller signs the calling number with a PASSporT; the carrier of the callee verifies it and its attestation level.