<?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' ?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" category="info" ipr="trust200902" updates="7315" docName="draft-jesske-update-p-visited-network-05" obsoletes="" submissionType="IETF" xml:lang="en" tocInclude="true" tocDepth="4" symRefs="true" sortRefs="true" version="3">
  <!-- xml2rfc v2v3 conversion 3.17.3 -->
  <front>
    <title abbrev="Update P-visited-network">Update to Private Header Field P-Visited-Network-ID in Session Initiation Protocol (SIP) Requests and Responses</title>
    <seriesInfo name="Internet-Draft" value="draft-jesske-update-p-visited-network-05.txt"/>
    <author initials="C." surname="Holmberg" fullname="Christer Holmberg">
      <organization>Ericsson</organization>
      <address>
        <postal>
          <street>Hirsalantie 11</street>
          <city>Jorvas</city>
          <code>02420</code>
          <country>Finland</country>
        </postal>
        <phone/>
        <email>christer.holmberg@ericsson.com</email>
        <uri/>
      </address>
    </author>
    <author initials="N." surname="Biondic" fullname="Nevenka Biondic">
      <organization>Ericsson</organization>
      <address>
        <postal>
          <street>Krapinska 45</street>
          <city>Zagreb</city>
          <code>10002</code>
          <country>Croatia</country>
        </postal>
        <phone/>
        <email>nevenka.biondic@ericsson.com</email>
        <uri/>
      </address>
    </author>
    <author initials="G." surname="Salgueiro" fullname="Gonzalo Salgueiro">
      <organization>Cisco Systems, Inc.</organization>
      <address>
        <postal>
          <street>7200-12 Kit Creek Road</street>
          <city>Research Triangle Park</city>
          <code>NC  27709</code>
          <country>United States of America</country>
        </postal>
        <phone/>
        <email>gsalguei@cisco.com</email>
        <uri/>
      </address>
    </author>
    <author initials="R." surname="Jesske" fullname="Roland Jesske">
      <organization>Deutsche Telekom</organization>
      <address>
        <postal>
          <street>Ida-Rhodes-Str. 2</street>
          <city>Darmstadt</city>
          <code>64295</code>
          <country>Germany</country>
        </postal>
        <phone/>
        <email>r.jesske@telekom.de</email>
        <uri>www.telekom.de</uri>
      </address>
    </author>
    <date year="2023"/>
    <area>ART</area>
    <workgroup>dispatch</workgroup>
    <keyword>Internet-Draft</keyword>
    <keyword>3GPP</keyword>
    <keyword>Visited</keyword>
    <keyword>ID</keyword>
    <abstract>
      <t>
   The Third Generation Partnership Project (3GPP) has identified cases where different SIP private header extensions referred to as "P-" header fields, and defined in RFC 7315, need to be included in SIP requests and responses currently not allowed according to RFC 7315. This document updates , in order to allow inclusion of the affected "P-" header fields in such requests and responses.

   This document also makes updates for RFC 7315 in order to fix misalignments that occurred when RFC 3455 was updated and obsoleted by RFC 7315.
      </t>
    </abstract>
  </front>
  <middle>
    <!-- ***************************************************************************************************** --> 
       
    <section anchor="intro" numbered="true" toc="default">
      <name>Introduction</name>
      <t>

	
	   The Third Generation Partnership Project (3GPP) has identified cases where different Session Initiation Protocol (SIP) <xref target="RFC7315" format="default"/> private header extensions 
	   referred to 		as "P-" header fields, and defined in <xref target="RFC7315" format="default"/>, need to be included in SIP requests and responses
	   currently not allowed according to <xref target="RFC7315" format="default"/>.  This document updates <xref target="RFC7315" format="default"/>, in order to allow inclusion of the affected "P-" header
	   fields in such requests and responses.
	
	   This document also makes updates for <xref target="RFC7315" format="default"/> in order to fix
	   misalignments that occurred when <xref target="RFC3455" format="default"/> was updated and
	   obsoleted by <xref target="RFC7315" format="default"/>.
	
	   As the "P-" header fields are mainly used in (and in most cases, only defined for) networks defined by the 3GPP, where the updates defined in this document are already 
	   defined [TS.3GPP.23.228], the updates are not seen to cause backward-compatibility concerns.
      </t>
    </section>
    <section anchor="Misalingment_3GPP_Use_Cases" numbered="true" toc="default">
      <name>Misalignments and 3GPP Use Cases</name>
      <section anchor="General" numbered="true" toc="default">
        <name>General</name>
        <t>  
										  RFCs 7315 contains contradicting statements regarding the usage of SIP
					   "P-" header fields in SIP requests and responses, which leave the presence of the SIP "P-" header fields in the SIP requests and
					   responses open to interpretation and different implementations. Statements in Section 5.7 of that RFC are not aligned with the
					   definitions and usage of the SIP "P-" header fields specified in Section 4.  This section describes the misalignments that occurred
					   when <xref target="RFC3455" format="default"/> was updated and obsoleted byRFCs 7315, and how they are fixed.
        </t>
        <t> 
					   NOTE: In the case of the P-Called-Party-ID header field, allowing it
					   in PUBLISH requests was deliberately done in <xref target="RFC7315" format="default"/> .  Therefore, it
					   is not considered a misalignment.
        </t>
        <t>
					   Since <xref target="RFC7315" format="default"/> was published, 3GPP defined new use cases that require
					   the RFC to be updated.  This section describes the 3GPP use cases
					   behind the updates, and the updates needed to <xref target="RFC7315" format="default"/> in order to
					   support the use cases. 
        </t>
        <t> 
					   Section 3 updates <xref target="RFC7315" format="default"/>, based on the misalignments and 3GPP use
					   cases.
					   
        </t>
      </section>
      <section anchor="Misalignments" numbered="true" toc="default">
        <name>Misalignments</name>
        <t>  
						 The following updates are needed in order to fix the misalignments
						   between RFCs 7315 and 3455:
        </t>
        <t>
						   o  P-Associated-URI: Remove the statement that the header field can
							  appear in the SIP REGISTER method.
        </t>
        <t>
						   o  P-Called-Party-ID: Delete the statement that the P-Called-Party-ID
							  header field can appear in SIP responses.  Add a statement that
							  the P-Called-Party-ID header field can appear in the SIP REFER
							  method.
        </t>
        <t>
						   o  P-Visited-Network-ID: Delete the statement that the P-Visited-
							  Network-ID header field can appear in SIP responses.  Add a
							  statement that the P-Visited-Network-ID header field cannot appear
							  in the SIP NOTIFY, PRACK, INFO, and UPDATE methods.
							   o  P-Access-Network-Info: Add a statement that the P-Access-Network-
							  Info header field can appear in SIP responses.
        </t>
        <t>
						   o  P-Charging-Vector: Add a statement that the P-Charging-Vector
							  header field can appear in SIP responses.  Add a statement that
							  the P-Charging-Vector header field cannot appear in the SIP ACK
							  method.
        </t>
        <t>
						   o  P-Charging-Function-Addresses: Add a statement that the
							  P-Charging-Function-Addresses header field can appear in SIP
							  responses.

        </t>
      </section>
      <!-- ***************************************************************************************************** --> 
	 
				   
		  <section anchor="_GPP_Use_Cases" numbered="true" toc="default">
        <name>3GPP Use Cases</name>
        <!-- ***************************************************************************************************** --> 
							   
			  <section anchor="General_use_case" numbered="true" toc="default">
          <name>General</name>
          <t>  
								   The following updates are needed in order to implement the 3GPP use
									   cases:
          </t>
          <t> 
									   o  P-Access-Network-Info: Add statement that the P-Access-Network-
										  Info header field can appear in the SIP ACK method when triggered
										  by a SIP 2xx response.
          </t>
          <t>
									   o  P-Charging-Vector: Add statement that the P-Charging-Vector header
										  field can appear in the SIP ACK method when triggered by a SIP 2xx
										  response.
          </t>
          <t>
									   This following sections describe, for individual "P-" header fields,
									   the 3GPP use cases that are the basis for the updates.  The use cases
									   are based on the procedures defined in [TS.3GPP.23.228].
          </t>
        </section>
        <!-- ***************************************************************************************************** --> 
							   
		  <section anchor="P-Access-Network-Info" numbered="true" toc="default">
          <name>P-Access-Network-Info</name>
          <t>  
								  
								   The P-Access-Network-Info header field may contain the Network
								   Provided Location Information (NPLI).  The NPLI is described in
								   [TS.3GPP.23.228].
 
          </t>
          <t>
								   A proxy in possession of appropriate information about the access
								   technology might insert a P-Access-Network-Info header field with its
								   own values.  Such values are identified by the string "network-
								   provided" defined in RFC 7315.  Based on operator policy and/or
								   roaming agreement, the local time of the visited network may be
								   included.
          </t>
          <t>
								     The Call Data Records (CDRs) generated within the IP Multimedia
									   Subsystem (IMS) have to contain the NPLI in order to guarantee
									   correct billing.  When an IMS session is modified, the NPLI also
									   needs to be stored as the location of the user at the time when the
									     session is modified may generate a charging event.  In case of a
										  session modification event at IMS, the NPLI needs to be provided:
          </t>
          <t>
								    o  when the bearer establishment is triggered, or
          </t>
          <t>
									   o  at session release when the bearer deactivation is triggered, or
          </t>
          <t>
									   o  when the bearer modification is triggered, e.g., a QoS
										  modification for the use of a newly negotiated codec.
          </t>
          <t>
									   In some scenarios, the bearer modification may be triggered by the
									   proxy upon reception of a Session Description Protocol (SDP) answer
									   within SIP 2xx response to the SIP INVITE request.  In such case, the
									   NPLI needs to be provided within the SIP ACK request.  However, RFC
									   7315 does not allow the usage of the P-Access-Network-Info header
									   field in SIP ACK request.
          </t>
          <t>
									   Upon reception of the SDP answer within SIP 2xx response on the SIP
									   INVITE request, a proxy may initiate procedures to obtain the NPLI
									   and may include the P-Access-Network-Info header field with the NPLI
									   in the SIP ACK request.
          </t>
          <t>
									   The P-Access-Network-Info header field shall not be included in SIP
									   ACK requests triggered by non-2xx responses.
          </t>
        </section>
        <!-- ***************************************************************************************************** --> 		
						 <!-- ***************************************************************************************************** --> 
							   
		  <section anchor="P-Charging-Vector" numbered="true" toc="default">
          <name>P-Charging-Vector</name>
          <t>  
								  
								   The <xref target="RFC7315" format="default"/> defines an Inter Operator Identifier (IOI) to enable
								   different operators involved in a SIP dialog or a transaction outside
								   a dialog to identify each other by exchanging operator identification
								   information within the P-Charging-Vector header field.
          </t>
          <t>
								   In the interconnection scenarios in multi-operator environments,
								   where one or more transit operators are between the originating and
								   terminating operator, the identities of the involved transit
								   operators are represented by a transit-ioi parameter of the
								   P-Charging-Vector header field.
          </t>
          <t>
								   Transit operators can be selected independently for each SIP method
								   and direction of request.  A transit network will only have knowledge
								   of an individual SIP request, and transit network selection will be
								   an independent decision for each request and could be made based on
								   load, cost, percentage, time of day, and other factors.  For this
								   reason, it is necessary that the P-Charging-Vector header field,
								   which carries the transit IOI information, is included in each SIP
								   request and response.  However, <xref target="RFC7315" format="default"/> does not allow the usage of
								   the P-Charging-Vector header field in the SIP ACK request.
								    A SIP proxy that supports this extension and receives the SIP ACK
								   request may include a P-Charging-Vector header field in the SIP ACK
								   request.
          </t>
          <t>
								   The P-Charging-Vector header field shall not be included in SIP ACK
								   requests triggered by SIP non-2xx responses.

          </t>
        </section>
        <!-- ***************************************************************************************************** --> 				  
		</section>
    </section>
    <!-- ********************************************************************************************************************************************************** --> 

   <section anchor="Updates_to_RFC_7315" numbered="true" toc="default">
      <name>Updates to RFC 7315</name>
      <t>
    
	   This section implements the update to Section 5.7 of <xref target="RFC7315" format="default"/>, in
	   order to implement the misalignment fixes and the 3GPP requirements
	   described in Section 2.
      </t>
      <t>
	   Old text:
      </t>
      <t>
	   The P-Associated-URI header field can appear in SIP REGISTER method
	   and 2xx resonses [sic].  The P-Called-Party-ID header field can
	   appear in SIP INVITE, OPTIONS, PUBLISH, SUBSCRIBE, and MESSAGE
	   methods and all responses.  The P-Visited-Network-ID header field can
	   appear in all SIP methods except ACK, BYE, and CANCEL and all
	   responses.  The P-Access-Network-Info header field can appear in all
	   SIP methods except ACK and CANCEL.  The P-Charging-Vector header
	   field can appear in all SIP methods except CANCEL.  The
	   P-Charging-Function-Addresses header field can appear in all SIP
	   methods except ACK and CANCEL.
      </t>
      <t>
	   New text:
      </t>
      <t>
	   The P-Associated-URI header field can appear in SIP REGISTER 2xx
	   responses.  The P-Called-Party-ID header field can appear in the SIP
	   INVITE, OPTIONS, PUBLISH, REFER, SUBSCRIBE, and MESSAGE methods.  The
	   P-Visited-Network-ID header field can appear in all SIP methods
	   except ACK, BYE, CANCEL, NOTIFY, PRACK, INFO, and UPDATE. 
      </t>
      <t> 
	  P-Visited-Network-ID header field can appear in any SIP Response message, except for a 100
	   (Trying).  The P-Visited-Network-ID header field is not needed in the 100 (Trying)
	   responses, since they are transmitted hop by hop, not end to end.
	   The
	   P-Access-Network-Info header field can appear in all SIP methods and
	   non-100 responses, except in CANCEL methods, CANCEL responses, and
	   ACK methods triggered by non-2xx responses.  The P-Charging-Vector
	   header field can appear in all SIP methods and non-100 responses,
	   except in CANCEL methods, CANCEL responses, and ACK methods triggered
	   by non-2xx responses.  The P-Charging-Function-Addresses header field
	   can appear in all SIP methods and non-100 responses, except in CANCEL
	   methods, CANCEL responses, and ACK methods.
	   
    
      </t>
    </section>
    <!-- ********************************************************************************************************************************************************* --> 



    <section anchor="security" numbered="true" toc="default">
      <name>Security Considerations</name>
      <t>
   The security considerations for these "P-" header fields are defined
   in <xref target="RFC7315" format="default"/>.  This specification allows some header fields to be
   present in messages where they were previously not allowed, and the
   security considerations and assumptions described in <xref target="RFC7315" format="default"/> (e.g.,
   regarding only sending information to trusted entities) also apply to
   those messages.  That does not cause any security issues, but implementors
   need to be aware that implementations may not have been updated
   according to this document, and take proper actions if a header field
    does not occur, in a message where it should occur or
   occurs in a message where it should not occur.   The security
   and privacy considerations for the P-Visited-Network-ID header field are similar to 
   those for the other SIP responses discussed in
  <xref target="RFC7315" format="default"/>.
      </t>
    </section>
    <!-- ***************************************************************************************************** --> 

    <section numbered="true" toc="default">
      <name>Acknowledgments</name>
      <t>
      The author would like to acknowledge the
   constructive feedback provided by Michael Kreipl
      </t>
    </section>
  </middle>
  <back>
    <references>
      <name>References</name>
      <references>
        <name>Normative References</name>
        <reference anchor="RFC3261" target="https://www.rfc-editor.org/info/rfc3261" xml:base="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.3261.xml">
          <front>
            <title>SIP: Session Initiation Protocol</title>
            <author fullname="J. Rosenberg" initials="J." surname="Rosenberg"/>
            <author fullname="H. Schulzrinne" initials="H." surname="Schulzrinne"/>
            <author fullname="G. Camarillo" initials="G." surname="Camarillo"/>
            <author fullname="A. Johnston" initials="A." surname="Johnston"/>
            <author fullname="J. Peterson" initials="J." surname="Peterson"/>
            <author fullname="R. Sparks" initials="R." surname="Sparks"/>
            <author fullname="M. Handley" initials="M." surname="Handley"/>
            <author fullname="E. Schooler" initials="E." surname="Schooler"/>
            <date month="June" year="2002"/>
            <abstract>
              <t>This document describes Session Initiation Protocol (SIP), an application-layer control (signaling) protocol for creating, modifying, and terminating sessions with one or more participants.  These sessions include Internet telephone calls, multimedia distribution, and multimedia conferences. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="3261"/>
          <seriesInfo name="DOI" value="10.17487/RFC3261"/>
        </reference>
        <reference anchor="RFC7315" target="https://www.rfc-editor.org/info/rfc7315" xml:base="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.7315.xml">
          <front>
            <title>Private Header (P-Header) Extensions to the Session Initiation Protocol (SIP) for the 3GPP</title>
            <author fullname="R. Jesske" initials="R." surname="Jesske"/>
            <author fullname="K. Drage" initials="K." surname="Drage"/>
            <author fullname="C. Holmberg" initials="C." surname="Holmberg"/>
            <date month="July" year="2014"/>
            <abstract>
              <t>This document describes a set of private header (P-header) Session Initiation Protocol (SIP) fields used by the 3GPP, along with their applicability, which is limited to particular environments.  The P-header fields are used for a variety of purposes within the networks that the partners implement, including charging and information about the networks a call traverses.  This document obsoletes RFC 3455.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7315"/>
          <seriesInfo name="DOI" value="10.17487/RFC7315"/>
        </reference>
        <reference anchor="TS23-228">
          <front>
            <title>3rd Generation Partnership Project;
                Technical Specification Group Core Network and Terminals; "IP multimedia call control protocol based on
                Session Initiation Protocol (SIP) and Session Description
                 Protocol (SDP);

            </title>
            <author>
              <organization abbrev="3GPP">
                   3rd Generation Partnership Project
              </organization>
            </author>
            <date month="June" year="2016"/>
          </front>
          <seriesInfo name="TS" value="23.228"/>
          <seriesInfo name="V" value="13.6.0"/>
        </reference>
      </references>
      <references>
        <name>Informative References</name>
        <reference anchor="TS24-229">
          <front>
            <title>3rd Generation Partnership Project;
				Technical Specification Group Core Network and Terminals;
				IP multimedia call control protocol based on
				Session Initiation Protocol (SIP)
				and Session Description Protocol (SDP);
				Stage 3

            </title>
            <author>
              <organization abbrev="3GPP">
                   3rd Generation Partnership Project
              </organization>
            </author>
            <date month="June" year="2016"/>
          </front>
          <seriesInfo name="TS" value="24.229"/>
          <seriesInfo name="V" value="13.6.0"/>
        </reference>
        <reference anchor="RFC3455" target="https://www.rfc-editor.org/info/rfc3455" xml:base="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.3455.xml">
          <front>
            <title>Private Header (P-Header) Extensions to the Session Initiation Protocol (SIP) for the 3rd-Generation Partnership Project (3GPP)</title>
            <author fullname="M. Garcia-Martin" initials="M." surname="Garcia-Martin"/>
            <author fullname="E. Henrikson" initials="E." surname="Henrikson"/>
            <author fullname="D. Mills" initials="D." surname="Mills"/>
            <date month="January" year="2003"/>
            <abstract>
              <t>This document describes a set of private Session Initiation Protocol (SIP) headers (P-headers) used by the 3rd-Generation Partnership Project (3GPP), along with their applicability, which is limited to particular environments.  The P-headers are for a variety of purposes within the networks that the partners use, including charging and information about the networks a call traverses.  This memo provides information for the Internet community.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="3455"/>
          <seriesInfo name="DOI" value="10.17487/RFC3455"/>
        </reference>
      </references>
    </references>
  </back>
</rfc>
