Page MenuHomePhabricator

Routes: MSRP media
AG Projects RTC Platforms (Routing Guides)

This guide describes the routing for MSRP media for IM and file transfers.

IM using MSRP Relay

book-general-sip-platform-flow-msrp-relay (436×637 px, 46 KB)

Instant Messaging based on MSRP protocol is similar to a regular SIP audio session. Instead of RTP media , MSRP is used for establishing a media channel. Instead of MediaProxy, A MSRP relay is used to traverse the NAT. The called party reserves a session in the MSRP relay and offeres it in the response to the SIP INVITE. The calling party the initiates a TCP/TLS connection to the relay reserved address and the called party does the same. By using the relay both parties can establish a TCP flow from behind their NAT routers.

IM using MSRP ACM

book-general-sip-platform-flow-msrp-acm (427×637 px, 47 KB)

MSRP ACM is an alternative method for traversing NAT that is standardized by 3GPP that is interoperable with the IETF MSRP relay specification. The SBC mangles the SDP and stays in the SIP signaling and MSRP media path and forces the end-points to be both active (that is starting the outbound MSRP connection) when behind NAT.

IM using MSRP ACM and Relay

book-general-sip-platform-flow-msrp-acm-relay (436×637 px, 60 KB)

MSRP ACM and Relay methodologies can interoperate.

Next Steps

Continue by: