5432
PROPOSED STANDARD

Quality of Service (QoS) Mechanism Selection in the Session Description Protocol (SDP)

Authors: J. Polk, S. Dhesikan, G. Camarillo
Date: March 2009
Area: rai
Working Group: mmusic
Stream: IETF

Abstract

The offer/answer model for the Session Description Protocol (SDP) assumes that endpoints somehow establish the Quality of Service (QoS) required for the media streams they establish. Endpoints in closed environments typically agree out-of-band (e.g., using configuration information) regarding which QoS mechanism to use. However, on the Internet, there is more than one QoS service available. Consequently, there is a need for a mechanism to negotiate which QoS mechanism to use for a particular media stream. This document defines such a mechanism. [STANDARDS-TRACK]

RFC 5432: Quality of Service (QoS) Mechanism Selection in the Session Description Protocol (SDP) [RFC Home] [TEXT|PDF|HTML] [Tracker] [IPR] [Info page]

PROPOSED STANDARD
Network Working Group                                            J. Polk
Request for Comments: 5432                                   S. Dhesikan
Category: Standards Track                                  Cisco Systems
                                                            G. Camarillo
                                                                Ericsson
                                                              March 2009


             <span class="h1">Quality of Service (QoS) Mechanism Selection</span>
               <span class="h1">in the Session Description Protocol (SDP)</span>

Status of This Memo

   This document specifies an Internet standards track protocol for the
   Internet community, and requests discussion and suggestions for
   improvements.  Please refer to the current edition of the "Internet
   Official Protocol Standards" (STD 1) for the standardization state
   and status of this protocol.  Distribution of this memo is unlimited.

Copyright Notice

   Copyright (c) 2009 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
   Provisions Relating to IETF Documents in effect on the date of
   publication of this document (<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>).
   Please review these documents carefully, as they describe your rights
   and restrictions with respect to this document.

   This document may contain material from IETF Documents or IETF
   Contributions published or made publicly available before November
   10, 2008.  The person(s) controlling the copyright in some of this
   material may not have granted the IETF Trust the right to allow
   modifications of such material outside the IETF Standards Process.
   Without obtaining an adequate license from the person(s) controlling
   the copyright in such materials, this document may not be modified
   outside the IETF Standards Process, and derivative works of it may
   not be created outside the IETF Standards Process, except to format
   it for publication as an RFC or to translate it into languages other
   than English.










<span class="grey">Polk, et al.                Standards Track                     [Page 1]</span>

<span id="page-2" ></span>
<span class="grey"><a href="./rfc5432">RFC 5432</a>             QoS Mechanism Selection in SDP           March 2009</span>


Abstract

   The offer/answer model for the Session Description Protocol (SDP)
   assumes that endpoints somehow establish the Quality of Service (QoS)
   required for the media streams they establish.  Endpoints in closed
   environments typically agree out-of-band (e.g., using configuration
   information) regarding which QoS mechanism to use.  However, on the
   Internet, there is more than one QoS service available.
   Consequently, there is a need for a mechanism to negotiate which QoS
   mechanism to use for a particular media stream.  This document
   defines such a mechanism.

Table of Contents

   <a href="#section-1">1</a>. Introduction ....................................................<a href="#page-3">3</a>
   <a href="#section-2">2</a>. Terminology .....................................................<a href="#page-3">3</a>
   <a href="#section-3">3</a>. SDP Attributes Definition .......................................<a href="#page-3">3</a>
   <a href="#section-4">4</a>. Offer/Answer Behavior ...........................................<a href="#page-4">4</a>
      <a href="#section-4.1">4.1</a>. Offerer Behavior ...........................................<a href="#page-4">4</a>
      <a href="#section-4.2">4.2</a>. Answerer Behavior ..........................................<a href="#page-4">4</a>
      <a href="#section-4.3">4.3</a>. Resource Reservation .......................................<a href="#page-5">5</a>
      <a href="#section-4.4">4.4</a>. Subsequent Offer/Answer Exchanges ..........................<a href="#page-5">5</a>
   <a href="#section-5">5</a>. Example .........................................................<a href="#page-5">5</a>
   <a href="#section-6">6</a>. IANA Considerations .............................................<a href="#page-6">6</a>
      <a href="#section-6.1">6.1</a>. Registration of the SDP 'qos-mech-send' Attribute ..........<a href="#page-6">6</a>
      <a href="#section-6.2">6.2</a>. Registration of the SDP 'qos-mech-recv' Attribute ..........<a href="#page-6">6</a>
      <a href="#section-6.3">6.3</a>. Registry for QoS Mechanism Tokens ..........................<a href="#page-7">7</a>
   <a href="#section-7">7</a>. Security Considerations .........................................<a href="#page-7">7</a>
   <a href="#section-8">8</a>. Acknowledgements ................................................<a href="#page-7">7</a>
   <a href="#section-9">9</a>. References ......................................................<a href="#page-8">8</a>
      <a href="#section-9.1">9.1</a>. Normative References .......................................<a href="#page-8">8</a>
      <a href="#section-9.2">9.2</a>. Informative References .....................................<a href="#page-8">8</a>



















