<?xml version='1.0' encoding='utf-8'?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" version="3" ipr="trust200902" docName="draft-ietf-sipcore-siprec-fix-mediatype-06" number="9806" category="std" consensus="true" submissionType="IETF" updates="7866" obsoletes="" tocInclude="true" sortRefs="true" symRefs="true" xml:lang="en" prepTime="2025-06-27T15:44:15" indexInclude="true" scripts="Common,Latin" tocDepth="3">
  <link href="https://datatracker.ietf.org/doc/draft-ietf-sipcore-siprec-fix-mediatype-06" rel="prev"/>
  <link href="https://dx.doi.org/10.17487/rfc9806" rel="alternate"/>
  <link href="urn:issn:2070-1721" rel="alternate"/>
  <front>
    <title abbrev="Correct SIPREC Metadata Media Type">Updates to SIP-Based Media Recording (SIPREC) to Correct Metadata Media Type</title>
    <seriesInfo name="RFC" value="9806" stream="IETF"/>
    <author fullname="Dan Mongrain">
      <organization showOnFrontPage="true">Motorola Solutions</organization>
      <address>
        <email>Dan.Mongrain@MotorolaSolutions.com</email>
      </address>
    </author>
    <date month="06" year="2025"/>
    <area>ART</area>
    <workgroup>sipcore</workgroup>
    <keyword>siprec</keyword>
    <keyword>errata</keyword>
    <abstract pn="section-abstract">
      <t indent="0" pn="section-abstract-1">The SIP-based Media Recording (SIPREC) protocol is defined by both "Session Initiation Protocol (SIP) Recording Metadata" (RFC 7865) and "Session Recording Protocol" (RFC 7866). Unfortunately, both RFCs contradict each other regarding how recording metadata is to be labeled. In addition, neither RFC registered the new media type. This document updates RFC 7866 to align with RFC 7865 when labeling recording metadata and also registers the media type.</t>
    </abstract>
    <boilerplate>
      <section anchor="status-of-memo" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.1">
        <name slugifiedName="name-status-of-this-memo">Status of This Memo</name>
        <t indent="0" pn="section-boilerplate.1-1">
            This is an Internet Standards Track document.
        </t>
        <t indent="0" pn="section-boilerplate.1-2">
            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 7841.
        </t>
        <t indent="0" pn="section-boilerplate.1-3">
            Information about the current status of this document, any
            errata, and how to provide feedback on it may be obtained at
            <eref target="https://www.rfc-editor.org/info/rfc9806" brackets="none"/>.
        </t>
      </section>
      <section anchor="copyright" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.2">
        <name slugifiedName="name-copyright-notice">Copyright Notice</name>
        <t indent="0" pn="section-boilerplate.2-1">
            Copyright (c) 2025 IETF Trust and the persons identified as the
            document authors. All rights reserved.
        </t>
        <t indent="0" pn="section-boilerplate.2-2">
            This document is subject to BCP 78 and the IETF Trust's Legal
            Provisions Relating to IETF Documents
            (<eref target="https://trustee.ietf.org/license-info" brackets="none"/>) 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 Revised BSD License text as described in
            Section 4.e of the Trust Legal Provisions and are provided without
            warranty as described in the Revised BSD License.
        </t>
      </section>
    </boilerplate>
    <toc>
      <section anchor="toc" numbered="false" removeInRFC="false" toc="exclude" pn="section-toc.1">
        <name slugifiedName="name-table-of-contents">Table of Contents</name>
        <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1">
          <li pn="section-toc.1-1.1">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.1.1"><xref derivedContent="1" format="counter" sectionFormat="of" target="section-1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-introduction">Introduction</xref></t>
          </li>
          <li pn="section-toc.1-1.2">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.2.1"><xref derivedContent="2" format="counter" sectionFormat="of" target="section-2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-updates-to-rfc-7866">Updates to RFC 7866</xref></t>
          </li>
          <li pn="section-toc.1-1.3">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.3.1"><xref derivedContent="3" format="counter" sectionFormat="of" target="section-3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-security-considerations">Security Considerations</xref></t>
          </li>
          <li pn="section-toc.1-1.4">
            <t indent="0" pn="section-toc.1-1.4.1"><xref derivedContent="4" format="counter" sectionFormat="of" target="section-4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-iana-considerations">IANA Considerations</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2">
              <li pn="section-toc.1-1.4.2.1">
                <t indent="0" pn="section-toc.1-1.4.2.1.1"><xref derivedContent="4.1" format="counter" sectionFormat="of" target="section-4.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-media-type-registration">Media Type Registration</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.5">
            <t indent="0" pn="section-toc.1-1.5.1"><xref derivedContent="5" format="counter" sectionFormat="of" target="section-5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-references">References</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.5.2">
              <li pn="section-toc.1-1.5.2.1">
                <t indent="0" pn="section-toc.1-1.5.2.1.1"><xref derivedContent="5.1" format="counter" sectionFormat="of" target="section-5.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-normative-references">Normative References</xref></t>
              </li>
              <li pn="section-toc.1-1.5.2.2">
                <t indent="0" pn="section-toc.1-1.5.2.2.1"><xref derivedContent="5.2" format="counter" sectionFormat="of" target="section-5.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-informative-references">Informative References</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.6">
            <t indent="0" pn="section-toc.1-1.6.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.a"/><xref derivedContent="" format="title" sectionFormat="of" target="name-acknowledgments">Acknowledgments</xref></t>
          </li>
          <li pn="section-toc.1-1.7">
            <t indent="0" pn="section-toc.1-1.7.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.b"/><xref derivedContent="" format="title" sectionFormat="of" target="name-authors-address">Author's Address</xref></t>
          </li>
        </ul>
      </section>
    </toc>
  </front>
  <middle>
    <section anchor="introduction" numbered="true" removeInRFC="false" toc="include" pn="section-1">
      <name slugifiedName="name-introduction">Introduction</name>
      <t indent="0" pn="section-1-1">The SIP-based Media Recording (SIPREC) protocol is defined by <xref target="RFC7865" format="default" sectionFormat="of" derivedContent="RFC7865"/> and <xref target="RFC7866" format="default" sectionFormat="of" derivedContent="RFC7866"/>. The former specifies the use of "application/rs-metadata+xml" when identifying metadata content, whereas the latter uses "application/rs-metadata". Since <xref target="RFC7865" format="default" sectionFormat="of" derivedContent="RFC7865"/> defines SIPREC metadata, it was identified as normative, and <xref target="Err7987" format="default" sectionFormat="of" derivedContent="Err7987"/> was created against <xref target="RFC7866" format="default" sectionFormat="of" derivedContent="RFC7866"/> to report the issue. This document resolves the erratum.</t>
      <t indent="0" pn="section-1-2">In addition, neither document registered the media type with IANA; this document rectifies this gap.</t>
    </section>
    <section anchor="updates-to-rfc-7866" numbered="true" removeInRFC="false" toc="include" pn="section-2">
      <name slugifiedName="name-updates-to-rfc-7866">Updates to RFC 7866</name>
      <t indent="0" pn="section-2-1">Each instance of the following in <xref target="RFC7866" format="default" sectionFormat="of" derivedContent="RFC7866"/>:</t>
      <blockquote pn="section-2-2">
        <t indent="0" pn="section-2-2.1">application/rs-metadata</t>
      </blockquote>
      <t indent="0" pn="section-2-3">Is replaced with:</t>
      <blockquote pn="section-2-4">
        <t indent="0" pn="section-2-4.1">application/rs-metadata+xml</t>
      </blockquote>
    </section>
    <section anchor="securityconsiderations" numbered="true" removeInRFC="false" toc="include" pn="section-3">
      <name slugifiedName="name-security-considerations">Security Considerations</name>
      <t indent="0" pn="section-3-1">The updates specified in this memo clarify inconsistencies in published documents with regard to identifying recording metadata. They do not introduce new security considerations beyond those listed in <xref target="RFC7866" format="default" sectionFormat="of" derivedContent="RFC7866"/>.</t>
    </section>
    <section anchor="iana-considerations" numbered="true" removeInRFC="false" toc="include" pn="section-4">
      <name slugifiedName="name-iana-considerations">IANA Considerations</name>
      <section anchor="media-type-registration" numbered="true" removeInRFC="false" toc="include" pn="section-4.1">
        <name slugifiedName="name-media-type-registration">Media Type Registration</name>
        <t indent="0" pn="section-4.1-1"><xref target="RFC7865" format="default" sectionFormat="of" derivedContent="RFC7865"/> defines a media type for use with specifying recording metadata in XML data.  This media type is to be used when specifying recording metadata in SIPREC.</t>
        <dl indent="3" newline="false" spacing="normal" pn="section-4.1-2">
          <dt pn="section-4.1-2.1">Type name:</dt>
          <dd pn="section-4.1-2.2">application</dd>
          <dt pn="section-4.1-2.3">Subtype name:</dt>
          <dd pn="section-4.1-2.4">rs-metadata+xml</dd>
          <dt pn="section-4.1-2.5">Required parameters:</dt>
          <dd pn="section-4.1-2.6">N/A</dd>
          <dt pn="section-4.1-2.7">Optional parameters:</dt>
          <dd pn="section-4.1-2.8">N/A</dd>
          <dt pn="section-4.1-2.9">Encoding considerations:</dt>
          <dd pn="section-4.1-2.10">Same as encoding considerations
          of "application/xml" as specified in <xref target="RFC7303" format="default" sectionFormat="of" derivedContent="RFC7303"/>.</dd>
          <dt pn="section-4.1-2.11">Security considerations:</dt>
          <dd pn="section-4.1-2.12">N/A</dd>
          <dt pn="section-4.1-2.13">Interoperability considerations:</dt>
          <dd pn="section-4.1-2.14">Please note that <xref target="RFC7866" format="default" sectionFormat="of" derivedContent="RFC7866"/> specifies the use of "application/rs-metadata",
          which has been replaced by "application/rs-metadata+xml" in RFC 9806.</dd>
          <dt pn="section-4.1-2.15">Published specification:</dt>
          <dd pn="section-4.1-2.16">
            <xref target="RFC7865" format="default" sectionFormat="of" derivedContent="RFC7865"/> [RFC9806]</dd>
          <dt pn="section-4.1-2.17">Applications that use this media type:</dt>
          <dd pn="section-4.1-2.18">Session Recording Clients (SRCs) and Session Recording Servers (SRSs).</dd>
          <dt pn="section-4.1-2.19">Fragment identifier considerations:</dt>
          <dd pn="section-4.1-2.20">N/A</dd>
          <dt pn="section-4.1-2.21">Additional information:</dt>
          <dd pn="section-4.1-2.22">
            <t indent="0" pn="section-4.1-2.22.1"><br/></t>
            <dl spacing="compact" indent="3" newline="false" pn="section-4.1-2.22.2">
              <dt pn="section-4.1-2.22.2.1">Deprecated alias names for this type:</dt>
              <dd pn="section-4.1-2.22.2.2">N/A</dd>
              <dt pn="section-4.1-2.22.2.3">Magic number(s):</dt>
              <dd pn="section-4.1-2.22.2.4">N/A</dd>
              <dt pn="section-4.1-2.22.2.5">File extension(s):</dt>
              <dd pn="section-4.1-2.22.2.6">N/A</dd>
              <dt pn="section-4.1-2.22.2.7">Macintosh file type code(s):</dt>
              <dd pn="section-4.1-2.22.2.8">N/A</dd>
            </dl>
          </dd>
          <dt pn="section-4.1-2.23">Person &amp; email address to contact for further information:</dt>
          <dd pn="section-4.1-2.24">IETF SIPCORE Working Group (sipcore@ietf.org)</dd>
          <dt pn="section-4.1-2.25">Intended usage:</dt>
          <dd pn="section-4.1-2.26">COMMON</dd>
          <dt pn="section-4.1-2.27">Restrictions on usage:</dt>
          <dd pn="section-4.1-2.28">There are no restrictions on where this media type can be used.</dd>
          <dt pn="section-4.1-2.29">Author:</dt>
          <dd pn="section-4.1-2.30">IETF SIPCORE Working Group (sipcore@ietf.org)</dd>
          <dt pn="section-4.1-2.31">Change controller:</dt>
          <dd pn="section-4.1-2.32">IETF</dd>
        </dl>
      </section>
    </section>
  </middle>
  <back>
    <references anchor="sec-combined-references" pn="section-5">
      <name slugifiedName="name-references">References</name>
      <references anchor="sec-normative-references" pn="section-5.1">
        <name slugifiedName="name-normative-references">Normative References</name>
        <reference anchor="RFC7303" target="https://www.rfc-editor.org/info/rfc7303" quoteTitle="true" derivedAnchor="RFC7303">
          <front>
            <title>XML Media Types</title>
            <author fullname="H. Thompson" initials="H." surname="Thompson"/>
            <author fullname="C. Lilley" initials="C." surname="Lilley"/>
            <date month="July" year="2014"/>
            <abstract>
              <t indent="0">This specification standardizes three media types -- application/xml, application/xml-external-parsed-entity, and application/xml-dtd -- for use in exchanging network entities that are related to the Extensible Markup Language (XML) while defining text/xml and text/ xml-external-parsed-entity as aliases for the respective application/ types. This specification also standardizes the '+xml' suffix for naming media types outside of these five types when those media types represent XML MIME entities.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7303"/>
          <seriesInfo name="DOI" value="10.17487/RFC7303"/>
        </reference>
        <reference anchor="RFC7865" target="https://www.rfc-editor.org/info/rfc7865" quoteTitle="true" derivedAnchor="RFC7865">
          <front>
            <title>Session Initiation Protocol (SIP) Recording Metadata</title>
            <author fullname="R. Ravindranath" initials="R." surname="Ravindranath"/>
            <author fullname="P. Ravindran" initials="P." surname="Ravindran"/>
            <author fullname="P. Kyzivat" initials="P." surname="Kyzivat"/>
            <date month="May" year="2016"/>
            <abstract>
              <t indent="0">Session recording is a critical requirement in many communications environments, such as call centers and financial trading organizations. In some of these environments, all calls must be recorded for regulatory, compliance, and consumer protection reasons. The recording of a session is typically performed by sending a copy of a media stream to a recording device. This document describes the metadata model as viewed by the Session Recording Server (SRS) and the recording metadata format.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7865"/>
          <seriesInfo name="DOI" value="10.17487/RFC7865"/>
        </reference>
        <reference anchor="RFC7866" target="https://www.rfc-editor.org/info/rfc7866" quoteTitle="true" derivedAnchor="RFC7866">
          <front>
            <title>Session Recording Protocol</title>
            <author fullname="L. Portman" initials="L." surname="Portman"/>
            <author fullname="H. Lum" initials="H." role="editor" surname="Lum"/>
            <author fullname="C. Eckel" initials="C." surname="Eckel"/>
            <author fullname="A. Johnston" initials="A." surname="Johnston"/>
            <author fullname="A. Hutton" initials="A." surname="Hutton"/>
            <date month="May" year="2016"/>
            <abstract>
              <t indent="0">This document specifies the use of the Session Initiation Protocol (SIP), the Session Description Protocol (SDP), and the Real-time Transport Protocol (RTP) for delivering real-time media and metadata from a Communication Session (CS) to a recording device. The Session Recording Protocol specifies the use of SIP, SDP, and RTP to establish a Recording Session (RS) between the Session Recording Client (SRC), which is on the path of the CS, and a Session Recording Server (SRS) at the recording device. This document considers only active recording, where the SRC purposefully streams media to an SRS and all participating user agents (UAs) are notified of the recording. Passive recording, where a recording device detects media directly from the network (e.g., using port-mirroring techniques), is outside the scope of this document. In addition, lawful intercept is outside the scope of this document.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7866"/>
          <seriesInfo name="DOI" value="10.17487/RFC7866"/>
        </reference>
      </references>
      <references anchor="sec-informative-references" pn="section-5.2">
        <name slugifiedName="name-informative-references">Informative References</name>
        <reference anchor="Err7987" target="https://www.rfc-editor.org/errata/eid7987" quoteTitle="false" derivedAnchor="Err7987">
          <front>
            <title>Erratum ID 7987</title>
            <author>
              <organization showOnFrontPage="true">RFC Errata</organization>
            </author>
          </front>
          <refcontent>RFC 7866</refcontent>
        </reference>
      </references>
    </references>
    <section numbered="false" anchor="acknowledgments" removeInRFC="false" toc="include" pn="section-appendix.a">
      <name slugifiedName="name-acknowledgments">Acknowledgments</name>
      <t indent="0" pn="section-appendix.a-1">Thank you to <contact fullname="Brian Rosen"/> for his guidance in writing my first Internet-Draft using the new tools and for his thorough review. A sincere thank you to all of the reviewers for their valuable time, which greatly enhanced this document.</t>
    </section>
    <section anchor="authors-addresses" numbered="false" removeInRFC="false" toc="include" pn="section-appendix.b">
      <name slugifiedName="name-authors-address">Author's Address</name>
      <author fullname="Dan Mongrain">
        <organization showOnFrontPage="true">Motorola Solutions</organization>
        <address>
          <email>Dan.Mongrain@MotorolaSolutions.com</email>
        </address>
      </author>
    </section>
  </back>
</rfc>
