The WebSocket Protocol as a Transport for the Session Initiation Protocol (SIP)
draft-ietf-sipcore-sip-websocket-00
SIPCORE Working Group I. Baz Castillo
Internet-Draft J. Millan Villegas
Intended status: Standards Track Consultant
Expires: November 6, 2012 V. Pascual
Acme Packet
May 5, 2012
The WebSocket Protocol as a Transport for the Session Initiation
Protocol (SIP)
draft-ietf-sipcore-sip-websocket-00
Abstract
The WebSocket protocol enables two-way realtime communication between
clients and servers. This document specifies a new WebSocket sub-
protocol as a reliable transport mechanism between SIP (Session
Initiation Protocol) entities and enables usage of the SIP protocol
in new scenarios.
Status of this Memo
This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet-
Drafts is at http://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."
This Internet-Draft will expire on November 6, 2012.
Copyright Notice
Copyright (c) 2012 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
Baz Castillo, et al. Expires November 6, 2012 [Page 1]
Internet-Draft WebSocket as a Transport for SIP May 2012
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.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3
2. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.1. Definitions . . . . . . . . . . . . . . . . . . . . . . . 3
3. The WebSocket Protocol . . . . . . . . . . . . . . . . . . . . 3
4. The WebSocket SIP Sub-Protocol . . . . . . . . . . . . . . . . 4
4.1. Handshake . . . . . . . . . . . . . . . . . . . . . . . . 4
4.2. SIP encoding . . . . . . . . . . . . . . . . . . . . . . . 5
5. SIP WebSocket Transport . . . . . . . . . . . . . . . . . . . 5
5.1. General . . . . . . . . . . . . . . . . . . . . . . . . . 5
5.2. Updates to RFC 3261 . . . . . . . . . . . . . . . . . . . 6
5.2.1. Via Transport Parameter . . . . . . . . . . . . . . . 6
5.2.2. SIP URI Transport Parameter . . . . . . . . . . . . . 6
5.2.3. Sending Responses . . . . . . . . . . . . . . . . . . 6
5.3. Locating a SIP Server . . . . . . . . . . . . . . . . . . 7
6. Connection Keep Alive . . . . . . . . . . . . . . . . . . . . 7
7. Authentication . . . . . . . . . . . . . . . . . . . . . . . . 8
8. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
8.1. Registration . . . . . . . . . . . . . . . . . . . . . . . 8
8.2. INVITE dialog through a proxy . . . . . . . . . . . . . . 10
9. Security Considerations . . . . . . . . . . . . . . . . . . . 14
9.1. Secure WebSocket Connection . . . . . . . . . . . . . . . 14
9.2. Usage of SIPS Scheme . . . . . . . . . . . . . . . . . . . 15
10. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 15
10.1. Registration of the WebSocket SIP Sub-Protocol . . . . . . 15
10.2. Registration of new Via transports . . . . . . . . . . . . 15
10.3. Registration of new SIP URI transport . . . . . . . . . . 15
10.4. Registration of new NAPTR service field values . . . . . . 15
11. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 16
12. References . . . . . . . . . . . . . . . . . . . . . . . . . . 16
12.1. Normative References . . . . . . . . . . . . . . . . . . . 16
12.2. Informative References . . . . . . . . . . . . . . . . . . 17
Appendix A. Implementation Guidelines . . . . . . . . . . . . . . 18
A.1. SIP WebSocket Client Considerations . . . . . . . . . . . 19
A.2. SIP WebSocket Server Considerations . . . . . . . . . . . 19
Appendix B. HTTP Topology Hiding . . . . . . . . . . . . . . . . 19
Show full document text