<span class="grey">Polk, et al.                Standards Track                     [Page 2]</span>

<span id="page-3" ></span>
<span class="grey"><a href="./rfc5432">RFC 5432</a>             QoS Mechanism Selection in SDP           March 2009</span>


<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>.  Introduction</span>

   The offer/answer model [<a href="./rfc3264" title=""An Offer/Answer Model with Session Description Protocol (SDP)"">RFC3264</a>] for SDP [<a href="./rfc4566" title=""SDP: Session Description Protocol"">RFC4566</a>] does not provide
   any mechanism for endpoints to negotiate the QoS mechanism to be used
   for a particular media stream.  Even when QoS preconditions [<a href="./rfc3312" title=""Integration of Resource Management and Session Initiation Protocol (SIP)"">RFC3312</a>]
   are used, the choice of the QoS mechanism is left unspecified and is
   up to the endpoints.

   Endpoints that support more than one QoS mechanism need a way to
   negotiate which one to use for a particular media stream.  Examples
   of QoS mechanisms are RSVP (Resource Reservation Protocol) [<a href="./rfc2205" title=""Resource ReSerVation Protocol (RSVP) -- Version 1 Functional Specification"">RFC2205</a>]
   and NSIS (Next Steps in Signaling) [<a href="#ref-QoS-NSLP" title=""NSLP for Quality-of-Service Signaling"">QoS-NSLP</a>].

   This document defines a mechanism that allows endpoints to negotiate
   the QoS mechanism to be used for a particular media stream.  However,
   the fact that endpoints agree on a particular QoS mechanism does not
   imply that that particular mechanism is supported by the network.
   Discovering which QoS mechanisms are supported at the network layer
   is out of the scope of this document.  In any case, the information
   the endpoints exchange to negotiate QoS mechanisms, as defined in
   this document, can be useful for a network operator to resolve a
   subset of the QoS interoperability problem -- namely, to ensure that
   a mechanism commonly acceptable to the endpoints is chosen and make
   it possible to debug potential misconfiguration situations.

<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>.  Terminology</span>

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].

<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>.  SDP Attributes Definition</span>

   This document defines the 'qos-mech-send' and 'qos-mech-recv' session
   and media-level SDP [<a href="./rfc4566" title=""SDP: Session Description Protocol"">RFC4566</a>] attributes.  The following is their
   Augmented Backus-Naur Form (ABNF) [<a href="./rfc5234" title=""Augmented BNF for Syntax Specifications: ABNF"">RFC5234</a>] syntax, which is based on
   the SDP [<a href="./rfc4566" title=""SDP: Session Description Protocol"">RFC4566</a>] grammar:

      attribute            =/ qos-mech-send-attr
      attribute            =/ qos-mech-recv-attr

      qos-mech-send-attr   = "qos-mech-send" ":"
                             [[SP] qos-mech *(SP qos-mech)]
      qos-mech-recv-attr   = "qos-mech-recv" ":"
                             [[SP] qos-mech *(SP qos-mech)]

      qos-mech             = "rsvp" / "nsis" / extension-mech
      extension-mech       = token



<span class="grey">Polk, et al.                Standards Track                     [Page 3]</span>

