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