DesignXMPP presence

Version 1 (Tijmen de Mes, 05/07/2012 11:04 am) → Version 2/49 (Saúl Ibarra Corretgé, 05/31/2012 11:09 am)

h1. SIP-XMPP Presence

XMPP defines 2 ways for exchanging presence information: simple presence and rich presence.

* Simple presence: The _presence_ stanza is used and it conveys basic information about the user's availability, such as the status, availability note and a timestamp indicating the last time it was seen.
* Rich presence: _IQ_ stanzas are used and it enhances the simple presence by adding information such as the user avatar, music the user is listening to, etc.

SIP, on the contrary, defines a single framework for presence (SIMPLE) and then multiple extensions have been published which extend the information that can be conveyed in the payload.

The current implementation acts as a gateway just for XMPP simple presence, support for rich presence will be added at a later stage.

The mechanisms described here follow the currently available specifications for SIP-XMPP interoperability:

* http://xmpp.org/internet-drafts/attic/draft-saintandre-sip-xmpp-presence-02.html

h3. Model differences

TODO

h3. SIP-XMPP translation

TODO

h3. XMPP-SIP translation

TODO