<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
<!ENTITY RFC2119   PUBLIC "" "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml">
<!ENTITY RFC5012   PUBLIC "" "http://xml.resource.org/public/rfc/bibxml/reference.RFC.5012.xml">
<!ENTITY RFC6881   PUBLIC "" "http://xml.resource.org/public/rfc/bibxml/reference.RFC.6881.xml">
<!ENTITY RFC6442   PUBLIC "" "http://xml.resource.org/public/rfc/bibxml/reference.RFC.6442.xml">
<!ENTITY RFC5962   PUBLIC "" "http://xml.resource.org/public/rfc/bibxml/reference.RFC.5962.xml">
<!ENTITY RFC5491   PUBLIC "" "http://xml.resource.org/public/rfc/bibxml/reference.RFC.5491.xml">
<!ENTITY RFC5069   PUBLIC "" "http://xml.resource.org/public/rfc/bibxml/reference.RFC.5069.xml">
<!ENTITY RFC4481   PUBLIC "" "http://xml.resource.org/public/rfc/bibxml/reference.RFC.4481.xml">
<!ENTITY RFC5031   PUBLIC "" "http://xml.resource.org/public/rfc/bibxml/reference.RFC.5031.xml">
<!ENTITY RFC7303   PUBLIC "" "http://xml.resource.org/public/rfc/bibxml/reference.RFC.7303.xml">
<!ENTITY RFC6838   PUBLIC "" "http://xml.resource.org/public/rfc/bibxml/reference.RFC.6838.xml">
<!ENTITY RFC4119   PUBLIC "" "http://xml.resource.org/public/rfc/bibxml/reference.RFC.4119.xml">
<!ENTITY RFC6443   PUBLIC "" "http://xml.resource.org/public/rfc/bibxml/reference.RFC.6443.xml">
<!ENTITY RFC7378 PUBLIC "" "http://xml.resource.org/public/rfc/bibxml/reference.RFC.7378.xml">
<!ENTITY RFC5226   PUBLIC "" "http://xml.resource.org/public/rfc/bibxml/reference.RFC.5226.xml">
<!ENTITY RFC7852 PUBLIC "" "http://xml.resource.org/public/rfc/bibxml/reference.RFC.7852.xml">
<!ENTITY RFC6086   PUBLIC "" "http://xml.resource.org/public/rfc/bibxml/reference.RFC.6086.xml">
<!ENTITY I-D.ietf-ecrit-ecall PUBLIC "" "http://xml.resource.org/public/rfc/bibxml3/reference.I-D.ietf-ecrit-ecall.xml">
]>


<?rfc inline="yes"?>
<?rfc toc="yes" ?>
<?rfc tocdepth="2" ?> 
<?rfc symrefs="yes" ?>
<?rfc iprnotified="no" ?>
<?rfc strict="no" ?>
<?rfc compact="no" ?>
<?rfc sortrefs="yes" ?>
<!-- <?rfc colonspace='yes' ?> --> 

<rfc category="std" ipr="trust200902" docName="draft-ietf-ecrit-car-crash-22.txt">
  <front>
    <title abbrev="Vehicle-Initiated Emergency Calls">Next-Generation Vehicle-Initiated Emergency Calls</title>

    <author initials="R." surname="Gellens" fullname="Randall Gellens">
      <organization>Core Technology Consulting</organization>
      <address>
        <email>rg+ietf@randy.pensive.org</email>
      </address>
    </author>

    <author initials="B." surname="Rosen" fullname="Brian Rosen">
      <organization>NeuStar, Inc.</organization>
      <address>
        <postal>
          <street>470 Conrad Dr</street>
          <city>Mars</city>
          <region>PA</region>
          <code>16046</code>
          <country>US</country>
        </postal>
        <phone> </phone>
        <email>br@brianrosen.net</email>
      </address>
    </author>

    <author initials="H." surname="Tschofenig" fullname="Hannes Tschofenig">
        <organization>Individual</organization>
        <address>
            <email>Hannes.Tschofenig@gmx.net</email>
            <uri>http://www.tschofenig.priv.at</uri>
        </address>
    </author>

    <date year="2017"/>
    <area>Applications and Real-Time (ART)</area>
    <workgroup>ECRIT</workgroup>
    <keyword>Internet-Draft</keyword>

    <abstract>
      <t>This document describes how to use IP-based emergency services mechanisms to support the next generation of emergency calls placed by vehicles (automatically in the event of a crash or serious incident, or manually invoked by a vehicle occupant) and conveying vehicle, sensor, and location data related to the crash or incident.  Such calls are often referred to as "Automatic Crash Notification" (ACN), or "Advanced Automatic Crash Notification" (AACN), even in the case of manual trigger.  The "Advanced" qualifier refers to the ability to carry a richer set of data.</t>

     <t>This document also registers a MIME media type and Emergency Call Additional Data Block for the vehicle, sensor, and location data (often referred to as "crash data" even though there is not necessarily a crash) and a SIP INFO package to enable carrying this and related data in SIP INFO requests.  An external specification for the data format, contents, and structure are referenced in this document.</t>

<t>This document reuses the technical aspects of next-generation pan-European eCall (a mandated and standardized system for emergency calls by in-vehicle systems within Europe and other regions).  However, this document specifies use of a different  set of vehicle (crash) data, specifically, the Vehicle Emergency Data Set (VEDS) rather than the eCall Minimum Set of Data (MSD).  This document is an extension of the IETF eCall document, with the primary differences being that this document makes the MSD data set optional and VEDS mandatory, and adds attribute values to the metadata/control object to permit greater functionality.  This document registers a new SIP INFO package (identical to that registered for eCall but with the addition of the VEDS MIME type).  This document also describes legacy (circuit-switched) ACN systems and their migration to next-generation emergency calling, to provide background information and context.
</t>

    </abstract>
  </front>

  <middle>


    <section anchor="terminology" title="Terminology">
      <t>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 <xref target="RFC2119"/>. </t>

      <t>This document re-uses terminology defined in Section 3 of <xref
          target="RFC5012"/>.</t>

      <t>Additionally, we use the following abbreviations:</t>

        <texttable anchor="abbreviations"
                   style="full"
                   suppress-title="true">
            <ttcol align='left'>Term</ttcol>
            <ttcol align='left'>Expansion</ttcol>

            <c>3GPP</c> <c>3rd Generation Partnership Project</c>
            <c>AACN</c> <c>Advanced Automatic Crash Notification</c>
            <c>ACN</c> <c>Automatic Crash Notification</c>
            <c>APCO</c> <c>Association of Public-Safety Communications Officials</c>
            <c>EENA</c> <c>European Emergency Number Association</c>
            <c>ESInet</c> <c>Emergency Services IP network</c>
            <c>GNSS</c> <c>Global Navigation Satellite System (which includes various systems such as the Global Positioning System or GPS)</c>
            <c>IVS</c> <c>In-Vehicle System</c>
            <c>MNO</c> <c>Mobile Network Operator</c>
            <c>MSD</c> <c>eCall Minimum Set of Data</c>
            <c>NENA</c> <c>National Emergency Number Association</c>
            <c>NG</c>   <c>Next-Generation</c>
            <c>POTS</c> <c>Plain Old Telephone Service (normal, circuit-switched voice calls)</c>
            <c>PSAP</c> <c>Public Safety Answering Point</c>
            <c>TSP</c> <c>Telematics Service Provider</c>
            <c>VEDS</c> <c>Vehicle Emergency Data Set</c>
        </texttable>
      

        <t>Because the endpoints of a Next-Generation ACN call are a PSAP and an IVS or TSP, to avoid receptively writing "IVS or TSP", the term "IVS" is used to represent either an IVS or TSP when discussing signaling behavior (e.g., sending VEDS data, sending a SIP INVITE request, receiving a SIP INFO request, etc.).</t>
    </section>

    <section anchor="intro" title="Introduction">
      <t>Emergency calls made by in-vehicle systems (e.g., automatically in the event of a crash or serious incident or manually by a vehicle occupant) assist in significantly reducing road deaths and injuries by allowing emergency services to respond quickly and appropriately to the specifics of the incident, often with better location accuracy.</t>

    <t>Drivers often have a poor location awareness, especially outside of major cities, at night and when away from home (especially abroad).  In the most crucial cases, the victim(s) might not be able to call because they have been injured or trapped.</t>

    <t>For more than two decades, some vehicles have been equipped with telematics systems which, among other features, place an emergency call automatically in the event of a crash or manually in response to an emergency call button.  Such systems generally have on-board location determination systems that make use of satellite-based positioning technology, inertial sensors, gyroscopes, etc., which can provide an accurate position for the vehicle.  Such built-in systems can take advantage of the benefits of being integrated into a vehicle, such as more power capacity, ability to have larger or specialized antenna, ability to be engineered to avoid or minimise degradation by vehicle glass coatings, interference from other vehicle systems, etc.  Thus, the PSAP can be provided with a good estimate of where the vehicle is during an emergency.  Vehicle manufacturers are increasingly adopting such systems, both for the safety benefits and for the additional features and services they enable (e.g., remote engine diagnostics, remote door unlock, stolen vehicle tracking and disabling, etc.).</t>

    <t>The general term for such systems is Automatic Crash Notification (ACN) or "Advanced Automatic Crash Notification" (AACN).  "ACN" is used in this document as a general term.  ACN systems transmit some amount of data specific to the incident, referred to generally as "crash data" (the term is commonly used even though there might not have been a crash).   While different systems transmit different amounts of crash data, standardized formats, structures, and mechanisms are needed to provide interoperability among systems and PSAPs.</t>

    <t>As of the date of this document, currently deployed in-vehicle telematics systems are circuit-switched and lack a standards-based ability to convey crash data directly to the PSAP (generally relying on either a human advisor or an automated text-to-speech system to provide the PSAP call taker with some crash data orally, or in some cases via a proprietary mechanism).  In most cases, the PSAP call taker needs to first realize that the call is related to a vehicle incident, and then listen to the data and transcribe it.  Circuit-switched ACN systems are referred to here as CS-ACN.</t>

    <t>The transition to next-generation calling in general, and for emergency calling in particular, provides an opportunity to vastly improve the scope, breadth, reliability and usefulness of crash data during an emergency by allowing a standardized set to be transmitted during call set-up; to be automatically processed by the PSAP and made available to the call taker in an integrated, automated way; as well as provide the ability for a PSAP call taker to request that a vehicle take certain actions, such as flashing lights or unlocking doors.  In addition, vehicle manufacturers are provided an opportunity to take advantage of the same standardized mechanisms for data transmission and request processing for internal use if they wish (such as telemetry between the vehicle and a service center for both emergency and non-emergency uses, including location-based services, multi-media entertainment systems, remote door unlocking, remote diagnostics, and road-side assistance applications).</t>

    <t>Next-generation ACN provides an opportunity for such calls to be recognized and processed as such during call set-up, and routed to an equipped PSAP where the vehicle data is available to assist the call taker in assessing and responding to the situation.  Next-generation (IP-based) ACN systems are referred to here as NG-ACN.</t>

    <t>An ACN call can be initiated by a vehicle occupant or automatically initiated by vehicle systems in the event of a serious incident.  (The "A" in "ACN" does stand for "Automatic," but the term is broadly used to refer to the class of calls that are placed by an in-vehicle system (IVS) or Telematics Service Providers (TSP) and that carry incident-related data as well as voice.)  Automatically triggered calls indicate a car crash or some other serious incident (e.g., a fire).  Manually triggered calls include reports of observed crashes or serious hazards (such as impaired drivers or roadway debris).</t>

    <t>The Association of Public-Safety Communications Officials (APCO) and the National Emergency Number Association (NENA) have jointly developed a standardized set of incident-related vehicle data for ACN use, called the Vehicle Emergency Data Set (VEDS) <xref target="VEDS"/>.  Such data is often referred to as crash data although it is applicable in incidents other than crashes.</t>

    <t>This document describes how the IETF mechanisms for IP-based emergency calls are used to provide the realization of next-generation ACN.  Although this specification is designed with the requirements for North America ACN in mind (and both APCO and NENA are based in the U.S.), it is specified generically such that the technology can be re-used or extended to suit requirements in other regions.</t>
    
    <t>This document reuses the technical aspects of next-generation pan-European eCall (a mandated and standardized system for emergency calls by in-vehicle systems within Europe), as described in <xref target="I-D.ietf-ecrit-ecall"/>.  However, this document specifies use of a different  set of vehicle (crash) data, specifically, the Vehicle Emergency Data Set (VEDS) rather than the eCall Minimum Set of Data (MSD).  This document is an extension of <xref target="I-D.ietf-ecrit-ecall"/>, with the differences being that this document makes the MSD data set optional and VEDS mandatory, and adds new attribute values to the metadata/control object defined in that document.  This document also registers a new SIP INFO package (identical to that defined in <xref target="I-D.ietf-ecrit-ecall"/> with the addition of the VEDS MIME type).</t>

