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

SIP UniverseFree University

Home / NAT, ICE, and the ALG problem / rport and symmetric responses

rport and symmetric responses

RFC 3581 adds rport so the response is sent to the source address and port the request came from.

Learn in 5 minutes

  1. Add rport on Via when you need symmetric response routing
  2. Read received and rport on the response Via
  3. Keep rport separate from RTP NAT traversal

Visual

Response follows the source port · study drawing · cyphermonkeylabs.com AliceSBC INVITE 100 180 200

SVG HTML PNG

The server answers the source it observed. rport does not rewrite SDP.

Worked example

Read rport on the response Dissect the 100 Trying. Via has received and rport filled in.

  1. Press Dissect.
  2. Find rport.
  3. State which port receives the response.

Fault

The client set rport. The server still sends responses to 203.0.113.10:5060 and they never arrive. The request source port was 49160.

RFC 3581 sends the response to the observed source and records received and rport.

Quiz

rport is defined by


The server sends the response to


rport fixes


In the lab, rport=49160 means


received= is


A successful rport exchange still requires you to


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