A student's open lab: learning and sharing, free for everyone.

SIP UniverseFree University

Home / Foundations and how to read a call / Ports, transports, and where a request can go

Ports, transports, and where a request can go

SIP uses UDP or TCP on 5060 and TLS on 5061, and a request that does not fit one datagram needs a connection.

Learn in 5 minutes

  1. State the default ports for UDP, TCP, and TLS
  2. Explain why a large INVITE moves off UDP
  3. Recognize WebSocket as a transport, not a new method set

Visual

OPTIONS across two transports · study drawing · cyphermonkeylabs.com UASBCPeer OPTIONS 100 OPTIONS 200

SVG HTML PNG

A peer document can override a default. The default is the rule when the peer is silent.

Worked example

Read the OPTIONS Dissect the OPTIONS. The CSeq method token has to match the request line.

  1. Paste the message into the dissector.
  2. Find the request line and the CSeq.
  3. Note the transport token in Via.

Fault

A large INVITE on UDP is retransmitted and then times out. The same peer answers when the request is sent on TCP.

Section 18 is why a large request moves to TCP or TLS.

Quiz

The default SIP UDP port is


The default SIP TLS port is


A SIP request larger than one UDP datagram should


RFC 7118 adds


A sips URI requires


On TCP, message framing uses


Ecosystem

Glossary, sister systems, and the integration seam for this room.

Quality management and recording QM scores interactions. The standardized way an SBC forks a session to a recorder is SIPREC.

Glossary · Ecosystem map · Ports · Troubleshooting

Sources and go deeper