<t>This document registers the 'application/EmergencyCallData.VEDS+xml' MIME media type, registers the 'VEDS' entry in the Emergency Call Data Types registry, and registers a SIP INFO package to enable carrying this and related data in SIP INFO requests.</t>

<t><xref target="vehicle-data"/> introduces VEDS.  <xref target="data-transport"/> describes how VEDS data and metadata/control blocks are transported within NG-ACN calls.  <xref target="call-setup"/> describes how such calls are placed.</t>

<t>These mechanisms are used to place emergency calls that are identifiable as ACN calls and that carry standardized crash data in an interoperable way.</t>

<t>Calls by in-vehicle systems are placed using cellular networks, which might ignore location information sent by an originating device in an emergency call INVITE, instead substituting their own location information (often determined in cooperation with the originating device).  Standardized crash data structures often include location as determined by the IVS.  A benefit of this is that it allows the PSAP to see both the location as determined by the cellular network (often in cooperation with the originating device) and the location as determined by the IVS.</t>

<t>This specification inherits the ability to utilize test call functionality from Section 15 of <xref target="RFC6881"/>.</t>

</section>

<section title="Document Scope">

<t>This document is focused on how an ACN emergency call is setup and incident-related data (including vehicle, sensor, and location data) is transmitted to the PSAP using IETF specifications.  For the direct model, this is the end-to-end description (between the vehicle and the PSAP).  For the TSP model, this describes the call leg between the TSP and the PSAP, leaving the call leg between the vehicle and the TSP up to the entities involved (i.e., IVS and TSP vendors) who are then free to use the same mechanism as for the other leg or not.
</t>

<t>Note that Europe has a mandated and standardized system for emergency calls by in-vehicle systems.  This pan-European system is known as "eCall" and is the subject of a separate document, <xref target="I-D.ietf-ecrit-ecall"/>, which this document builds on.  Vehicles designed to operate in multiple regions might need to support eCall as well as NG-ACN as described here.  A vehicle IVS might determine whether to use eCall or ACN by first determining the region or country in which it is located (e.g., from a GNSS location estimate and/or identity of or information from an MNO).  If other regions adopt other data formats, a multi-region vehicle might need to support those as well.  This document adopts the call set-up and other technical aspects of <xref target="I-D.ietf-ecrit-ecall"/>, which uses <xref target="RFC7852"/>; this makes it straightforward to use a different data set while keeping other technical aspects unchanged.  Hence, both NG-eCall and the NG-ACN mechanism described here are compatible, differing primarily in the specific data block that is sent (the eCall MSD in the case of NG-eCall, and the APCO/NENA VEDS used in this document), and some additions to the metadata/control data block.  If other regions adopt their own vehicle data sets, this can be similarly accomodated without changing other technical aspects.  Note that any additional data formats require a new SIP INFO package to permit transport within SIP INFO requests.
</t>

</section>


<section title="Overview of Legacy Deployment Models">

<t>Legacy (circuit-switched) systems for placing emergency calls by in-vehicle systems generally have some ability to convey at least location and in some cases telematics data to the PSAP.  Most such systems use one of three architectural models, which are described here as: "Telematics Service Provider" (TSP), "direct", and "paired". These three models are illustrated below.</t>

<t>In the TSP model, both emergency and non-emergency calls are placed to a Telematics Service Provider (TSP); a proprietary technique is used for data transfer (such as a proprietary in-band modem) between the TSP and the vehicle.</t>

<t>In an emergency, generally the TSP call taker bridges in the PSAP and communicates location, crash data (such as impact severity and trauma prediction), and other data (such as the vehicle description) to the PSAP call taker verbally (in some cases, a proprietary out-of-band interface is used).  Since the TSP knows the location of the vehicle (from on-board GNSS and sensors), location-based routing is usually used to route to the appropriate PSAP.  In some cases, the TSP is able to transmit location automatically, using similar techniques as for wireless calls.  Typically, a three-way voice call is established between the vehicle, the TSP, and the PSAP, allowing communication between the PSAP call taker, the TSP call taker, and the vehicle occupants (who might be unconscious).</t>
<t>
        <figure anchor="tsp-model" title="Legacy TSP Model.">
        <?rfc needLines="5" ?>
          <artwork><![CDATA[
   ///----\\\  proprietary  +------+ 911 trunk or POTS  +------+
  ||| IVS |||-------------->+ TSP  +------------------->+ PSAP |
   \\\----///  crash data   +------+ location via trunk +------+

]]></artwork>
        </figure>
      </t>



<t>In the paired model, the IVS uses a local link (typically Bluetooth <xref target="Bluetooth"/>) with a previously-paired handset to establish an emergency call with the PSAP (by dialing a standard emergency number; 9-1-1 in North America), and then communicates location data to the PSAP via text-to-speech; crash data might or might not be conveyed also using text-to-speech.  Some such systems use an automated voice prompt menu for the PSAP call taker (e.g., "this is an automatic emergency call from a vehicle; press 1 to open a voice path to the vehicle; press 2 to hear the location read out") to allow the call taker to request location data via text-to-speech.</t>
<t>
       <figure anchor="paired-model" title="Legacy Paired Model">
          <artwork><![CDATA[
                +---+
   ///----\\\   | H |   911/etc voice call via handset   +------+
  ||| IVS |||-->| S +----------------------------------->+ PSAP |
   \\\----///   +---+   location via text-to-speech      +------+

]]></artwork>
        </figure>
      </t>



<t>In the direct model, the IVS directly places an emergency call with the PSAP by dialing a standard emergency number (9-1-1 in North America).  Such systems might communicate location data to the PSAP via text-to-speech; crash data might or might not be conveyed using text-to-speech.  Some such systems use an automated voice prompt menu (e.g., "this is an automatic emergency call from a vehicle; press 1 to open a voice path to the vehicle; press 2 to hear the location read out") to allow the call taker to request location data via text-to-speech.</t>
<t>
        <figure anchor="direct-model" title="Legacy Direct Model">
          <artwork><![CDATA[
   ///----\\\      911/etc voice call via IVS          +------+
  ||| IVS  |||---------------------------------------->+ PSAP |
   \\\----///     location via text-to-speech          +------+

]]></artwork>
        </figure>
      </t>

</section>


<section title="Migration to Next-Generation">

<t>Migration of emergency calls placed by in-vehicle systems to next-generation (all-IP) technology per this document provides a standardized mechanism to identify such calls and to convey crash data with the call setup, as well as enabling additional communications modalities and enhanced functionality.  This allows ACN calls and crash data to be automatically processed by the PSAP and made available to the call taker in an integrated, automated way.  Because the crash data is carried in the initial SIP INVITE (per <xref target="RFC7852"/>) the PSAP can present it to the call taker simultaneously with the appearance of the call.  The PSAP can also process the data to take other actions (e.g., if multiple calls from the same location arrive when the PSAP is busy and a subset of them are NG-ACN calls, a PSAP might choose to store the information and reject the calls, since the IVS will receive confirmation that the information has been successfully received; a PSAP could also choose to include a message stating that it is aware of the incident and responders are on the way; a PSAP could call the vehicle back when a call taker is available).</t>

<t>The migration of origination devices and networks, PSAPs, emergency services networks, and other telephony environments to next-generation provides enhanced interoperability and functionality, especially for emergency calls carrying additional data such as vehicle crash data.  (In the U.S., a network specifically for emergency responders is being developed.  This network, FirstNet, will be next-generation from the start, enhancing the ability for data exchange between PSAPs and responders.)</t>

<t>NG-ACN calls can be recognized as originating from a vehicle, routed to a PSAP prepared both technically and operationally to handle such calls, and the vehicle-determined location and crash data made available to the call taker simultaneously with the call appearance.  The PSAP can take advantage of enhanced functionality, including the ability to request the vehicle to take an action, such as sending an updated set of data, converying a message to the occupants, flashing lights, unlocking doors, etc.</t>

<t>Vehicle manufacturers using the TSP model can choose to take advantage of the same mechanism to carry telematics data and requests and responses between the vehicle and the TSP for both emergency and non-emergency calls as are used for the interface with the PSAP.</t>

<t>A next-generation IVS establishes a next-generation emergency call (see <xref target="RFC6443"/> and <xref target="RFC6881"/>), with an initial INVITE containing a Request-URI indicating an ACN type of emergency call and Call-Info header fields indicating that both vehicle crash and capabilities data are included; the IVS typically does not perform routing or location queries but relies on the carrier for this.  <!--When an ESInet is deployed, the MNO usually only needs to recognize the call as an emergency call and route it to an ESInet.  The ESInet can recognize the call as an ACN with vehicle data and can route the call to an NG-ACN capable PSAP.  Such a PSAP can interpret the vehicle data sent with the call and make it available to the call taker.--></t>

<t><xref target="I-D.ietf-ecrit-ecall"/> registers new service URN children within the "sos" subservice.  These URNs request NG-ACN resources, and differentiate between manually and automatically triggered NG-ACN calls (which might be subject to different treatment depending on policy). The two service URNs registered in <xref target="I-D.ietf-ecrit-ecall"/> are "urn:service:sos.ecall.automatic" and "urn:service:sos.ecall.manual".  The same service URNs are used for ACN as for eCall since in any region only one of these is supported, making a distinction unnecessary.  (Further, PSAP equipment might support multiple data formats, allowing a PSAP to handle a vehicle that erroneously sent the wrong data object.)</t>

<t>Note that in North America, routing queries performed by clients outside of an ESInet typically treat all sub-services of "sos" identically to "sos" with no sub-service.  However, the Request-URI header field retains the full sub-service; route and handling decisions within an ESInet or PSAP can take the sub-service into account.  For example, in a region with multiple cooperating PSAPs, an NG-ACN call might be routed to a PSAP that is NG-ACN capable, or one that specializes in vehicle-related incidents.</t>

<t>Migration of the three architectural models to next-generation (all-IP) is described below.</t> 

<t>In the TSP model, the IVS transmits crash and location data to the TSP either by re-using the mechanisms and data objects described in this document, or using a proprietary mechanism.  In an emergency, the TSP bridges in the PSAP and the TSP transmits crash and other data to the PSAP using the mechanisms and data objects described in this document.  There is a three-way call between the vehicle, the TSP, and the PSAP, allowing communication between the PSAP call taker, the TSP call taker, and the vehicle occupants (who might be unconscious).  The TSP relays PSAP requests and vehicle responses.</t>
<t>
        <figure anchor="tsp-model2" title="Next-Generation TSP Model">
          <artwork><![CDATA[
               proprietary
   ///----\\\  or standard       +------+     standard       +------+
  ||| IVS ||| ------------------->+ TSP +------------------->+ PSAP |
   \\\----/// crash + other data +------+ crash + other data +------+
]]></artwork>
        </figure>
</t>

<t>The vehicle manufacturer and the TSP can choose to use the same mechanisms and data objects on the left call leg in <xref target="tsp-model2"/> as on the right.  (Note that the TSP model can be more difficult when the vehicle is in a different country than the TSP (e.g., a US resident driving in Canada) because of the additional complexity in choosing the correct PSAP based on vehicle location performed by a TSP in a different country.)</t>