<span id="page-4" ></span>
<span class="grey"><a href="./rfc5432">RFC 5432</a>             QoS Mechanism Selection in SDP           March 2009</span>


   The 'qos-mech' token identifies a QoS mechanism that is supported by
   the entity generating the session description.  A token that appears
   in a 'qos-mech-send' attribute identifies a QoS mechanism that can be
   used to reserve resources for traffic sent by the entity generating
   the session description.  A token that appears in a 'qos-mech-recv'
   attribute identifies a QoS mechanism that can be used to reserve
   resources for traffic received by the entity generating the session
   description.

   The 'qos-mech-send' and 'qos-mech-recv' attributes are not
   interdependent; one can be used without the other.

   The following is an example of an 'm' line with 'qos-mech-send' and
   'qos-mech-recv' attributes:

      m=audio 50000 RTP/AVP 0
      a=qos-mech-send: rsvp nsis
      a=qos-mech-recv: rsvp nsis

<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>.  Offer/Answer Behavior</span>

   Through the use of the 'qos-mech-send' and 'qos-mech-recv'
   attributes, an offer/answer exchange allows endpoints to come up with
   a list of common QoS mechanisms sorted by preference.  However, note
   that endpoints negotiate in which direction QoS is needed using other
   mechanisms, such as preconditions [<a href="./rfc3312" title=""Integration of Resource Management and Session Initiation Protocol (SIP)"">RFC3312</a>].  Endpoints may also use
   other mechanisms to negotiate, if needed, the parameters to use with
   a given QoS mechanism (e.g., bandwidth to be reserved).

<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>.  Offerer Behavior</span>

   Offerers include a 'qos-mech-send' attribute with the tokens
   corresponding to the QoS mechanisms (in order of preference) that are
   supported in the send direction.  Similarly, offerers include a
   'qos-mech-recv' attribute with the tokens corresponding to the QoS
   mechanisms (in order of preference) that are supported in the receive
   direction.

<span class="h3"><a class="selflink" id="section-4.2" href="#section-4.2">4.2</a>.  Answerer Behavior</span>

   On receiving an offer with a set of tokens in a 'qos-mech-send'
   attribute, the answerer takes those tokens corresponding to QoS
   mechanisms that it supports in the receive direction and includes
   them, in order of preference, in a 'qos-mech-recv' attribute in the
   answer.  On receiving an offer with a set of tokens in a 'qos-mech-
   recv' attribute, the answerer takes those tokens corresponding to QoS
   mechanisms that it supports in the send direction and includes them,
   in order of preference, in a 'qos-mech-send' attribute in the answer.



<span class="grey">Polk, et al.                Standards Track                     [Page 4]</span>

<span id="page-5" ></span>
<span class="grey"><a href="./rfc5432">RFC 5432</a>             QoS Mechanism Selection in SDP           March 2009</span>


   When ordering the tokens in a 'qos-mech-send' or a 'qos-mech-recv'
   attribute by preference, the answerer may take into account its own
   preferences and those expressed in the offer.  However, the exact
   algorithm to be used to order such token lists is outside the scope
   of this specification.

   Note that if the answerer does not have any QoS mechanism in common
   with the offerer, it will return empty 'qos-mech-send' and 'qos-mech-
   recv' attributes.

<span class="h3"><a class="selflink" id="section-4.3" href="#section-4.3">4.3</a>.  Resource Reservation</span>

   Once the offer/answer exchange completes, both offerer and answerer
   use the token lists in the 'qos-mech-send' and 'qos-mech-recv'
   attributes of the answer to perform resource reservations.  Offerers
   and answerers SHOULD attempt to use the QoS mechanism with highest
   priority in each direction first.  If an endpoint (the offerer or the
   answerer) does not succeed in using the mechanism with highest
   priority in a given direction, it SHOULD attempt to use the next QoS
   mechanism in order of priority in that direction, and so on.

   If an endpoint unsuccessfully tries all the common QoS mechanisms for
   a given direction, the endpoint MAY attempt to use additional QoS
   mechanisms not supported by the remote endpoint.  This is because
   there may be network entities out of the endpoint's control (e.g., an
   RSVP proxy) that make those mechanisms work.

<span class="h3"><a class="selflink" id="section-4.4" href="#section-4.4">4.4</a>.  Subsequent Offer/Answer Exchanges</span>

   If, during an established session for which the QoS mechanism to be
   used for a given direction was agreed upon using the mechanism
   defined in this specification, an endpoint receives a subsequent
   offer that does not contain the QoS selection attribute corresponding
   to that direction (i.e., the 'qos-mech-send' or 'qos-mech-recv'
   attribute is missing), the endpoints SHOULD continue using the same
   QoS mechanism used up to that moment.

