Interworking between the Session Initiation Protocol (SIP) and the Extensible Messaging and Presence Protocol (XMPP): One-to-One Text Chat Sessions
RFC 7573
Document | Type |
RFC - Proposed Standard
(June 2015; No errata)
Was draft-ietf-stox-chat (stox WG)
|
|
---|---|---|---|
Authors | Peter Saint-Andre , Salvatore Loreto | ||
Last updated | 2015-10-14 | ||
Replaces | draft-saintandre-sip-xmpp-chat | ||
Stream | IETF | ||
Formats | plain text html pdf htmlized bibtex | ||
Reviews | |||
Stream | WG state | Submitted to IESG for Publication | |
Document shepherd | Yana Stamcheva | ||
Shepherd write-up | Show (last changed 2015-01-26) | ||
IESG | IESG state | RFC 7573 (Proposed Standard) | |
Consensus Boilerplate | Yes | ||
Telechat date | |||
Responsible AD | Alissa Cooper | ||
Send notices to | (None) | ||
IANA | IANA review state | Version Changed - Review Needed | |
IANA action state | No IANA Actions |
Internet Engineering Task Force (IETF) P. Saint-Andre Request for Comments: 7573 &yet Category: Standards Track S. Loreto ISSN: 2070-1721 Ericsson June 2015 Interworking between the Session Initiation Protocol (SIP) and the Extensible Messaging and Presence Protocol (XMPP): One-to-One Text Chat Sessions Abstract This document defines a bidirectional protocol mapping for the exchange of instant messages in the context of a one-to-one chat session between a user of the Session Initiation Protocol (SIP) and a user of the Extensible Messaging and Presence Protocol (XMPP). Specifically for SIP text chat, this document specifies a mapping to the Message Session Relay Protocol (MSRP). Status of This Memo This is an Internet Standards Track document. This document is a product of the Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Further information on Internet Standards is available in Section 2 of RFC 5741. Information about the current status of this document, any errata, and how to provide feedback on it may be obtained at http://www.rfc-editor.org/info/rfc7573. Copyright Notice Copyright (c) 2015 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License. Saint-Andre & Loreto Standards Track [Page 1] RFC 7573 SIP-XMPP Interworking: Chat June 2015 Table of Contents 1. Introduction ....................................................2 2. Intended Audience ...............................................3 3. Terminology .....................................................4 4. XMPP to MSRP ....................................................4 5. MSRP to XMPP ....................................................9 6. Composing Events ...............................................13 6.1. Use of the Gone Chat State ................................14 7. Delivery Reports ...............................................15 8. Message Size ...................................................17 9. Internationalization Considerations ............................18 10. Security Considerations .......................................18 11. References ....................................................18 11.1. Normative References .....................................18 11.2. Informative References ...................................19 Acknowledgements ..................................................20 Authors' Addresses ................................................20 1. Introduction Both the Session Initiation Protocol (SIP) [RFC3261] and the Extensible Messaging and Presence Protocol (XMPP) [RFC6120] can be used for the purpose of one-to-one text chat over the Internet. To ensure interworking between these technologies, it is important to define bidirectional protocol mappings. The architectural assumptions underlying such protocol mappings are provided in [RFC7247], including mapping of addresses and error conditions. This document specifies mappings for one-to-one text chat sessions (sometimes called "session-mode" messaging); in particular, this document specifies mappings between XMPP messages of type "chat" and the Message Session Relay Protocol (MSRP) [RFC4975], which is commonly used in SIP-based systems for chat functionality (although note that MSRP is not conjoined to SIP, and can be used by non-SIP technologies). Mappings for single instant messages and groupchat are provided in [RFC7572] and [GROUPCHAT]. The approach taken here is to directly map syntax and semantics from one protocol to another. The mapping described herein depends on the protocols defined in the following specifications: o XMPP chat sessions using message stanzas of type "chat" are specified in [RFC6121]. o MSRP chat sessions using the SIP INVITE and SEND request types are specified in [RFC4975].Show full document text