« Previous - Version 9/10 (diff) - Next » - Current version
Tijmen de Mes, 05/08/2012 06:09 pm


Description

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.

Documentation

MSRP API

Installation

Tar Archives

The software is available as a tar archive at:

http://download.ag-projects.com/SipClient/

Debian Packages

Install the AG Projects debian software signing key:

wget http://download.ag-projects.com/agp-debian-gpg.key
sudo apt-key add agp-debian-gpg.key

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

Debian Stable (Squeeze)

# AG Projects software
deb    http://ag-projects.com/debian stable main
deb-src http://ag-projects.com/debian stable main

Debian Unstable (Sid)

# AG Projects software
deb    http://ag-projects.com/debian unstable main
deb-src http://ag-projects.com/debian unstable main

Ubuntu Lucid (10.04)

# AG Projects software
deb    http://ag-projects.com/ubuntu lucid main
deb-src http://ag-projects.com/ubuntu lucid main

Ubuntu Maverick (10.10)

# AG Projects software
deb    http://ag-projects.com/ubuntu maverick main
deb-src http://ag-projects.com/ubuntu maverick main

Ubuntu Natty (11.04)

# AG Projects software
deb    http://ag-projects.com/ubuntu natty main
deb-src http://ag-projects.com/ubuntu natty main

Ubuntu Oneiric (11.10)

# AG Projects software
deb    http://ag-projects.com/ubuntu oneiric main
deb-src http://ag-projects.com/ubuntu 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 http://devel.ag-projects.com/repositories/python-msrplib

To manually install the software

sudo python setup.py install