<t>In the direct model, the IVS communicates crash data to the PSAP directly using the mechanisms and data objects described in this document.</t>
<t>
        <figure anchor="direct-model2" title="Next-Generation Direct Model">
          <artwork><![CDATA[
  ///----\\\           NG emergency call              +------+
 ||| IVS |||----------------------------------------->+ PSAP |
  \\\----///          crash + other data              +------+
]]></artwork>
        </figure>
      </t>


<t>In the paired model, the IVS uses a Bluetooth link to a
previously-paired handset to establish an emergency call with the
PSAP; it is unclear what facilities are or will be available for
transmitting crash data through the Bluetooth link to the handset for inclusion in an NG emergency call.  Hence, manufacturers that use the paired model for legacy calls might choose to adopt either the direct or TSP models for next-generation calls.</t>
<t>
        <figure anchor="paired-model2" title="Next-Generation Paired Model">
          <artwork><![CDATA[
                                +---+                            
   ///----\\\    (undefined)    | H |     standard       +------+
  ||| IVS |||------------------>| S +------------------->+ PSAP |
   \\\----///    (undefined)    +---+ crash + other data +------+
]]></artwork>
        </figure>
      </t>


<t>If the call is routed to a PSAP that is not capable of processing the vehicle data, the PSAP ignores (or does not receive) the vehicle data.  This is detectable by the IVS or TSP when the status response to the INVITE (e.g., 200 OK) lacks a metadata/control structure acknowledging receipt of the data <xref target="I-D.ietf-ecrit-ecall"/>.  The IVS or TSP then proceeds as it would for a CS-ACN call (e.g., verbal conveyance of data)</t>

</section>


    <!-- <section anchor="data-profile" title="Profile">
    
        <t>In the context of emergncy calls placed by an in-vehicle system it is assumed that the car is equipped with a built-in GNSS receiver. For this reason only geodetic location information is sent within an emergency call. Most cellular origination devices rely on the cellular network to determine location, perform routing, and include location in an emergency call.  When an IVS includes geodedic location information by value in a Geolocation header field, the following location shapes MUST be implemented: 2D and 3D Point (see Section 5.2.1 of <xref target="RFC5491"/>), Circle (see Section 5.2.3 of <xref target="RFC5491"/>), and Ellipsoid (see Section 5.2.7 of <xref target="RFC5491"/>). The coordinate reference systems (CRS) specified in <xref target="RFC5491"/> are also mandatory. The &lt;direction&gt; element, as defined in <xref target="RFC5962"/> which indicates the direction of travel of the vehicle, is important for dispatch and hence it MUST be included in the PIDF-LO <xref target="RFC4119" />. The &lt;heading&gt; element specified in <xref target="RFC5962"/> MUST be implemented and MAY be included. </t>

    </section> -->

<section anchor="vehicle-data" title="Vehicle Data">

    <t>The Association of Public-Safety Communications Officials (APCO) and the National Emergency Number Association (NENA) have jointly developed a standardized set of incident-related vehicle data for ACN use, called the Vehicle Emergency Data Set (VEDS) <xref target="VEDS"/>.  Such data is often referred to as crash data although it is applicable in incidents other than crashes.</t>

    <t>VEDS provides a standard data set for the transmission, exchange, and interpretation of vehicle-related data.  A standard data format allows the data to be generated by an IVS or TSP and interpreted by PSAPs, emergency responders, and medical facilities. It includes incident-related information such as airbag deployment, location and compass orientation of the vehicle, spatial orientation of the vehicle (e.g., upright, on its side or roof or a bumper), various sensor data that can indicate the potential severity of the crash and the likelihood of severe injuries to the vehicle occupants, etc.  This data better informs the PSAP and emergency responders as to the type of response that might be needed. Some of this information has been included in U.S. government guidelines for field triage of injured patients <xref target="triage-2008"/> <xref target="triage-2011"/>. These guidelines are designed to help responders identify the potential existence of severe internal injuries and to make critical decisions about how and where a patient needs to be transported.</t>

<t>VEDS is an XML structure (see <xref target="VEDS"/>) transported in SIP using the 'application/EmergencyCallData.VEDS+xml' MIME media type.</t>

<t>
If new data blocks are needed (e.g., in other regions or for enhanced data), the steps required during standardization are briefly summarized below:
    <list style="symbols">
        <t>A set of data is standardized by an SDO or appropriate organization</t>
        <t>A MIME media type for the crash data set is registered with IANA
            <list style="symbols">
            <t>If the data is specifically for use in emergency calling, the MIME media type is normally under the 'application' type with a subtype starting with 'EmergencyCallData.'</t>
            <t>If the data format is XML, then by convention the name has a suffix of '+xml'</t>
            </list>
        </t>
        <t>The item is registered in the Emergency Call Data Types registry, as defined in Section 11.1.9 of <xref target="RFC7852"/>
            <list style="symbols">
            <t>For emergency-call-specific formats, the registered name is the root of the MIME media type (not including the 'EmergencyCallData' prefix and any suffix such as '+xml') as described in Section 4.1 of <xref target="RFC7852"/>.</t>
            </list>
        </t>
        <t>A new SIP INFO package is registered that permits carrying the new media type, the metadata/control object (defined in <xref target="I-D.ietf-ecrit-ecall"/>), and for compatibility, the MSD and VEDS objects, in SIP INFO requests.</t>
    </list>
</t>

</section> <!-- title="Vehicle Data" -->


<section anchor="data-transport" title="Data Transport">

<t><xref target="RFC7852"/> establishes a general mechanism for including blocks of data within a SIP emergency call.  This document makes use of that mechanism.  This document also registers a SIP INFO package (in <xref target="info"/>) to enable NG-ACN related data blocks to be carried in SIP INFO requests (per <xref target="RFC6086"/>, new SIP INFO method usages require the definition of a SIP INFO package).</t>

<t>The Vehicle Emergency Data Set (VEDS) is an XML structure defined by the Association of Public-Safety Communications Officials (APCO) and the National Emergency Number Association (NENA) <xref target="VEDS"/>. It is carried in a body part with MIME media type 'application/EmergencyCallData.VEDS+xml'.</t>

<t>An In-Vehicle System (IVS) transmits a VEDS data block (see <xref target="VEDS"/>) by including it as a body part of a SIP message per <xref target="RFC7852"/>. The body part is identified by its MIME media type ('application/emergencyCallData.VEDS+xml') in the Content-Type header field of the body part.  The body part is assigned a unique identifier which is listed in a Content-ID header field in the body part.  The SIP message is marked as containing the VEDS data by adding (or appending to) a Call-Info header field at the top level of the SIP message.  This Call-Info header field contains a CID URL referencing the body part's unique identifier, and a 'purpose' parameter identifying the data as a VEDS data block per the Emergency Call Additional Data Types registry entry; the 'purpose' parameter's value is 'emergencyCallData.VEDS'.   A VEDS data block is carried in a SIP INFO request by using the SIP INFO package defined in <xref target="info"/>.</t>

<t>A PSAP or IVS transmits a metadata/control object (see <xref target="I-D.ietf-ecrit-ecall"/>) by including it in a SIP message as a MIME body part per <xref target="RFC7852"/>. The body part is identified by its MIME media type ('application/emergencyCallData.control+xml') in the Content-Type header field of the body part.  The body part is assigned a unique identifier which is listed in a Content-ID header field in the body part.  The SIP message is marked as containing the metadata/control block by adding (or appending to) a Call-Info header field at the top level of the SIP message.  This Call-Info header field contains a CID URL referencing the body part's unique identifier, and a 'purpose' parameter identifying the data as a metadata/control block per the Emergency Call Additional Data Types registry entry; the 'purpose' parameter's value is 'emergencyCallData.control'.  A metadata/control object is carried in a SIP INFO request by using the SIP INFO package defined in <xref target="info"/>.</t>

<t>A body part containing a VEDS or metadata/control object has a Content-Disposition header field value containing "By-Reference" and is always enclosed in a multipart body part (even if it would otherwise be the only body part in the SIP message), since as of the date of this document, the use of Content-ID as a SIP header field is not defined (while it is defined for use as a MIME header field).</t>

<t>An In-Vehicle System (IVS) initiating an NG-ACN call includes in the initial INVITE a VEDS data block and a metadata/control object informing the PSAP of its capabilities.  The VEDS and metadata/control body parts (and PIDF-LO) have a Content-Disposition header field with the value "By-Reference; handling=optional".  Specifying handling=optional prevents the INVITE from being rejected if it is processed by a legacy element (e.g., a gateway between SIP and circuit-switched environments) that does not understand the VEDS or metadata/control (or PIDF-LO) objects.  The PSAP creates a metadata/control object acknowledging receipt of the VEDS data and includes it in the SIP final response to the INVITE.  The metadata/control object is not included in provisional (e.g., 180) responses.</t>

<t>If the IVS receives an acknowledgment for a VEDS data object with received=false, this indicates that the PSAP was unable to properly decode or process the VEDS. The IVS action is not defined (e.g., it might only log an error).  Since the PSAP is able to request an updated VEDS during the call, if an initial VEDS is unsatisfactory in any way, the PSAP can choose to request another one. </t>

<t>A PSAP can request that the vehicle send an updated VEDS data block during a call.  To do so, the PSAP creates a metadata/control object requesting VEDS data and includes it as a body part of a SIP INFO request sent within the dialog.  The IVS then includes an updated VEDS data object as a body part of a SIP INFO request and sends it within the dialog.  If the IVS is unable to send the VEDS, it instead sends a metadata/control object acknowledging the request with the 'success' parameter set to 'false' and a 'reason' parameter (and optionally a 'details' parameter) indicating why the request cannot be accomplished.  Per <xref target="RFC6086"/>, metadata/control objects and VEDS data are sent using the SIP INFO package defined in <xref target="info"/>.  In addition, to align with the way a VEDS or metadata/control block is transmitted in a SIP message other than a SIP INFO request, one or more Call-Info header fields are included in the SIP INFO request referencing the VEDS or metadata/control block.  See <xref target="info"/> for more information on the use of SIP INFO requests within NG-ACN calls.</t>

<t>Any metadata/control object sent by a PSAP can request that the vehicle perform an action (such as sending a data block, flashing lights, providing a camera feed, etc.)  The vehicle sends an acknowledgement for any request other than a successfully executed send-data action.  Multiple requests with the same 'action' value MUST be sent in separate body parts (to avoid any ambiguity in the acknowledgement).</t>

<t>If the IVS is aware that VEDS data it sent previously has changed, it MAY send an unsolicited VEDS in any convenient SIP message, including a SIP INFO request during the call.  The PSAP sends an acknowledgment for an unsolicited VEDS object (if the IVS sent the unsolicited VEDS in a SIP INFO request, the acknowledgment is sent in a new SP INFO request, otherwise it is sent in the reply to the SIP request containing the VEDS).</t>

</section> <!-- title="Data Transport" -->


<section anchor="call-setup" title="Call Setup">

<!-- <t>It is important that ACN calls be easily identifiable as such at all stages of call handling, and that automatic versus manual triggering be known.  ACN calls differ from general emergency calls in several aspects, including the presence of standardized crash data, the fact that the call is known to be placed by an in-vehicle system (which has implications for PSAP operational processes), and, especially for automatic calls, information that can indicate a likelihood of severe injury and hence need for trauma services.  Knowledge that a call is an ACN and further that it was automatically or manually invoked carries a range of implications about the call, the circumstances, and the vehicle occupants.  Calls by in-vehicle systems can be considered a specific sub-class of general emergency calls and are optimally handled by a PSAP with the technical and operational capabilities to serve such calls.  (This is especially so in environments such as the U.S. where there are many PSAPs and where individual PSAPs have a range of capabilities.)  Technical capabilities include the ability to recognize and process standardized crash data.  Operational capabilities include training and processes for assessing severe injury likelihood and responding appropriately (e.g., dispatching trauma-capable medical responders or those trained and equipped to extract occupants from crashed vehicles and handle gasoline or other hazardous materials, transporting victims to a trauma center, alerting the receiving facility, etc.).
</t>

