This library implements Message Session Relay Protocol (MSRP). MSRP is defined in RFC 4975. The relay extension that can be used for NAT traversal purposes is defined in RFC 4976.

Message Session Relay Protocol (MSRP) is a protocol for transmitting a series of related instant messages in the context of a session. Message sessions are treated like any other media stream when set up via a rendezvous or session creation protocol such as the Session Initiation Protocol (SIP).

A series of related instant messages between two or more parties can be viewed as part of a "message session", that is, a conversational exchange of messages with a definite beginning and end. This is in contrast to individual messages each sent independently. Messaging schemes that track only individual messages can be described as "page-mode" messaging, whereas messaging that is part of a "session" with a definite start and end is called "session-mode" messaging.

Page-mode messaging is enabled in SIP via the SIP MESSAGE method, as defined in RFC 3428. Session-mode messaging has a number of benefits over page-mode messaging, however, such as explicit rendezvous, tighter integration with other media-types, direct client-to-client operation, and brokered privacy and security.




Tar Archives

The software is available as a tar archive at:

Debian Packages

Install the AG Projects debian software signing key:

sudo apt-key add agp-debian-gpg.key

Add these lines to /etc/apt/sources.list:

Debian Stable (Squeeze)

# AG Projects software
deb stable main
deb-src stable main

Debian Unstable (Sid)

# AG Projects software
deb unstable main
deb-src unstable main

Ubuntu Lucid (10.04)

# AG Projects software
deb lucid main
deb-src lucid main

Ubuntu Maverick (10.10)

# AG Projects software
deb maverick main
deb-src maverick main

Ubuntu Natty (11.04)

# AG Projects software
deb natty main
deb-src natty main

Ubuntu Oneiric (11.10)

# AG Projects software
deb oneiric main
deb-src oneiric main

Install the software:

sudo apt-get update
sudo apt-get install python-msrplib

Source Code

The source code is managed using darcs version control tool. The darcs repository can be fetched with:

darcs get

To manually install the software

sudo python install