<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE rfc [
  <!ENTITY nbsp    "&#160;">
  <!ENTITY zwsp   "&#8203;">
  <!ENTITY nbhy   "&#8209;">
  <!ENTITY wj     "&#8288;">
]>
<?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
<!-- generated by https://github.com/cabo/kramdown-rfc version 1.7.29 (Ruby 3.2.3) -->
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" ipr="trust200902" docName="draft-ietf-sipcore-siprec-fix-mediatype-05" category="std" consensus="true" submissionType="IETF" updates="7866" tocInclude="true" sortRefs="true" symRefs="true" version="3">
  <!-- xml2rfc v2v3 conversion 3.28.1 -->
  <front>
    <title abbrev="Fix SIPREC Metadata Media Type">Updates to SIPREC correcting Metadata Media Type</title>
    <seriesInfo name="Internet-Draft" value="draft-ietf-sipcore-siprec-fix-mediatype-05"/>
    <author fullname="Dan Mongrain">
      <organization>Motorola Solutions</organization>
      <address>
        <email>Dan.Mongrain@MotorolaSolutions.com</email>
      </address>
    </author>
    <date year="2025" month="April" day="21"/>
    <area>ART</area>
    <workgroup>sipcore</workgroup>
    <keyword>siprec</keyword>
    <keyword>errata</keyword>
    <abstract>
      <?line 62?>

<t>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 RFCs registered the new media type. This document updates RFC 7866 to align with RFC 7865 when labeling recording metadata and registers the new media type.</t>
    </abstract>
    <note removeInRFC="true">
      <name>About This Document</name>
      <t>
        Status information for this document may be found at <eref target="https://datatracker.ietf.org/doc/draft-ietf-sipcore-siprec-fix-mediatype/"/>.
      </t>
      <t>
        Discussion of this document takes place on the
        WG Working Group mailing list (<eref target="mailto:sipcore@ietf.org"/>),
        which is archived at <eref target="https://mailarchive.ietf.org/arch/browse/sipcore/"/>.
        Subscribe at <eref target="https://www.ietf.org/mailman/listinfo/sipcore/"/>.
      </t>
    </note>
  </front>
  <middle>
    <?line 66?>

<section anchor="introduction">
      <name>Introduction</name>
      <t>SIP-based Media Recording (SIPREC) protocol is defined by <xref target="RFC7865"/> and <xref target="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"/> defines SIPREC metadata, it was identified as normative, and <xref target="Err7987"/> was created against <xref target="RFC7866"/> to report the issue. This document resolves the errata.</t>
      <t>In addition, as neither document registered the media type with IANA, this document rectifies this gap.</t>
    </section>
    <section anchor="updates-to-rfc-7866">
      <name>Updates to RFC 7866</name>
      <t>Everywhere the following text occurs:</t>
      <ul empty="true">
        <li>
          <t>application/rs-metadata</t>
        </li>
      </ul>
      <t>Replace with:</t>
      <ul empty="true">
        <li>
          <t>application/rs-metadata+xml</t>
        </li>
      </ul>
    </section>
    <section anchor="securityconsiderations">
      <name>Security Considerations</name>
      <t>The updates specified in this memo clarify inconsistencies in published documents with regards to identifying recording metadata. They do not introduce new security considerations beyond those listed in <xref target="RFC7866"/>.</t>
    </section>
    <section anchor="iana-considerations">
      <name>IANA Considerations</name>
      <section anchor="media-type-registration">
        <name>Media Type Registration</name>
        <t><xref target="RFC7865"/> defined 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>
        <t>Type name:  application</t>
        <t>Subtype name:  rs-metadata+xml</t>
        <t>Required parameters:  N/A</t>
        <t>Optional parameters:  N/A</t>
        <t>Encoding considerations:  Same as encoding considerations of application/xml as specified in <xref target="RFC7303"/>.</t>
        <t>Security considerations:  See <xref target="securityconsiderations"/>.</t>
        <t>Interoperability considerations:  Please note that <xref target="RFC7866"/> specified the use of  "application/rs-metadata", which is obsoleted in favour of "application/rs-metadata+xml".</t>
        <t>Published specification:  <xref target="RFC7865"/> [RFC-to-be]</t>
        <t>Applications which use this media type:  SIPREC Clients (SRC) and Servers (SRS).</t>
        <t>Fragment identifier considerations:  N/A</t>
        <t>Additional information:</t>
        <ul empty="true">
          <li>
            <t>Deprecated alias names for this type:  N/A</t>
          </li>
        </ul>
        <ul empty="true">
          <li>
            <t>Magic number(s):  N/A</t>
          </li>
        </ul>
        <ul empty="true">
          <li>
            <t>File extension(s):  N/A</t>
          </li>
        </ul>
        <ul empty="true">
          <li>
            <t>Macintosh file type code(s):  N/A</t>
          </li>
        </ul>
        <t>Person &amp; email address to contact for further information: IETF SIPCORE Working Group (sipcore@ietf.org)</t>
        <t>Intended usage:  COMMON</t>
        <t>Restrictions on usage:  There are no restrictions on where this media type can be used.</t>
        <t>Author:  IETF SIPCORE Working Group (sipcore@ietf.org)</t>
        <t>Change controller:  IETF</t>
      </section>
    </section>
  </middle>
  <back>
    <references anchor="sec-combined-references">
      <name>References</name>
      <references anchor="sec-normative-references">
        <name>Normative References</name>
        <reference anchor="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>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">
          <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>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>
        <reference anchor="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>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>
      </references>
      <references anchor="sec-informative-references">
        <name>Informative References</name>
        <reference anchor="Err7987" target="https://www.rfc-editor.org/errata/eid7987" quoteTitle="false">
          <front>
            <title>Errata Report 7987</title>
            <author>
              <organization/>
            </author>
            <date/>
          </front>
          <refcontent>RFC 7866</refcontent>
        </reference>
      </references>
    </references>
    <?line 135?>

<section numbered="false" anchor="acknowledgments">
      <name>Acknowledgments</name>
      <t>Acknowledgments to Brian Rosen for his guidance with 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>
  </back>
  <!-- ##markdown-source:
H4sIAAAAAAAAA51YbW8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