<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>.  Example</span>

   The following is an offer/answer exchange between two endpoints using
   the 'qos-mech-send' and 'qos-mech-recv' attributes.  Parts of the
   session descriptions are omitted for clarity purposes.

   The offerer generates the following session description, listing both
   RSVP and NSIS for both directions.  The offerer would prefer to use
   RSVP and, thus, includes it before NSIS.





<span class="grey">Polk, et al.                Standards Track                     [Page 5]</span>

<span id="page-6" ></span>
<span class="grey"><a href="./rfc5432">RFC 5432</a>             QoS Mechanism Selection in SDP           March 2009</span>


      m=audio 50000 RTP/AVP 0
      a=qos-mech-send: rsvp nsis
      a=qos-mech-recv: rsvp nsis

   The answerer supports NSIS in both directions, but not RSVP.
   Consequently, it returns the following session description:

      m=audio 55000 RTP/AVP 0
      a=qos-mech-send: nsis
      a=qos-mech-recv: nsis

<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>.  IANA Considerations</span>

   This specification registers two new SDP attributes and creates a new
   registry for QoS mechanisms.

<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</a>.  Registration of the SDP 'qos-mech-send' Attribute</span>

   IANA has registered the following SDP att-field under the Session
   Description Protocol (SDP) Parameters registry:

   Contact name:   [email protected]

   Attribute name:   qos-mech-send

   Long-form attribute name:   QoS Mechanism for the Send Direction

   Type of attribute:   Session and Media levels

   Subject to charset:   No

   Purpose of attribute:   To list QoS mechanisms supported in the send
                           direction

   Allowed attribute values:   IANA Registered Tokens

<span class="h3"><a class="selflink" id="section-6.2" href="#section-6.2">6.2</a>.  Registration of the SDP 'qos-mech-recv' Attribute</span>

   IANA has registered the following SDP att-field under the Session
   Description Protocol (SDP) Parameters registry:

   Contact name:   [email protected]

   Attribute name:   qos-mech-recv

   Long-form attribute name:   QoS Mechanism for the Receive Direction

   Type of attribute:   Session and Media levels



<span class="grey">Polk, et al.                Standards Track                     [Page 6]</span>

<span id="page-7" ></span>
<span class="grey"><a href="./rfc5432">RFC 5432</a>             QoS Mechanism Selection in SDP           March 2009</span>


   Subject to charset:   No

   Purpose of attribute:   To list QoS mechanisms supported in the
                           receive direction

   Allowed attribute values:   IANA Registered Tokens

<span class="h3"><a class="selflink" id="section-6.3" href="#section-6.3">6.3</a>.  Registry for QoS Mechanism Tokens</span>

   The IANA has created a subregistry for QoS mechanism token values to
   be used in the 'qos-mech-send' and 'qos-mech-recv' attributes under
   the Session Description Protocol (SDP) Parameters registry.  The
   initial values for the subregistry are as follows:

      QoS Mechanism                Reference
      ---------------------------- ---------
      rsvp                         <a href="./rfc5432">RFC 5432</a>
      nsis                         <a href="./rfc5432">RFC 5432</a>

   As per the terminology in [<a href="./rfc5226" title="">RFC5226</a>], the registration policy for new
   QoS mechanism token values shall be 'Specification Required'.

<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>.  Security Considerations</span>

   An attacker may attempt to add, modify, or remove 'qos-mech-send' and
   'qos-mech-recv' attributes from a session description.  This could
   result in an application behaving in a non-desirable way.  For
   example, the endpoints under attack may not be able to find a common
   QoS mechanism to use.

   Consequently, it is strongly RECOMMENDED that integrity and
   authenticity protection be applied to SDP session descriptions
   carrying these attributes.  For session descriptions carried in SIP
   [<a href="./rfc3261" title=""SIP: Session Initiation Protocol"">RFC3261</a>], S/MIME [<a href="./rfc3851" title=""Secure/Multipurpose Internet Mail Extensions (S/MIME) Version 3.1 Message Specification"">RFC3851</a>] is the natural choice to provide such
   end-to-end integrity protection, as described in [<a href="./rfc3261" title=""SIP: Session Initiation Protocol"">RFC3261</a>].  Other
   applications MAY use a different form of integrity protection.

