DesignXMPP presence

Version 2 (Saúl Ibarra Corretgé, 05/31/2012 11:09 am)

1 1 Tijmen de Mes
h1. SIP-XMPP Presence
2 2 Saúl Ibarra Corretgé
3 2 Saúl Ibarra Corretgé
XMPP defines 2 ways for exchanging presence information: simple presence and rich presence.
4 2 Saúl Ibarra Corretgé
5 2 Saúl Ibarra Corretgé
* 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.
6 2 Saúl Ibarra Corretgé
* 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.
7 2 Saúl Ibarra Corretgé
8 2 Saúl Ibarra Corretgé
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.
9 2 Saúl Ibarra Corretgé
10 2 Saúl Ibarra Corretgé
The current implementation acts as a gateway just for XMPP simple presence, support for rich presence will be added at a later stage.
11 2 Saúl Ibarra Corretgé
12 2 Saúl Ibarra Corretgé
The mechanisms described here follow the currently available specifications for SIP-XMPP interoperability:
13 2 Saúl Ibarra Corretgé
14 2 Saúl Ibarra Corretgé
* http://xmpp.org/internet-drafts/attic/draft-saintandre-sip-xmpp-presence-02.html
15 2 Saúl Ibarra Corretgé
16 2 Saúl Ibarra Corretgé
17 2 Saúl Ibarra Corretgé
h3. Model differences
18 2 Saúl Ibarra Corretgé
19 2 Saúl Ibarra Corretgé
TODO
20 2 Saúl Ibarra Corretgé
21 2 Saúl Ibarra Corretgé
22 2 Saúl Ibarra Corretgé
h3. SIP-XMPP translation
23 2 Saúl Ibarra Corretgé
24 2 Saúl Ibarra Corretgé
TODO
25 2 Saúl Ibarra Corretgé
26 2 Saúl Ibarra Corretgé
27 2 Saúl Ibarra Corretgé
h3. XMPP-SIP translation
28 2 Saúl Ibarra Corretgé
29 2 Saúl Ibarra Corretgé
TODO