<t>Because ACN calls differ in significant ways from general emergency calls, and because such calls typically generally are best handled by PSAPs equipped technically to interpet and make use of crash data, and operationally to handle emergency calls placed by in-vehicle systems, <xref target="I-D.ietf-ecrit-ecall"/> registers SOS sub-services.  Using a sub-service allows the call to be treated as an amergency call and makes it readily obvious that the call is an ACN; a further child element distinguishes calls automatically placed due to a crash or other serious incident (such as a fire) from those manually invoked by a vehicle occupant (specifically, "SOS.ecall.automatic" and "SOS.ecall.manual").  The distinction between automatic and manual invocation is also significant; automatically triggered calls indicate a car crash or some other serious incident (e.g., a fire) and carry a greater presumption of risk of injury and hence need for specific responders (such as trauma or fire).  Manually triggered calls are often reports of serious hazards (such as impaired drivers or roadway debris) and might require different responses depending on the situation.  Manually triggered calls also have a greater chance of being false (e.g., accidental) calls and might thus be subject to different handling by the PSAP.</t> -->

<t>A next-generation In-Vehicle System (IVS) initiating an NG-ACN call sends a SIP INVITE request using one of the SOS sub-services "SOS.ecall.automatic" or "SOS.ecall.manual" in the Request-URI.  This SIP INVITE request includes standard sets of both crash and capabilities data as described in <xref target="data-transport"/>.</t>

<t>Entities along the path between the vehicle and the PSAP are able to identify the call as an ACN call and handle it appropriately.  The PSAP is able to identify the crash and capabilities data included in the SIP INVITE request by examining the Call-Info header fields for 'purpose' parameters whose values start with 'EmergencyCallData.'  The PSAP is able to access the data it is capable of handling and is interested in by checking the 'purpose' parameter values.</t>

<t>This document extends <xref target="I-D.ietf-ecrit-ecall"/> by reusing the call set-up and other normative requirements with the exception that in this document, support for the eCall MSD is OPTIONAL and support for VEDS in REQUIRED.  This document also adds new attribute values to the metadata/control object defined in <xref target="I-D.ietf-ecrit-ecall"/>.</t>

</section> <!-- title="Call Setup" -->

<!-- <section anchor="routing" title="Call Routing">

    <t>An Emergency Services IP Network (ESInet) is a network operated by or on behalf of emergency services authorities.  It handles emergency call routing and processing before delivery to a PSAP.  In the NG9-1-1 architecture adopted by NENA as well as the NG1-1-2 architecture adopted by EENA, each PSAP is connected to one or more ESInets.  Each originating network is also connected to one or more ESInets.  The ESInets maintain policy-based routing rules that control the routing and processing of emergency calls.  The centralization of such rules within ESInets allows for a cleaner separation between the responsibilities of the originating network and that of the emergency services network, and provides greater flexibility and control over processing of emergency calls by the emergency services authorities and PSAPs.  This can make it easier to react quickly to situations that require changes in how emergency calls are routed or handled (e.g., a natural disaster closes a PSAP), as well as ease in making long-term changes that affect such routing (e.g., cooperative agreements to specially handle calls requiring translation or relay services).</t>
    
    <t>In an environment that uses ESInets, the originating network might pass all types of emergency calls to an ESInet (all calls with a service URN of or starting with "sos").  The ESInet then routs such calls to an appropriate PSAP.  In an environment without an ESInet, the emergency services authorities and the originating carriers determine how such calls are routed.</t>

</section> --> <!-- title="Call Routing" -->