<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>.  Acknowledgements</span>

   Dave Oran helped form this effort.  Flemming Andreasen and Magnus
   Westerlund provided useful comments on this specification.










<span class="grey">Polk, et al.                Standards Track                     [Page 7]</span>

<span id="page-8" ></span>
<span class="grey"><a href="./rfc5432">RFC 5432</a>             QoS Mechanism Selection in SDP           March 2009</span>


<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>.  References</span>

<span class="h3"><a class="selflink" id="section-9.1" href="#section-9.1">9.1</a>.  Normative References</span>

   [<a id="ref-RFC2119">RFC2119</a>]  Bradner, S., "Key words for use in RFCs to Indicate
              Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>, March 1997.

   [<a id="ref-RFC3264">RFC3264</a>]  Rosenberg, J. and H. Schulzrinne, "An Offer/Answer Model
              with Session Description Protocol (SDP)", <a href="./rfc3264">RFC 3264</a>, June
              2002.

   [<a id="ref-RFC3851">RFC3851</a>]  Ramsdell, B., Ed., "Secure/Multipurpose Internet Mail
              Extensions (S/MIME) Version 3.1 Message Specification",
              <a href="./rfc3851">RFC 3851</a>, July 2004.

   [<a id="ref-RFC4566">RFC4566</a>]  Handley, M., Jacobson, V., and C. Perkins, "SDP: Session
              Description Protocol", <a href="./rfc4566">RFC 4566</a>, July 2006.

   [<a id="ref-RFC5226">RFC5226</a>]  Narten, T. and H. Alvestrand, "Guidelines for Writing an
              IANA Considerations Section in RFCs", <a href="https://www.rfc-editor.org/bcp/bcp26">BCP 26</a>, <a href="./rfc5226">RFC 5226</a>,
              May 2008.

   [<a id="ref-RFC5234">RFC5234</a>]  Crocker, D., Ed., and P. Overell, "Augmented BNF for
              Syntax Specifications: ABNF", STD 68, <a href="./rfc5234">RFC 5234</a>, January
              2008.

<span class="h3"><a class="selflink" id="section-9.2" href="#section-9.2">9.2</a>.  Informative References</span>

   [<a id="ref-QoS-NSLP">QoS-NSLP</a>] Manner, J., Karagiannis, G., and A. McDonald, "NSLP for
              Quality-of-Service Signaling", Work in Progress, February
              2008.

   [<a id="ref-RFC2205">RFC2205</a>]  Braden, R., Ed., Zhang, L., Berson, S., Herzog, S., and S.
              Jamin, "Resource ReSerVation Protocol (RSVP) -- Version 1
              Functional Specification", <a href="./rfc2205">RFC 2205</a>, September 1997.

   [<a id="ref-RFC3261">RFC3261</a>]  Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston,
              A., Peterson, J., Sparks, R., Handley, M., and E.
              Schooler, "SIP: Session Initiation Protocol", <a href="./rfc3261">RFC 3261</a>,
              June 2002.

   [<a id="ref-RFC3312">RFC3312</a>]  Camarillo, G., Ed., Marshall, W., Ed., and J. Rosenberg,
              "Integration of Resource Management and Session Initiation
              Protocol (SIP)", <a href="./rfc3312">RFC 3312</a>, October 2002.







<span class="grey">Polk, et al.                Standards Track                     [Page 8]</span>

<span id="page-9" ></span>
<span class="grey"><a href="./rfc5432">RFC 5432</a>             QoS Mechanism Selection in SDP           March 2009</span>


Authors' Addresses

   James Polk
   Cisco Systems
   3913 Treemont Circle
   Colleyville, Texas  76034
   USA

   Phone: +1-817-271-3552
   EMail: [email protected]


   Subha Dhesikan
   Cisco Systems
   170 W. Tasman Drive
   San Jose, CA  95134
   USA

   EMail: [email protected]


   Gonzalo Camarillo
   Ericsson
   Hirsalantie 11
   Jorvas  02420
   Finland

   EMail: [email protected]























Polk, et al.                Standards Track                     [Page 9]

Additional Resources