<section anchor="control_block" title="New Metadata/Control Values">
    
    <t>This document adds new attribute values to the metadata/control structure defined in <xref target="I-D.ietf-ecrit-ecall"/>.</t>

    <t><list style="bullets">
        <t>In addition to the base usage from the PSAP to the IVS to acknowledge receipt of crash data, the &lt;ack&gt; element is also contained in a metadata/control block sent by the IVS to the PSAP.  This is used by the IVS to acknowledge receipt of a request by the PSAP and indicate if the request was carried out when that request would not otherwise be acknowledged (if the PSAP requests the vehicle to send data and the vehicle does so, the data serves as a success acknowledgement).</t>
        <t>The &lt;capabilities&gt; element is used in a metadata/control block sent from the IVS to the PSAP (e.g., in the initial INVITE) to inform the PSAP of the vehicle capabilities.  Child elements contain all actions and data types supported by the vehicle and all available lamps (lights) and cameras.</t>
        <t>New request values are added to the &lt;request&gt; element to enable the PSAP to request the vehicle to perform actions.</t>
    </list></t>


    <t>
    Mandatory Actions (the IVS and the PSAP MUST support):
        <?rfc compact="yes"?>
        <?rfc subcompact="yes"?>
        <list style="symbols">
        <t>Transmit data object (VEDS MUST be supported; MSD MAY be supported)</t>
        </list>
        <?rfc subcompact="no"?>
        <?rfc compact="no"?>
    Optional Actions (the IVS and the PSAP MAY support):
        <?rfc compact="no"?>
        <?rfc subcompact="yes"?>
        <list style="symbols">
        <t>Play and/or display static (pre-defined) message</t>
        <t>Speak/display dynamic text (text supplied in action)</t>
        <!-- <t>Play dynamic audio (via external reference or embedded)</t> -->
        <t>Flash or turn on or off a lamp (light)</t>
        <t>Honk horn</t>
        <t>Lock or unlock doors</t>
        <!-- <t>Lock/unlock doors, lock/unlock/open/close windows, enable/disable fuel pump</t> -->
        <t>Enable a camera</t>
        </list>
        <?rfc subcompact="no"?>
        <?rfc compact="no"?>
    </t>

    <t>
    The &lt;ack&gt; element indicates the object being acknowledged (i.e., a data object or a metadata/control block containing &lt;request&gt; elements), and reports success or failure.
    </t>

    <t>
    The &lt;capabilities&gt; element has child &lt;request&gt; elements indicating the actions supported by the IVS.
    </t>

    <t>
    The &lt;request&gt; element contains attributes to indicate the request and to supply any needed information, and MAY contain a &lt;text&gt; <!-- or 'media' --> child element to contain the text <!-- or (very small) media --> for a dynamic message.  The 'action' attribute is mandatory and indicates the specific action.  <xref target="I-D.ietf-ecrit-ecall"/> established an IANA registry to contain the allowed values; this document adds new values to that registry in <xref target="control-values"/>.
    </t>

    <t>
    Per <xref target="I-D.ietf-ecrit-ecall"/>, the PSAP sends a metadata/control block in response to the VEDS data sent by the IVS in SIP requests other than INFO (e.g., the INVITE).  This metadata/control block is sent in the SIP response to the request (e.g., the INVITE response).  When the PSAP needs to send a control block that is not an immediate response to a VEDS or other data sent by the IVS, the metadata/control block is transmitted from the PSAP to the IVS in a SIP INFO request within the established dialog.  The IVS sends the requested data (e.g., the VEDS) or an acknowledgment (for requests other than to send data or to indicate an inability to send the requested data) in a new SIP INFO request. This mechanism flexibly allows the PSAP to send metadata/control data to the IVS and the IVS to respond.  If a metadata/control block sent in a SIP response message requests the IVS to send a new VEDS or other data block, or to perform an action other than sending data, the IVS sends the requested data or an acknowledgment regarding the action in a SIP INFO request within the dialog.
    </t>
    
        <section anchor="action_extensions" title="New values for the 'action' attribute'">
        
        <t>The following new "action" values are defined:</t>

        <t>
        <list style="hanging">

            <t hangText="msg-static">displays or plays a predefined message (translated as appropriate for the language of the vehicle's interface).  A registry is created in <xref target="eCall-msg-registry"/> for messages and their IDs.  Vehicles include the highest registered message in their &lt;capabilities&gt; element to indicate support for all messages up to and including the indicated value.  A registry of message identification values is defined in <xref target="eCall-msg-registry"/>.  There is only one static message initially defined (listed in <xref target="eCall-msg-registry-values"/>).  Because all compliant vehicles are expected to support all static messages translated into all languages supported by the vehicle, it is important to limit the number of such messages. Therefore, this registry operates under "Specification Required" rules as defined in <xref target="RFC5226"/>, which require a stable, public document and implies expert review of the publication.</t>
        <t hangText="msg-dynamic">displays or speaks (via text-to-speech) a dynamic message contained in a child &lt;text&gt; element within the request.</t>
        <t hangText="honk">sounds the horn.</t>
        <t hangText="lamp">turns a lamp (light) on, off, or flashes.  The lamp is identified by a lamp ID token contained in an "element-id" attribute of the request.  The desired state of the lamp is either "on", "off", or "flash" as indicated in a "requested-state" attribute.  The duration of the lamp's requested state is specified in a "persistence" attribute.  A registry of lamp identification values is defined in <xref target="eCall-lamp-id-registry"/>.  The initial values (listed in <xref target="eCall-lamp-id-registry-values"/>) are head, interior, fog-front, fog-rear, brake, brake-center, position-front, position-rear, turn-left, turn-right, and hazard.</t>
        <t hangText="enable-camera">adds a one-way media stream (established via SIP re-INVITE sent by the vehicle) to enable the PSAP call taker to view a feed from a camera.  A registry of camera identification values is defined in <xref target="eCall-camera-id-registry"/>.  The initial values (listed in <xref target="eCall-camera-id-registry-values"/>) are backup, left-rear, right-rear, forward, rear-wide, lane, interior, night-front, night-rear, night-left, and night-right.</t>
        <t hangText="door-lock">locks or unlocks all door locks.  A "requested-state" attribute contains either "locked" or "unlocked" to indicate if the doors are to be locked or unlocked.</t>

        </list>
        </t>

        <t>Note that there is no 'request' action to play dynamic media (such as an audio message).  The PSAP can send a SIP re-INVITE to establish a one-way media stream for this purpose.</t>

        </section> <!-- title="New values for the 'action' attribute'" -->

        <section anchor="request_example" title="Request Example">
        <figure anchor="request-example" title="Request Example">
            <artwork>
                <![CDATA[
    <?xml version="1.0" encoding="UTF-8"?>
    <EmergencyCallData.control
        xmlns="urn:ietf:params:xml:ns:EmergencyCallData:control"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <request action="send-data" datatype="VEDS"/>
    <request action="lamp" element-id="hazard"
             requested-state="flash" persistence="PT1H"/>
    <request action="msg-static" int-id="1"/>
    <request action="msg-dynamic">
        <text>Remain calm.  Help is on the way.</text>
    </request>

    </EmergencyCallData.control>
                ]]>
            </artwork>
        </figure>
        </section> <!-- title="Request Example" -->


        <section anchor="ack_element" title="The &lt;ack&gt; element">

        <t>
        In <xref target="I-D.ietf-ecrit-ecall"/>, the &lt;ack&gt; element is transmitted by the PSAP to acknowledge the MSD.  Here, the &lt;ack&gt; element is also transmitted by the PSAP to acknowledge the VEDS data and by the IVS to acknowledge receipt of a &lt;request&gt; element that requested the IVS to perform an action other than transmitting a data object (e.g., a request to display a message would be acknowledged, but a request to transmit VEDS data would not result in a separate &lt;ack&gt; element being sent, since the data object itself serves as acknowledgment.)  An &lt;ack&gt; element sent by an IVS references the unique ID of the metadata/control object containing the request(s) and indicates whether the request was successfully performed, and if not, optionally includes an explanation.
        </t>

        <section anchor="ack_example" title="Ack Examples">

        <figure anchor="ack-example-ivs" title="Ack Example from IVS to PSAP">
            <artwork>
                <![CDATA[
    <?xml version="1.0" encoding="UTF-8"?>
    <EmergencyCallData.control
        xmlns="urn:ietf:params:xml:ns:EmergencyCallData:control"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <ack ref="1234567890@atlanta.example.com">
        <actionResult action="msg-dynamic" success="true"/>
        <actionResult action="lamp" success="false" reason="unable"
                      details="The requested lamp is inoperable"/>
    </ack>

    </EmergencyCallData.control>
                ]]>
            </artwork>
        </figure>

        </section> <!-- title="Ack Example" -->

        </section> <!-- title="The &lt;ack&gt; element" -->


        <section anchor="capabilities_element" title="The &lt;capabilities&gt; element">

        <t>
        The &lt;capabilities&gt; element (<xref target="I-D.ietf-ecrit-ecall"/>) is transmitted by the IVS to indicate its capabilities to the PSAP.
        </t>

        <t>The &lt;capabilities&gt; element contains a &lt;request&gt; child element per action supported by the vehicle.  The vehicle MUST support sending the VEDS data object and so includes at a minimum a &lt;request&gt; child element with the 'action' attribute set to "send-data" and the 'supported-values' attribute containing all data blocks supported by the IVS, which MUST include 'VEDS'.  All other actions are OPTIONAL.</t>
            <!-- If the "play-audio" action is supported, a &lt;request&gt; child element with a "play-audio" 'action' attribute is sent, with a 'supported-mime' attribute set to all MIME media types supported by the vehicle. -->
                <t>If the "msg-static" action is supported, a &lt;request&gt; child element with the 'action' attribute set to "msg-static" is included, with the 'int-id' attribute set to the highest supported static message supported by the vehicle.  A registry is created in <xref target="eCall-msg-registry"/> to map 'int-id' values to static text messages.  By sending the highest supported static message number in its &lt;capabilities&gt; element, the vehicle indicates its support for all static messages in the registry up to and including that value.</t>
                <t>If the "lamp" action is supported, a &lt;request&gt; child element with the 'action' attribute set to "lamp" is included, with the 'supported-values' attribute set to all supported lamp IDs.  A registry is created in <xref target="eCall-lamp-id-registry"/> to contain lamp ID values.</t>
                <t>If the "enable-camera" action is supported, a &lt;request&gt; child element with the 'action' attribute set to "enable-camera" is included, with the 'supported-values' attribute set to all supported camera IDs.  A registry is created in <xref target="eCall-camera-id-registry"/> to contain camera ID values.</t>

        <section anchor="capabilities_example" title="Capabilities Example">
        <figure anchor="capabilities-example" title="Capabilities Example">
            <artwork>
                <![CDATA[
    <?xml version="1.0" encoding="UTF-8"?>
    <EmergencyCallData.control
        xmlns="urn:ietf:params:xml:ns:EmergencyCallData:control"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <capabilities>
        <request action="send-data" supported-values="VEDS"/>
        <request action="lamp"
                 supported-values="head;interior;fog-front;
                 fog-rear;brake;position-front;position-rear;
                 turn-left;turn-right;hazard"/>
        <request action="msg-static" int-id="3"/>
        <request action="msg-dynamic"/>
        <request action="honk"/>
        <request action="enable-camera"
                 supported-values="backup; interior"/>
        <request action="door-lock"/>
    </capabilities>

    </EmergencyCallData.control>
                ]]>
            </artwork>
        </figure>
        </section> <!-- title="Capabilities Example" -->

        </section> <!-- title="The &lt;capabilities&gt; element" -->

</section> <!-- title="New Metadata/Control Values" -->

<section anchor="test-calls" title="Test Calls">

    <t>An NG-ACN test call is a call that is recognized and treated to some extent as an NG-ACN call but not given emergency call treatment and not handled by a call taker.  The specific handling of test NG-ACN calls is not itself standardized; the test call facility is intended to allow the IVS, user, or TSP to verify that an NG-ACN call can be successfully established with voice and/or other media communication.  The IVS might also be able to verify that the crash data was successfully received.</t>
   
   <t>This document builds on <xref target="I-D.ietf-ecrit-ecall"/>, which inherits the ability to utilize test call functionality from Section 15 of <xref target="RFC6881"/>.  A service URN starting with "test." indicates a test call. <xref target="I-D.ietf-ecrit-ecall"/> registered "urn:service:test.sos.ecall" for test calls.</t>
   
   <t>MNOs, emergency authorities, ESInets, and PSAPs determine how to treat a vehicle call requesting the "test" service URN so that the desired functionality is tested, but this is outside the scope of this document.  (One possibility is that MNOs route such calls as non-emergency calls to an ESInet, which routes them to a PSAP that supports NG-ACN calls; the PSAP accepts test calls, sends a crash data acknowledgment, and plays an audio clip (for example, saying that the call reached an appropriate PSAP and the vehicle data was successfully processed) in addition to supporting media loopback per <xref target="RFC6881"/>).</t>

    <t>Note that since test calls are placed using "test" as the parent service URN and "sos" as a child, such calls are not treated as an emergency call and so some functionality might not apply (such as preemption or service availability for devices lacking service ("non-service-initialized" or "NSI" devices) if those are available for emergency calls).</t>

</section> <!-- title="Test Calls" -->


<section anchor="example" title="Example">

      <t><xref target="fig1"/> shows an NG-ACN call routing.  The mobile network operator (MNO) routes the call to an Emergency services IP Network (ESInet), as for any emergency call.  The ESInet routes the call to an appropriate NG-ACN-capable PSAP (using location information and the fact that that it is an NG-ACN call). The call is processed by the Emergency Services Routing Proxy (ESRP), as the entry point to the ESInet. The ESRP routes the call to an appropriate NG-ACN-capable PSAP, where the call is received by a call taker.  (In deployments where there is no ESInet, the MNO itself routes the call directly to an appropriate NG-ACN-capable PSAP.)</t>

      <t>
        <figure anchor="fig1" title="Example of Vehicle-Placed Emergency Call Message Flow">
          <artwork><![CDATA[
                            +---------------------------------------+
                            |                                       |
            +------------+  |                  +-------+            |
            |            |  |                  | PSAP2 |            |
            |            |  |                  +-------+            |
            | Originating|  |                                       |
            |   Mobile   |  |  +------+     +-------+               |
  Vehicle-->|  Network   |--+->| ESRP |---->| PSAP1 |--> Call-Taker |
            |            |  |  +------+     +-------+               |
            |            |  |                                       |
            +------------+  |                  +-------+            |
                            |                  | PSAP3 |            |
                            |                  +-------+            |
                            |                                       |
                            |                                       |
                            |                                       |
                            |                ESInet                 |
                            +---------------------------------------+
            ]]></artwork>
        </figure>
      </t>

      <t>The example, shown in <xref target="fig2"/>, illustrates a SIP emergency call INVITE request with location information (a PIDF-LO), VEDS crash data (a VEDS data block), and capabilities data (a metadata/control block with extensions defined in this document) included in the SIP INVITE request message. The INVITE has a request URI containing the 'urn:service:sos.ecall.automatic' service URN.</t>

      <t>The example VEDS data structure shows information about a crashed vehicle.  The example communicates that the car is a model year 2015 Saab 9-5 (a car which does not exist). The front airbag deployed as a consequence of the crash.  The 'VehicleBodyCategoryCode' indicates that the crashed vehicle is a passenger car (the code is set to '101') and that it is not a convertible (the 'ConvertibleIndicator' value is set to 'false').</t>

    <t>The 'VehicleCrashPulse' element provides further information about the crash, namely that the force of impact based on the change in velocity over the duration of the crash pulse was 100 MPH. The principal direction of the force of the impact is set to '12' (which refers to 12 O'Clock, corresponding to a frontal collision). This value is described in the 'CrashPulsePrincipalDirectionOfForceValue' element.</t>

    <t>The 'CrashPulseRolloverQuarterTurnsValue' indicates the number of quarter turns in concert with a rollover expressed as a number; in our case 1.</t>

    <t>No roll bar was deployed, as indicated in 'VehicleRollbarDeployedIndicator' being set to 'false'.</t> 

    <t>Next, there is information indicating seatbelt and seat sensor data for individual seat positions in the vehicle.  In our example, information from the driver seat is available (value '1' in the 'VehicleSeatLocationCategoryCode' element), that the seatbelt was monitored ('VehicleSeatbeltMonitoredIndicator' element), that the seatbelt was fastened ('VehicleSeatbeltFastenedIndicator' element) and the seat sensor determined that the seat was occupied ('VehicleSeatOccupiedIndicator' element).</t>

    <t>Finally, information about the weight of the vehicle, which is 600 kilogram in our example.</t>

    <t>In addition to the information about the vehicle, further indications are provided, namely the presence of fuel leakage ('FuelLeakingIndicator' element), an indication whether the vehicle was subjected to multiple impacts ('MultipleImpactsIndicator' element), the orientation of the vehicle at final rest ('VehicleFinalRestOrientationCategoryCode' element) and an indication that there are no parts of the vehicle on fire (the 'VehicleFireIndicator' element).</t>

      <t>
        <figure anchor="fig2" title="SIP INVITE for a Vehicle-Initated Emergency Call">
          <artwork><![CDATA[
   INVITE urn:service:sos.ecall.automatic SIP/2.0
   To: urn:service:sos.ecall.automatic 
   From: <sip:+13145551111@example.com>;tag=9fxced76sl
   Call-ID: 3848276298220188511@atlanta.example.com
   Geolocation: <cid:target123@example.com>
   Geolocation-Routing: no
   Call-Info: <cid:1234567890@atlanta.example.com>;
              purpose=EmergencyCallData.VEDS
   Call-Info: <cid:1234567892@atlanta.example.com>;
              purpose=emergencyCallData.control
   Accept: application/sdp, application/pidf+xml,
           application/emergencyCallData.control+xml
   Recv-Info: emergencyCallData.eCall
   Allow: INVITE, ACK, PRACK, INFO, OPTIONS, CANCEL, REFER, BYE,
          SUBSCRIBE, NOTIFY, UPDATE
   CSeq: 31862 INVITE
   Content-Type: multipart/mixed; boundary=boundary1
   Content-Length: ...

   --boundary1
   Content-Type: application/sdp

   ...Session Description Protocol (SDP) goes here

   --boundary1
    Content-Type: application/pidf+xml
    Content-ID: <target123@atlanta.example.com>
    Content-Disposition: by-reference;handling=optional

    <?xml version="1.0" encoding="UTF-8"?>
    <presence
       xmlns="urn:ietf:params:xml:ns:pidf"
       xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model"
       xmlns:gp="urn:ietf:params:xml:ns:pidf:geopriv10"
       xmlns:dyn="urn:ietf:params:xml:ns:pidf:geopriv10:dynamic"
       xmlns:gml="http://www.opengis.net/gml"
       xmlns:gs="http://www.opengis.net/pidflo/1.0"
       entity="sip:+13145551111@example.com">
       <dm:device id="123">
           <gp:geopriv>
               <gp:location-info>
                   <gml:Point srsName="urn:ogc:def:crs:EPSG::4326">
                      <gml:pos>-34.407 150.883</gml:pos>
                   </gml:Point>
                    <dyn:Dynamic>
                       <dyn:heading>278</dyn:heading>
                       <dyn:direction><dyn:direction>
                    </dyn:Dynamic>
               </gp:location-info>
               <gp:usage-rules/>
               <method>gps</method>
           </gp:geopriv>
           <timestamp>2012-04-5T10:18:29Z</timestamp>
           <dm:deviceID>1M8GDM9A_KP042788</dm:deviceID>
       </dm:device>
</presence>

    --boundary1
    Content-Type: application/EmergencyCallData.VEDS+xml
    Content-ID: <1234567890@atlanta.example.com>
    Content-Disposition: by-reference;handling=optional

    <?xml version="1.0" encoding="UTF-8"?>
    <AutomatedCrashNotification xmlns="http://www.veds.org/acn/1.0"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    
    <Crash>    
        <CrashVehicle>
            <ItemMakeName xmlns="http://niem.gov/niem/niem-core/2.0">
                Saab
            </ItemMakeName>
            <ItemModelName xmlns="http://niem.gov/niem/niem-core/2.0">
                9-5
            </ItemModelName>
            <ItemModelYearDate
                xmlns="http://niem.gov/niem/niem-core/2.0">
                2015
            </ItemModelYearDate>   
            <Airbag>
                <AirbagCategoryCode>FRONT</AirbagCategoryCode>
                <AirbagDeployedIndicator>true
                </AirbagDeployedIndicator>
            </Airbag>
            <ConvertibleIndicator>false</ConvertibleIndicator>
            <PowerSourceCategoryCode>MAIN</PowerSourceCategoryCode>
            <VehicleBodyCategoryCode
                xmlns="http://niem.gov/niem/domains/jxdm/4.1">
                101
            </VehicleBodyCategoryCode>
            <VehicleCrashPulse>
                <CrashPulseChangeInVelocityMeasure>
                    <MeasurePointValue
                        xmlns="http://niem.gov/niem/niem-core/2.0">
                        100
                    </MeasurePointValue>
                    <MeasureUnitText
                        xmlns="http://niem.gov/niem/niem-core/2.0">
                        MPH</MeasureUnitText>
                 </CrashPulseChangeInVelocityMeasure>
                        <CrashPulsePrincipalDirectionOfForceValue>12
                        </CrashPulsePrincipalDirectionOfForceValue>
                <CrashPulseRolloverQuarterTurnsValue>1
                </CrashPulseRolloverQuarterTurnsValue>
            </VehicleCrashPulse>
            <VehicleRollbarDeployedIndicator>false
            </VehicleRollbarDeployedIndicator>
            <VehicleSeat>
                <VehicleSeatLocationCategoryCode>1
                </VehicleSeatLocationCategoryCode>
                <VehicleSeatOccupiedIndicator>true
                </VehicleSeatOccupiedIndicator>
                <VehicleSeatbeltFastenedIndicator>true
                </VehicleSeatbeltFastenedIndicator>
                <VehicleSeatbeltMonitoredIndicator>true
                </VehicleSeatbeltMonitoredIndicator>                
            </VehicleSeat>
            <VehicleUnladenWeightMeasure
                xmlns="http://niem.gov/niem/niem-core/2.0">
                <MeasurePointValue
                    xmlns="http://niem.gov/niem/niem-core/2.0">
                    600
                    </MeasurePointValue>
                <MeasureUnitText
                    xmlns="http://niem.gov/niem/niem-core/2.0">
                    kilogram
                </MeasureUnitText>                
            </VehicleUnladenWeightMeasure>            
        </CrashVehicle>
        <FuelLeakingIndicator>true</FuelLeakingIndicator>
        <MultipleImpactsIndicator>false</MultipleImpactsIndicator>
        <SevereInjuryIndicator>true</SevereInjuryIndicator>
        <VehicleFinalRestOrientationCategoryCode>Driver
        </VehicleFinalRestOrientationCategoryCode>
        <VehicleFireIndicator>false</VehicleFireIndicator>
    </Crash>
</AutomatedCrashNotification>

    --boundary1
    Content-Type: application/emergencyCallData.control+xml
    Content-ID: <1234567892@atlanta.example.com>
    Content-Disposition: by-reference;handling=optional

    <?xml version="1.0" encoding="UTF-8"?>
    <EmergencyCallData.control
         xmlns="urn:ietf:params:xml:ns:EmergencyCallData:control"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

     <capabilities>
         <request action="send-data" supported-datatypes="VEDS"/>
         <request action="lamp"
                  supported-values="head;interior;fog-front;fog-rear;
                  brake;position-front;position-rear;turn-left;
                  turn-right;hazard"/>
         <request action="msg-static" int-id="3"/>
         <request action="msg-dynamic"/>
         <request action="honk"/>
         <request action="enable-camera"
                  supported-values="backup;interior"/>
         <request action="door-lock"/>
     </capabilities>

    </EmergencyCallData.control>

    --boundary1--
]]></artwork>
        </figure>
      </t>

</section> <!-- title="Example" -->

<section anchor="security" title="Security Considerations">

      <t>Since this document relies on <xref target="I-D.ietf-ecrit-ecall"/> and <xref target="RFC7852"/>, the security considerations described there and in <xref target="RFC5069"/> apply here.  Implementors are cautioned to read and understand the discussion in those documents.</t>
      
      <t>As with emergency service systems where location data is supplied or determined with the assistance of an end host, there is the possibility that that location is incorrect, either intentially (e.g., in a denial of service attack against the emergency services infrastructure) or due to a malfunctioning device. The reader is referred to <xref target="RFC7378"/> for a discussion of some of these vulnerabilities. </t>

      <t>In addition to the security considerations discussion specific to the metadata/control object in <xref target="I-D.ietf-ecrit-ecall"/>, note that vehicles MAY decline to carry out any requested action (e.g., if the vehicle requires but is unable to verify the certificate used to sign the request).  The vehicle MAY use any value in the reason registry to indicate why it did not take an action (e.g., the generic "unable" or the more specific "security-failure").</t>

</section> <!-- title="Security Considerations" -->

<section anchor="privacy" title="Privacy Considerations">
    
    <t>Since this document builds on <xref target="I-D.ietf-ecrit-ecall"/>, which itself builds on <xref target="RFC7852"/>, the data structures specified there, and the corresponding privacy considerations discussed there, apply here as well.  The VEDS data structure contains optional elements that can carry identifying and personal information, both about the vehicle and about the owner, as well as location information, and so needs to be protected against unauthorized disclosure, as discussed in <xref target="RFC7852"/>.  Local regulations may impose additional privacy protection requirements.</t>
    
    <t>The additional functionality enabled by this document, such as access to vehicle camera streams, carries a burden of protection and so implementations need to be careful that access is only provided within the context of an emergency call or to an emergency services provider (e.g., by verifying that the request for camera access is signed by a certificate issued by an emergency services registrar).</t>
    
</section> <!-- title="Privacy Considerations" -->

<section anchor="iana" title="IANA Considerations">
    
    <t>This document registers the 'application/EmergencyCall.VEDS+xml' MIME media type, and adds "VEDS" to the Emergency Call Data Types registry.  This document adds to and creates sub-registries in the "Emergency Call Metadata/Control Data" registry created in <xref target="I-D.ietf-ecrit-ecall"/>.  This document registers a new SIP INFO package.</t>

    <section title="MIME Media Type Registration for 'application/EmergencyCall.VEDS+xml'">
    
        <t>This specification requests the registration of a new MIME media type according to the procedures of RFC 6838 <xref target="RFC6838"/> and guidelines in RFC 7303 <xref target="RFC7303"/>.</t>

        <t>
        <list style="empty"> 
            <t>MIME media type name:  application</t>
            <t>MIME subtype name:  EmergencyCallData.VEDS+xml</t>
            <t>Mandatory parameters:  none</t>
            <t>Optional parameters:  charset</t>
            <t>Indicates the character encoding of enclosed XML.</t>
            <t>Encoding considerations:

      Uses XML, which can employ 8-bit characters, depending on the
      character encoding used.  
      See Section 3.2 of RFC 7303 <xref target="RFC7303"/>.
            </t>

            <t>Security considerations:

            <list>
                <t>This media type is designed to carry vehicle crash data during an emergency call.</t>

                <t>This data can contain personal information including vehicle VIN, location, direction, etc.  Appropriate precautions need to be taken to limit unauthorized access, inappropriate disclosure to third parties, and eavesdropping of this information.  Please refer to Section 9 and Section 10 of <xref target="RFC7852"/> for more information.</t>

                <t>When this media type is contained in a signed or encrypted body part, the enclosing multipart (e.g., multipart/signed or multipart/encrypted) has the same Content-ID as the data part.  This allows an entity to identify and access the data blocks it is interested in without having to dive deeply into the message structure or decrypt parts it is not interested in.  (The 'purpose' parameter in a Call-Info header field identifies the data, and the CID URL points to the data block in the body, which has a matching Content-ID body part header field).
                </t>
                </list>
            </t>

            <t>Interoperability considerations:  None</t>
            <t>Published specification: <xref target="VEDS"/></t>
            <t>Applications which use this media type: Emergency Services</t>
            <t>Additional information: None</t>
            <t> Magic Number:  None</t>
            <t>  File Extension:  .xml</t>
            <t>  Macintosh file type code:  'TEXT'</t>
            <t>Persons and email addresses for further information:
      Randall Gellens rg+ietf@randy.pensive.org; Hannes Tschofenig, Hannes.Tschofenig@gmx.net</t>
            <t>Intended usage:  LIMITED USE</t>
            <t>Author: This specification is a work item of the IETF ECRIT working group, with mailing list address &lt;ecrit@ietf.org&gt;.</t>
            <t>Change controller: The IESG &lt;ietf@ietf.org&gt;</t>

            </list>
            </t>

    </section> <!-- title="MIME Media Type Registration for 'application/EmergencyCall.VEDS+xml'" -->

    <section title="Registration of the 'VEDS' entry in the Emergency Call Data Types registry"> 
    
      <t>This specification requests IANA to add the 'VEDS' entry to the Emergency Call Data Types registry, with a reference to this document; the 'Data About' value is 'The Call'. 
      The Emergency Call Data types registry was established by <xref target="RFC7852"/>. </t>
         
    </section> <!-- title="Registration of the 'VEDS' entry in the Emergency Call Data Types registry" -->


        <section anchor="action-extensions" title="New Action Values">
    <t>This document adds new values for the 'action' attribute of the &lt;request&gt; element in the "Emergency Call Action" registry created by <xref target="I-D.ietf-ecrit-ecall"/>.
    </t>

        <texttable anchor="control-values" title="Emergency Call Action Registry New Values">
    <ttcol align='center'>Name</ttcol>
    <ttcol align='center'>Description</ttcol>
    <!-- <c>send-data</c>    <c>Section xxx of this document</c> -->
    <c>msg-static</c>   <c><xref target="action_extensions"/> of [TBD: THIS DOCUMENT]</c>
    <c>msg-dynamic</c>  <c><xref target="action_extensions"/> of [TBD: THIS DOCUMENT]</c>
    <!-- <c>play-audio</c>   <c>Section xxx of this document</c> -->
    <c>honk</c>         <c><xref target="action_extensions"/> of [TBD: THIS DOCUMENT]</c>
    <c>lamp</c>         <c><xref target="action_extensions"/> of [TBD: THIS DOCUMENT]</c>
    <c>enable-camera</c><c><xref target="action_extensions"/> of [TBD: THIS DOCUMENT]</c>
    <c>door-lock</c><c><xref target="action_extensions"/> of [TBD: THIS DOCUMENT]</c>
        </texttable>

        </section>   <!-- title="New Action Values" -->

        <section anchor="eCall-msg-registry" title="Emergency Call Static Message Registry">
        <t>This document creates a new sub-registry called "Emergency Call Static Message" in the "Emergency Call Metadata/Control Data" registry established by <xref target="I-D.ietf-ecrit-ecall"/>.  Because all compliant vehicles are expected to support all static messages translated into all languages supported by the vehicle, it is important to limit the number of such messages.  As defined in <xref target="RFC5226"/>, this registry operates under "Specification Required" rules, which require a stable, public document and implies expert review of the publication.  The expert should determine that the document has been published by an appropriate emergency services organization (e.g., NENA, EENA, APCO) or by the IETF with input from an emergency services organization, and that the proposed message is sufficiently distinguishable from other messages.</t>

        <t>The contents of this registry are:

            <list style="hanging">
            <t hangText="ID:"> An integer identifier to be used in the 'int-id' attribute of a metadata/control &lt;request&gt; element.</t>
            <t hangText="Message:">The text of the message.  Messages are listed in the registry in English; vehicles are expected to implement translations into languages supported by the vehicle.</t>
            </list> 
        </t>

        <t>When new messages are added to the registry, the message text is determined by the registrant; IANA assigns the IDs.  Each message is assigned a consecutive integer value as its ID.  This allows an IVS to indicate by a single integer value that it supports all messages with that value or lower.</t>


        <t>The initial set of values is listed in <xref target="eCall-msg-registry-values"/>.</t>

        <texttable anchor="eCall-msg-registry-values" title="Emergency Call Static Message Registry Initial Values">
        <ttcol align='center'>ID</ttcol>
        <ttcol align='left'>Message</ttcol>

        <c>1</c>
        <c>Emergency services has received your information and location, but cannot speak with you right now.  We will get help to you as soon as possible.</c>
        </texttable>

        </section>   <!-- title="Static Message Registry" -->

        <section anchor="eCall-lamp-id-registry" title="Emergency Call Vehicle Lamp ID Registry">

        <t>This document creates a new sub-registry called "Emergency Call Vehicle Lamp ID" in the "Emergency Call Metadata/Control Data" registry established by <xref target="I-D.ietf-ecrit-ecall"/>.  This new sub-registry uniquely identifies the names of automotive lamps (lights).  As defined in <xref target="RFC5226"/>, this registry operates under "Expert Review" rules.  The expert should determine that the proposed lamp name is clearly understandable and is sufficiently distinguishable from other lamp names.</t>   

        <t>The contents of this registry are:

            <list style="hanging">
            <t hangText="Name:"> The identifier to be used in the 'element-id' attribute of a metadata/control &lt;request&gt; element.</t>
            <t hangText="Description:">A description of the lamp (light).</t>
            </list> 
        </t> 

        <t>The initial set of values is listed in <xref target="eCall-lamp-id-registry-values"/>.</t>

        <texttable anchor="eCall-lamp-id-registry-values" title="Emergency Call Lamp ID Registry Initial Values">
        <ttcol align='left'>Name</ttcol>
        <ttcol align='left'>Description</ttcol>
        <c>head</c>         <c>The main lamps used to light the road ahead</c>
        <c>interior</c>     <c>Interior lamp, often at the top center</c>
        <c>fog-front</c>    <c>Front fog lamps</c>
        <c>fog-rear</c>     <c>Rear fog lamps</c>
        <c>brake</c>        <c>Brake indicator lamps</c>
        <c>brake-center</c> <c>Center High Mounted Stop Lamp</c>
        <c>position-front</c> <c>Front position/parking/standing lamps</c>
        <c>position-rear</c> <c>Rear position/parking/standing lamps</c>
        <c>turn-left</c>     <c>Left turn/directional lamps</c>
        <c>turn-right</c>    <c>Right turn/directional lamps</c>
        <c>hazard</c>        <c>Hazard/four-way lamps</c>
        </texttable>

        </section>   <!-- title="Lamp ID Registry" -->

        <!-- <section anchor="eCall-lamp-state-registry" title="Lamp State Registry">

        <t>This document creates a new sub-registry called "Lamp State" in the "Emergency Call Metadata/Control Data" registry established by <xref target="I-D.ietf-ecrit-ecall"/>.  This new sub-registry uniquely identifies the states that lamps (lights) can be placed into.  As defined in <xref target="RFC5226"/>, this registry operates under "Expert Review" rules.  The expert should determine that the proposed lamp state is clearly understandable and is sufficiently distinguishable from other lamp states.</t>   

        <t>The contents of this registry are:

            <list style="hanging">
            <t hangText="Name:"> The identifier to be used in the 'requested-state' attribute of a metadata/control &lt;request&gt; element.</t>
            <t hangText="Description:">A description of state of a lamp (light).</t>
            </list> 
        </t> 

        <t>The initial set of values is listed in <xref target="eCall-lamp-state-registry-values"/>.</t>

        <texttable anchor="eCall-lamp-state-registry-values" title="Lamp State Registry Initial Values">
        <ttcol align='left'>Name</ttcol>
        <ttcol align='left'>Description</ttcol>
        <c>on</c>      <c>The lamp is on (illuminated)</c>
        <c>off</c>     <c>The lamp is off (extinguished)</c>
        <c>flash</c>   <c>The lamp alternates between on and off</c>
        </texttable>

        </section>   -->


        <section anchor="eCall-camera-id-registry" title="Emergency Call Vehicle Camera ID Registry">

        <t>This document creates a new sub-registry called "Emergency Call Vehicle Camera ID" in the "Emergency Call Metadata/Control Data" registry established by <xref target="I-D.ietf-ecrit-ecall"/>.  This new sub-registry uniquely identifies automotive cameras.  As defined in <xref target="RFC5226"/>, this registry operates under "Expert Review" rules.  The expert should determine that the proposed camera name is clearly understandable and is sufficiently distinguishable from other camera names.</t>   

        <t>The contents of this registry are:

            <list style="hanging">
            <t hangText="Name:"> The identifier to be used in the 'element-id' attribute of a control &lt;request&gt; element.</t>
            <t hangText="Description:">A description of the camera.</t>
            </list> 
        </t> 

        <t>The initial set of values is listed in <xref target="eCall-camera-id-registry-values"/>.</t>

        <texttable anchor="eCall-camera-id-registry-values" title="Emergency Call Vehicle Camera ID Registry Initial Values">
        <ttcol align='left'>Name</ttcol>
        <ttcol align='left'>Description</ttcol>
        <c>backup</c>      <c>Shows what is behind the vehicle, e.g., often used for driver display when the vehicle is in reverse.  Also known as rearview, reverse, rear visibility, etc.</c>
        <c>left-rear</c>    <c>Shows view to the left and behind (e.g., left side rear-view mirror or blind spot view)</c>
        <c>right-rear</c>   <c>Shows view to the right and behind (e.g., right side rear-view mirror or blind spot view)</c>
        <c>forward</c>      <c>Shows what is in front of the vehicle</c>
        <c>rear-wide</c>    <c>Shows what is behind vehicle (e.g., used by rear-collision detection systems), separate from backup view</c>
        <c>lane</c>         <c>Used by systems to identify road lane and/or monitor vehicle's position within lane</c>
        <c>interior</c>     <c>Shows the interior (e.g., driver)</c>
        <c>night-front</c>  <c>Night-vision view of what is in front of the vehicle</c>
        <c>night-rear</c>  <c>Night-vision view of what is behind the vehicle</c>
        <c>night-left</c>  <c>Night-vision view of what is to the left of the vehicle</c>
        <c>night-right</c>  <c>Night-vision view of what is to the right of the vehicle</c>
        </texttable>

        </section>   <!-- title="Camera ID Registry" -->

    <section anchor="info" title="The emergencyCallData.eCall.VEDS SIP INFO package">
    <t>
    This document registers the 'emergencyCallData.eCall.VEDS' SIP INFO package.</t>
    
    <t>Both endpoints (the IVS and the PSAP equipment) include 'emergencyCallData.eCall.VEDS' in a Recv-Info header field per <xref target="RFC6086"/> to indicate ability to receive SIP INFO messages carrying data as described here.
    </t>
    
    <t>
    Support for the 'emergencyCallData.eCall.VEDS' SIP INFO package indicates the ability to receive  NG-ACN related body parts as specified in [TBD: THIS DOCUMENT].
    </t>
    
    <t>A SIP INFO request message carrying data related to an emergency call as described in [TBD: THIS DOCUMENT] has an Info-Package header field set to 'emergencyCallData.eCall.VEDS' per <xref target="RFC6086"/>.
    </t>

    <t>The requirements of Section 10 of <xref target="RFC6086"/> are addressed in the following sections.</t>
    
        <section title="Overall Description">
        
        <t>This section describes "what type of information is carried in Info requests associated with the Info Package, and for what types of applications and functionalities UAs can use the Info Package."</t>
        
        <t>SIP INFO requests associated with the emergencyCallData.eCall.VEDS SIP INFO package carry data associated with emergency calls as defined in [TBD: THIS DOCUMENT].  The application is vehicle-initiated emergency calls established using SIP.  The functionality is to carry vehicle data and metadata/control information between vehicles and PSAPs.  Refer to [TBD: THIS DOCUMENT] for more information.</t>
        </section>  <!-- title="Overall Description" -->

        <section title="Applicability">
        
        <t>This section describes "why the Info Package mechanism, rather than some other mechanism, has been chosen for the specific use-case...."</t>
        
        <t>The use of the SIP INFO method is based on an analysis of the requirements against the intent and effects of the INFO method versus other approaches (which included the SIP MESSAGE method, SIP OPTIONS method, SIP re-INVITE method, media plane transport, and non-SIP protocols).  In particular, the transport of emergency call data blocks occurs within a SIP emergency dialog, per <xref target="data-transport"/>, and is normally carried in the initial INVITE request and its response; the use of the INFO method only occurs when emergency-call-related data needs to be sent mid-call.  While the SIP MESSAGE method could be used, it is not tied to a SIP dialog as is the INFO method and thus might not be associated with the dialog.  Both the SIP OPTIONS or re-INVITE methods could also be used, but is seen as less clean than the INFO method.  The SIP SUBSCRIBE/NOTIFY method could be coerced into service, but the semantics are not a good fit, e.g., the subscribe/notify mechanism provides one-way communication consisting of (often multiple) notifications from notifier to subscriber indicating that certain events in notifier have occurred, whereas what's needed here is two-way communication of data related to the emergency dialog.  Use of the media plane mechanisms was discounted because the number of messages needing to be exchanged in a dialog is normally zero or very few, and the size of the data is likewise very small.  The overhead caused by user plane setup (e.g., to use MSRP as transport) would be disproportionately large.</t>

    <t>Based on the analyses, the SIP INFO method was chosen to provide for mid-call data transport.</t>
    
    </section> <!-- title="Applicability" -->

    <section title="Info Package Name">

    <t>The SIP INFO package name is emergencyCallData.eCall.VEDS</t>
    
    </section> <!-- title="Info Package Name" -->

    <section title="Info Package Parameters">
    
    <t>None</t>
    
    </section> <!-- title="Info Package Parameters" -->
    
    <section title="SIP Option-Tags">
    
    <t>None</t>
    
    </section> <!-- title="SIP Option-Tags" -->

    <section title="INFO Request Body Parts">
    
        <t>The body of an emergencyCallData.eCall.VEDS SIP INFO package is a multipart body which MAY contain zero or one application/emergencyCallData.eCall.VEDS+xml (containing a VEDS data block) part, zero or more application/emergencyCallData.control+xml (containing a metadata/control object) parts, and zero or one application/emergencyCallData.eCall.MSD+per (containing an MSD) part.  At least one VEDS, MSD, or metadata/control body part is expected; the behavior upon receiving a SIP INFO request with none is undefined.</t>

    <t>The body parts are sent per <xref target="RFC6086"/>, and in addition, to align with with how these body parts are sent in non-INFO messages, each associated body part is referenced by a Call-Info header field at the top level of the SIP message.  The body part has a Content-Disposition header field set to "By-Reference".</t>

    <t>A VEDS or metadata/control block is always enclosed in a multipart body part (even if it would otherwise be the only body part in the SIP message), since as of the date of this document, the use of Content-ID as a SIP header field is not defined (while it is defined for use as a MIME header field).  The innermost multipart that contains only body parts associated with the SIP INFO package has a Content-Disposition value of Info-Package.</t>

    <t>Service providers are not expected to add <xref target="RFC7852"/> Additional Data to SIP INFO requests.</t>
    
    <t>See [TBD: THIS DOCUMENT] for more information.</t>
    
    </section> <!-- title="INFO Message Body Parts" -->



    <section title="Info Package Usage Restrictions">
    
    <t>Usage is limited to vehicle-initiated emergency calls as defined in [TBD: THIS DOCUMENT].</t>
    
    </section> <!-- title="Info Package Usage Restrictions" -->

    <section title="Rate of INFO Requests">
    
    <t>The SIP INFO request is used within an established emergency call dialog for the PSAP to request the IVS to send an updated data set, and for the IVS to send the requested data set.  Because this is normally done only on manual request of the PSAP call taker (who suspects some aspect of the vehicle state has changed), the rate of SIP INFO requests associated with the emergencyCallData.eCall.VEDS SIP INFO package is normally quite low (most dialogs are likely to contain zero SIP INFO requests, while others can be expected to carry an occasional request).</t>
    
    </section> <!-- title="Rate of INFO Requests" -->

    <section title="Info Package Security Considerations">
    
    <t>The MIME media type registations for the data blocks that can be carried using this SIP INFO package contains a discussion of the security and/or privacy considerations specific to that data block.  The "Security Considerations" and "Privacy Considerations" sections of [TBD: THIS DOCUMENT] discuss security and privacy considerations of the data carried in vehicle-initiated emergency calls as described in that document.</t>
    
    </section> <!-- title="Info Package Security Considerations" -->

    <section title="Implementation Details">
    
    <t>See [TBD: THIS DOCUMENT] for protocol details.</t>
    
    </section> <!-- title="Implementation Details" -->


    <section title="Examples">
    
    <t>See [TBD: THIS DOCUMENT] for protocol examples.</t>
    
    </section> <!-- title="Examples" -->
 
    
    </section> <!-- title="The emergencyCallData.eCall.VEDS SIP INFO package" -->

</section> <!-- title="IANA Considerations" -->


<section title="Acknowledgements">
      <t>We would like to thank Lena Chaponniere, Alissa Cooper, Stephen Edge, Christer Holmberg, Allison Mankin, and Dan Romascanu for their review and suggestions; Robert Sparks and Paul Kyzivat for their help with the SIP mechanisms; Michael Montag, Arnoud van Wijk, Ban Al-Bakri, Wes George, Gunnar Hellstrom, and Rex Buddenberg for their feedback; and Ulrich Dietz for his help with earlier versions of the original version of this document.</t>
</section>


<section title="Changes from Previous Versions">

<t>RFC Editor: Please remove this section prior to publication.</t>

    <section title="Changes from draft-ietf-18 to draft-ietf-19">
        <t>
        <?rfc compact="yes" ?>
        <?rfc subcompact="yes" ?>
        <list style="symbols">
            <t>Fixed various nits</t>
        </list>
        </t>
    </section>

    <section title="Changes from draft-ietf-17 to draft-ietf-18">
        <t>
        <?rfc compact="yes" ?>
        <?rfc subcompact="yes" ?>
        <list style="symbols">
            <t>Added additional text to "Rate of Info Requests"</t>
            <t>Further corrected "content type" to "media type"</t>
        </list>
        </t>
    </section>
    
    <section title="Changes from draft-ietf-16 to draft-ietf-17">
        <t>
        <?rfc compact="yes" ?>
        <?rfc subcompact="yes" ?>
        <list style="symbols">
            <t>Clarified that an INFO request is expected to have at least one VEDS, MSD or metadata/control body part</t>
            <t>Corrected "content type" to "media type"</t>
        </list>
        </t>
    </section>

    <section title="Changes from draft-ietf-14 to draft-ietf-15">
        <t>
        <?rfc compact="yes" ?>
        <?rfc subcompact="yes" ?>
        <list style="symbols">
            <t>Moved VEDS text from Introduction to new Vehicle Data section</t>
            <t>Various clarifications and simplifications</t>
        </list>
        </t>
    </section>

    <section title="Changes from draft-ietf-13 to draft-ietf-14">
        <t>
        <?rfc compact="yes" ?>
        <?rfc subcompact="yes" ?>
        <list style="symbols">
            <t>Body parts now always sent enclosed in multipart (even if only body part in SIP message) and hence always have a Content-Disposition of By-Reference</t>
            <t>Fixed typos.</t>
        </list>
        </t>
    </section>

    <section title="Changes from draft-ietf-11 to draft-ietf-13">
        <t>
        <?rfc compact="yes" ?>
        <?rfc subcompact="yes" ?>
        <list style="symbols">
            <t>Fixed typos</t>
        </list>
        </t>
    </section>

    <section title="Changes from draft-ietf-10 to draft-ietf-11">
        <t>
        <?rfc compact="yes" ?>
        <?rfc subcompact="yes" ?>
        <list style="symbols">
            <t>Clarifications suggested by Christer</t>
            <t>Corrections to Content-Disposition text and examples as suggested by Paul Kyzivat</t>
            <t>Clarifications to Content-Disposition text and examples to clarify that handling=optional is only used in the initial INVITE</t>
        </list>
        </t>
      </section>

    <section title="Changes from draft-ietf-09 to draft-ietf-10">
        <t>
        <?rfc compact="yes" ?>
        <?rfc subcompact="yes" ?>
        <list style="symbols">
            <t>Fixed errors in examples found by Dale in eCall draft</t>
            <t>Removed enclosing sub-section of INFO package registration section</t>
            <t>Added text per Christer and Dale's suggestions that the MSD and metadata/control blocks are sent in INFO with a Call-Info header field referencing them</t>
            <t>Other text changes per comments received from Christer and Ivo against eCall draft.</t>
        </list>
        </t>
      </section>

    <section title="Changes from draft-ietf-08 to draft-ietf-09">
        <t>
        <?rfc compact="yes" ?>
        <?rfc subcompact="yes" ?>
        <list style="symbols">
            <t>Added INFO package registration for eCall.VEDS</t>
            <t>Moved &lt;capabilities&gt; element and other extension points back to eCall document so that extension points are in base spec (and also to get XML schema to compile)</t>
            <t>Text changes for clarification.</t>
        </list>
        </t>
      </section>

    <section title="Changes from draft-ietf-07 to draft-ietf-08">
        <t>
        <?rfc compact="yes" ?>
        <?rfc subcompact="yes" ?>
        <list style="symbols">
            <t>Moved much of the metadata/control object from <xref target="I-D.ietf-ecrit-ecall"/> to this document as extensions</t>
            <t>Editorial clarifications and simplifications</t>
            <t>Moved "Call Routing" to be a subsection of "Call Setup"</t>
            <t>Deleted "Profile" section and moved some of its text into "Introduction"</t>
        </list>
        </t>
      </section>
    
    <section title="Changes from draft-ietf-06 to draft-ietf-07">
        <t>
        <?rfc compact="yes" ?>
        <?rfc subcompact="yes" ?>
        <list style="symbols">
            <t>Minor editorial changes</t>
        </list>
        </t>
      </section>

<section title="Changes from draft-ietf-05 to draft-ietf-06">
        <t>
        <?rfc compact="yes" ?>
        <?rfc subcompact="yes" ?>
        <list style="symbols">
            <t>Added clarifying text regarding signed and encrypted data</t>
            <t>Additional informative text in "Migration to Next-Generation" section</t>
            <t>Additional clarifying text regarding security and privacy.</t>
        </list>
        </t>
      </section>

    <section title="Changes from draft-ietf-04 to draft-ietf-05">
        <t>
        <?rfc compact="yes" ?>
        <?rfc subcompact="yes" ?>
        <list style="symbols">
            <t>Reworded security text in main document and in MIME registration for the VEDS object</t>
        </list>
        </t>
      </section>

    <section title="Changes from draft-ietf-03 to draft-ietf-04">
        <t>
        <?rfc compact="yes" ?>
        <?rfc subcompact="yes" ?>
        <list style="symbols">
            <t>Added example VEDS object</t>
            <t>Additional clarifications and corrections</t>
            <t>Removed references from Abstract</t>
            <t>Moved Document Scope section to follow Introduction</t>
        </list>
        </t>
      </section>

    <section title="Changes from draft-ietf-02 to draft-ietf-03">
        <t>
        <?rfc compact="yes" ?>
        <?rfc subcompact="yes" ?>
        <list style="symbols">
            <t>Additional clarifications and corrections</t>
        </list>
        </t>
      </section>

    <section title="Changes from draft-ietf-01 to draft-ietf-02">
        <t>
        <?rfc compact="yes" ?>
        <?rfc subcompact="yes" ?>
        <list style="symbols">
            <t>This document now refers to <xref target="I-D.ietf-ecrit-ecall"/> for technical aspects including the service URN; this document no longer proposes a unique service URN for non-eCall NG-ACN calls; the same service URN is now used for all NG-ACN calls including NG-eCall and non-eCall</t>
            <t>Added discussion of an NG-ACN call placed to a PSAP that doesn't support it</t>
            <t>Minor wording improvements and clarifications</t>
        </list>
        </t>
      </section>

    <section title="Changes from draft-ietf-00 to draft-ietf-01">
        <t>
        <list style="symbols">
            <t>Added further discussion of test calls</t>
            <t>Added further clarification to the document scope</t>
            <t>Mentioned that multi-region vehicles may need to support other crash notification specifications such as eCall</t>
            <t>Minor wording improvements and clarifications</t>
        </list>
        </t>
      </section>

    <section title="Changes from draft-gellens-02 to draft-ietf-00">
        <t>
        <list style="symbols">
            <t>Renamed from draft-gellens- to draft-ietf-</t>
            <t>Added text to Introduction to clarify that during a CS ACN, the PSAP call taker usually needs to listen to the data and transcribe it</t>
        </list>
        </t>
      </section>

    <section title="Changes from draft-gellens-01 to -02">
        <t>
        <list style="symbols">
            <t>Fixed case of 'EmergencyCallData', in accordance with changes to <xref target="RFC7852"/></t>
        </list>
        </t>
      </section>

      <section title="Changes from draft-gellens-00 to -01">
        <t>
        <list style="symbols">
            <t>Now using 'EmergencyCallData' for purpose parameter values and MIME subtypes, in accordance with changes to <xref target="RFC7852"/></t>
            <t>Added reference to RFC 6443</t>
            <t>Fixed bug that caused Figure captions to not appear</t>
        </list>
        </t>
      </section>
</section>

  </middle>
  <back>
    <references title="Normative References">
      &RFC2119;
      &RFC6881;
      &RFC7303;
      &RFC6838;
      &RFC5226;
      &RFC7852;
      &RFC6086;
      &I-D.ietf-ecrit-ecall;

    <reference anchor="VEDS" target="https://www.apcointl.org/resources/telematics/aacn-and-veds.html">
      <front>
       <title>Vehicular Emergency Data Set (VEDS) version 3</title>
       <author fullname="" initials="" surname="Advanced Automatic Crash Notification (AACN) Joint APCO/NENA Data Standardization Workgroup"> </author>
       <date year="2012" month="July"/>
      </front>
    </reference>


</references>

    <references title="Informative references">
      &RFC5012;
      &RFC5069;
      &RFC7378;
      &RFC6443;
      
      <reference anchor="triage-2008"
      target="https://stacks.cdc.gov/view/cdc/5304/">
        <front>
            <title>Recommendations from the Expert Panel: Advanced Automatic Collision Notification and Triage of the Injured Patient</title>
            <author fullname="" initials="" surname="National Center for Injury Prevention and Control"/>
            <author fullname="" initials="" surname="Centers for Disease Control and Prevention"/>
            <date year="2008"/>
        </front>
    </reference>
    
          <reference anchor="triage-2011"
 target="https://www.researchgate.net/journal/1545-8601_MMWR_Recommendations_and_reports_Morbidity_and_mortality_weekly_report_Recommendations_and_reports_Centers_for_Disease_Control">
        <front>
            <title>Guidelines for field triage of injured patients: recommendations of the National Expert Panel on Field Triage</title>
            <author fullname="" initials="" surname="National Center for Injury Prevention and Control"/>
            <author fullname="" initials="" surname="Centers for Disease Control and Prevention"/>
            <date year="2012" month="January"/>
        </front>
    </reference>
    
              <reference anchor="Bluetooth"
 target="https://https://www.bluetooth.com/specifications">
        <front>
            <title>Bluetooth Specifications</title>
            <author fullname="" initials="" surname="Bluetooth Special Interest Group"/>
            <date />
        </front>
    </reference>

 </references>

  </back>
</rfc>
