+
+# --- **Copyright Notification** ---
+
+No part may be reproduced except as authorized by written permission.
+The copyright and the foregoing restriction extend to reproduction in all media.
+
+© 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).
+All rights reserved.
+
+UMTS™ is a Trade Mark of ETSI registered for the benefit of its members
+3GPP™ is a Trade Mark of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners
+LTE™ is a Trade Mark of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners
+GSM® and the GSM logo are registered and owned by the GSM Association
+
+# Contents
+
+| | |
+|---------------------------------------------------------------------------------------------------------|----|
+| Foreword ..... | 8 |
+| 1 Scope..... | 9 |
+| 2 References..... | 9 |
+| 3 Definitions, symbols and abbreviations ..... | 13 |
+| 3.1 Definitions..... | 13 |
+| 3.2 Symbols..... | 14 |
+| 3.3 Abbreviations ..... | 14 |
+| 4 Architecture..... | 15 |
+| 4.1 Reference architecture..... | 15 |
+| 4.2 NAT Function ..... | 16 |
+| 4.3 ATCF/ATGW Function ..... | 17 |
+| 4.4 eP-CSCF/eIMS-AGW Function..... | 17 |
+| 5 Functional Requirements ..... | 18 |
+| 5.1 General ..... | 18 |
+| 5.2 Gate Control & Local NAT..... | 18 |
+| 5.3 IP realm indication and availability ..... | 18 |
+| 5.4 Remote NAT traversal support ..... | 19 |
+| 5.5 Remote Source Address/Port Filtering..... | 19 |
+| 5.6 Traffic Policing ..... | 19 |
+| 5.7 Hanging Termination Detection..... | 19 |
+| 5.8 QoS Packet Marking ..... | 20 |
+| 5.9 Handling of RTCP streams ..... | 20 |
+| 5.9.1 General ..... | 20 |
+| 5.9.2 RTP/RTCP transport multiplexing ..... | 21 |
+| 5.10 Media Inactivity Detection..... | 21 |
+| 5.11 IMS Media Plane Security ..... | 22 |
+| 5.11.1 General ..... | 22 |
+| 5.11.2 End-to-access-edge Security..... | 22 |
+| 5.11.2.1 End-to-access-edge security for RTP based media using SDES ..... | 22 |
+| 5.11.2.2 End-to-access-edge security for TCP based media using TLS..... | 23 |
+| 5.11.2.2.1 General ..... | 23 |
+| 5.11.2.2.2 e2ae security for session based messaging (MSRP) ..... | 24 |
+| 5.11.2.2.3 e2ae security for conferencing (BFCP)..... | 25 |
+| 5.11.2.3 End-to-access-edge security for UDP based media using DTLS ..... | 25 |
+| 5.11.2.3.1 General ..... | 25 |
+| 5.11.2.3.2 e2ae security for T.38 fax over UDP/UDPTL transport ..... | 25 |
+| 5.11.2.4 End-to-access-edge security for RTP based media using DTLS-SRTP ..... | 26 |
+| 5.11.2.5 End-to-access-edge security for RTP based voice and video media using DTLS-SRTP over TCP ..... | 27 |
+| 5.11.2.6 End-to-access-edge security for WebRTC data channels using UDP/DTLS/SCTP transport ..... | 28 |
+| 5.11.3 End-to-end Security ..... | 28 |
+| 5.11.3.1 End-to-end security for RTP based media..... | 28 |
+| 5.11.3.2 End-to-end security for TCP-based media using TLS..... | 28 |
+| 5.12 Explicit Congestion Notification support..... | 29 |
+| 5.12.1 General ..... | 29 |
+| 5.12.2 Incoming SDP offer with ECN..... | 29 |
+| 5.12.3 Incoming SDP offer without ECN ..... | 29 |
+| 5.12.4 Detection of ECN failures by IMS-AGW ..... | 29 |
+| 5.13 Transcoding..... | 30 |
+| 5.13.1 General ..... | 30 |
+| 5.13.2 Handling of common codec parameters ..... | 30 |
+| 5.13.3 Handling of the EVS speech codec ..... | 31 |
+| 5.13.4 Handling of the OPUS speech and audio codec for WebRTC ..... | 44 |
+| 5.14 Multimedia Priority Service (MPS) Support..... | 47 |
+| 5.15 Coordination of Video Orientation ..... | 48 |
+
+| | | |
+|------------|---------------------------------------------------------------------------------------------------------------------------------|----|
+| 5.16 | Generic image attributes..... | 49 |
+| 5.17 | TCP bearer connection control..... | 49 |
+| 5.17.1 | Stateless TCP handling..... | 49 |
+| 5.17.2 | State-aware TCP handling..... | 50 |
+| 5.17.2.1 | General..... | 50 |
+| 5.17.2.2 | State-aware TCP handling without support of modifying the TCP setup direction ..... | 50 |
+| 5.17.2.3 | State-aware TCP handling with support of modifying the TCP setup direction ..... | 51 |
+| 5.18 | Interactive Connectivity Establishment (ICE) ..... | 53 |
+| 5.18.1 | General ..... | 53 |
+| 5.18.2 | ICE lite..... | 53 |
+| 5.18.3 | Full ICE ..... | 55 |
+| 5.18.4 | STUN consent freshness for WebRTC..... | 57 |
+| 5.19 | MSRP handling ..... | 57 |
+| 5.19.1 | General ..... | 57 |
+| 5.19.2 | IMS-ALG procedures to support IETF RFC 6714 with application agnostic MSRP handling by the IMS-AGW ..... | 58 |
+| 5.19.3 | IMS-ALG procedures to support IETF draft-ietf-simple-msrp-sessmatch with application agnostic MSRP handling by the IMS-AGW..... | 58 |
+| 5.19.4 | IMS-ALG procedures for application aware MSRP interworking by the IMS-AGW ..... | 59 |
+| 5.19.5 | Application-aware MSRP interworking at the IMS-AGW ..... | 59 |
+| 5.19.6 | MSRP data channels..... | 59 |
+| 5.20 | Web Real-Time Communication (WebRTC) ..... | 60 |
+| 5.20.1 | General ..... | 60 |
+| 5.20.2 | WebRTC data channel..... | 61 |
+| 5.20.2.1 | General..... | 61 |
+| 5.20.2.2 | Data Channel Establishment..... | 61 |
+| 5.20.2.3 | Data Channel Release ..... | 66 |
+| 5.20.2.3.1 | General ..... | 66 |
+| 5.20.2.3.2 | Release of one WebRTC data channel..... | 67 |
+| 5.20.2.3.3 | Release of all or last active WebRTC data channels within an SCTP Association ..... | 68 |
+| 5.20.2.4 | MSRP within WebRTC data channel..... | 68 |
+| 5.20.2.5 | Void ..... | 69 |
+| 5.20.2.6 | T.140 within WebRTC data channel ..... | 69 |
+| 5.20.3 | Media Plane Optimization..... | 69 |
+| 5.20.3.1 | General..... | 69 |
+| 5.20.3.2 | WIC originating call ..... | 70 |
+| 5.20.3.3 | WIC terminating call ..... | 71 |
+| 5.21 | Alternate Connection (ALTC) Addresses Management ..... | 73 |
+| 5.21.1 | General ..... | 73 |
+| 5.22 | Video Region-of-Interest (ROI) ..... | 73 |
+| 5.22.1 | General ..... | 73 |
+| 5.22.2 | "Far End Camera Control" mode..... | 73 |
+| 5.22.3 | "Predefined ROI" mode ..... | 74 |
+| 5.22.4 | "Arbitrary ROI" mode ..... | 75 |
+| 5.23 | SDP Capability Negotiation (SDPCapNeg)..... | 75 |
+| 5.24 | RTP-level pause and resume..... | 76 |
+| 5.25 | RTCP Codec Control Commands and Indications..... | 77 |
+| 5.26 | Delay Budget Information (DBI) ..... | 78 |
+| 6 | IMS-ALG to IMS-AGW Procedures ..... | 79 |
+| 6.1 | Non-Call Related Procedures..... | 79 |
+| 6.1.1 | General ..... | 79 |
+| 6.1.2 | IMS-AGW Unavailable..... | 79 |
+| 6.1.3 | IMS-AGW Available..... | 80 |
+| 6.1.4 | IMS-AGW Recovery..... | 81 |
+| 6.1.5 | IMS-ALG Recovery ..... | 81 |
+| 6.1.5.1 | General..... | 81 |
+| 6.1.5.2 | IMS-ALG Restoration ..... | 82 |
+| 6.1.6 | IMS-AGW Re-register ..... | 82 |
+| 6.1.7 | IMS-AGW Re-registration Ordered by IMS-ALG ..... | 83 |
+| 6.1.8 | Audit of IMS-AGW..... | 83 |
+| 6.1.8.1 | Audit of Value ..... | 83 |
+
+| | | |
+|----------------|-------------------------------------------------------------------------------------------------------------------|-----|
+| 6.1.8.2 | Audit of Capability ..... | 84 |
+| 6.1.9 | IMS-AGW Capability Change ..... | 84 |
+| 6.1.10 | IMS-ALG Out of service ..... | 84 |
+| 6.1.11 | IMS-AGW Resource Congestion Handling - Activate ..... | 85 |
+| 6.1.12 | MGW Resource Congestion Handling -Indication ..... | 85 |
+| 6.1.13 | Control association monitoring ..... | 85 |
+| 6.1.14 | Realm Availability Monitoring ..... | 86 |
+| 6.1.15 | Failure of IP Port, Interface or Group of Interfaces ..... | 87 |
+| 6.2 | Call Related Procedures ..... | 87 |
+| 6.2.1 | Gate Control & Local NA(P)T procedure ..... | 87 |
+| 6.2.2 | IP realm indication procedure..... | 90 |
+| 6.2.3 | Remote NA(P)T traversal support procedure..... | 90 |
+| 6.2.4 | Remote Source Address/Port Filtering..... | 90 |
+| 6.2.5 | Traffic Policing..... | 91 |
+| 6.2.6 | Hanging Termination Detection..... | 91 |
+| 6.2.7 | QoS Packet Marking..... | 92 |
+| 6.2.8 | Media Inactivity Detection..... | 92 |
+| 6.2.9 | Handling of RTCP streams..... | 93 |
+| 6.2.10 | IMS end-to-access-edge Media Plane Security ..... | 93 |
+| 6.2.10.1 | General ..... | 93 |
+| 6.2.10.2 | End-to-access-edge security for RTP based media using SDES ..... | 93 |
+| 6.2.10.3 | End-to-access-edge security for TCP-based media using TLS ..... | 93 |
+| 6.2.10.3.1 | End-to-access-edge security for session based messaging (MSRP) ..... | 93 |
+| 6.2.10.3.1.1 | IMS UE originating procedures for e2ae..... | 93 |
+| 6.2.10.3.1.1.1 | Incoming TCP bearer establishment triggers an outgoing TCP bearer establishment ..... | 93 |
+| 6.2.10.3.1.1.2 | IMS-ALG requests sending an outgoing TCP bearer establishment..... | 96 |
+| 6.2.10.3.1.2 | IMS UE terminating procedures for e2ae..... | 98 |
+| 6.2.10.3.1.2.1 | Incoming TCP bearer establishment triggers an outgoing TCP bearer establishment ..... | 98 |
+| 6.2.10.3.1.2.2 | IMS-ALG requests sending an outgoing TCP bearer establishment..... | 101 |
+| 6.2.10.3.2 | End-to-access-edge security for conferencing (BFCP) ..... | 103 |
+| 6.2.10.3.2.1 | IMS UE originating procedures for e2ae..... | 103 |
+| 6.2.10.3.2.1.1 | Incoming TCP bearer establishment triggers an outgoing TCP bearer establishment ..... | 103 |
+| 6.2.10.3.2.2 | IMS UE terminating procedures for e2ae..... | 106 |
+| 6.2.10.3.2.2.1 | Incoming TCP bearer establishment triggers an outgoing TCP bearer establishment ..... | 106 |
+| 6.2.10.4 | End-to-access-edge security for UDP based media using DTLS ..... | 109 |
+| 6.2.10.4.1 | General ..... | 109 |
+| 6.2.10.4.2 | Session establishment from IMS access network for T.38 fax using "UDP/TLS/UDPTL" ..... | 109 |
+| 6.2.10.4.3 | Session establishment towards IMS access network for T.38 fax using "UDP/TLS/UDPTL" ..... | 112 |
+| 6.2.10.4.4 | IMS-AGW procedure for e2ae security of T.38 fax using "UDP/TLS/UDPTL" ..... | 114 |
+| 6.2.10.4.5 | DTLS session establishment failure indication..... | 114 |
+| 6.2.10.5 | End-to-access-edge security for RTP based media using DTLS-SRTP ..... | 115 |
+| 6.2.10.6 | End-to-access-edge security for WebRTC data channels using SCTP-over-DTLS transport..... | 119 |
+| 6.2.10.6.1 | General ..... | 119 |
+| 6.2.10.6.2 | Call flow for data channel establishment from WIC towards IMS access network and MSRP session establishment ..... | 119 |
+| 6.2.10A | IMS end-to-end Media Plane Security ..... | 122 |
+| 6.2.10A.1 | End-to-end security for RTP based media using SDES ..... | 122 |
+| 6.2.10A.2 | End-to-end security for TCP-based media using TLS..... | 122 |
+| 6.2.11 | Change Through-Connection ..... | 122 |
+| 6.2.12 | Emergency Calls..... | 122 |
+| 6.2.13 | Explicit Congestion Notification support..... | 122 |
+| 6.2.13.1 | General ..... | 122 |
+| 6.2.13.2 | ECN Active Indicated (ECN transparent) ..... | 122 |
+| 6.2.13.3 | ECN support requested (ECN endpoint) ..... | 123 |
+| 6.2.13.4 | ECN Failure Indication (ECN endpoint) ..... | 123 |
+| 6.2.14 | Access Transfer procedures with media anchored in IMS-AGW (ATGW) ..... | 124 |
+| 6.2.14.1 | General ..... | 124 |
+| 6.2.14.2 | H.248 context model..... | 124 |
+| 6.2.14.3 | PS session origination or termination with media anchoring in IMS-AGW (ATGW) signaling procedures..... | 126 |
+| 6.2.14.4 | PS to CS Access Transfer procedure with media anchored in IMS-AGW (ATGW) ..... | 128 |
+
+| | | |
+|------------|--------------------------------------------------------------------------------------------------|-----|
+| 6.2.14.5 | ECN support during PS to CS Access Transfer procedure with media anchored in IMS-AGW (ATGW)..... | 129 |
+| 6.2.14.6 | Support of generic image attributes ..... | 130 |
+| 6.2.14.6.1 | General ..... | 130 |
+| 6.2.14.6.2 | Indication of generic image attributes..... | 131 |
+| 6.2.14.7 | Handling of common codec parameters ..... | 131 |
+| 6.2.14.8 | EVS speech codec support..... | 132 |
+| 6.2.15 | Multimedia Priority Congestion Control Procedures ..... | 144 |
+| 6.2.15.1 | General..... | 144 |
+| 6.2.15.2 | IMS-AGW Resource Congestion in ADD response, request is queued..... | 144 |
+| 6.2.15.3 | IMS-AGW Resource Congestion in ADD response, IMS-ALG seizes new IMS-AGW ..... | 145 |
+| 6.2.15.4 | IMS-AGW Priority Resource Allocation ..... | 145 |
+| 6.2.15.5 | IMS-AGW Priority User Data marking..... | 146 |
+| 6.2.15.6 | IMS-AGW Priority Modification ..... | 146 |
+| 6.2.16 | Coordination of Video Orientation..... | 147 |
+| 6.2.17 | Procedures for Interactive Connectivity Establishment (ICE) ..... | 148 |
+| 6.2.17.1 | ICE lite ..... | 148 |
+| 6.2.17.2 | Full ICE..... | 148 |
+| 6.2.17.3 | Connectivity check result notification (full ICE) ..... | 149 |
+| 6.2.17.4 | New peer reflexive candidate notification (full ICE) ..... | 149 |
+| 6.2.17.5 | STUN consent freshness test ..... | 150 |
+| 6.2.17.6 | STUN Consent Freshness Test Failure Notification..... | 151 |
+| 6.2.18 | TCP bearer connection control..... | 151 |
+| 6.2.18.1 | General..... | 151 |
+| 6.2.18.2 | Stateless TCP handling..... | 151 |
+| 6.2.18.3 | State-aware TCP handling without support of modifying the TCP setup direction ..... | 151 |
+| 6.2.18.4 | State-aware TCP handling with support of modifying the TCP setup direction ..... | 151 |
+| 6.2.19 | Application-aware MSRP interworking at the IMS-AGW ..... | 153 |
+| 6.2.20 | Alternate Connection (ALTC) Addresses Management ..... | 154 |
+| 6.2.21 | Video Region-of-Interest (ROI) ..... | 156 |
+| 6.2.21.1 | Video Region-of-Interest (ROI) using FECC ..... | 156 |
+| 6.2.21.2 | "Predefined ROI" mode ..... | 157 |
+| 6.2.21.3 | "Arbitrary ROI" mode..... | 158 |
+| 6.2.22 | WebRTC..... | 159 |
+| 6.2.22.1 | Establishment of a WebRTC data channel ..... | 159 |
+| 6.2.22.2 | Release of a WebRTC data channel ..... | 159 |
+| 6.2.22.3 | Media Plane Optimization ..... | 161 |
+| 6.2.22.3.1 | Media Plane Optimization including DTLS layer for WIC originating call..... | 161 |
+| 6.2.22.3.2 | Media Plane Optimization excluding DTLS layer for WIC originating call ..... | 163 |
+| 6.2.23 | RTP-level pause and resume ..... | 165 |
+| 6.2.24 | RTCP Codec Control Commands and Indications ..... | 165 |
+| 6.2.25 | Delay Budget Information (DBI) ..... | 166 |
+| 7 | Charging..... | 167 |
+| 8 | Messages/Procedures and Contents ..... | 168 |
+| 8.1 | General ..... | 168 |
+| 8.2 | Reserve and Configure AGW Connection Point..... | 169 |
+| 8.3 | Reserve AGW Connection Point Procedure ..... | 177 |
+| 8.4 | Configure AGW Connection Point Procedure ..... | 183 |
+| 8.5 | Release AGW Termination ..... | 190 |
+| 8.6 | Termination heartbeat indication ..... | 190 |
+| 8.7 | IMS-AGW Out-of-Service ..... | 191 |
+| 8.8 | IMS-AGW Communication Up ..... | 191 |
+| 8.9 | IMS-AGW Restoration ..... | 192 |
+| 8.10 | IMS-AGW Register..... | 192 |
+| 8.11 | IMS-ALG Restoration..... | 193 |
+| 8.12 | IMS-AGW Re-register ..... | 193 |
+| 8.13 | IMS-ALG Ordered Re-registration ..... | 194 |
+| 8.14 | Audit Value ..... | 194 |
+| 8.15 | Audit Capability ..... | 195 |
+| 8.16 | Capability Update..... | 195 |
+
+| | | |
+|---------------------------------------------------|--------------------------------------------------------------|------------|
+| 8.17 | IMS-ALG Out of Service ..... | 196 |
+| 8.18 | IMS-AGW Resource Congestion Handling - Activate ..... | 196 |
+| 8.19 | IMS-AGW Resource Congestion Handling - Indication ..... | 197 |
+| 8.20 | Inactivity Timeout Activate ..... | 197 |
+| 8.21 | Inactivity Timeout Notification..... | 198 |
+| 8.22 | Command Reject..... | 198 |
+| 8.23 | Realm Availability Activate..... | 199 |
+| 8.24 | Realm Availability Notification ..... | 199 |
+| 8.25 | IP Bearer Released ..... | 200 |
+| 8.26 | Media Inactivity Notification ..... | 200 |
+| 8.27 | Termination Out-of-Service ..... | 201 |
+| 8.28 | Change Through-Connection ..... | 201 |
+| 8.29 | Change Flow Direction ..... | 202 |
+| 8.30 | ECN Failure Indication ..... | 202 |
+| 8.31 | Notify (D)TLS session establishment Failure Indication..... | 203 |
+| 8.32 | Notify TCP connection establishment Failure Indication ..... | 203 |
+| 8.33 | ICE Connectivity Check Result Notification ..... | 204 |
+| 8.34 | ICE New Peer Reflexive Candidate Notification..... | 204 |
+| 8.35 | STUN Consent Freshness Test Failure Notification ..... | 205 |
+| 8.36 | Notify SCTP Stream Reset..... | 205 |
+| 8.37 | Notify SCTP Stream Reset Result ..... | 206 |
+| Annex A (informative): Change history..... | | 207 |
+
+# Foreword
+
+This Technical Specification has been produced by the 3rd Generation Partnership Project (3GPP).
+
+The contents of the present document are subject to continuing work within the TSG and may change following formal TSG approval. Should the TSG modify the contents of the present document, it will be re-released by the TSG with an identifying change of release date and an increase in version number as follows:
+
+Version x.y.z
+
+where:
+
+- x the first digit:
+ - 1 presented to TSG for information;
+ - 2 presented to TSG for approval;
+ - 3 or greater indicates TSG approved document under change control.
+- y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections, updates, etc.
+- z the third digit is incremented when editorial only changes have been incorporated in the document.
+
+In the present document, modal verbs have the following meanings:
+
+- shall** indicates a mandatory requirement to do something
+- shall not** indicates an interdiction (prohibition) to do something
+
+The constructions "shall" and "shall not" are confined to the context of normative provisions, and do not appear in Technical Reports.
+
+The constructions "must" and "must not" are not used as substitutes for "shall" and "shall not". Their use is avoided insofar as possible, and they are not used in a normative context except in a direct citation from an external, referenced, non-3GPP document, or so as to maintain continuity of style when extending or modifying the provisions of such a referenced document.
+
+- should** indicates a recommendation to do something
+- should not** indicates a recommendation not to do something
+- may** indicates permission to do something
+- need not** indicates permission not to do something
+
+The construction "may not" is ambiguous and is not used in normative elements. The unambiguous constructions "might not" or "shall not" are used instead, depending upon the meaning intended.
+
+- can** indicates that something is possible
+- cannot** indicates that something is impossible
+
+The constructions "can" and "cannot" are not substitutes for "may" and "need not".
+
+- will** indicates that something is certain or expected to happen as a result of action taken by an agency the behaviour of which is outside the scope of the present document
+- will not** indicates that something is certain or expected not to happen as a result of action taken by an agency the behaviour of which is outside the scope of the present document
+- might** indicates a likelihood that something will happen as a result of action taken by some agency the behaviour of which is outside the scope of the present document
+
+**might not** indicates a likelihood that something will not happen as a result of action taken by some agency the behaviour of which is outside the scope of the present document
+
+In addition:
+
+**is** (or any other verb in the indicative mood) indicates a statement of fact
+
+**is not** (or any other negative verb in the indicative mood) indicates a statement of fact
+
+The constructions "is" and "is not" do not indicate requirements.
+
+# 1 Scope
+
+Annex G of 3GPP TS 23.228 [2] gives out an IMS Application Level Gateway (IMS-ALG) and IMS Access Media Gateway (IMS-AGW) based reference model to support NAT-P-T, gate control and traffic policing between IP-CAN and IMS domain.
+
+
+
+Figure 1.1: Scope of the specification. A diagram showing the network architecture for the Iq reference point. On the left, a UE (User Equipment) is connected to an IP-CAN (IP Connectivity Access Network). The IP-CAN is connected to a NAT (Network Address Translation) box. A dashed line labeled 'Gm' represents the IP signalling-path between the UE and the P-CSCF (PDN Connectivity Session Control Function). The P-CSCF contains an IMS-ALG (IMS Application Level Gateway). A bold horizontal line labeled 'Media' represents the IP media-path, passing through the NAT box and into the IMS Access Gateway. The IMS Access Gateway is connected to the IM CN domain (IMS Core Network domain). A vertical line labeled 'Iq' represents the control-path between the IMS-ALG and the IMS Access Gateway. A dashed box labeled 'Scope of this specification' encloses the P-CSCF (IMS-ALG) and the IMS Access Gateway.
+
+**Figure 1.1: Scope of the specification**
+
+Figure 1.1 illustrates the reference model for Iq:
+
+- the dashed line represents the IP signalling-path with SIP (at Gm) as call/session control protocol between the UE and the P-CSCF (IMS-ALG);
+- the bold, horizontal line represents the IP media-path (also known as (IP) bearer-path or (IP) data-path; the notion 'media' is used as generic term for "IP application data"); and
+- the vertical line represents the Iq control-path with H.248 as gateway/policy control protocol between the IMS-ALG and the IMS-AGW (H.248 messages are transported over IP).
+
+The Iq reference point is between the P-CSCF (IMS-ALG) and the IMS-AGW. It conveys the necessary information that is needed to allocate, modify and release (IP) transport addresses.
+
+The present document defines the stage 2 description for the Iq reference point. The stage 2 shall cover the information flow between the P-CSCF (IMS-ALG) and IMS-AGW. The protocol used over the Iq interface is the gateway control protocol according ITU-T Recommendation H.248 (which is specified for Iq by an H.248 profile according 3GPP TS 29.334 [3]).
+
+# 2 References
+
+The following documents contain provisions which, through reference in this text, constitute provisions of the present document.
+
+- References are either specific (identified by date of publication, edition number, version number, etc.) or non-specific.
+ - For a specific reference, subsequent revisions do not apply.
+ - For a non-specific reference, the latest version applies. In the case of a reference to a 3GPP document (including a GSM document), a non-specific reference implicitly refers to the latest version of that document *in the same Release as the present document*.
+- [1] 3GPP TR 21.905: "Vocabulary for 3GPP Specifications".
+- [2] 3GPP TS 23.228: "IP Multimedia Subsystem (IMS), stage 2".
+- [3] 3GPP TS 29.334: "IMS Application Level Gateway (IMS-ALG) – IMS Access Gateway (IMS-AGW) Iq interface, stage 3".
+- [4] IETF RFC 2663: "IP Network Address Translator (NAT) Terminology and Considerations".
+- [5] 3GPP TS 32.260: "Telecommunication management; Charging management; IP Multimedia Subsystem (IMS) charging".
+- [6] IETF RFC 3556: "Session Description Protocol (SDP) Bandwidth Modifiers for RTP Control Protocol (RTCP) Bandwidth".
+- [7] IETF RFC 3605: "Real Time Control Protocol (RTCP) attribute in Session Description Protocol (SDP)".
+- [8] 3GPP TS 23.205: "Bearer independent circuit-switched core network; Stage 2".
+- [9] ITU-T Recommendation H.248.1 (05/2002): "Gateway Control Protocol: Version 2" including the Corrigendum1 for Version 2 (03/04).
+- [10] IETF RFC 2216: "Network Element Service Template".
+- [11] 3GPP TS 24.229: "IP Multimedia Call Control Protocol based on SIP and SDP".
+- [12] 3GPP TS 33.328: "IMS Media Plane Security".
+- [13] IETF RFC 4568: "Session Description Protocol (SDP) Security Descriptions for Media Streams".
+- [14] IETF RFC 3711: "The Secure Real-time Transport Protocol (SRTP)".
+- [15] IETF RFC 5124: "Extended Secure RTP Profile for Real-time Transport Control Protocol (RTCP)-Based Feedback (RTP/SAVPF)".
+- [16] IETF RFC 3168: "The Addition of Explicit Congestion Notification (ECN) to IP".
+- [17] IETF RFC 6679: "Explicit Congestion Notification (ECN) for RTP over UDP".
+- [18] 3GPP TS 23.237: "IP Multimedia subsystem (IMS) Service Continuity; Stage 2".
+- [19] 3GPP TS 24.237: "IP Multimedia subsystem (IMS) Service Continuity; Stage 3".
+- [20] 3GPP TS 29.162: "Interworking between the IM CN subsystem and IP networks".
+- [21] 3GPP TS 26.114: "IP Multimedia Subsystem (IMS); Multimedia Telephony; Media handling and interaction".
+- [22] 3GPP TS 22.153: "Multimedia Priority Service".
+- [23] IETF RFC 5285: "A General Mechanism for RTP Header Extensions".
+- [24] IETF RFC 6236: "Negotiation of Generic Image Attributes in the Session Description Protocol (SDP)".
+- [25] IETF RFC 4975: "The Message Session Relay Protocol (MSRP)".
+
+- [26] IETF RFC 6714: "Connection Establishment for Media Anchoring (CEMA) for the Message Session Relay Protocol (MSRP)".
+- [27] IETF RFC 4583: "Session Description Protocol (SDP) Format for Binary Floor Control Protocol (BFCP) Streams".
+- [28] IETF RFC 5246: "The Transport Layer Security (TLS) Protocol Version 1.2".
+- [29] IETF RFC 793: "Transmission Control Protocol – DARPA Internet Program – Protocol Specification".
+- [30] IETF RFC 4145: "TCP-Based Media Transport in the Session Description Protocol (SDP)".
+- [31] IETF RFC 4582: "The Binary Floor Control Protocol (BFCP)".
+- [32] IETF RFC 6347: "Datagram Transport Layer Security Version 1.2".
+- [33] IETF RFC 7345: "UDP Transport Layer (UDPTL) over Datagram Transport Layer Security (DTLS)".
+- [34] IETF draft-schwarz-mmusic-sdp-for-gw-05: "SDP codepoints for gateway control".
+
+**Editor's note:** The above document cannot be formally referenced until it is published as an RFC.
+
+- [35] GSM Association RCC.07: "Rich Communication Suite 5.1 Advanced Communications Services and Client Specification, Version 2.0, 03 May 2013".
+- [36] GSM Association RCC.07: "Rich Communication Suite 5.1 Advanced Communications Services and Client Specification, Version 3.0, 25 September 2013".
+- [37] Void.
+- [38] ITU-T Recommendation H.248.84 (07/2012): "Gateway control protocol: NAT-traversal for peer-to-peer services".
+- [39] IETF RFC 5245: "Interactive Connectivity Establishment (ICE): A Protocol for Network Address Translator (NAT) Traversal for Offer/Answer Protocols".
+- [40] IETF RFC 5389: "Session Traversal Utilities for NAT (STUN)".
+- [41] IETF RFC 5766: "Traversal Using Relays around NAT (TURN): Relay Extensions to Session Traversal Utilities for NAT (STUN)".
+- [42] IETF RFC 5763: "Framework for Establishing a Secure Real-time Transport Protocol (SRTP) Security Context Using Datagram Transport Layer Security (DTLS)".
+- [43] IETF RFC 5764: "Datagram Transport Layer Security (DTLS) Extension to Establish Keys for the Secure Real-time Transport Protocol (SRTP)".
+- [44] 3GPP TS 24.371: "Web Real-Time Communications (WebRTC) client access to the IP Multimedia (IM) Core Network (CN) subsystem; Protocol specification".
+- [45] IETF RFC 6135: "An Alternative Connection Model for the Message Session Relay Protocol (MSRP)".
+- [46] OMA-TS-CPM\_Conversation\_Function-V2\_0-20150113-C: "CPM Conversation Functions, Candidate Version 2.0 – 13 Jan 2015".
+- [47] IETF RFC 5746: "Transport Layer Security (TLS) Renegotiation Indication Extension".
+- [48] 3GPP TS 33.310: "Network Domain Security (NDS); Authentication Framework (AF)".
+- [49] IETF RFC 7675: "Session Traversal Utilities for NAT (STUN) Usage for Consent Freshness".
+- [50] IETF RFC 6716: "Definition of the Opus Audio Codec".
+- [51] 3GPP TS 26.441: "Codec for Enhanced Voice Services (EVS); General Overview".
+
+- [52] 3GPP TS 26.445: "Codec for Enhanced Voice Services (EVS); Detailed Algorithmic Description".
+- [53] IETF RFC 4566: "SDP: Session Description Protocol".
+- [54] IETF RFC 4867: "RTP Payload Format and File Storage Format for the Adaptive Multi-Rate (AMR) and Adaptive Multi-Rate Wideband (AMR-WB) Audio Codecs".
+- [55] IETF RFC 4566: "SDP: Session Description Protocol".
+- [56] IETF RFC 7587: "RTP Payload Format for the Opus Speech and Audio Codec".
+- [57] IETF RFC 6544: "TCP Candidates with Interactive Connectivity Establishment (ICE)".
+- [58] IETF RFC 4571: "Framing Real-time Transport Protocol (RTP) and RTP Control Protocol (RTCP) Packets over Connection-Oriented Transport".
+- [59] IETF RFC 6947: "The Session Description Protocol (SDP) Alternate Connectivity (ALTC) Attribute".
+- [60] IETF RFC 5761: "Multiplexing RTP Data and Control Packets on a Single Port".
+- [61] IETF RFC 8831: "WebRTC Data Channels".
+- [62] IETF RFC 8873: "Message Session Relay Protocol (MSRP)".
+- [63] IETF RFC 4960: "Stream Control Transmission Protocol".
+- [64] IETF RFC 8841: "Session Description Protocol (SDP) Offer/Answer Procedures for Stream Control Transmission Protocol (SCTP) over Datagram Transport Layer Security (DTLS) Transport".
+- [65] IETF RFC 8864: "Negotiation Data Channels Using the Session Description Protocol (SDP)".
+- [66] IETF RFC 5939: "Session Description Protocol (SDP) Capability Negotiation".
+- [67] IETF RFC 6871: "Session Description Protocol (SDP) Media Capabilities Negotiation".
+- [68] IETF RFC 4573: "MIME Type Registration for RTP Payload Format for H.224".
+- [69] ITU-T Recommendation H.224 (01/2005): "A real time control protocol for simplex applications using the H.221 LSD/HSD/MLP channels".
+- [70] ITU-T Recommendation H.281 (11/1994): "A far end camera control protocol for videoconferences using H.224".
+- [71] IETF RFC 8858: "Indicating Exclusive Support of RTP and RTP Control Protocol (RTCP) Multiplexing Using the Session Description Protocol (SDP)".
+- [72] IETF RFC 8035: "Session Description Protocol (SDP) Offer/Answer Clarifications for RTP/RTCP Multiplexing".
+- [73] ITU-T Recommendation T.140 (02/98): "Text conversation presentation protocol".
+- [74] IETF RFC 4103: "RTP Payload for Text Conversation".
+- [75] IETF RFC 8865: "T.140 Real-Time Text Conversation over WebRTC Data Channels".
+- [76] Void.
+- [77] IETF RFC 4585: "Extended RTP Profile for Real-time Transport Control Protocol (RTCP)-Based Feedback (RTP/AVPF)".
+- [78] IETF RFC 5104: "Codec Control Messages in the RTP Audio-Visual Profile with Feedback (AVPF)".
+- [79] IETF RFC 7728: "RTP Stream Pause and Resume".
+
+- [80] IETF RFC 8122: "Connection-Oriented Media Transport over the Transport Layer Security (TLS) Protocol in the Session Description Protocol (SDP)".
+- [81] IETF RFC 8842: "Session Description Protocol (SDP) Offer/Answer Considerations for Datagram Transport Layer Security (DTLS) and Transport Layer Security (TLS)".
+
+# --- 3 Definitions, symbols and abbreviations
+
+## 3.1 Definitions
+
+For the purposes of the present document, the terms and definitions given in TR 21.905 [1] and the following apply. A term defined in the present document takes precedence over the definition of the same term, if any, in TR 21.905 [1].
+
+**End-to-access edge security:** media protection extending between an IMS UE and the first IMS core network node in the media path without being terminated by any intermediary node.
+
+**End-to-end security:** media protection between two IMS UEs without being terminated by any intermediary node.
+
+**Full ICE:** The full implementation of the Interactive Connectivity Establishment (ICE) specified in IETF RFC 5245 [39].
+
+**ICE lite:** The lite implementation of the Interactive Connectivity Establishment (ICE) specified in IETF RFC 5245 [39].
+
+**Local (near-end) NAPT control:** the operation of providing network address mapping information and NAPT policy rules to a near-end NAT in the media flow.
+
+**NAT-PT/NAPT-PT:** see definition in 3GPP TS 23.228 [2].
+
+**NAPT control and NAT traversal:** controls network address translation for both near-end NA(P)T and far-end NA(P)T
+
+**Network Address Translation (NA(P)T):** see definition in 3GPP TS 23.228 [2].
+
+**Remote (far-end) NAT traversal:** the operation of adapting the IP addresses so that the packets in the media flow can pass through a far-end (remote) NAT.
+
+**RTP / RTCP transport multiplexing:** a single IP transport (L4) port for RTP and RTCP packets.
+
+**TLS-client:** the entity that initiates a TLS session establishment to a server (see IETF RFC 5246 [28]).
+
+**TLS-server:** the entity that responds to requests for TLS session establishment from clients (see IETF RFC 5246 [28]).
+
+**TLS endpoint:** either a TLS-client or a TLS-server.
+
+### **Convention:**
+
+Wherever the **term NAT** is used in this specification, it may be replaced by **NA(P)T** or **NA(P)T-PT**.
+
+For the purposes of the present document, the following terms and definitions given in 3GPP TS 23.237 [18] apply:
+
+- Access Leg**
+- Access Transfer Control Function (ATCF)**
+- Access Transfer Gateway (ATGW)**
+- Remote Leg**
+- Target Access Leg**
+- Source Access Leg**
+
+## 3.2 Symbols
+
+For the purposes of the present document, the following symbols apply:
+
+Iq Interface between the IMS Application Level Gateway and the IMS Access Media Gateway
+
+## 3.3 Abbreviations
+
+For the purposes of the present document, the abbreviations given in TR 21.905 [1] and the following apply. An abbreviation defined in the present document takes precedence over the definition of the same abbreviation, if any, in TR 21.905 [1].
+
+| | |
+|---------------|-------------------------------------------------------------------------------|
+| ALTC | Alternate Connectivity |
+| AMR | Adaptive Multi-Rate |
+| AMR-WB | Adaptive Multi-Rate - WideBand |
+| AMR-WB IO | Adaptive Multi-Rate - WideBand Inter-operable Mode, included in the EVS codec |
+| APP | APplication-defined RTCP packet |
+| ATCF | Access Transfer Control Function |
+| ATGW | Access Transfer Gateway |
+| BFCP | Binary Floor Control Protocol |
+| CCM | Codec Control Messages |
+| CVO | Coordination of Video Orientation |
+| DBI | Delay Budget Information |
+| DC | Data Channel |
+| DTLS | Datagram Transport Layer Security |
+| DTX | Discontinuous Transmission |
+| e2ae security | End-to-access-edge security |
+| e2e security | End-to-end security |
+| ECN | Explicit Congestion Notification |
+| ECN-CE | ECN Congestion Experienced |
+| eIMS-AGW | IMS Access Gateway enhanced for WebRTC |
+| eP-CSCF | P-CSCF enhanced for WebRTC |
+| EVS | Enhanced Voice Services |
+| FECC | Far End Camera Control |
+| FIR | Full Intra Request |
+| GTT | Global Text Telephony |
+| ICE | Interactive Connectivity Establishment |
+| IMS-AGW | IMS Access Media Gateway |
+| IMS-ALG | IMS Application Level Gateway |
+| IM CN | IMS Core Network |
+| MSRP | Message Session Relay Protocol |
+| MTSI | Multimedia Telephony Service for IMS |
+| NA(P)T | Network Address and optional Port Translation |
+| NAPT | Network Address Port Translation |
+| NAT | Network Address Translation |
+| NA(P)T-PT | NAT Address (and optional Port-) Translation and Protocol Translation |
+| P-CSCF | Proxy-CSCF |
+| ROI | Region of Interest |
+| RTCP | RTP Control Protocol |
+| RTP | Real-time Transport Protocol |
+| SDPCapNeg | SDP Capability Negotiation |
+| SRTP | Secure Real-time Transport Protocol |
+| SRVCC | Single Radio Voice Call Continuity |
+| STUN | Session Traversal Utilities for NAT |
+| TLS | Transport Layer Security |
+| TMMBN | Temporary Maximum Media Stream Bit Rate Notification |
+| TMMBR | Temporary Maximum Media Stream Bit Rate Request |
+| TURN | Traversal Using Relay NAT |
+| UDPTL | User Datagram Protocol Transport Layer |
+| URN | Uniform Resource Name |
+| WebRTC | Web Real-Time Communication |
+| WIC | WebRTC IMS Client |
+
+# 4 Architecture
+
+## 4.1 Reference architecture
+
+The reference architecture for the IMS-ALG and the IMS-AGW when NAT is invoked between the UE and the IMS domain is shown in figure 4.1.1 below.
+
+
+
+Figure 4.1.1: Reference Architecture with NAT invoked between the UE and the IMS domain. The diagram shows a UE connected to an IP-CAN, which is connected to a NAT device. The NAT device is connected to an IMS Access Gateway (IMS-AGW) via a Media Access domain. The IMS-AGW is connected to a P-CSCF via an Iq interface. The P-CSCF contains an IMS-ALG. The IMS-ALG is connected to an IMS I/S-CSCF SCC AS via Mw/Mx interfaces. A Gm interface is shown between the UE and the P-CSCF, passing through the NAT device.
+
+**Figure 4.1.1: Reference Architecture with NAT invoked between the UE and the IMS domain**
+
+See 3GPP TS 23.228 [2] Annexes G.1 and G.2 for a comprehensive description of the reference models.
+
+The reference architecture for the IMS-ALG and the IMS-AGW supporting the ATCF/ATGW function is shown in figure 4.1.2 below.
+
+
+
+Figure 4.1.2: Reference Architecture for IMS-ALG/IMS-AGW with ATCF/ATGW function. The diagram shows a UE connected to a CS access (via an MSC Server) and an IP-CAN (via an MGW). The MSC Server is connected to a P-CSCF (containing an IMS-ALG (ATCF)) via Mw/12 interfaces. The MGW is connected to an IMS-AGW (ATGW) via a Media Access domain. The IMS-AGW is connected to the P-CSCF via an Iq interface. The P-CSCF is connected to an IMS I/S-CSCF SCC AS via Mw/Mx interfaces. Red arrows indicate 'Access Transfer' from the MGW to the IMS-ALG (ATCF) and from the IMS-AGW (ATGW) to the IMS-ALG (ATCF). A Gm interface is shown between the UE and the P-CSCF, passing through the NAT device.
+
+**Figure 4.1.2: Reference Architecture for IMS-ALG/IMS-AGW with ATCF/ATGW function**
+
+See 3GPP TS 23.237 [18] clause 5.2 for a comprehensive description of the reference model.
+
+The reference architecture for the IMS-ALG and IMS-AGW supporting Interactive Connectivity Establishment (ICE) is shown in figure 4.1.3, for the case when both the signalling and media traverses NAT devices. There might be an ICE process towards access network domain and/or an ICE process towards core network domain. Both ICE processes are independent of each other. The network entities that support Session Traversal Utilities for NAT (STUN) and Traversal Using Relays NAT (TURN) are described in IETF RFC 5389 [40] and IETF RFC 5766 [41] respectively.
+
+
+
+Figure 4.1.3: Reference architecture for ICE. This diagram shows a User Equipment (UE) connected to a NAT/FW. The UE contains an 'Outbound support' block and an 'ICE support' block with a 'STUN Client/Server'. The NAT/FW is connected to a 'TURN server' and a 'STUN Server'. The 'TURN server' and 'STUN Server' are connected to a 'Media in access domain' circle. This circle is connected to a 'P-CSCF' block which contains 'IMS-ALG (ATCF)' and 'ICE support' blocks. The 'P-CSCF' is connected to an 'IMS I/S-CSCF SCC AS' via an 'Mw/Mx' interface. The 'P-CSCF' is also connected to an 'IMS-AGW (ATGW)' block via an 'Iq' interface. The 'IMS-AGW (ATGW)' contains 'STUN Client/Server' blocks and is connected to a 'Media in CN domain' circle.
+
+NOTE 1: If the IMS-AGW only supports ICE lite, it will only contain a STUN server.
+
+NOTE 2: The IMS-AGW and IMS-ALG may support ICE only towards the served UE, and will then only contain a STUN client/server and ICE support on related terminations.
+
+NOTE 3: The TURN server is a deployment option but not required for all ICE deployments.
+
+NOTE 4: The separate STUN server is used by the served UE while it gathers ICE candidates. The STUN server in the IMS-AGW is used to answer ICE connectivity checks.
+
+**Figure 4.1.3: Reference architecture for ICE**
+
+The reference architecture for the P-CSCF enhanced for WebRTC (eP-CSCF) and the IMS-AGW enhanced for WebRTC (eIMS-AGW) to support WebRTC client access to IMS is shown in figure 4.1.4 as below, see Annex U in 3GPP TS 23.228 [2] for a comprehensive description of the reference model.
+
+
+
+Figure 4.1.4: Reference Architecture for eP-CSCF/eIMS-AGW supporting WebRTC access to IMS. This diagram shows a UE connected to a NAT/P-CAN/PCEF block. The UE contains a 'WIC' block. The NAT/P-CAN/PCEF block is connected to a 'WWSF' block via a 'W1' interface. The 'WWSF' block is connected to a 'WAF' block via a 'W4' interface. The 'WAF' block is connected to an 'eP-CSCF' block via a 'W5' interface. The 'eP-CSCF' block contains an 'IMS-ALG' block and is connected to an 'I/S-CSCF' block via an 'Mw' interface. The 'eP-CSCF' block is also connected to an 'H/V-PCRF' block via an 'Rx' interface. The 'H/V-PCRF' block is connected to the 'NAT/P-CAN/PCEF' block via a 'Gx' interface. The 'eP-CSCF' block is also connected to an 'eIMS-AGW' block via an 'Iq' interface. The 'eIMS-AGW' block is connected to the 'NAT/P-CAN/PCEF' block via a 'W3' interface.
+
+**Figure 4.1.4: Reference Architecture for eP-CSCF/eIMS-AGW supporting WebRTC access to IMS**
+
+NOTE 1: The presence of dashed elements in the figure depends on the configuration.
+
+PCC functional elements are present only for EPC access with QoS.
+
+The corresponding PCC elements for fixed access are also optionally supported but not shown.
+
+The NAT in figure 4.1.4 is meant for non-cellular access to IMS.
+
+## 4.2 NAT Function
+
+An operator may need NAT function between UE and IMS domain. Such function can be provided by the IMS-AGW and can be called local (near-end) NAT or IM CN hosted NAT (see clause 5.2). There can also be an independent NAT device between UE and IMS domain (see clause 5.4), referred as remote (far end) NAT. Thus the IMS-AGW shall support remote NA(P)T traversal.
+
+Figure 4.1.1 illustrates the particular IP media-path scenario with both a remote NAT and local NAT function. Each NAT function is partitioning an IP domain into two address domains, or partitioning the used IP address space (realm) into two realms.
+
+The reference architecture of Figure 4.1.1 may be mapped on various network scenarios, like e.g. to three IPv4 realms, indicated by a) IP-CAN (connectivity access network), b) (Media) Access Domain and c) (Media) IM CN domain. If there would not be any remote NAT device between the UE and IMS-AGW, then there would be just two IP domains (a and c).
+
+The two types of NATs are also typically different from control perspective: local (near-end) NAT can be controlled by the operators directly, and remote (far-end) NAT that cannot be controlled by the operators directly.
+
+The support of local NAT is thus implicitly leading to the requirement for IP realm indication at Iq (see clause 5.3).
+
+The edge node of the IP-CAN may be a remote (far-end) NAT device (see Figure 4.1.1). This NAT device provides NAT or NAPT or NA(P)T-PT for IP traffic in the media-path and signalling path (e.g. IP network addresses and possibly L4 transport port values may be translated of SIP Gm messages).
+
+The remote NAT device cannot be directly controlled by the operators of the (Media) Access and IP CN domain. The IMS-ALG is consequently lacking the direct information with regards to the applied NAT bindings by the remote NAT device.
+
+## 4.3 ATCF/ATGW Function
+
+The ATCF/ATGW functions may be supported by the IMS-ALG/IMS-AGW when SRVCC enhanced with ATCF is used. In this case, the Iq reference point is used for IMS sessions that the IMS-ALG (ATCF) decides to anchor at the IMS-AGW (ATGW) to provide the following functions:
+
+- reservation and configuration of IMS-AGW (ATGW) resources for media anchoring during PS session origination or termination;
+- reconfiguration of IMS-AGW (ATGW) resources during access transfer to the CS domain;
+- release of IMS-AGW (ATGW) resources upon completion of the access transfer or release of the session;
+- media transcoding if the media that was used prior to the access transfer is not supported by the MSC server;
+- IP version interworking if different IP versions are used between the access and the remote legs;
+- Indication of IP realm during allocation of transport addresses/resources (the PS and CS accesses may be reachable via different IP realms);
+- the ability to configure ECN properties towards the transferred to Access if ECN is supported/requested;
+- the ability to reconfigure the ECN mode e.g. from ECN transparent to ECN endpoint towards the IMS CN if ECN transparent cannot be maintained after access transfer to the CS domain;
+- provide priority treatment to calls identified as Multimedia Priority Service (see 3GPP TS 22.153 [22]).
+
+See 3GPP TS 23.237 [18] and 3GPP TS 24.237 [19] for a comprehensive description of the ATCF and ATGW functions.
+
+## 4.4 eP-CSCF/eIMS-AGW Function
+
+The Iq reference point is used between the P-CSCF enhanced for WebRTC (eP-CSCF) and the IMS-AGW enhanced for WebRTC (eIMS-AGW), with the following additional functions:
+
+- media plane interworking extensions as needed for WICs;
+- media security of type "e2ae" (as specified in 3GPP TS 33.328 [12]) for media protocols specific to WebRTC, including media consent, and DTLS-SRTP as key exchange mechanism for media components using SRTP;
+- media security of type "e2ae" (as specified in 3GPP TS 33.328 [12]) for data channels using DTLS-SCTP.
+
+- NAT traversal support including ICE;
+- the ability to perform any transcoding needed for audio and video codecs supported by the browser; and
+- transport level interworking between data channels and other transport options supported by IMS.
+
+See 3GPP TS 23.228 [2] Annex U for a comprehensive description of the eP-CSCF and eIMS-AGW functions.
+
+# --- 5 Functional Requirements
+
+## 5.1 General
+
+A single IMS-ALG may control one or multiple IMS-AGW(s).
+
+## 5.2 Gate Control & Local NAT
+
+The IMS-ALG shall provide the NAPT control function, i.e. obtain the address binding information (according to IETF RFC 2663 [4]) and perform the NAPT policy control along with gate control (i.e. instruct the opening/closing of a gate).
+
+The IMS-ALG shall request the IMS-AGW to allocate transport addresses/resources to enable media to traverse the IMS-AGW. The IMS-ALG may indicate the corresponding IP realm to the IMS-AGW – see clause 5.3. The IMS-AGW shall provide the corresponding external transport addresses to the IMS-ALG.
+
+Terminations for the Iq interface may be pre-defined with different levels of granularity for specific IP ports, interfaces, or groups of interfaces. These may then be defined as an IP realm (see clause 5.3) known by both the IMS-ALG and the IMS-AGW, however IP Realms may also be defined for multiple physical interfaces. In order to efficiently report a failure affecting a large number of terminations associated to specific physical interfaces, the IMS-AGW shall, when allocating a new termination, return to the IMS-ALG an associated Interface ID.
+
+An IMS-AGW not supporting this procedure may allocate the same Interface ID for all IP terminations.
+
+An IMS-AGW supporting the Termination Out-of-Service procedure (see clause 6.1.15) shall maintain a local mapping of Interface ID to its internal resources.
+
+The IMS-AGW shall provide the NAPT enforcement function, i.e. change the address and port number of the media packets as they traverse the IMS-AGW, along with gate control (i.e. open/close a gate under the control of the IMS-ALG).
+
+The IMS-AGW may provide IP version interworking. If the IP version interworking is performed and the IMS-ALG passes an SDP offer or answer, the IMS-ALG may adjust any SDP bandwidth information contained in the SDP offer or answer in accordance with 3GPP TS 29.162 [20] clause 9.1.5.
+
+The IMS-ALG shall request the IMS-AGW to release its transport resources at the end of a session.
+
+## 5.3 IP realm indication and availability
+
+The IMS-ALG and the IMS-AGW shall support IP realm indication.
+
+The IMS-ALG, when requesting the allocation of transport resources at the IMS-AGW, may indicate the correspondent IP realm to the IMS-AGW. The IMS-AGW shall assign the IP termination in the IP realm indicated. The same IP realm shall be applied to all media streams associated with the termination. The IP realm identifier cannot be changed after the initial assignment.
+
+A default IP realm may be configured such that if the IMS-AGW has not received the IP realm identifier and the IMS-AGW supports multiple IP realms then the default IP realm shall be used.
+
+In order to prevent the IMS-ALG requesting an unavailable IP Realm, the IMS-ALG may audit the list of currently available realms on the IMS-AGW and may request the IMS-AGW to report any changes to that list as they occur over time.
+
+The monitoring of IP realm availability is optional and if supported by IMS-AGW may be requested by the IMS-ALG.
+
+## 5.4 Remote NAT traversal support
+
+The IMS-ALG and the IMS-AGW shall support remote NA(P)T traversal support using procedures according to the present clause. In addition they may support remote NA(P)T traversal support using Interactive Connectivity Establishment (ICE) according to clause 5.17.
+
+The IMS-ALG is responsible for determining whether there is a remote NAT device (the mechanism by which this achieved is out of scope of the current document).
+
+If a remote NAT device is present, the IMS-ALG shall request the IMS-AGW to perform latching or re-latching when requesting the IMS-AGW to reserve transport addresses/resources.
+
+If remote NAT is applicable, the IMS-AGW shall not use the remote media address/port information (supplied by the IMS-ALG) as the destination address for outgoing media. Instead, the IMS-AGW shall dynamically learn the required destination address via the source address/port of incoming media. This mechanism is known as "latching".
+
+When remote NAT Traversal is applied to a stream associated with multiple flows (e.g. RTP and RTCP), the IMS-AGW shall perform individual latching and/or re-latching on the various flows. This means that an RTP and an RTCP flow of a single stream can be latched to different remote addresses and/or ports.
+
+## 5.5 Remote Source Address/Port Filtering
+
+The IMS-ALG may support and the IMS-AGW shall support policing of the remote source address/port of incoming media flow(s).
+
+The IMS-ALG may determine that the source address/port of received media packets should be policed.
+
+When the IMS-ALG requests the IMS-AGW to reserve transport addresses/resources, the IMS-ALG may indicate to the IMS-AGW that policing of source address and/or port of received media packets is required.
+
+If such policing is applicable, the IMS-AGW shall check the source address and/or port of all received media packets and silently discard any packets that do not conform to the expected source address and/or port.
+
+## 5.6 Traffic Policing
+
+The IMS-ALG may support traffic policing of incoming media flows.
+
+The IMS-AGW shall support traffic policing of the maximum average bitrate, defined as sustainable data rate (see IETF RFC 2216 [10]) of incoming media flows and may support traffic policing of the peak data rate of incoming media flows.
+
+The IMS-ALG may require the IMS-AGW to police the media flows to ensure that they conform to the expected data rates.
+
+When the IMS-ALG requests the IMS-AGW to reserve transport addresses/resources, the IMS-ALG may indicate to the IMS-AGW that policing of the related media streams is required and provide traffic policing related parameters as detailed in clause 6.2.5.
+
+If such policing is requested, the IMS-AGW shall police the corresponding media streams as detailed in clause 6.2.5 by measuring the data rate for the received packets within that media stream. If the permissible data rate provided by the IMS-ALG is exceeded, the IMS-AGW shall discard packets to reduce their data rate to the permissible data rate.
+
+For RTP flows where RTCP resources are reserved together with the RTP resources (see clause 5.9), the permissible data rate shall include the bandwidth used by RTP and RTCP together.
+
+## 5.7 Hanging Termination Detection
+
+The IMS-ALG and the IMS-AGW shall support detection of hanging termination.
+
+The IMS-ALG, when requesting the IMS-AGW to reserve an AGW connection point, shall indicate to the IMS-AGW to perform detection of hanging terminations.
+
+The IMS-AGW shall determine a termination to be hanging if there is no signalling sent/received within a specified period.
+
+On being informed of the hanging termination, the IMS-ALG shall check/determine whether the cited termination is valid and initiate any appropriate corrective action, e.g. release an invalid termination.
+
+## 5.8 QoS Packet Marking
+
+The IMS-ALG may support and the IMS-AGW shall support control via the Iq interface of the setting of the DiffServ Code Point (DSCP) for media packets sent on a termination.
+
+When the IMS-ALG requests the IMS-AGW to reserve transport addresses/resources, the IMS-ALG may indicate to the IMS-AGW that the DSCP of outgoing media packets shall be explicitly set or copied from the DSCP of the corresponding received packet.
+
+If such modification of the DSCP is required by the IMS-ALG, the IMS-AGW shall set the DSCP for outgoing packets on a termination.
+
+## 5.9 Handling of RTCP streams
+
+### 5.9.1 General
+
+The IMS-ALG and the IMS-AGW shall support control via the Iq interface of the specific RTCP behaviour associated to an RTP flow.
+
+When the IMS-ALG requests the IMS-AGW to reserve transport addresses/resources for an RTP flow, the IMS-ALG should also request the IMS-AGW to reserve resources for the corresponding RTCP flow, but may alternatively request the IMS-AGW not to reserve resources for the corresponding RTCP flow. When the IMS-ALG requests the IMS-AGW to reserve transport addresses/resources for a non-RTP flow, the IMS-ALG shall not request the IMS-AGW to reserve resources for an RTCP flow.
+
+To request the IMS-AGW to reserve resources for an RTCP flow, the IMS ALG shall provide the RTCP handling information element with a value indicating that resources for RTCP shall be reserved.
+
+To request the IMS-AGW not to reserve resources for an RTCP flow, the IMS ALG shall either provide the RTCP handling information element with a value indicating that resources for RTCP shall not be reserved or omit the RTCP handling information element.
+
+If the IMS-AGW receives the indication to reserve RTCP resources, the IMS-AGW shall allocate a local port with even number for an RTP flow and shall allocate the consecutive local port with odd number for the associated RTCP flow, and it shall send and be prepared to receive RTCP packets.
+
+If the IMS-AGW receives the indication to not reserve RTCP resources, or if it does not receive any indication at all, it shall not allocate an RTCP port when allocating a port for an RTP flow. The IMS-AGW shall not send any RTCP packets and shall silently discard any received RTCP packets.
+
+When RTCP resources are requested, the IMS-ALG may also specify:
+
+- the explicit RTCP transport address information element containing the remote RTCP port, and optionally the remote address, where to send RTCP packets; if not specified, the IMS-AGW shall send RTCP packets to the port contiguous to the remote RTP port; and
+- bandwidth allocation requirements for RTCP, if the RTCP bandwidth level for the session is different than the default RTCP bandwidth as specified in RFC 3556 [6].
+
+The explicit RTCP transport address information element contains the "a=rtcp" SDP attribute (as specified in IETF RFC 3605 [7]) received within the SDP body. The explicit RTCP transport address information element is only allowed for remote endpoints and shall not be used for the local endpoint. When the IMS-ALG requests the IMS-AGW to reserve resources for an RTCP flow and provides in addition the explicit RTCP port information element, then the
+
+IMS-AGW shall use this network address and transport port as destination when sending RTCP packets towards the remote endpoint.
+
+The IMS-AGW shall return an error if it can not allocate the requested RTCP resources.
+
+### 5.9.2 RTP/RTCP transport multiplexing
+
+The procedure in clause 5.9.1 describing the default case of RTP/RTCP transport non-multiplexed scenarios may be extended for the transport multiplexed mode by addition of the RTP/RTCP transport multiplexing information element to indicate to the IMS-AGW that RTP and RTCP traffic shall be multiplexed on a single port (as described in IETF RFC 5761 [60]). The RTP/RTCP transport multiplexing information element may only be sent to the IMS-AGW in combination with the RTCP handling information element with the value indicating that resources for RTCP shall be reserved. The support of these procedures is optional for the IMS ALG and the IMS-AGW. The IMS-ALG shall only use these procedures when knowing support at IMS-AGW side (e.g., via configuration management).
+
+The usage is conditional, given by following restrictions:
+
+- 1) The transport multiplexed mode may be only supported for terminations at the access network side of the IMS-AGW.
+- 2) The transport multiplexed mode shall be only enabled for the local connection endpoint if agreed via SIP SDP offer/answer negotiation with the served UE using:
+ - the "a=rtp-mux" SDP attribute, see IETF RFC 5761 [60], as updated by IETF RFC 8035 [72]; and/or
+ - the "a=rtp-mux-only" SDP attribute, see IETF RFC 8858 [71].
+
+NOTE 1: Usage of an "rtp-mux-only" attribute in an SDP answer is forbidden, see IETF RFC 8858 [71]. If the associated SDP answer does not contain an SDP "rtp-mux" attribute, the offerer (the IMS ALG or the UE) needs to disable the associated RTP based media by sending a new SDP offer:
+
+- with a zero port value associated with the SDP media description ("m=" line); or
+- without associating an SDP "rtp-mux-only" attribute with the SDP media description ("m=" line).
+
+- 3) When transport multiplexed mode is agreed with the served UE, then it may be applied in both traffic directions.
+
+NOTE 2: The last two conditions enforce a symmetrical usage of RTP/RTCP transport multiplexing in the related network domain (here the access network).
+
+## 5.10 Media Inactivity Detection
+
+The IMS-ALG and the IMS-AGW may support the detection of inactive media flows.
+
+The IMS-ALG may require an IMS-AGW that supports media inactivity detection to detect if a media flow is inactive.
+
+NOTE: The decision to apply or not media inactivity is general for all sessions with the same media characteristics (i.e. not user specific). It is for further study under which conditions inactivity media detection may be requested.
+
+When the IMS-ALG requests the IMS-AGW to reserve transport addresses/resources, the IMS-ALG may indicate to the IMS-AGW that detection of an inactive media flow is required and may additional specify inactivity detection time and inactivity detection direction.
+
+The IMS-AGW shall determine a media flow on termination to be inactive if there is no media sent and/or received within the inactivity detection time period.
+
+On being informed of the inactive media, the IMS-ALG shall initiate any appropriate corrective action.
+
+## 5.11 IMS Media Plane Security
+
+### 5.11.1 General
+
+The IMS-ALG and the IMS-AGW may support IMS media plane security as specified in 3GPP TS 33.328 [12]. They may support end-to-access edge security, or end-to-end security, or both, for
+
+- RTP based media (such as e.g. audio, video information) using SRTP security, and/or
+- TCP based media (such as MSRP and BFCP) using TLS security; and/or
+- UDP based media (such as T.38 fax over UDPTL/UDP) using DTLS security.
+
+If supported the IMS-ALG and the IMS-AGW shall use the procedures in the following clauses.
+
+NOTE: For the support of end-to-end security, the presence of an IMS-ALG is not required.
+
+Procedures for the IMS-ALG to determine if end-to-access edge security or end-to-end security is applicable to a session are specified in 3GPP TS 33.328 [12] and 3GPP TS 24.229[11].
+
+### 5.11.2 End-to-access-edge Security
+
+#### 5.11.2.1 End-to-access-edge security for RTP based media using SDES
+
+Procedures for the IMS-ALG to determine if end-to-access edge security is applicable to RTP based media and to exchange cryptography related SDP parameters with the served UE during the SIP session setup are specified in 3GPP TS 33.328 [12] and 3GPP TS 24.229[11].
+
+For media lines that can be subject to e2ae security, the IMS-ALG will receive "RTP/AVP" or "RTP/AVPF" as transport protocol in SDP from the core network. When the IMS-ALG determines that e2ae security is applicable, it will indicate "RTP/SAVP" (see IETF RFC 3711 [14]) or "RTP/SAVPF" (see IETF RFC 5124 [15]), respectively, as transport protocol in the corresponding SDP media lines send towards the served UE. When e2ae security is applied, the IMS-ALG will also receive "RTP/SAVP" or "RTP/SAVPF" in SDP from the served UE. The IMS-ALG will then indicate "RTP/AVP" or "RTP/AVPF" respectively, as transport protocol in the corresponding SDP media lines send towards the core network. When the IMS-ALG requests the IMS-AGW to reserve transport addresses/resources for media to which e2ae security is applicable, the IMS ALG shall configure "RTP/SAVP" or "RTP/SAVPF" as transport protocol at the access side termination. The IMS ALG shall configure "RTP/AVP" or "RTP/AVPF" as transport protocol at the core network side termination for media where e2ae security is applicable.
+
+When the IMS-ALG determines that e2ae security is applicable, it will generate appropriate cryptographic context parameters, in particular key(s), and will transfer them to the served UE within SDES SDP "crypto" attribute(s) according to IETF RFC 4568 [13]. The IMS-ALG will also receive cryptographic context parameters, in particular key(s), from the served UE within SDES SDP "crypto" attribute(s). When the IMS-ALG requests the IMS-AGW to reserve or configure transport addresses/resources for media to which e2ae security is applicable, the IMS-ALG shall provide cryptography related parameters as SDES SDP "crypto" attributes applicable at the access side termination.
+
+On the originating side of the SIP session setup, the IMS-ALG shall provide as "Remote cryptographic SDES attribute" the SDES crypto attribute it selected from the ones received from the IMS UE in the SDP Offer . The IMS-ALG shall provide as "Local cryptographic SDES attribute" the SDES crypto attribute the IMS-ALG generated and inserted in the SDP Answer sent to IMS UE.
+
+On the terminating side of the SIP session setup, the IMS-ALG shall provide as "Remote cryptographic SDES attribute" the SDES crypto attribute received from the IMS UE in the SDP Answer. The IMS-ALG shall provide as "Local cryptographic SDES attribute" the SDES crypto attribute selected by the UE from the ones the IMS-ALG generated and inserted in the SDP Offer sent to UE. If the IMS-ALG offers only one SDES crypto attribute to the UE, the IMS-ALG may provide this attribute as "Local cryptographic SDES attribute" within the Reserve AGW Connection Point Procedure before receiving the SDP answer from the UE. In the present release, a modification of an established e2ae crypto session is not supported. Thus, the IMS-ALG shall not modify any previously provided "Local cryptographic SDES attribute" or "Remote cryptographic SDES attribute".
+
+If the IMS-ALG applies e2ae media security for a media stream and receives an SDP bandwidth modifier related to that media stream in SIP/SDP signalling, it should modify this bandwidth modifier to adjust the bandwidth overhead due to
+
+e2ae security before forwarding the SDP. The IMS-ALG should add the bandwidth overhead caused by e2ae media security to the bandwidth information received from the remote peer. The IMS-ALG should subtract the bandwidth overhead caused by e2ae media security from the bandwidth information received from the served UE.
+
+The IMS Access GW shall, upon reception of an SDES crypto attribute, establish an SRTP security context (as described in RFC 4568 [13] and RFC 3711 [14]) and be prepared to convert RTP packets to SRTP packets and vice versa, using the corresponding SRTP security contexts.
+
+#### 5.11.2.2 End-to-access-edge security for TCP based media using TLS
+
+### 5.11.2.2.1 General
+
+E2ae security for TCP based media using TLS is applicable for MSRP (see IETF RFC 4975 [25]; used in IMS session-based messaging) and BFCP (see IETF RFC 4582 [31]; used in IMS conferencing). The IMS-ALG and IMS-AGW may support e2ae security for MSRP, BFCP, or both protocols.
+
+E2ae protection of MSRP and BFCP media is based on TLS, according to the TLS profile specified in Annex E of 3GPP TS 33.310 [48] and Annex M of 3GPP TS 33.328 [12]. TLS shall be supported over the TCP transport (see IETF RFC 793 [29]).
+
+Key management for e2ae protection of MSRP and BFCP is based on the ciphersuites and session keys negotiated via the TLS handshake protocol between the UE and the IMS-AGW (see 3GPP TS 33.328 [12]).
+
+Procedures for the IMS-ALG to determine if e2ae security for MSRP and/or BFCP is applicable to a session and to exchange the cryptographic information (i.e. certificate fingerprints, see IETF RFC 8122 [80]) over SDP with the served UE during the SIP session setup are specified in 3GPP TS 33.328 [12] and 3GPP TS 24.229 [11]. If e2ae security is not required, the e2e security procedures may apply, see clause 5.11.3.
+
+According to the TLS profile specified in Annex E of 3GPP TS 33.310 [48], the IMS-AGW shall accept TLS renegotiation only if it is secured according to IETF RFC 5746 [47].
+
+NOTE 1: IETF RFC 5746 [47] defines a "TLS secure renegotiation" procedure, which leaves the definition of a basic TLS renegotiation still open. H.248 based support to enable the IMS-ALG to allow or not allow the IMS-AGW to perform client initiated or server initiated TLS renegotiation is not addressed in the present release. The behaviour of the IMS-AGW for "TLS session renegotiation" procedure is hence not further defined in the present release.
+
+If the IMS-ALG applies e2ae media security for a media stream and receives an SDP bandwidth modifier related to that media stream in SIP/SDP signalling, it should modify this bandwidth modifier to adjust the bandwidth overhead due to e2ae security before forwarding the SDP. The IMS-ALG should add the bandwidth overhead caused by e2ae media security to the bandwidth information received from the remote peer. The IMS-ALG should subtract the bandwidth overhead caused by e2ae media security from the bandwidth information received from the served UE.
+
+For each MSRP or BFCP media stream to be set-up with e2ae security, the P-CSCF (IMS-ALG) shall:
+
+- include the IMS-AGW in the media path and allocate the required resources for the media stream in the IMS-AGW;
+- request a certificate fingerprint from the IMS-AGW;
+- include the certificate fingerprint received from the IMS-AGW in the SDP it sends to the IMS UE;
+- send the certificate fingerprint(s) received in the SDP from the IMS UE to the IMS-AGW;
+- instruct the IMS-AGW to perform state-aware TCP handling by including information about the TCP setup direction;
+- for each termination determine via SDP negotiation as specified in IETF RFC 4145 [30] if the IMS-AGW needs to act as TCP client or server for the terminations towards the core network and towards the access network;
+- indicate to the IMS-AGW how to perform the TCP connection establishment by:
+ - a) either instructing the IMS-AGW to start a TCP connection establishment on any terminations where it needs to act as TCP client; or
+
+- b) indicating to the IMS-AGW to use an incoming TCP connection establishment request at one termination as a trigger to send a TCP connection establishment request at the interconnected termination in the same context (support of this alternative is optional for the IMS-AGW and IMS-ALG);
+- determine via SDP negotiation if the IMS-AGW needs to act as TLS client or server as specified in the clauses below;
+
+NOTE 2: The determination of the TLS client/server role relies on different rules for MSRP and BFCP.
+
+- if the IMS-AGW needs to act as TLS client, request the IMS-AGW to start the TLS session setup once the TCP connection is established towards the UE; and
+- apply additional specific procedures for MSRP in clause 5.11.2.2.2 or for BFCP in clause 5.11.2.2.3.
+
+For each MSRP or BFCP media stream to be set-up with e2ae security the IMS-AGW shall:
+
+- upon request from the IMS-ALG, select an own certificate for the media stream, uniquely associate own certificate with the media stream, and send the fingerprint of the own certificate to the IMS-ALG;
+- uniquely associate the certificate fingerprint(s) received from the IMS-ALG with the corresponding MSRP or BFCP media stream, and subsequently use the certificate fingerprint(s) (as described in IETF RFC 4975 [25]) to verify the establishment of the TLS session of the corresponding media stream to belong to the served user;
+- if the verification of the remote certificate fingerprint(s) during the TLS session establishment fails, regard the remote TLS endpoint as not authenticated, terminate the TLS session and report the unsuccessful TLS session setup to the IMS-ALG;
+- negotiate the TLS protocol configurations with the TLS peer based on locally provisioned TLS profile parameters;
+- when the TLS session has been established, convert unprotected media received from the network to protected media to send to the served UE and vice versa;
+- be capable to support both the TLS server and TLS client roles;
+- when being instructed to start the TLS session setup, act as a TLS client and establish the TLS session as soon as the underlying TCP bearer connection is established;
+- upon instruction of the IMS-ALG to perform state-aware TCP handling, not forward any TCP connection establishment request received on one termination towards the interconnected termination;
+- upon corresponding instructions from the IMS-ALG, start a TCP connection establishment on the indicated termination by sending a TCP SYN, or use an incoming TCP connection establishment request received at one termination as a trigger to send a TCP connection establishment request at the interconnected termination in the same context;
+- release the underlying TCP bearer connection as soon as the TLS session is released; and
+- apply additional specific procedures for MSRP in clause 5.11.2.2.2 or for BFCP in clause 5.11.2.2.3.
+
+#### 5.11.2.2.2 e2ae security for session based messaging (MSRP)
+
+For each MSRP media stream outside WebRTC data channels requiring e2ae security, the IMS-ALG shall indicate to the IMS-AGW as transport protocol:
+
+- a) for application-agnostic e2ae security support:
+ - "TCP" at the termination towards the core network; and
+ - "TCP/TLS" at the termination towards the access network; or
+- b) for application-aware e2ae security support:
+ - "TCP/MSRP" at the termination towards the core network; and
+ - "TCP/TLS/MSRP" at the termination towards the access network.
+
+The IMS-ALG shall determine via SDP negotiation if the IMS-AGW needs to act as TLS client or TLS server using the IETF RFC 4145 [30] "a=setup" SDP attribute as follows:
+
+- if the IMS-ALG send an "a=setup:active" SDP attribute in an SDP answer towards the UE, the IMS-AGW shall act as TLS client;
+- if the IMS-ALG send an "a=setup:passive" SDP attribute in an SDP answer towards the UE, the IMS-AGW shall act as TLS server;
+- if the IMS-ALG receives an "a=setup:active" SDP attribute in an SDP answer from the UE, the IMS-AGW shall act as TLS server; and
+- if the IMS-ALG receives an "a=setup:passive" SDP attribute in an SDP answer from the UE, the IMS-AGW shall act as TLS client.
+
+#### 5.11.2.2.3 e2ae security for conferencing (BFCP)
+
+For each BFCP media stream requiring e2ae security, the IMS-ALG shall indicate to the IMS-AGW as transport protocol:
+
+- "TCP" at the termination towards the core network; and
+- "TCP/TLS" at the termination towards the access network.
+
+The IMS-ALG shall determine via SDP negotiation (see IETF RFC 4583 [27]) if the IMS-AGW needs to act as TLS client or TLS server as follows:
+
+- if the IMS-ALG receives an initial SDP offer from the UE, the IMS-AGW shall act as TLS server; and
+- if the IMS-ALG sends an initial SDP offer towards the UE, the IMS-AGW shall act as TLS client.
+
+#### 5.11.2.3 End-to-access-edge security for UDP based media using DTLS
+
+##### 5.11.2.3.1 General
+
+The IMS-ALG and the IMS-AGW may support end-to-access-edge (e2ae) security for an UDP based media. The e2ae protection of the UDP based media relies on the usage of DTLS (see IETF RFC 6347 [32]), according to the DTLS profile specified in Annex E of 3GPP TS 33.310 [48] and exchange of self-signed certificates as defined in 3GPP TS 33.328 [12].
+
+Key management solution for the e2ae media security of UDP is based on the cipher suites and session keys negotiated via the DTLS handshake protocol between the served UE and the IMS-AGW as specified in 3GPP TS 33.328 [12]. Procedures for the IMS-ALG to determine if e2ae security is applicable to UDP based media and to exchange the cryptographic information (i.e. certificate fingerprints, see IETF RFC 8122 [80]) via SDP negotiation with the served UE during the SIP session establishment are specified in 3GPP TS 33.328 [12] and 3GPP TS 24.229 [11].
+
+If the IMS-ALG applies e2ae media security for a media stream and receives an SDP bandwidth modifier related to that media stream in SIP/SDP signalling, it should modify this bandwidth modifier to adjust the bandwidth overhead due to e2ae security before forwarding the SDP. The IMS-ALG should add the bandwidth overhead caused by e2ae media security to the bandwidth information received from the remote peer. The IMS-ALG should subtract the bandwidth overhead caused by e2ae media security from the bandwidth information received from the served UE.
+
+Clause 5.11.2.3.2 defines specific requirements for e2ae protection of T.38 fax media stream over UDPTL/UDP transport. The usage of UDPTL over DTLS is defined in IETF RFC 7345 [33] and IETF RFC 8842 [81].
+
+##### 5.11.2.3.2 e2ae security for T.38 fax over UDP/UDPTL transport
+
+If the IMS-ALG and the IMS-AGW support e2ae security for the UDP based media using DTLS and certificate fingerprints, then for each T.38 fax media stream over UDPTL/UDP transport to be setup with e2ae security, the IMS-ALG shall:
+
+- include the IMS-AGW in the media path and allocate the required resources for the media stream in the IMS-AGW;
+
+- determine via SDP negotiation with the served UE if the IMS-AGW needs to act as DTLS client or DTLS server as specified in IETF RFC 7345 [33] and IETF RFC 8842 [81];
+- when requesting resources towards the access network:
+ - a) indicate to the IMS-AGW "UDP/DTLS" as transport protocol;
+
+NOTE 1: For IANA registry of "UDP/DTLS" see IETF draft-schwarz-mmusic-sdp-for-gw [34].
+
+- b) send the certificate fingerprint(s) received from the served UE to the IMS-AGW; and
+ - c) request from the IMS-AGW the certificate fingerprint;
+- include the certificate fingerprint received from the IMS-AGW in the SDP body it sends to the served UE;
+- if the IMS-ALG received from the served UE an SDP offer with "a=tls-id" media-level SDP attribute (as specified in IETF RFC 8842 [81]), create a new DTLS association identity and include the "a=tls-id" SDP attribute with the new DTLS association identity in the SDP answer which the IMS-ALG sends to the served UE;
+- if the IMS-ALG sends to the served UE an SDP offer, create a new DTLS association identity and include the "a=tls-id" SDP attribute with the new DTLS association identity in the SDP offer;
+
+NOTE 2: Already used certificate fingerprints can be assigned to a new DTLS association. If the IMS-AGW uses the same set of fingerprints for a new DTLS association then the IMS-ALG creates a new local "tls-id" attribute value so that the combination of the "tls-id" attribute values of the IMS-ALG and the served UE is unique across all DTLS associations that might be handled by the IMS-ALG and the served UE, as specified in IETF RFC 8842 [81].
+
+- request the IMS-AGW to start the DTLS session setup if the IMS-AGW needs to act as DTLS client; and
+- when requesting resources towards the core network:
+ - a) indicate to the IMS-AGW "UDP" as transport protocol.
+
+For each T.38 fax media stream over UDPTL/UDP transport to be setup with e2ae security, the IMS-AGW shall:
+
+- be capable to support both the DTLS server and DTLS client roles;
+- upon request from the IMS-ALG, act as DTLS client and start DTLS session establishment;
+- upon request from the IMS-ALG, select an own certificate for the T.38 fax media stream, uniquely associate its own certificate with the media stream, and send the fingerprint of the own certificate to the IMS-ALG;
+- uniquely associate the certificate fingerprint(s) received from the IMS-ALG with the corresponding T.38 fax media stream; and
+- verify during the subsequent DTLS handshake with the served UE (as described in IETF RFC 7345 [33] and IETF RFC 8842 [81]) that the fingerprint of the certificate passed by the served UE during DTLS handshake matches the certificate fingerprint received from the IMS-ALG:
+ - a) if the verification fails, the IMS-AGW shall regard the remote DTLS endpoint as not authenticated, terminate the DTLS session and report the unsuccessful DTLS session setup to the IMS-ALG;
+ - b) otherwise, the IMS-AGW shall continue with DTLS session setup and when the DTLS session is established, the IMS-AGW shall be prepared to receive and convert unprotected media from the core network to the protected media to be sent to the served UE and vice versa.
+
+#### 5.11.2.4 End-to-access-edge security for RTP based media using DTLS-SRTP
+
+The eP-CSCF (IMS-ALG) and eIMS-AGW for WebRTC provide end-to-access edge security by using DTLS-SRTP, where DTLS is used to establish keys for SRTP according to IETF RFC 5763 [42], IETF RFC 8842 [81] and IETF RFC 5764 [43].
+
+During the establishment of a WebRTC session, the IMS-ALG receives "UDP/TLS/RTP/SAVP" or "UDP/TLS/RTP/SAVPF" as the transport protocol in SDP from the served WebRTC IMS Client (WIC). The IMS-ALG
+
+then shall indicate "RTP/AVP" or "RTP/AVPF" over UDP, respectively, as the transport protocol in the corresponding SDP media lines send towards the core network. When an IMS-ALG receives "RTP/AVP" or "RTP/AVPF" in SDP from the core network, the IMS-ALG shall indicate "UDP/TLS/RTP/SAVP" or "UDP/TLS/RTP/SAVPF" as transport protocol in SDP send towards the served WIC. When the IMS-ALG requests the eIMS-AGW to reserve transport addresses/resources for e2ae media security, the IMS ALG shall configure "UDP/TLS/RTP/SAVP" or "UDP/TLS/RTP/SAVPF" as transport protocol at the access side termination, and "RTP/AVP" or "RTP/AVPF" over UDP as transport protocol at the core network side termination.
+
+The IMS-ALG shall send the received WIC certificate fingerprint(s) to the eIMS-AGW that is then able to correlate the fingerprint within the media stream uniquely. For each SRTP/SRTCP media stream to be established with e2ae media security, the eIMS-AGW shall send the fingerprint of its certificate via Iq interface to the IMS-ALG.
+
+If the IMS-ALG received from the WIC an SDP offer with "a=tls-id" media-level SDP attribute (as specified in IETF RFC 8842 [81]), create a new DTLS association identity and include the "a=tls-id" SDP attribute with the new DTLS association identity in the SDP answer which the IMS-ALG sends to the WIC.
+
+If the IMS-ALG sends to the WIC an SDP offer, create a new DTLS association identity and include the "a=tls-id" SDP attribute with the new DTLS association identity in the SDP offer.
+
+**NOTE:** Already used certificate fingerprints can be assigned to a new DTLS association. If the IMS-AGW uses the same set of fingerprints for a new DTLS association then the IMS-ALG creates a new local "tls-id" attribute value so that the combination of the "tls-id" attribute values of the IMS-ALG and the WIC is unique across all DTLS associations that might be handled by the IMS-ALG and the WIC, as specified in IETF RFC 8842 [81].
+
+According to procedures defined in 3GPP TS 24.371 [44], the eIMS-AGW shall act as either a DTLS server or client in the DTLS session.
+
+In DTLS-SRTP case, RTP and RTCP data are encrypted using SRTP and SRTCP as defined in IETF RFC 3711 [14].
+
+When the DTLS session is established between the WIC and the eIMS-AGW, the eIMS-AGW shall be prepared to send and receive SRTP/SRTCP packets of the incoming network side from the WIC, and convert SRTP/SRTCP packets to RTP/RTCP packets to the outgoing network side and vice versa, if the media stream toward the IMS core network is using RTP/RTCP.
+
+#### 5.11.2.5 End-to-access-edge security for RTP based voice and video media using DTLS-SRTP over TCP
+
+The eP-CSCF (IMS-ALG) and eIMS-AGW for WebRTC may support end-to-access-edge security for RTP based voice and video media using DTLS-SRTP over TCP. If they do so, they shall apply the procedures in the present clause.
+
+**NOTE 1:** RTP over TCP may be used to traverse NAT/Firewalls that perform UDP blocking.
+
+TCP transport may be offered as an alternative to UDP transport using the ICE procedures in clause 5.18. The eP-CSCF (IMS-ALG) and eIMS-AGW for WebRTC shall then provide end-to-access edge security for voice and video by using DTLS-SRTP over TCP, where DTLS is used to establish keys for SRTP according to IETF RFC 5763 [42], IETF RFC 8842 [81] and IETF RFC 5764 [43]. Framing according to RFC 4571 [58] shall be used for RTP streams transferred over TCP.
+
+The IMS-ALG shall send the received WIC certificate fingerprint(s) to the eIMS-AGW that is then able to correlate the fingerprint within the media stream uniquely. For each SRTP/SRTCP media stream to be established with e2ae media security, the eIMS-AGW shall send the fingerprint of its certificate via Iq interface to the IMS-ALG.
+
+**NOTE 2:** The same fingerprint also applies for End-to-access-edge security for RTP based media using DTLS-SRTP, as described in clause 5.11.2.4.
+
+If the IMS-ALG received from the WIC an SDP offer with "a=tls-id" media-level SDP attribute (as specified in IETF RFC 8842 [81]) create a new DTLS association identity and include the "a=tls-id" SDP attribute with the new DTLS association identity in the SDP answer which the IMS-ALG sends to the WIC.
+
+If the IMS-ALG sends to the WIC an SDP offer, create a new DTLS association identity and include the "a=tls-id" SDP attribute with the new DTLS association identity in the SDP offer.
+
+NOTE 3: Already used certificate fingerprints can be assigned to a new DTLS association. If the IMS-AGW uses the same set of fingerprints for a new DTLS association then the IMS-ALG creates a new local "tls-id" attribute value so that the combination of the "tls-id" attribute values of the IMS-ALG and the WIC is unique across all DTLS associations that might be handled by the IMS-ALG and the WIC, as specified in IETF RFC 8842 [81].
+
+According to procedures defined in 3GPP TS 24.371 [44], the eIMS-AGW shall act as either a DTLS server or client in the DTLS session.
+
+In DTLS-SRTP over TCP case, RTP and RTCP data are encrypted using SRTP and SRTCP as defined in IETF RFC 3711 [14].
+
+When the DTLS session is established between the WIC and the eIMS-AGW, the eIMS-AGW shall be prepared to send and receive SRTP/SRTCP packets over TCP of the incoming network side from the WIC, and convert SRTP/SRTCP packets to RTP/RTCP packets over UDP to the outgoing network side and vice versa, if the media stream towards the IMS core network is using RTP/RTCP over UDP.
+
+### 5.11.2.6 End-to-access-edge security for WebRTC data channels using UDP/DTLS/SCTP transport
+
+The procedures in clause 5.20.2 are applicable.
+
+## 5.11.3 End-to-end Security
+
+### 5.11.3.1 End-to-end security for RTP based media
+
+For the support of e2e-security, the IMS-ALG and the IMS-AGW shall support "RTP/SAVP" (see IETF RFC 3711 [14]) and/or "RTP/SAVPF" (see IETF RFC 5124 [15]) as transport protocol.
+
+If the IMS-ALG receives SDP containing media lines with "RTP/SAVP" (see IETF RFC 3711 [14]) or "RTP/SAVPF" (see IETF RFC 5124 [15]) as transport protocol, but did not receive any request for end-to-access-edge security, the IMS-ALG shall:
+
+- forward the SDP with unmodified transport protocol for those media lines;
+- provide "RTP/SAVP" or "RTP/SAVPF", as received in the SDP, to the IMS-AGW as transport protocol for all related terminations, and provide no media related information to these terminations, to configure the IMS-AGW to pass media transparently.
+
+If the IMS-ALG receives SDP containing SDES SDP attribute(s) according to IETF RFC 4568 [13], and did not receive any request for end-to-access-edge security, it shall forward the SDP with unmodified SDES SDP attribute(s), but shall not provide the SDES SDP attribute(s) to the IMS-AGW.
+
+### 5.11.3.2 End-to-end security for TCP-based media using TLS
+
+End-to-end protection of MSRP (used in IMS session-based messaging) and BFCP (used in IMS conferencing) media is based on TLS, according to the TLS profile specified in Annex E of 3GPP TS 33.310 [48] and Annex M of 3GPP TS 33.328 [12].
+
+If the IMS-ALG receives SDP containing media lines with "TCP/TLS/MSRP" (see IETF RFC 4975 [25] and IETF RFC 6714 [26]) and/or "TCP/TLS/BFCP" (see IETF RFC 4583 [27]) as transport protocol but did not receive any request for end-to-access-edge security, the IMS-ALG shall:
+
+- forward the SDP with unmodified transport protocol for those media lines and unmodified TLS related SDP attribute(s);
+- indicate "TCP" to the IMS-AGW as transport protocol for all related terminations, and provide no media related information to these terminations, to configure the IMS-AGW to pass media transparently.
+
+NOTE: End-to-end security for TCP-based media using TLS is not supported between two terminals being located behind firewalls/NATs.
+
+## 5.12 Explicit Congestion Notification support
+
+### 5.12.1 General
+
+An IMS-ALG and IMS-AGW may support Explicit Congestion Notification (see IETF RFC 3168 [16], IETF RFC 6679 [17] and 3GPP TS 26.114 [21]).
+
+An IMS-ALG and IMS-AGW which supports ECN shall support the ECN transparent procedure i.e. the transparent forwarding of ECN bits in the IP header (see IETF RFC 3168 [16]). If the IMS-AGW does not support the transparent forwarding of ECN bits then the IMS-ALG shall not permit ECN in the SDP Offer/Answer negotiation.
+
+The IMS-AGW shall treat RTCP for ECN as a RTP translator with no media translation.
+
+An IMS-ALG and IMS-AGW which supports ECN may then act as an ECN endpoint to enable ECN towards the IMS access network or/and towards the IMS Core Network. The subsequent clauses describe the general support for ECN, further details on the support of ECN during PS to CS access transfer is described in clause 6.2.14.3.
+
+NOTE: It is out of the scope of this profile to support interworking with a non-3GPP ECN IP terminal.
+
+An IMS-ALG and IMS-AGW that support ECN Transparent as well as transcoding shall also support the ECN endpoint procedure.
+
+An IMS-ALG/IMS-AGW supporting the ATCF/ATGW function and ECN shall support ECN Endpoint (see clause 6.2.14).
+
+When acting as an ECN endpoint, the IMS-AGW shall be capable of enabling end-to-end rate adaptation between the local terminal and the remote entity by performing the following towards the ECN-capable peer:
+
+- trigger rate adaptation request towards the ECN-capable peer when receiving in the incoming IMS media flow IP packets marked with ECN-CE, regardless of whether the IMS-AGW applies or does not apply transcoding;
+- forward adaptation requests between the local and the remote peer when the IMS-AGW bridges compatible codec configurations between the interfaces without applying a transcoding function;
+- perform media adaptation (e.g. reduce media bit-rate) towards the ECN-capable peer when receiving from the latter an adaptation request. and the IMS-AGW applies transcoding.
+
+### 5.12.2 Incoming SDP offer with ECN
+
+The IMS-ALG and IMS-AGW shall apply the requirements specified in clause 10.2.13.2 of 3GPP TS 29.162 [20] replacing the IBCF and TrGW with IMS-ALG and IMS-AGW respectively.
+
+### 5.12.3 Incoming SDP offer without ECN
+
+The IMS-ALG and IMS-AGW shall apply the requirements specified in clause 10.2.13.3 of 3GPP TS 29.162 [20] replacing the IBCF and TrGW with IMS-ALG and IMS-AGW respectively with the following additions:
+
+- if the IMS-ALG or IMS-AGW does not support the procedure to act as an ECN endpoint, the IMS-ALG shall not include the "a=ecn-capable-rtp" attribute in the SDP offer it forwards to the succeeding node.
+
+### 5.12.4 Detection of ECN failures by IMS-AGW
+
+An IMS-ALG and IMS-AGW that support the procedure to act as an ECN endpoint shall support the requirements specified in clause 10.2.13.3a of 3GPP TS 29.162 [20] replacing the IBCF and TrGW with IMS-ALG and IMS-AGW respectively.
+
+## 5.13 Transcoding
+
+### 5.13.1 General
+
+The transcoding functionality, where the IMS-AGW processes and possibly converts media data (like e.g. RTP payload) is optional for the P-CSCF and IMS-AGW to support. Transcoding should be supported if the IMS-ALG and IMS-AGW support the ATCF and ATGW functions for use after an SRVCC handover if the media that was used prior to the access transfer is not supported by the MSC Server.
+
+An IMS-ALG and IMS-AGW that support transcoding shall support the requirements specified for Media Control in clause 10.2.5 of 3GPP TS 29.162 [20] respectively for the IBCF and TrGW, with the following additions:
+
+- During an originating or terminating PS session establishment, the IMS-ALG (ATCF) may remove codecs when passing SDP offers (e.g. codecs known not to be supported by either the IMS-AGW (ATGW) or the MSC Server), but the IMS-ALG (ATCF) should pass SDP offers without adding codecs to the SDP offer and pass SDP answers without modification to the contained codecs to avoid the potential need for transcoding in the IMS-AGW (ATGW) before the PS to CS access transfer;
+- During the PS to CS access transfer procedure, the IMS-ALG (ATCF) shall preferentially select from the SDP offer it receives from the MSC Server the codec already configured on the corresponding remote leg, if available.
+
+The procedures for the IMS-ALG (ATCF) and IMS-AGW (ATGW) are further detailed in clause 6.2.14.
+
+### 5.13.2 Handling of common codec parameters
+
+When receiving an SDP offer, the IMS-ALG may add a payload type to offer transcoding before forwarding the SDP offer (denoted as "codec 3" in figures 10.2.5.1 and 10.2.5.2 of 3GPP TS 29.162 [20]). If that payload type is selected in the SDP answer, the IMS-ALG needs to transcode. Table 5.13.2.1 describes the IMS-ALG handling of codec related parameters applicable to multiple codecs when the IMS-ALG adds the payload type to the SDP offer, and that payload type is selected in the SDP answer.
+
+**Table 5.13.2.1: IMS-ALG handling of common codec parameters for transcoding.**
+
+| Parameter | Handling of common codec parameter in the sent SDP offer | Handling of common codec parameter in the received SDP answer |
+|-------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| ptime
(NOTE) | If the ptime parameter is included in the received SDP offer, the IMS-ALG shall supply the parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. If the value is supported by the IMS-AGW for receiving media, the IMS-ALG should keep the value from the received SDP offer unchanged in the SDP offer it sends. If the IMS-AGW only supports a lower ptime value, the IMS-ALG shall supply the ptime value according to configured preferences in the SDP offer it forwards. If no ptime value was contained in the received SDP offer, the IMS-ALG may add the parameter with a value according to configured preferences to the SDP offer. | If the ptime parameter is included in the received SDP answer, the IMS-ALG shall supply the parameter to the IMS-AGW for the termination towards the SDP answerer in the remote descriptor. If the value is supported by the IMS-AGW for receiving media, the IMS-ALG should keep the value from the received SDP answer unchanged in the SDP answer it sends. If the IMS-AGW only supports a lower ptime value, the IMS-ALG shall supply the ptime value according to configured preferences in the SDP answer it forwards. If no ptime value was contained in the received SDP answer, the IMS-ALG may add the parameter with a value according to configured preferences to the SDP answer. |
+| maxptime
(NOTE) | If the maxptime parameter is included in the received SDP offer, the IMS-ALG shall supply the parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. If the value is supported by the IMS-AGW for receiving media, the IMS-ALG should keep the value from the received SDP offer unchanged in the SDP offer it sends. If the IMS-AGW only supports a lower maxptime value, the IMS-ALG shall supply the maxptime value according to the IMS-AGW capabilities in the SDP offer it forwards. If no maxptime value was contained in the received SDP offer, the IMS-ALG may add the parameter with a value according to the IMS-AGW capabilities to the SDP offer. | If the maxptime parameter is included in the received SDP answer, the IMS-ALG shall supply the parameter to the IMS-AGW for the termination towards the SDP answerer in the remote descriptor. If the value is supported by the IMS-AGW for receiving media, the IMS-ALG should keep the value from the received SDP answer unchanged in the SDP answer it sends. If the IMS-AGW only supports a lower maxptime value, the IMS-ALG shall supply the maxptime value according to the IMS-AGW capabilities in the SDP answer it forwards. If no maxptime value was contained in the received SDP answer, the IMS-ALG may add the parameter with a value according to the IMS-AGW capabilities to the SDP answer. |
+| NOTE: This SDP attribute is defined in IETF RFC 4566 [53]. It applies to all codecs offered in an SDP media line. | | |
+
+Table 5.13.2.2 describes the IMS-AGW handling of codec related parameters applicable to multiple codecs.
+
+**Table 5.13.2.2: IMS-AGW handling of common codec parameters**
+
+| Parameter | Handling in local descriptor | Handling in remote descriptor |
+|-------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------|
+| ptime
(NOTE) | The IMS-AGW should expect to receive packets with this ptime value and may use this information when deciding upon the required resources. | The IMS-AGW should use this ptime value when sending packets. |
+| maxptime
(NOTE) | The IMS-AGW should expect to receive packets with this maxptime value and may use this information when deciding upon the required resources. | The IMS-AGW shall use this maxptime value when sending packets. |
+| NOTE: This SDP attribute is defined in IETF RFC 4566 [53]. It applies to all codecs offered in an SDP media line. | | |
+
+### 5.13.3 Handling of the EVS speech codec
+
+The Enhanced Voice Services (EVS) speech codec is defined in 3GPP TS 26.441 [51]. Its RTP payload type is defined in 3GPP TS 26.445 [52], and procedures for its usage as IMS Multimedia Telephony speech codec are defined in 3GPP TS 26.114 [21].
+
+The IMS-ALG and the IMS-AGW may support transcoding to and from the EVS speech codec. If they do so, the procedures in the present clause apply.
+
+When receiving an SDP offer, the IMS-ALG may add an EVS codec payload type before forwarding the SDP offer (denoted as "codec 3" in figures 10.2.5.1 and 10.2.5.2 of 3GPP TS 29.162 [20]). If that EVS payload type is selected in
+
+the SDP answer, the IMS-ALG needs to transcode the EVS codec. Table 5.13.3.1 describes the IMS-ALG handling of EVS codec parameters when the IMS-ALG adds the EVS payload type to the SDP offer, and that EVS payload type is selected in the SDP answer. In addition, rules for the parameter handling in 3GPP TS 26.445 [52] shall apply.
+
+**Table 5.13.3.1: IMS-ALG handling of EVS related SDP parameters when the IMS-ALG adds the EVS payload type to the SDP offer.**
+
+| Parameter | Handling for EVS payload type added to the SDP offer to offer transcoding | Handling if offered EVS payload type is accepted in the SDP answer |
+|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| evs-mode-switch
(NOTE 1) | If the IMS-ALG expects that interworking between AMR-WB and EVS is required (e.g. because AMR-WB was the first payload type in the received SDP offer), it shall include the evs-mode-switch with value 1. Otherwise the IMS-ALG shall not include the evs-mode-switch. | If the evs-mode-switch parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the answerer in the remote descriptor. |
+| hf-only
(NOTE 1) | If the IMS-ALG is configured to negotiate using only the header-full EVS RTP payload format, the IMS-ALG shall include the hf-only parameter with a value 1. | If the hf-only parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor. |
+| dtx
(NOTE 1) | If the usage of DTX is not desired in the sending and receiving direction (e.g. due to DTX capabilities of expected codecs to transcode with, e.g. other codecs in the received SDP offer), the IMS-ALG shall include the dtx parameter with a value 0. | If the dtx parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor. |
+| dtx-recv
(NOTE 1) | If receiving DTX is not desired and the dtx parameter is not included, the IMS-ALG shall include the dtx-recv parameter with a value 0. If both the dtx and dtx-recv parameters are included, those parameters shall have the same value; however, inclusion of the dtx-recv parameter is not required if the dtx parameter is included. | If the dtx-recv parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor. |
+| br
(NOTE 1) | If the IMS-ALG desires the same bit rate range for the send and receive direction in EVS primary mode, and wants to restrict the bit rate range to match IMS-AGW capabilities and possible configured policies, it shall supply the br parameter in the SDP offer it sends. Otherwise the IMS-ALG shall not include this parameter in the SDP offer.
If the IMS-ALG also supplies the bw, bw-send or bw-recv parameter, the value of the br parameter shall be compatible with the values of those parameters. | If the br parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor. |
+| br-send
(NOTE 1) | If the IMS-ALG desires a different bit rate (range) for the send and receive direction in EVS primary mode, and wants to restrict the bit rate range for the send direction to match IMS-AGW capabilities and possible configured policies, it shall supply the br-send parameter in the SDP offer it sends. Otherwise the IMS-ALG shall not include this parameter in the SDP offer.
If the IMS-ALG also supplies the bw or bw-send parameter, the value of the br-send parameter shall be compatible with the values of those parameters. | If the br-send parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor. |
+| br-recv
(NOTE 1) | If the IMS-ALG desires a different bit rate (range) for the send and receive direction in EVS primary mode, and wants to restrict the bit rate range for the receive direction to match IMS-AGW capabilities and possible configured policies, it shall supply the br-recv parameter in the SDP offer it sends. Otherwise the IMS-ALG shall not include this parameter in the SDP offer.
If the IMS-ALG also supplies the bw or bw-recv parameter, the value of the br-recv parameter shall be compatible with the values of those parameters. | If the br-recv parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor. |
+| bw
(NOTE 1) | If the IMS-ALG desires the same sampling bandwidth(s) for the send and receive direction in EVS primary mode, and wants to restrict the | If the bw parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor. |
+
+| | | |
+|--------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | sampling bandwidths to match IMS-AGW capabilities, sampling bandwidths of expected codecs EVS will be transcoded to (e.g. the first payload type in the received SDP offer), and possible configured policies, it shall supply the bw parameter in the SDP offer it sends. Otherwise the IMS-ALG shall not include this parameter in the SDP offer. | |
+| bw-send
(NOTE 1) | If the IMS-ALG desires different sampling bandwidths for the send and receive direction in EVS primary mode, and wants to restrict the sampling bandwidths in the send direction to match IMS-AGW capabilities, sampling bandwidths of expected codecs EVS will be transcoded to (e.g. the first payload type in the received SDP offer) and possible configured policies, it shall supply the bw-send parameter in the SDP offer it sends. Otherwise the IMS-ALG shall not include this parameter in the SDP offer. | If the bw-send parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor. |
+| bw-recv
(NOTE 1) | If the IMS-ALG desires different sampling bandwidths for the send and receive direction in EVS primary mode, and wants to restrict the sampling bandwidths in the receive direction to match IMS-AGW capabilities, sampling bandwidths of expected codecs EVS will be transcoded to (e.g. the first payload type in the received SDP offer), and possible configured policies, it shall supply the bw-recv parameter in the SDP offer it sends. Otherwise the IMS-ALG shall not include this parameter in the SDP offer. | If the bw-recv parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor. |
+| cmr
(NOTE 1) | If the IMS-ALG desires to disable codec mode requests within the RTP payload of the EVS primary mode (due to the IMS-AGW capabilities or policies), it shall include the cmr parameter with value -1 in the SDP offer it sends. | If the cmr parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor. |
+| ch-aw-recv
(NOTE 1) | The IMS-ALG shall include the ch-aw-recv parameter in the SDP offer if it desires to control the channel-aware mode of EVS in the receive direction, e.g. to disable it with value -1. The IMS-ALG shall consider the capabilities of the IMS-AGW when it chooses an appropriate value. | If the ch-aw-recv parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor. |
+| number of channels
(NOTE 2) | The IMS-ALG shall only include the "number of channels" parameter in the SDP offer if it desires to send or receive multiple channels. If the desired number of channels in the send and receive direction differs, the IMS-ALG shall include the higher value. The IMS-ALG should consider the number of channels of expected codecs EVS will be transcoded to (e.g. the first payload type in the received SDP offer). | If the "number of channels" parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor. |
+| ch-send
(NOTE 1) | The IMS-ALG shall only include the ch-send parameter in the SDP offer if it desires to send multiple channels, with different numbers of channels in the send and receive direction. The IMS-ALG should consider the number of channels of expected codecs EVS will be transcoded to (e.g. the first payload type in the received SDP offer). | If the ch-send parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor. |
+| ch-recv
(NOTE 1) | The IMS-ALG shall only include the ch-recv parameter in the SDP offer if it desires to receive multiple channels, with different numbers of channels in the send and receive direction. The IMS-ALG should consider the number of channels of expected codecs EVS will be transcoded to (e.g. the first payload type in the received SDP offer). | If the ch-recv parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor. |
+| mode-set
(NOTE 3) | The IMS-ALG shall only include the mode-set parameter in the SDP offer if it desires to restrict | If the mode-set parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter |
+
+| | | |
+|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | the mode-set of AMR-WB IO mode. The IMS-ALG should only restrict the mode-set if the expected codec EVS will be interworked with (e.g. the first payload type in the received SDP offer) is AMR-WB and has a restricted mode-set. | to the IMS-AGW in the remote descriptor.
If the IMS-ALG decides that EVS will be transcoded to AMR-WB, the IMS-ALG should include the mode-set parameter for the AMR-WB payload in the SDP offer it forwards if this is permissible by AMR-WB offer answer rules in IETF RFC 4867 [54]. |
+| mode-change-period (NOTE 3) | The IMS-ALG shall only include the mode-change-period parameter with value 2 in the SDP offer if it desires to restrict the mode-change-period of received packets in AMR-WB IO mode. The IMS-ALG should only restrict the mode-change-period if the expected codec EVS will be interworked with (e.g. the first payload type in the received SDP offer) is AMR-WB and has such a restriction. | If the mode-change-period parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor.
If the IMS-ALG decides that EVS will be transcoded to AMR-WB, the IMS-ALG should include the mode-change-period parameter for the AMR-WB payload in the SDP offer it forwards. |
+| mode-change-capability (NOTE 3) | The IMS-ALG shall include the mode-change-capability parameter with value 2 in the SDP offer if it is capable of restricting the mode-change-period of packets it sends in AMR-WB IO mode. The IMS-ALG should consider the mode-change-period of the expected codec EVS will be interworked with (e.g. the first payload type in the received SDP offer) if this is AMR-WB. | If the mode-change-capability parameter is contained in the SDP answer, the IMS-ALG may forward this parameter to the IMS-AGW in the remote descriptor.
If the IMS-ALG decides that EVS will be transcoded to AMR-WB, the IMS-ALG should include the mode-change-capability parameter for the AMR-WB payload in the SDP offer it forwards. |
+| mode-change-neighbor (NOTE 3) | The IMS-ALG shall only include the mode-change-neighbor parameter in the SDP offer if it desires to restrict the mode-change within received packets of AMR-WB IO mode to neighboring modes. The IMS-ALG should consider the mode-change-neighbor parameter of the expected codec EVS will be interworked with (e.g. the first payload type in the received SDP offer) if this is AMR-WB. | If the mode-change-neighbor parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor.
If the IMS-ALG decides that EVS will be transcoded to AMR-WB, the IMS-ALG should include the mode-change-neighbor parameter for the AMR-WB payload in the SDP offer it forwards. |
+| max-red (NOTE 5) | The IMS-ALG shall only include the max-red parameter in the SDP offer if it desires to restrict the maximum redundancy of received packets. IMS-ALG shall consider the capabilities of the IMS-AGW, and should consider the max-red parameter of the expected codec EVS will be interworked with (e.g. the first payload type in the received SDP offer) if this is AMR-WB. | If the max-red parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor.
If the IMS-ALG decides that EVS will be interworked with AMR-WB, the IMS-ALG should include the max-red parameter for the AMR-WB payload in the SDP offer it forwards. |
+| 3gpp_mtsi_app_adapt (NOTE 4) | If the IMS-AGW supports RTCP APP based adaptation messages defined in 3GPP TS 26.114 [21], and the IMS-ALG has a policy to negotiate the usage of those messages, the IMS-ALG shall include the 3gpp_mtsi_app_adapt SDP attribute indicating the supported APP messages in the SDP offer. | If the 3gpp_mtsi_app_adapt attribute is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor. |
+| NOTE 1: This MIME parameter of the EVS RTP payload type is defined in 3GPP TS 26.445 [51]. It is encapsulated within the SDP "a=fmtp" attribute defined IETF RFC 4566 [53]. | | |
+| NOTE 2: This number of channels are encoded as "encoding parameters" of the SDP "a=rtpmap" attribute defined in IETF RFC 4566 [53]. | | |
+| NOTE 3: This MIME parameter of the EVS RTP payload type relates to AMR-WB IO mode and is defined in IETF RFC 4867 [54]. It is encapsulated within the SDP "a=fmtp" attribute defined IETF RFC 4566 [53]. | | |
+| NOTE 4: This SDP attribute is defined in 3GPP TS 26.114 [21]. It applies to all codecs offered in an SDP media line. However, some values are specific to EVS. | | |
+| NOTE 5: This MIME parameter of the EVS RTP payload type is defined in IETF RFC 4867 [54]. It is encapsulated within the SDP "a=fmtp" attribute defined IETF RFC 4566 [53]. | | |
+
+When receiving an SDP offer that contains an EVS codec payload type (denoted as "codec 1" in figure 10.2.5.2 of 3GPP TS 29.162 [20]), the IMS-ALG may add other payload types before forwarding the SDP offer (denoted as "codec 3" in figure 10.2.5.2 of 3GPP TS 29.162 [20]). If that added payload type is selected in the SDP answer, the IMS-ALG needs to transcode, and may select to transcode to the EVS codec. Table 5.13.3.2 describes the IMS-ALG handling of EVS codec parameters when the IMS-ALG receives an EVS payload type in an SDP offer, and selects to transcode between the EVS codec and some other codec. In addition, rules for the parameter handling in 3GPP TS 26.445 [52] shall apply.
+
+**Table 5.13.3.2: IMS-ALG handling of EVS related SDP parameters when the IMS-ALG receives the EVS payload type in the SDP offer and decides to transcode between the EVS payload type and some other codec.**
+
+| Parameter | Handling of EVS payload type parameter received in the SDP offer | EVS payload type supplied in the SDP answer |
+|-----------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| evs-mode-switch
(NOTE 1) | If the evs-mode-switch parameter is contained in the SDP offer and the IMS-ALG select the EVS payload type for transcoding, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | If the evs-mode-switch parameter is contained in the SDP offer, the IMS-ALG shall include the evs-mode-switch parameter with unmodified value in the SDP answer.
Otherwise, if the IMS-ALG decides to interwork between AMR-WB and EVS (e.g. because AMR-WB was selected in the received SDP answer), it shall include the evs-mode-switch with value 1.
Otherwise the IMS-ALG shall not include the evs-mode-switch.
If the IMS-ALG supplies the evs-mode-switch in the SDP answer, it shall also supply it to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value. |
+| hf-only
(NOTE 1) | If the hf-only parameter is contained in the SDP offer and the IMS-ALG select the EVS payload type for transcoding, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | If the hf-only parameter is contained in the SDP offer, the IMS-ALG shall include the hf-only parameter with unmodified value in the SDP answer.
Otherwise, if the IMS-ALG is configured to negotiate using only the header-full EVS RTP payload format, the IMS-ALG shall include the hf-only parameter with a value 1.
If the IMS-ALG supplies the hf-only parameter in the SDP answer, it shall also supply it to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value. |
+| dtx
(NOTE 1) | If the dtx parameter is contained in the SDP offer and the IMS-ALG select the EVS payload type for transcoding, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | If the dtx parameter is contained in the SDP offer, the IMS-ALG shall include the dtx parameter with unmodified value in the SDP answer.
If the dtx parameter is not contained in the SDP offer and if a dtx-recv parameter is contained in the SDP offer, the IMS-ALG may include the dtx parameter in the SDP answer, and the value of the dtx parameter shall then be identical to that of the dtx-recv parameter in the SDP offer (e.g. if that value matches DTX capabilities of expected codecs to transcode with).
If the dtx parameter is not contained in the SDP offer and if the dtx-recv parameter is not contained in the SDP offer, and if the usage of DTX is not desired (e.g. due to DTX capabilities of expected codecs to transcode with, e.g. other codecs in the received SDP answer), the IMS-ALG shall include in the SDP answer the dtx parameter with a value 0.
If the IMS-ALG supplies the dtx parameter in the SDP answer, it shall also supply it to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value. |
+| dtx-recv
(NOTE 1) | If the dtx-recv parameter is contained in the SDP offer and the IMS-ALG select the EVS payload type for transcoding, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | If no dtx parameter is included in the SDP answer and if the reception of DTX is not desired, the IMS-ALG shall include in the SDP answer the dtx-recv parameter with a value 0.
If both the dtx and dtx-recv parameters are included, those parameters shall have the same value; however, inclusion of the dtx-recv parameter is not required if the dtx parameter is included.
If the IMS-ALG supplies the dtx-recv parameter in the SDP answer, it should also supply it to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value. |
+| br
(NOTE 1) | If the br parameter is contained in the SDP offer, the IMS-ALG shall check if the IMS-AGW | If the br parameter is contained in the SDP offer, the IMS-ALG shall select a bitrate value, which is either |
+
+| | | |
+|---------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | supports the indicated bitrates, or a subset of them, in EVS primary mode in the send and receive direction. If the indicated bitrates, and even each subset of them, are not supported, the IMS-ALG shall not select the EVS payload type for transcoding. If the IMS-ALG selects the EVS payload type, it shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor.
| the received br value or a subset of it, based on IMS-AGW capabilities and possible configured policies, and shall include the br parameter with the selected value that is also supplied towards the IMS-AGW in the SDP answer.
Otherwise, if the IMS-ALG desires the same bit rate range for the send and receive direction in EVS primary mode, and wants to restrict the bit rate range to match IMS-AGW capabilities and possible configured policies, it shall supply the br parameter in the SDP answer it sends.
Otherwise the IMS-ALG shall not include this parameter in the SDP answer.
If the IMS-ALG also supplies the bw, bw-send or bw-recv parameter, the value of the br parameter shall be compatible with the values of those parameters.
If the IMS-ALG supplies the br parameter in the SDP answer, it shall also supply to the IMS-AGW the br parameter in the local descriptor for the termination towards the offerer with the same value.
|
+| br-send
(NOTE 1) | If the br-send parameter is contained in the SDP offer, the IMS-ALG shall check if the IMS-AGW supports the indicated bitrates, or a subset of them, in EVS primary mode in the receive direction. If the indicated bitrates, and even each subset of them, are not supported, the IMS-ALG shall not select the EVS payload type for transcoding. If the IMS-ALG selects the EVS payload type, it shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor.
| If the br-recv parameter is contained in the SDP offer, the IMS-ALG shall select a bitrate value, which is either the received br-recv value or a subset of it, based on IMS-AGW capabilities and possible configured policies, and shall include the br-send parameter with the selected value that is also supplied towards the IMS-AGW in the SDP answer.
Otherwise, if the IMS-ALG desires a different bit rate (range) for the send and receive direction in EVS primary mode, and wants to restrict the bit rate range for the send direction to match IMS-AGW capabilities and possible configured policies, it shall supply the br-send parameter in the SDP answer it sends.
Otherwise the IMS-ALG shall not include the br-send parameter in the SDP answer.
If the IMS-ALG also supplies the bw or bw-send parameter, the value of the br-send parameter shall be compatible with the values of those parameters.
If the IMS-ALG supplies the br-send parameter in the SDP answer, it shall also supply to the IMS-AGW the br-send parameter in the local descriptor for the termination towards the offerer with the same value.
|
+| br-recv
(NOTE 1) | If the br-recv parameter is contained in the SDP offer, the IMS-ALG shall check if the IMS-AGW supports the indicated bitrates, or a subset of them, in EVS primary mode in the send direction. If the indicated bitrates, and even each subset of them, are not supported, the IMS-ALG shall not select the EVS payload type for transcoding. If the IMS-ALG selects the EVS payload type, it shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor.
| If the br-send parameter is contained in the SDP offer, the IMS-ALG shall select a bitrate value, which is either the received br-send value or a subset of it, based on IMS-AGW capabilities and possible configured policies, and shall include the br-recv parameter with the selected value that is also supplied towards the IMS-AGW in the SDP answer.
Otherwise, if the IMS-ALG desires a different bit rate (range) for the send and receive direction in EVS primary mode, and wants to restrict the bit rate range for the receive direction to match IMS-AGW capabilities and possible configured policies, it shall supply the br-recv parameter in the SDP answer it sends.
Otherwise the IMS-ALG shall not include the br-recv parameter in the SDP answer.
If the IMS-ALG also supplies the bw or bw-recv parameter, the value of the br-recv parameter shall be compatible with the values of those parameters.
If the IMS-ALG supplies the br-recv parameter in the SDP answer, it shall also supply to the IMS-AGW
|
+
+| | | |
+|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | the br-recv parameter in the local descriptor for the termination towards the offerer with the same value. |
+| bw
(NOTE 1) | If the bw parameter is contained in the SDP offer, the IMS-ALG shall check if the IMS-AGW supports the indicated sampling bandwidth(s), or a subset of them, in EVS primary mode in the send and receive direction. If the indicated sampling bandwidth(s), and even each subset of them, are not supported, the IMS-ALG shall not select the EVS payload type for transcoding. If the IMS-ALG selects the EVS payload type, it shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | If the bw parameter is contained in the SDP offer, the IMS-ALG shall select a sampling bandwidth value, which is either the received bw value or a subset of it, based on IMS-AGW capabilities and possible configured policies, and shall include the bw parameter with the selected value that is also supplied towards the IMS-AGW in the SDP answer. Otherwise, if the IMS-ALG desires the same sampling bandwidth(s) for the send and receive direction in EVS primary mode, and wants to restrict the sampling bandwidth(s) to match IMS-AGW capabilities and possible configured policies, it shall supply the bw parameter in the SDP answer it sends. Otherwise the IMS-ALG shall not include this parameter in the SDP answer. If the IMS-ALG also supplies the br, br-send or br-recv parameter, the value of the bw parameter shall be compatible with the values of those parameters. If the IMS-ALG supplies the bw parameter in the SDP answer, it shall also supply to the IMS-AGW the bw parameter in the local descriptor for the termination towards the offerer with the same value. |
+| bw-send
(NOTE 1) | If the bw-send parameter is contained in the SDP offer, the IMS-ALG shall check if the IMS-AGW supports the indicated sampling bandwidths, or a subset of them, in EVS primary mode in the receive direction. If the indicated sampling bandwidths, and even each subset of them, are not supported, the IMS-ALG shall not select the EVS payload type for transcoding. If the IMS-ALG selects the EVS payload type, it shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | If the bw-recv parameter is contained in the SDP offer, the IMS-ALG shall select a sampling bandwidths value, which is either the received bw-recv value or a subset of it, based on IMS-AGW capabilities and possible configured policies, and shall include the bw-send parameter with the selected value in the SDP answer. Otherwise, if the IMS-ALG desires different sampling bandwidths for the send and receive direction in EVS primary mode, and wants to restrict the sampling bandwidths for the send direction to match IMS-AGW capabilities and possible configured policies, it shall supply the bw-send parameter in the SDP answer it sends. Otherwise the IMS-ALG shall not include the br-send parameter in the SDP answer. If the IMS-ALG also supplies the bw or bw-send parameter, the value of the br-send parameter shall be compatible with the values of those parameters. If the IMS-ALG supplies the bw-send parameter in the SDP answer, it shall also supply to the IMS-AGW the bw-send parameter in the local descriptor for the termination towards the offerer with the same value. |
+| bw-recv
(NOTE 1) | If the br-recv parameter is contained in the SDP offer, the IMS-ALG shall check if the IMS-AGW supports the indicated sampling bandwidths, or a subset of them, in EVS primary mode in the send direction. If the indicated sampling bandwidths, and even each subset of them, are not supported, the IMS-ALG shall not select the EVS payload type for transcoding. If the IMS-ALG selects the EVS payload type, it shall forward the bw-recv parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | If the bw-send parameter is contained in the SDP offer, the IMS-ALG shall select a sampling bandwidths value, which is either the received bw-send value or a subset of it, based on IMS-AGW capabilities and possible configured policies, and shall include the bw-recv parameter with the selected value in the SDP answer. Otherwise, if the IMS-ALG desires a different sampling bandwidths for the send and receive direction in EVS primary mode, and wants to restrict the sampling bandwidths for the receive direction to match IMS-AGW capabilities and possible configured policies, it shall supply the bw-recv parameter in the SDP answer it sends. Otherwise the IMS-ALG shall not include the bw-recv parameter in the SDP answer. If the IMS-ALG also supplies the br or br-recv parameter, the value of the bw-recv parameter shall be compatible with the values of those parameters. |
+
+| | | |
+|--------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | If the IMS-ALG supplies the bw-send parameter in the SDP answer, it shall also supply it to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value. |
+| cmr
(NOTE 1) | If the cmr parameter is contained in the SDP offer and the IMS-ALG select the EVS payload type for transcoding, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | If the cmr parameter is contained in the SDP offer, the IMS-ALG shall include the cmr parameter with unmodified value in the SDP answer.
Otherwise, if the IMS-AGW desires to disable codec mode requests within the RTP payload of the EVS primary mode (due to the IMS-AGW capabilities or policies), it shall include the cmr parameter with value -1 in the SDP answer it sends
If the IMS-ALG supplies the cmr parameter in the SDP answer, it shall also supply it to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value. |
+| ch-aw-recv
(NOTE 1) | If the ch-aw-recv parameter is contained in the SDP offer the IMS-ALG shall check if the IMS-AGW supports the indicated mode in the send direction. If the indicated mode is not supported, the IMS-ALG shall not select the EVS payload type for transcoding. If the IMS-ALG selects the EVS payload type for transcoding, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | If the IMS-ALG it desires to control the channel-aware mode of EVS in the receive direction, e.g. to disable it with value -1, it shall include the ch-aw-recv parameter in the SDP offer and shall also supply the ch-aw-recv parameter to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value. The IMS-ALG shall consider the capabilities of the IMS-AGW when it chooses an appropriate value. |
+| number of channels
(NOTE 2) | If the "number of channels" parameter is contained in the SDP offer the IMS-ALG shall check if the IMS-AGW supports the indicated number of channels. If the indicated number of channels is not supported, the IMS-ALG shall not select the EVS payload type for transcoding. If the IMS-ALG selects the EVS payload type for transcoding, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | If the "number of channels" parameter is contained in the SDP offer, the IMS-ALG shall include the "number of channels" parameter with unmodified value in the SDP answer and shall also supply it to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value. |
+| ch-send
(NOTE 1) | If the ch-send parameter is contained in the SDP offer the IMS-ALG shall check if the IMS-AGW supports the indicated number of channels in the receive direction. If the indicated number of channels is not supported, the IMS-ALG shall not select the EVS payload type for transcoding. If the IMS-ALG selects the EVS payload type for transcoding, the IMS-ALG shall forward the ch-send parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | If the ch-recv parameter is contained in the SDP offer, the IMS-ALG shall include the ch-send parameter with unmodified value in the SDP answer and shall also supply the ch-send parameter to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value. |
+| ch-recv
(NOTE 1) | If the ch-recv parameter is contained in the SDP offer the IMS-ALG shall check if the IMS-AGW supports the indicated number of channels in the send direction. If the indicated number of channels is not supported, the IMS-ALG shall not select the EVS payload type for transcoding. If the IMS-ALG selects the EVS payload type for transcoding, the IMS-ALG shall forward the ch-recv parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | If the ch-send parameter is contained in the SDP offer, the IMS-ALG shall include the ch-recv parameter with unmodified value in the SDP answer and shall also supply the ch-recv parameter to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value. |
+| mode-set
(NOTE 3) | If the mode-set parameter is contained in the SDP offer and the IMS-ALG select the EVS payload type for transcoding, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor.
If the mode-set parameter is contained in the SDP offer and the IMS-ALG expects that EVS will be interworked with AMR-WB (e.g. if EVS is the first payload type in the received SDP offer, | If the mode-set parameter is contained in the SDP offer, the IMS-ALG shall include the mode-set parameter with unmodified value in the SDP answer.
Otherwise, if the mode-set parameter is contained in the SDP answer for an AMR-WB payload type and the IMS-ALG decides that the EVS codec will be interworked with that AMR-WB payload type, the IMS-ALG should include that mode-set parameter for the EVS payload in the SDP offer it forwards. |
+
+| | | |
+|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | and the IMS-ALG adds a AMR-WB payload type), the IMS-ALG should include the mode-set parameter with the same value for the AMR-WB payload in the SDP offer it forwards. | If the IMS-ALG supplies the mode-set parameter in the SDP answer, it shall also supply it to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value. |
+| mode-change-period (NOTE 3) | If the mode-change-period parameter is contained in the SDP offer and the IMS-ALG select the EVS payload type for transcoding, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor.
If the mode-change-period parameter is contained in the SDP offer and the IMS-ALG expects that EVS will be interworked with AMR-WB (e.g. if EVS is the first payload type in the received SDP offer, and the IMS-ALG adds the AMR-WB payload type), the IMS-ALG should include the mode-change-period parameter with the same value for the AMR-WB payload type in the SDP offer it forwards.
| If the mode-change-period parameter is contained in the SDP answer for the AMR-WB payload type and the IMS-ALG decides the EVS codec will be interworked with that AMR-WB payload type, the IMS-ALG should include the mode-change-period parameter for the EVS payload in the SDP offer it forwards.
If the IMS-ALG supplies the mode-change-period parameter in the SDP answer, it shall also supply it to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value.
|
+| mode-change-capability (NOTE 3) | If the mode-change-capability parameter is contained in the SDP offer and the IMS-ALG select the EVS payload type for transcoding, the IMS-ALG may forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor.
If the IMS-ALG expects that EVS will be interworked with AMR-WB (e.g. if EVS is the first payload type in the received SDP offer, and the IMS-ALG adds the AMR-WB payload type), the IMS-ALG should include the mode-change-capability parameter with value 2 for the AMR-WB payload in the SDP offer it forwards.
| If the IMS-ALG decides that the EVS codec is selected, the IMS-ALG shall either include the mode-change-capability parameter with value 2 or omit the parameter for the EVS payload in the SDP offer it forwards.
If the IMS-ALG supplies the mode-change-capability parameter in the SDP answer, it may also supply it to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value.
|
+| mode-change-neighbor (NOTE 3) | If the mode-change-neighbor parameter is contained in the SDP offer and the IMS-ALG select the EVS payload type for transcoding, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor.
If the mode-change-neighbor parameter is contained in the SDP offer and the IMS-ALG expects that EVS will be interworked with AMR-WB (e.g. if EVS is the first payload type in the received SDP offer, and the IMS-ALG adds the AMR-WB payload type), the IMS-ALG should include the mode-change-neighbor with the same value for the AMR-WB payload in the SDP offer it forwards.
| If the mode-change-neighbor parameter is contained in the SDP answer for the AMR-WB payload type and the IMS-ALG decides that the EVS codec will be interworked with that AMR-WB payload type, the IMS-ALG should include the mode-change-neighbor parameter for the EVS payload in the SDP offer it forwards.
If the IMS-ALG supplies the mode-change-neighbor parameter in the SDP answer, it shall also supply it to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value.
|
+| max-red (NOTE 5) | If the max-red parameter is contained in the SDP offer and the IMS-ALG select the EVS payload type for transcoding, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor.
If the max-red parameter is contained in the SDP offer and the IMS-ALG expects that EVS will be interworked with AMR-WB (e.g. if EVS is the first payload type in the received SDP offer, and the IMS-ALG adds the AMR-WB payload type), the IMS-ALG should include the max-red parameter with the same value for the AMR-WB payload in the SDP offer it forwards with a value that considers the received value and the capabilities of the IMS-AGW.
| The IMS-ALG shall only include the max-red parameter in the SDP answer if it desires to restrict the maximum redundancy of received packets. When selecting the value of the max-red parameter, the IMS-ALG shall consider the capabilities of the IMS-AGW and, if the max-red parameter is contained in the SDP answer for the AMR-WB payload type and the IMS-ALG decides that the EVS codec will be interworked with that AMR-WB payload type, the received value.
If the IMS-ALG supplies the max-red parameter in the SDP answer, it shall also supply it to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value.
|
+| 3gpp_mtsi_app_adapt (NOTE 4) | If the 3gpp_mtsi_app_adapt parameter is contained in the SDP answer, and the IMS-ALG select the EVS payload type for transcoding, the IMS-ALG shall forward this parameter to the IMS-AGW the IMS-ALG shall forward this | If the IMS-AGW supports RTCP APP based adaptation messages defined in 3GPP TS 26.114 [21], and the IMS-ALG has a policy to negotiate the usage of those messages, the IMS-ALG shall include the |
+
+| | | |
+|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------|--------------------------------------------------------------------------------------------|
+| | parameter to the IMS-AGW in the remote descriptor. | 3gpp_mtsi_app_adapt SDP attribute indicating the supported APP messages in the SDP answer. |
+| NOTE 1: This MIME parameter of the EVS RTP payload type is defined in 3GPP TS 26.445 [51]. It is encapsulated within the SDP "a=fmtp" attribute defined IETF RFC 4566 [53]. | | |
+| NOTE 2: This number of channels are encoded as "encoding parameters" of the SDP "a=rtpmap" attribute defined in IETF RFC 4566 [53]. | | |
+| NOTE 3: This MIME parameter of the EVS RTP payload type relates to AMR-WB IO mode and is defined in IETF RFC 4867 [54]. It is encapsulated within the SDP "a=fmtp" attribute defined IETF RFC 4566 [53]. | | |
+| NOTE 4: This SDP attribute is defined in 3GPP TS 26.114 [21]. It applies to all codecs offered in an SDP media line. However, some values are specific to EVS. | | |
+| NOTE 5: This MIME parameter of the EVS RTP payload type is defined in IETF RFC 4867 [54]. It is encapsulated within the SDP "a=fmtp" attribute defined IETF RFC 4566 [53]. | | |
+
+Table 5.13.3.3 describes the IMS-AGW handling of EVS codec parameters. The IMS-AGW should support transcoding of EVS with bandwidths (sampling rates) which are supported by codec the IMS-AGW is capable to transcode EVS to/from (e.g. NB for AMR, and WB for AMR-WB).
+
+Table 5.13.3.3: IMS-AGW handling of EVS codec parameters
+
+| Parameter | Handling in local descriptor | Handling in remote descriptor |
+|-----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| evs-mode-switch
(NOTE 1) | The IMS-AGW should expect to receive packets with the indicated EVS mode and may use this information when deciding upon the required resources. | The IMS-AGW shall use the indicated EVS mode (e.g. AMR-WB interoperable mode for value 1) when sending packets. |
+| hf-only
(NOTE 1) | The IMS-AGW should expect to receive packets with the indicated mode and may use this information when deciding upon the required resources. | The IMS-AGW shall use the indicated mode (e.g. header-full EVS RTP payload format for value 1) when sending packets. |
+| dtx
(NOTE 1) | The IMS-AGW should expect to receive packets with this dtx mode and may use this information when deciding upon the required resources.
(NOTE 8) | The IMS-AGW shall use this dtx mode (i.e. no usage of DTX for value 0) when sending packets.
(NOTE 8) |
+| dtx-recv
(NOTE 1) | The IMS-AGW should expect to receive packets with this dtx mode and may use this information when deciding upon the required resources.
(NOTE 8) | The IMS-AGW shall use this dtx mode (i.e. no usage of DTX for value 0) when sending packets.
(NOTE 8) |
+| br
(NOTE 1) | If different values for the br parameter are provided in the local and remote descriptors, one will be a subset of the other, and the smaller range shall apply.
The IMS-AGW should expect to receive packets with this bitrate range and may use this information when deciding upon the required resources.
The IMS-AGW shall use this bitrate range when sending packets. | If different values for the br parameter are provided in the local and remote descriptors, one will be a subset of the other, and the smaller range shall apply.
The IMS-AGW should expect to receive packets with this bitrate range and may use this information when deciding upon the required resources.
The IMS-AGW shall use this bitrate range when sending packets. |
+| br-send
(NOTE 1) | If different values for the br-send parameter in the local descriptor and for the br-recv parameter in the remote descriptor are provided, one will be a subset of the other, and the smaller range shall apply.
The IMS-AGW shall use this bitrate range when sending packets. | If different values for the br-send parameter in the remote descriptor and for the br-recv parameter in the local descriptor are provided, one will be a subset of the other, and the smaller range shall apply.
The IMS-AGW should expect to receive packets with this bitrate range and may use this information when deciding upon the required resources. |
+| br-recv
(NOTE 1) | If different values for the br-send parameter in the remote descriptor and for the br-recv parameter in the local descriptor are provided, one will be a subset of the other, and the smaller range shall apply.
The IMS-AGW should expect to receive packets with this bitrate range and may use this information when deciding upon the required resources. | If different values for the br-send parameter in the local descriptor and for the br-recv parameter in the remote descriptor are provided, one will be a subset of the other, and the smaller range shall apply.
The IMS-AGW shall use this bitrate range when sending packets. |
+| bw
(NOTE 1) | If different values for the bw parameter are provided in the local and remote descriptors, one will be a subset of the other, and the smaller range shall apply.
The IMS-AGW should expect to receive packets with these sampling bandwidth(s) and may use this information when deciding upon the required resources.
The IMS-AGW shall use these sampling bandwidth(s) when sending packets. | If different values for the bw parameter are provided in the local and remote descriptors, one will be a subset of the other, and the smaller range shall apply.
The IMS-AGW should expect to receive packets with these sampling bandwidth(s) and may use this information when deciding upon the required resources.
The IMS-AGW shall use these sampling bandwidth(s) when sending packets. |
+| bw-send
(NOTE 1) | If different values for the bw-send parameter in the local descriptor and for the bw-recv parameter in the remote descriptor are provided, one will be a subset of the other, and the smaller range shall apply.
The IMS-AGW shall use these sampling bandwidth(s) when sending packets. | If different values for the bw-send parameter in the remote descriptor and for the bw-recv parameter in the local descriptor are provided, one will be a subset of the other, and the smaller range shall apply.
The IMS-AGW should expect to receive packets with these sampling bandwidth(s) and may use this information when deciding upon the required resources. |
+| bw-recv
(NOTE 1) | If different values for the bw-send parameter in the remote descriptor and for the bw-recv parameter in the local descriptor are provided, | If different values for the bw-send parameter in the local descriptor and for the bw-recv parameter in the remote descriptor are provided, one will be a subset |
+
+| | | |
+|-----------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | one will be a subset of the other, and the smaller range shall apply.
The IMS-AGW should expect to receive packets with these sampling bandwidth(s) and may use this information when deciding upon the required resources. | of the other, and the smaller range shall apply.
The IMS-AGW shall use these sampling bandwidth(s) when sending packets. |
+| cmr
(NOTE 1) | For cmr with value -1 or 0, the IMS-AGW should expect to receive no RTP packets containing codec mode requests for EVS primary mode and may use this information when deciding upon the required resources.
For cmr with value -1 or 0, the IMS-AGW shall also send no RTP packets containing codec mode requests for EVS primary mode.
Different cmr values in the local and remote descriptors are an error situation, but it is permissible that this parameter is only supplied in one of those descriptors. | For cmr with value -1 or 0, the IMS-AGW should expect to receive no RTP packets containing codec mode requests for EVS primary mode and may use this information when deciding upon the required resources.
For cmr with value -1 or 0, the IMS-AGW shall also send no RTP packets containing codec mode requests for EVS primary mode.
Different cmr values in the local and remote descriptors are an error situation, but it is permissible that this parameter is only supplied in one of those descriptors. |
+| ch-aw-recv
(NOTE 1,
NOTE 7) | The IMS-AGW should expect to receive RTP packets containing the indicated partial redundancy mode and may use this information when deciding upon the required resources. | The IMS-AGW shall send RTP packets containing the indicated partial redundancy mode. |
+| number of
channels
(NOTE 2) | If no ch-recv parameter in the local descriptor and no ch-send parameter in the remote descriptors are received, the IMS-AGW should expect to receive RTP packets containing the indicated number of channels and may use this information when deciding upon the required resources.
If no ch-send parameter in the local descriptor and no ch-recv parameter in the remote descriptors are received, the IMS-AGW shall also send RTP packets containing the indicated number of channels.
Different number of channels values in the local and remote descriptors is an error situation, but it is permissible that this parameter is only supplied in one of those descriptors. | If no ch-recv parameter in the local descriptor and no ch-send parameter in the remote descriptors are received, the IMS-AGW should expect to receive RTP packets containing the indicated number of channels and may use this information when deciding upon the required resources.
If no ch-send parameter in the local descriptor and no ch-recv parameter in the remote descriptors are received, the IMS-AGW shall also send RTP packets containing the indicated number of channels.
Different number of channels values in the local and remote descriptors is an error situation, but it is permissible that this parameter is only supplied in one of those descriptors. |
+| ch-send
(NOTE 1) | The IMS-AGW shall send RTP packets containing the indicated number of channels.
Different number of channels in the ch-send parameter in the local descriptor and the ch-recv parameter in the remote descriptors is an error situation, but it is permissible that this parameter is only supplied in one of those descriptors. | The IMS-AGW should expect to receive RTP packets containing the indicated number of channels and may use this information when deciding upon the required resources.
Different number of channels in the ch-send parameter in the local descriptor and the ch-recv parameter in the remote descriptors is an error situation, but it is permissible that this parameter is only supplied in one of those descriptors. |
+| ch-recv
(NOTE 1) | The IMS-AGW should expect to receive RTP packets containing the indicated number of channels and may use this information when deciding upon the required resources.
Different number of channels in the ch-send parameter in the local descriptor and the ch-recv parameter in the remote descriptors is an error situation, but it is permissible that this parameter is only supplied in one of those descriptors. | The IMS-AGW shall send RTP packets containing the indicated number of channels.
Different number of channels in the ch-send parameter in the local descriptor and the ch-recv parameter in the remote descriptors is an error situation, but it is permissible that this parameter is only supplied in one of those descriptors. |
+| mode-set
(NOTE 4) | For AMR-WB IO mode, the IMS-AGW should expect to receive RTP packets using only the indicated mode-set and may use this information when deciding upon the required resources.
The IMS-AGW shall also send RTP packets only using the indicated mode-set.
Different mode-set values in the local and remote descriptors are an error situation, but it is permissible that this parameter is only supplied in one of those descriptors. | For AMR-WB IO mode, the IMS-AGW should expect to receive RTP packets using only the indicated mode-set and may use this information when deciding upon the required resources.
The IMS-AGW shall also send RTP packets only using the indicated mode-set.
Different mode-set values in the local and remote descriptors are an error situation, but it is permissible that this parameter is only supplied in one of those descriptors. |
+| mode-
change- | For AMR-WB IO mode, the IMS-AGW should expect to receive packets with this mode- | For AMR-WB IO mode, the IMS-AGW shall use this mode-change-period when sending packets. |
+
+| | | |
+|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| period
(NOTE 3) | change-period and may use this information when deciding upon the required resources. | |
+| mode-change-capability
(NOTE 6) | For AMR-WB IO mode, mode-change-capability with value 2 indicates that the IMS-AGW should expect to be requested to send packets with restricted mode-change-period and may use this information when deciding upon the required resources. | No IMS-AGW handling of this parameter is defined. |
+| mode-change-neighbor
(NOTE 3) | The IMS-AGW should expect to receive packets with this mode-change-period and may use this information when deciding upon the required resources. | The IMS-AGW shall use this mode-change-period when sending packets. |
+| max-red
(NOTE 5) | The IMS-AGW should expect to receive packets with redundancy up to the indicated max-red value and may use this information when deciding upon the required resources. | The IMS-AGW shall only send packet with redundancy up to the indicated max-red value. |
+| 3gpp_mtsi_app_adapt
(NOTE 4) | The IMS-AGW should expect to receive RTCP APP packets of the indicated types and may use this information when deciding upon the required resources. | The IMS-AGW may send RTCP APP packets of the indicated types. The IMS-AGW shall not send other RTCP APP packets. If the parameter is not supplied, the IMS-AGW shall not send any RTCP APP packets. |
+| NOTE 1: This MIME parameter of the EVS RTP payload type is defined in 3GPP TS 26.445 [51]. The values and the defaults if a parameter is omitted, as defined in 3GPP TS 26.445 [51] shall apply. | | |
+| NOTE 2: This number of channels are encoded as "encoding parameters" of the SDP "a=rtpmap" attribute defined in IETF RFC 4566 [53]. | | |
+| NOTE 3: This MIME parameter of the EVS RTP payload type relates to AMR-WB IO mode and is defined in IETF RFC 4867 [54]. The values and the defaults if a parameter is omitted, as defined in IETF RFC 4867 [54] shall apply. | | |
+| NOTE 4: This SDP attribute is defined in 3GPP TS 26.114 [21]. It applies to all codecs offered in an SDP media line. However, some values are specific to EVS. | | |
+| NOTE 5: This MIME parameter of the EVS RTP payload type is defined in IETF RFC 4867 [54]. The values and the defaults if a parameter is omitted, as defined in IETF RFC 4867 [54] shall apply. | | |
+| NOTE 6: This MIME parameter of the EVS RTP payload type relates to AMR-WB IO mode and is defined in IETF RFC 4867 [54]. The values and the defaults if a parameter is omitted, as defined in 3GPP TS 26.445 [51], shall apply. | | |
+| NOTE 7: The frame erasure rate indicator for the channel-aware mode has two permissible values (LO, HI) and this indicator has to be initialized to HI, as specified in clause 5.8.4 of 3GPP TS 26.445 [51]. | | |
+| NOTE 8: If both the dtx and the dtx-recv parameter are provided either in the local or in the remote descriptor, both parameters will have the same value within that descriptor. | | |
+
+### 5.13.4 Handling of the OPUS speech and audio codec for WebRTC
+
+The OPUS speech and audio codec is defined in IETF RFC 6716 [50]. Its RTP payload type is defined in IETF RFC 7587 [56].
+
+The eP-CSCF and the eIMS-AGW should support transcoding to and from the OPUS speech codec. If they do so, the procedures in the present clause apply.
+
+When receiving an SDP offer from the core network, the IMS-ALG may add an OPUS codec payload type (as specified in IETF RFC 7587 [56]) before forwarding the SDP offer towards the served WebRTC UE (denoted as "codec 3" in figure 10.2.5.2 of 3GPP TS 29.162 [20]). If that OPUS payload type is selected in the SDP answer, the IMS-ALG needs to transcode the OPUS codec. Table 5.13.4.1 describes the IMS-ALG handling of the OPUS codec parameters when the IMS-ALG adds an OPUS payload type to the SDP offer, and that OPUS payload type is selected in the SDP answer. In addition, rules for the parameter handling in IETF RFC 7587 [56] shall apply.
+
+**Table 5.13.4.1: IMS-ALG handling of OPUS related SDP parameters when the IMS-ALG adds the OPUS payload type to the SDP offer.**
+
+| Parameter | Handling for OPUS payload type added to the SDP offer to offer transcoding | Handling if offered OPUS payload type is accepted in the SDP answer |
+|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| maxplaybackrate (NOTE) | Should be set according to IMS-AGW capabilities and sampling rates of expected codecs to transcode with (E.g. other codecs in the received SDP offer). | If parameter is contained in the SDP answer, the IMS-ALG should forward this parameter to the IMS-AGW for the termination towards the answerer in the remote descriptor. |
+| sprop-maxcapturetrate (NOTE) | Should be set according to IMS-AGW capabilities and sampling rates of expected codecs to transcode with (E.g. other codecs in the received SDP offer). | If parameter is contained in the SDP answer, the IMS-ALG should forward this parameter to the IMS-AGW for the termination towards the answerer in the remote descriptor. |
+| maxaveragebitrate (NOTE) | Should be set according to IMS-AGW capabilities and sampling rates of expected codecs to transcode with (E.g. other codecs in the received SDP offer), see IETF RFC 7587 [56]. | If parameter is contained in the SDP answer, the IMS-ALG should forward this parameter to the IMS-AGW for the termination towards the answerer in the remote descriptor. |
+| stereo (NOTE) | Should be set to 0 or omitted, unless the expected codecs to transcode with (E.g. other codecs in the received SDP offer) support stereo and the IMS-AGW supports stereo transcoding. | If parameter is contained in the SDP answer, the IMS-ALG should forward this parameter to the IMS-AGW for the termination towards the answerer in the remote descriptor. |
+| sprop-stereo (NOTE) | Should be set to 0 or omitted, unless the expected codecs to transcode with (E.g. other codecs in the received SDP offer) support stereo and the IMS-AGW supports stereo transcoding. | If parameter is contained in the SDP answer, the IMS-ALG should forward this parameter to the IMS-AGW for the termination towards the answerer in the remote descriptor. |
+| cbr (NOTE) | Should be set or omitted according to IMS-AGW capabilities and used encryption. | If parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the answerer in the remote descriptor. |
+| useinbandfec (NOTE) | Should be set or omitted according to IMS-AGW capabilities and delay budget. | If parameter is contained in the SDP answer, the IMS-ALG should forward this parameter to the IMS-AGW for the termination towards the answerer in the remote descriptor. |
+| usedtx (NOTE) | Should be set according to IMS-AGW preferences and DTX capabilities of expected codecs to transcode with (E.g. other codecs in the received SDP offer). | If parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the answerer in the remote descriptor. |
+| NOTE: This MIME parameter of the OPUS RTP payload type is defined in IETF RFC 7587 [56]. It is encapsulated within the SDP "a=fmtp" attribute defined in IETF RFC 4566 [55]. | | |
+
+When receiving an SDP offer from the served WebRTC UE that contains an OPUS codec payload type, the IMS-ALG may add other payload types before forwarding the SDP offer (denoted as "codec 3" in figure 10.2.5.2 of 3GPP TS 29.162 [20]). If that added payload type is selected in the SDP answer, the IMS-ALG needs to transcode, and may select to transcode to the OPUS codec. Table 5.13.4.2 describes the IMS-ALG handling of the OPUS codec parameters when the IMS-ALG receives the OPUS payload type in the SDP offer, and selects to transcode between the OPUS codec and some other codec. In addition, rules for the parameter handling in IETF RFC 7587 [56] shall apply.
+
+**Table 5.13.4.2: IMS-ALG handling of OPUS related SDP parameters when the IMS-ALG receives the OPUS payload type to the SDP offer and decides to transcode between the OPUS payload type and some other codec.**
+
+| Parameter | Handling of OPUS payload type parameter received in the SDP offer | OPUS payload type supplied in the SDP answer |
+|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| maxplaybackrate (NOTE) | If parameter is contained in the SDP offer, the IMS-ALG should forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | Should be set according to IMS-AGW capabilities and sampling rates of expected codecs to transcode with (E.g. other codecs in the received SDP offer). |
+| sprop-maxcapturerate (NOTE) | If parameter is contained in the SDP offer, the IMS-ALG should forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | Should be set according to IMS-AGW capabilities and sampling rates of expected codecs to transcode with (E.g. other codecs in the received SDP offer). |
+| maxaveragebitrate (NOTE) | If parameter is contained in the SDP offer, the IMS-ALG should forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | Should be set according to IMS-AGW capabilities and sampling rates of expected codecs to transcode with (E.g. other codecs in the received SDP offer), see IETF RFC 7587 [56]. |
+| stereo (NOTE) | If parameter is contained in the SDP offer, the IMS-ALG should forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | Should be set to 0 or omitted, unless the expected codecs to transcode with (E.g. other codecs in the received SDP offer) support stereo and the IMS-AGW supports stereo transcoding. |
+| sprop-stereo (NOTE) | If parameter is contained in the SDP offer, the IMS-ALG should forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | Should be set to 0 or omitted, unless the expected codecs to transcode with (E.g. other codecs in the received SDP offer) support stereo and the IMS-AGW supports stereo transcoding. |
+| cbr (NOTE) | If parameter is contained in the SDP offer, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | Should be set or omitted according to IMS-AGW capabilities and used encryption. |
+| useinbandfec (NOTE) | If parameter is contained in the SDP offer, the IMS-ALG should forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | Should be set or omitted according to IMS-AGW capabilities and delay budget. |
+| usedtx (NOTE) | If parameter is contained in the SDP offer, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | Should be set according to IMS-AGW preferences and DTX capabilities of expected codecs to transcode with (E.g. other codecs in the received SDP offer). |
+| NOTE 1: This MIME parameter of the OPUS RTP payload type is defined in IETF RFC 7587 [56]. It is encapsulated within the SDP "a=fmtp" attribute defined in IETF RFC 4566 [55]. | | |
+
+Table 5.13.4.3 describes the IMS-AGW handling of the OPUS codec parameters. The IMS-AGW should support transcoding of OPUS with at least the bandwidths (sampling rates) which are supported by codec the IMS-AGW is capable to transcode OPUS to/from (e.g. NB for AMR, and WB for AMR-WB).
+
+**Table 15.3.4.3: IMS-AGW handling of OPUS codec parameters.**
+
+| Parameter | Handling in local descriptor | Handling in remote descriptor |
+|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| maxplaybackrate (NOTE) | The IMS-AGW should expect to receive RTP packets with sampling rates up to the indicated maximum and may use this information when deciding upon the required resources. | The IMS-AGW should send RTP packets with the indicated sampling rate. |
+| sprop-maxcapturerate (NOTE) | No IMS-AGW handling of this parameter is defined. | The IMS-AGW should expect to receive RTP packets with sampling rates up to the indicated maximum and may use this information when deciding upon the required resources. |
+| maxaveragebitrate (NOTE) | The IMS-AGW should expect to receive RTP packets with average bit rates up to the indicated maximum and may use this information when deciding upon the required resources. | The IMS-AGW shall send RTP packets with average bit rates up to the indicated maximum. |
+| stereo (NOTE) | The IMS-AGW should expect to receive RTP packets containing the indicated stereo mode and may use this information when deciding upon the required resources. | The IMS-AGW should send RTP packets containing the indicated stereo mode. |
+| sprop-stereo (NOTE) | No IMS-AGW handling of this parameter is defined. | The IMS-AGW should expect to receive RTP packets containing the indicated stereo mode and may use this information when deciding upon the required resources. |
+| cbr (NOTE) | The IMS-AGW should expect to receive RTP packets containing the indicated constant bit rate mode and may use this information when deciding upon the required resources. | The IMS-AGW should send RTP packets containing the indicated constant bit rate mode. |
+| useinbandfec (NOTE) | The IMS-AGW should expect to receive RTP packets containing the indicated forward error correction mode and may use this information when deciding upon the required resources. | The IMS-AGW should send RTP packets containing the indicated forward error correction mode. |
+| usedtx (NOTE) | The IMS-AGW should expect to receive RTP packets containing the indicated DTX mode and may use this information when deciding upon the required resources. | The IMS-AGW should send RTP packets using the indicated DTX mode. |
+
+NOTE 1: This MIME parameter of the OPUS RTP payload type is defined in IETF RFC 7587 [56]. The default value if a parameter is omitted, as defined in IETF RFC 7587 [56], shall apply.
+
+## 5.14 Multimedia Priority Service (MPS) Support
+
+The Multimedia Priority Service (MPS) is specified in 3GPP TS 22.153 [22]. The IMS-ALG and IMS-AGW may support the priority treatment of a call/session identified as an MPS call/session. If MPS is supported, the following functional requirements apply:
+
+- Upon receipt of the MPS priority information in the call control signalling:
+ - The IMS-ALG shall recognise the call/session as having priority.
+ - The IMS-ALG shall send the priority information for a context to the IMS-AGW to enable the priority treatment described below related to the IMS-AGW.
+ - The IMS-ALG shall apply priority handling to H.248 transactions related to priority calls/sessions when network resources are congested , e.g., preferential treatment in any queues or buffers.
+ - The IMS-ALG may send the updated priority information and, if DiffServ is used, provision a suitable DSCP marking for the updated MPS priority level to the IMS-AGW if it needs to change the priority information previously communicated to the IMS-AGW for an MPS call/session.
+ - If the H.248 control association utilises a transport with the possibility for prioritisation, the IMS-ALG may apply priority using the appropriate prioritisation procedures.
+
+- If the MPS Priority service requires a specific MPS DSCP setting the IMS-ALG shall configure the IMS-AGW to apply a specific MPS DSCP marking to the user data transport packets to indicate that the packets are of a higher priority than those for normal calls.
+- If the IMS-AGW receives an indication to apply a specific MPS DSCP marking to the user data transport packets, it shall apply this DSCP marking to the IP headers.
+
+NOTE 1: Support of Diffserv procedures by the IMS-AGW assumes an operator uses Diffserv for prioritising user plane traffic related to an MPS call/session.
+
+- When the IMS-ALG marks a Context with priority information, the IMS-AGW may use the priority information for selecting resources for the media and signaling transport with priority. The following actions may be taken by the IMS-AGW if it has reached a congested state:
+ - i) seize priority reserved resources; or
+ - ii) if resources are congested, indicate that in aCommand Response error code.
+
+NOTE 2: The Priority information can be used to derive Layer 2 QoS marking and trigger priority identification and priority treatment for other QoS technologies than Diffserv.
+
+## 5.15 Coordination of Video Orientation
+
+The IMS-ALG and the IMS-AGW may support the Coordination of Video Orientation (CVO) as defined in 3GPP TS 26.114 [21].
+
+If the IMS-ALG receives an SDP body containing "a=extmap" attribute(s), as defined in IETF RFC 5285 [23], and the "a=extmap" attribute(s) contain CVO URN(s) (i.e. the CVO URN for a 2 bit granularity of rotation and/or the CVO URN for a higher granularity of rotation) as defined in 3GPP TS 26.114 [21], then:
+
+- a) if the IMS-ALG and the IMS-AGW support the CVO feature:
+ - the IMS-ALG shall include the "extended RTP header for CVO" information element when seizing resources in the IMS-AGW to indicate the IMS-AGW that it shall allow the RTP header extension for CVO to pass; and
+
+**Editor's Note:** It is ffs if the IMS-ALG needs to include the "extended RTP header for CVO" information element when seizing terminations of a media agnostic IMS-AGW, or if a media agnostic IMS-AGW always passes any RTP header extension.
+
+- the IMS-ALG shall forward within SIP signalling, the SDP body received from the preceding node with unmodified "a=extmap" attribute(s) to the succeeding node; or
+- b) if the IMS-AGW does not support the CVO feature, the IMS-ALG shall forward within SIP signalling, the SDP body received from the preceding node without any "a=extmap" attributes to the succeeding node.
+
+NOTE 1: The UE supporting the CVO feature will not send the extended RTP headers for CVO if the UE did not receive any SDP body with the CVO related "a=extmap" attribute.
+
+If the IMS-AGW supports the CVO feature and has been instructed to pass on the extended RTP header for CVO as described above for both incoming and outgoing terminations then:
+
+- if the IMS AGW does not apply video transcoding, it shall pass any received RTP CVO header extension to succeeding RTP streams; or
+- if the IMS-AGW applies video transcoding, it shall keep the video orientation unchanged during the transcoding and copy the received RTP CVO header extension to the succeeding outgoing RTP stream(s) after transcoding the associated group of packets.
+
+NOTE 2: IETF RFC 5285 [23] provides a framework for header extensions and can also be used for non-CVO related purposes. It is an implementation decision of the IMS-AGW if it only passes CVO related RTP header extensions, or if it passes any RTP header extension when being instructed with the "extended RTP header for CVO" information element.
+
+NOTE 3: The behaviour of the IMS-AGW when being instructed with an "extended RTP header for CVO" information element only at one termination is an implementation decision.
+
+NOTE 4: Unknown IETF RFC 5285 [23] RTP header extensions are ignored by the destination RTP end system.
+
+## 5.16 Generic image attributes
+
+The IMS-ALG and the IMS-AGW may support a media-level SDP image attribute "a=imageattr" defined in IETF RFC 6236 [24] to negotiate the image size for sending and receiving video as required by 3GPP TS 26.114 [21].
+
+NOTE: The image attribute may be used within the SDP capability negotiation framework and its use is then specified using the "a=acap" parameter.
+
+If the IMS-ALG:
+
+- supports the negotiation of the image size;
+- receives an SDP body containing the image attribute(s) "imageattr" defined in IETF RFC 6236 [24]; and
+- does not support or does not apply the video transcoding procedure defined in clause 5.13;
+
+the IMS-ALG shall forward the SDP body with unmodified image attribute(s).
+
+If the IMS-ALG and the IMS-AGW support the ATCF/ATGW functions then during the access transfer procedures the IMS-ALG may apply the procedure described in clause 6.2.14.6 to negotiate and adjust the image size for sending and receiving video of the session.
+
+## 5.17 TCP bearer connection control
+
+### 5.17.1 Stateless TCP handling
+
+An IMS-ALG and IMS-AGW that supports TCP as transport protocol (see IETF RFC 793 [29] and IETF RFC 4145 [30]) shall support the following procedures.
+
+NOTE 1: It is assumed that pre-Release 12 IMS-ALGs and IMS-AGWs also apply these procedures.
+
+When receiving an SDP offer or answer containing a media line for a new TCP based media stream (e.g. with "TCP", "TCP/MSRP" as transport protocol), the IMS-ALG:
+
+- shall indicate "TCP" (for application-agnostic interworking) or "TCP/MSRP" (for application-aware MSRP interworking) as transport protocol to the IMS-AGW;
+- shall indicate the TCP port numbers received in the SDP from the remote peer as destination port in the remote descriptor at the termination towards the SDP sender;
+- shall request the IMS-AGW to allocate a TCP port number at the destination towards the SDP receiver;
+- shall replace the TCP port in the received SDP with the TCP port number allocated by the IMS-AGW and forward the SDP; and
+- shall indicate to the IMS-AGW to perform TCP stateless handling by not including the TCP session setup direction attribute at the interconnected terminations in the same context.
+
+An IMS-AGW receiving an indication of "TCP", or "TCP/MSRP" as transport protocol, but no indication to perform TCP state-aware handling (via information about the directionality of the TCP session setup):
+
+- shall send a TCP SYN when receiving a TCP SYN at the interconnected termination in the same context;
+- shall forward received TCP payload; and
+- shall use its own port number as TCP source port numbers and the remote port number received from the IMS-ALG as TCP destination port numbers and calculate a new TCP checksum for all TCP packets it sends.
+
+NOTE 2: This mode of operation corresponds to the "TCP Relay" mode in ITU-T Recommendation H.248.84 [38].
+
+## 5.17.2 State-aware TCP handling
+
+### 5.17.2.1 General
+
+An IMS-ALG and IMS-AGW that supports TCP as transport protocol (see IETF RFC 793 [29] and IETF RFC 4145 [30]) may support the procedures specified in clause 5.17.2 for state-aware TCP handling.
+
+NOTE 1: State-aware TCP handling enables modifications of TCP payloads by the IMS-AGW such as changing the size of the payload and inserting extra protocol layers, e.g. for e2ae media security.
+
+An IMS-ALG and IMS-AGW that supports state-aware TCP handling shall support the procedures specified in clause 5.17.2.2 and may additionally support the procedures specified in clause 5.17.2.3.
+
+NOTE 2: The procedures in clause 5.17.2.3 enable TCP connections between two peers behind remote (far-end) NATs without any other intermediate server capable of acting as a TCP B2BUA (such as a messaging server). However, they are not possible if e2e security is applied for MSRP based media.
+
+### 5.17.2.2 State-aware TCP handling without support of modifying the TCP setup direction
+
+When the IMS-ALG receives an SDP offer containing a media line for a new TCP based media stream (e.g. with "TCP", "TCP/MSRP" as transport protocol), for that TCP based media stream the IMS-ALG:
+
+- if no media security is applied, shall indicate "TCP" (for application-agnostic interworking) or "TCP/MSRP" (for application-aware MSRP interworking) as transport protocol to the IMS-AGW;
+- if media security is applied, shall indicate a transport protocol according to clause 5.11 to the IMS-AGW;
+- shall request the IMS-AGW to allocate a TCP port at the destination towards the SDP answerer;
+- shall request the IMS-AGW to allocate a TCP port at the destination towards the SDP offerer;
+- shall indicate the TCP port numbers received in the SDP offer as destination in the remote descriptor at the termination towards the SDP offerer;
+- shall indicate to the IMS-AGW to perform TCP state-aware handling (by indicating the "actpass" TCP session setup direction at both interconnected terminations in the same context in the local descriptor);
+- if supported by the IMS-AGW, may indicate to the IMS-AGW for a given termination to use an incoming TCP connection establishment request (TCP SYN) at that termination as a trigger for sending a TCP connection establishment request at the interconnected termination in the same context;
+- if supported by the IMS-AGW, may indicate to the IMS-AGW to discard incoming TCP connection establishment requests; and
+- shall replace the TCP port in the received SDP offer with the TCP port number allocated by the IMS-AGW at the termination towards the SDP answerer, shall maintain a received "a=setup:active" or "a=setup:passive" SDP attribute (see IETF RFC 4145 [30]) in the SDP offer without modification, and shall forward the SDP offer.
+
+When the IMS-ALG then receives the SDP answer containing a media line for a new TCP based media stream, for that TCP based media stream the IMS-ALG:
+
+- shall indicate the TCP port numbers received in the SDP answer as destination in the remote descriptor at the termination towards the SDP answerer;
+- if supported by the IMS-AGW, may indicate to the IMS-AGW for a given termination to use an incoming TCP connection establishment request (TCP SYN) at that termination as a trigger for sending a TCP connection establishment request at the interconnected termination in the same context;
+- if the IMS-ALG did not indicate to the IMS-AGW to use the incoming TCP connection establishment request (TCP SYN) at one termination as a trigger for sending a TCP connection establishment request at the interconnected termination in the same context,
+
+- if the SDP answer contains an "a=setup:active" SDP attribute (see IETF RFC 4145 [30]), shall indicate to the IMS-AGW to start a TCP connection establishment at the termination towards the SDP offerer; and
+- if the SDP answer contains an "a=setup:passive" SDP attribute, shall indicate to the IMS-AGW to start a TCP connection establishment at the termination towards the SDP answerer;
+
+NOTE 1: Clients only supporting MSRP according to IETF RFC 4975 [25] will not use the SDP "a=setup" attribute, but will assign the TCP client role to the SDP offerer. However, in 3GPP (Release 8 onwards), OMA and GSMA the support of IETF RFC 6135 [45] is mandated, and the "a=setup" attribute will thus be used.
+
+- if the IMS-ALG previously indicated to the IMS-AGW to discard incoming TCP connection establishment requests, shall indicate to the IMS-AGW to process incoming TCP connection establishment requests; and
+- shall replace the destination TCP port in the received SDP answer with the TCP port number allocated by the IMS-AGW at the termination towards the SDP offerer, shall maintain the received "a=setup" SDP attribute (RFC 4145 [30]) in the SDP answer without modification, and shall forward the SDP answer.
+
+An IMS-AGW receiving an indication of "TCP", or "TCP/MSRP" as transport protocol and an indication to perform TCP state-aware handling (via information about the directionality of the TCP session setup):
+
+- if the IMS-ALG indicated to start a TCP connection establishment at a given termination, shall start the TCP connection establishment at that TCP termination by sending a TCP SYN;
+- if the IMS-ALG indicated to discard incoming TCP connection establishment requests, shall discard any incoming TCP connection establishment requests (support optional for the IMS-AGW);
+- if
+ - a) the IMS-ALG indicated to use the incoming TCP connection establishment request (TCP SYN) at one termination as a trigger for sending a TCP connection establishment request at the interconnected termination in the same context, and
+ - b) the IMS-ALG did not indicate to discard incoming TCP connection establishment requests,
+ shall send a TCP SYN when receiving a TCP SYN at the interconnected termination in the same context (support optional for the IMS-AGW);
+- if
+ - a) the IMS-ALG did not indicate to use the incoming TCP connection establishment request (TCP SYN) at one termination as a trigger for sending a TCP connection establishment request at the interconnected termination in the same context, and
+ - b) the IMS-ALG did not indicate to discard incoming TCP connection establishment requests, and
+ - c) the IMS-ALG already configured the remote IP address and port or requested latching,
+ shall answer any received TCP SYN at a given termination with appropriate messages according to TCP procedures;
+- shall forward received TCP payload, performing any required modifications on the TCP payload according to procedures in other parts of this specification; and
+- shall use its own port number as TCP source port and the remote port number indicated by the IMS-ALG as TCP destination port numbers and shall calculate a new TCP checksum for all TCP packets it sends.
+
+NOTE 2: This mode of operation corresponds to the "TCP Proxy" mode in ITU-T Recommendation H.248.84 [38].
+
+### 5.17.2.3 State-aware TCP handling with support of modifying the TCP setup direction
+
+The IMS-ALG and IMS-AGW shall perform the same procedures as in clause 5.17.2.2 with modification according to the present clause.
+
+When the IMS-ALG receives an SDP offer containing a media line for a new TCP based media stream (e.g. with "TCP", "TCP/MSRP" as transport protocol), for that TCP based media stream the IMS-ALG:
+
+- if an "a=setup:active" SDP attribute (see IETF RFC 4145 [30]) is received in an SDP offer towards a served UE that is possibly behind a remote NAT, the IMS-ALG
+ - should replace this attribute with a "a=setup:actpass" or "a=setup:passive" SDP attribute; and
+ - shall then not indicate to the IMS-AGW to use the incoming TCP connection establishment request (TCP SYN) at the termination towards the offerer as a trigger for sending a TCP connection establishment request at the interconnected termination in the same context towards the answerer;
+- if an "a=setup:active" SDP attribute (see IETF RFC 4145 [30]) is received in an SDP offer from a served UE, the IMS-ALG
+ - may replace this attribute with a "a=setup:actpass" SDP attribute; and
+ - shall then not indicate to the IMS-AGW to use the incoming TCP connection establishment request (TCP SYN) at the termination towards the answerer as a trigger for sending a TCP connection establishment request at the interconnected termination in the same context towards the offerer;
+
+**NOTE 1:** Clients only supporting MSRP according to IETF RFC 4975 [25] will not use the SDP "a=setup" attribute, but will assign the TCP client role to the SDP offerer. However, in 3GPP (Release 8 onwards), OMA and GSMA the support of IETF RFC 6135 [45] is mandated, and the "a=setup" attribute will thus be used.
+
+- shall indicate to the IMS-AGW to perform TCP state-aware handling, either by indicating the "actpass" TCP session setup direction at both interconnected terminations in the same context in the local descriptors, or by indicating the "passive" TCP session setup direction at both interconnected terminations in the same context.
+
+When the IMS-ALG then receives the SDP answer containing a media line for a new TCP based media stream, for that TCP based media stream the IMS-ALG:
+
+- if
+ - a) the IMS-ALG received an "a=setup:active" SDP attribute in the SDP offer, and
+ - b) the SDP answer contains an "a=setup:active" SDP attribute,
+ then
+ - if the IMS-ALG previously indicated "actpass" TCP session setup direction at both interconnected terminations to the IMS-AGW, shall indicate to the IMS-AGW the "passive" TCP session setup direction at both interconnected terminations in the same context in the local descriptors, and
+ - shall replace the "a=setup:active" SDP attribute in the SDP answer with an "a=setup:passive" SDP attribute before forwarding the answer.
+- if
+ - a) the IMS-ALG received an "a=setup:active" SDP attribute in the SDP offer, and
+ - b) the SDP answer contains an "a=setup:passive" SDP attribute,
+ then
+ - if the IMS-ALG previously indicated "passive" TCP session setup direction at both interconnected terminations to the IMS-AGW, shall indicate to the IMS-AGW the "actpass" TCP session setup direction at both interconnected terminations in the same context in the local descriptors, and
+ - shall retain the "a=setup:passive" SDP attribute in the forwarded SDP answer;
+- if the IMS-ALG did not indicate to the IMS-AGW to use the incoming TCP connection establishment request (TCP SYN) at one termination as a trigger for sending a TCP connection establishment request at the interconnected termination in the same context,
+ - if the sent SDP answer towards the offerer contains an "a=setup:active" SDP attribute (RFC 4145 [30]), indicate to the IMS-AGW to start a TCP connection establishment at the termination towards the SDP offerer; and
+
+- if the received SDP answer contains an "a=setup:passive" SDP attribute, indicate to the IMS-AGW to start a TCP connection establishment at the termination towards the SDP answerer.
+
+When the IMS-ALG indicated a "passive" TCP setup direction for a termination, the IMS-AGW shall wait for an incoming TCP connection establishment at that termination and shall not start a TCP connection establishment on its own.
+
+NOTE 2: If the "passive" TCP session setup direction has been indicated to the IMS-AGW at both interconnected terminations, the mode of operation corresponds to the "TCP Merge" mode in ITU-T Recommendation H.248.84 [38]. If the "actpass" TCP session setup direction has been indicated to the IMS-AGW at both interconnected terminations, the mode of operation corresponds to the "TCP Proxy" mode in ITU-T Recommendation H.248.84 [38].
+
+## 5.18 Interactive Connectivity Establishment (ICE)
+
+### 5.18.1 General
+
+The IMS-ALG and the IMS-AGW may support ICE functionality as specified in IETF RFC 5245 [39] and 3GPP TS 24.229 [11] to support a UE residing behind a remote NAT. The present clause describes the requirements for P-CSCF (IMS-ALG) and IMS-AGW when the ICE procedures are supported.
+
+Support of full ICE functionality is optional, but if ICE is supported, the IMS-ALG and IMS-AGW shall at least support ICE lite as specified in IETF RFC 5245 [39].
+
+An IMS-ALG and IMS-AGW supporting ICE lite may in addition support ICE for TCP according to IETF RFC 6544 [57].
+
+NOTE 1: ICE for TCP can be used to offer an alternative transport for media streams with default UDP transport to enable a traversal of UDP-blocking NATs or firewalls. In the present release, the support of ICE for TCP is restricted to media streams with default UDP transport, and to ICE lite.
+
+The IMS-ALG and IMS-AGW shall only use host candidates as local ICE candidates.
+
+NOTE 2: IMS-ALG and IMS-AGW are not located behind a NAT (from perspective of the ICE deployment model according to Figure 1 in IETF RFC 5245 [39]).
+
+The IMS-ALG with IMS-AGW inserted on the media plane shall perform separate ICE negotiation and procedures with the offerer and the answerer and ICE may be applied independently at either side. Furthermore, the IMS-ALG may be configured to apply ICE procedures only towards the access network side.
+
+When the P-CSCF (IMS-ALG) detects no ICE parameters in the received SDP, it shall not configure the IMS-AGW to apply any ICE and STUN related procedures toward the call leg from where the SDP has been received, and if applicable may apply the remote NAT traversal using latching according to clause 5.4.
+
+Any IMS-AGW supporting ICE shall advertise its support of incoming STUN continuity check procedures. An IMS-AGW supporting full ICE procedures shall in addition advertise its support for originating STUN connectivity check procedures.
+
+If the IMS-AGW does not indicate the support of STUN procedures, or if the IMS-ALG is configured not to apply ICE toward a call leg, the IMS-ALG:
+
+- shall not configure the IMS-AGW to apply STUN procedures;
+- shall remove any received SDP candidate information from the SDP it forwards; and
+- may apply remote NAT traversal using latching according to clause 5.4.
+
+### 5.18.2 ICE lite
+
+If the IMS-ALG is configured to use ICE lite, or supports only ICE lite, or controls an IMS-AGW that only support ICE lite, the procedures in the present clause apply.
+
+If the IMS-ALG receives an initial SDP offer with ICE candidate information but no "a=ice-lite" attribute, the IMS-ALG:
+
+- shall not forward the received candidate information in the SDP it sends towards the answerer;
+- shall request the IMS-AGW for each media line with UDP as default transport where it decides to use ICE to reserve an ICE host candidate and provide its address information and a related ICE user name fragment and password;
+
+NOTE 1: Requesting only one host candidate per m-line prevents that the IMS-ALG will receive "a=remote-candidates" SDP attributes in a subsequent SDP. Requesting separate ufrag and password for each media line simplifies H.248 encoding.
+
+- may request the IMS-AGW for each media line with UDP as default transport where it decides to use ICE to reserve an additional passive TCP ICE host candidate and provide its address information and a related ICE user name fragment and password;
+- shall configure the IMS-AGW to act as STUN server at the host candidate address, i.e. to answer STUN connectivity checks;
+- may provide received remote ICE candidates and the received related ICE user name fragment and password to the IMS-AGW;
+- shall include the host candidate and related ICE user name fragment and password received from the IMS-AGW in the SDP answer it forwards;
+- shall include the "a=ice-lite" attribute in the SDP answer it forwards; and
+- shall not apply the remote NAT traversal using latching according to clause 5.4.
+
+If the IMS-ALG receives SDP offer with ICE candidate information and an "a=ice-lite" attribute, the IMS-ALG shall not apply ICE towards that call leg and not include any ICE related SDP attributes in the SDP answer.
+
+NOTE 2: This avoids that the ICE lite peer needs to send extra SDP offers to complete ICE procedures.
+
+If the IMS-ALG sends an SDP offer (or forwards a received SDP offer) towards a call leg where ICE is to be applied, the IMS-ALG:
+
+- shall request the IMS-AGW to reserve a host candidate for each media line with UDP as default transport where it decides to use ICE and provide its address information, user name fragment and password;
+- may request the IMS-AGW for each media line with UDP as default transport where it decides to use ICE to reserve an additional passive TCP ICE host candidate and provide its address information and a related ICE user name fragment and password;
+- shall configure the IMS-AGW to act as STUN server at the host candidate address, i.e. to answer STUN connectivity checks;
+- shall include the host candidate provided by the IMS-AGW and related ICE user name fragment and password in the SDP offer it forwards; and
+- shall include the "a=ice-lite" attribute in the SDP offer.
+
+If the IMS-ALG then receives an SDP answer with candidate information from the call leg where ICE is to be applied, the IMS-ALG:
+
+- shall not forward the received candidate information in the SDP it sends towards the offerer;
+- may provide received remote ICE candidates and the received related ICE user name fragment and password to the IMS-AGW; and
+- shall not apply the remote NAT traversal using latching according to clause 5.4.
+
+After the initial SDP offer-answer exchange, the IMS-ALG can receive a new offer from the peer that includes updated address and port information in the SDP "c=" line, "m=" line, or "a=rtpc" line SDP attributes. If the ICE user name
+
+fragment and password in the SDP offer differ from the ones received in the previous SDP (i.e. the peer restarts ICE), the IMS-ALG shall apply the same procedures as for the initial SDP offer.
+
+When receiving a request for a host candidate for a media line, the IMS-AGW shall allocate one host candidate for that media line and send it to the IMS-ALG within the reply. The IP address and port shall be the same as indicated separately as Local IP Resources. The IMS-AGW shall also indicate that it supports ICE lite in the reply.
+
+For a passive TCP ICE host candidate, the IMS-AGW shall be prepared to receive and answer the TCP connection establishment requests.
+
+NOTE 3: The TCP connection control procedures in clause 5.17 do not apply to TCP host candidates.
+
+When receiving a request for an ICE user name fragment and password, the IMS-AGW shall generate an ICE user name fragment and password and send it to the IMS-ALG within the reply. The IMS-AGW shall store the password and user name fragment to be able to authenticate incoming STUN binding request according to clause 7.2 of IETF RFC 5245 [39].
+
+When receiving a request to act as STUN server, the IMS-AGW shall be prepared to answer STUN binding request according to clause 7.2 of IETF RFC 5245 [39]. Once a STUN binding request with the "USE-CANDIDATE" flag has been received, the IMS-AGW may send media towards the source of the binding request.
+
+### 5.18.3 Full ICE
+
+If the IMS-ALG supports and is configured to use full ICE, and controls an IMS-AGW that supports full ICE, the procedures in the present clause apply.
+
+If the IMS-ALG receives an initial SDP offer with ICE candidate information, the IMS-ALG:
+
+- shall not forward the received candidate information in the SDP it sends towards the answerer;
+- shall request the IMS-AGW for each media line where it decides to use ICE to reserve an ICE host candidate and provide its address information and a related ICE user name fragment and password;
+
+NOTE: Requesting only one host candidate per m-line prevents that the IMS-ALG will receive "a=remote-candidates" SDP attributes in a subsequent SDP. Requesting separate ufrag and password for each media line simplifies H.248 encoding.
+
+- shall configure the IMS-AGW to act as STUN server at the host candidate address, i.e. to answer STUN connectivity checks;
+- shall provide received remote ICE candidates and the received related ICE user name fragment and password to the IMS-AGW;
+- shall include the host candidate and related ICE user name fragment and password received from the IMS-AGW in the SDP answer it forwards;
+- shall determine the role of IMS-ALG in ICE (controlling or controlled) according to clause 5.2 of IETF RFC 5245 [39];
+- shall configure the IMS-AGW to perform connectivity checks in accordance with the determined ICE role;
+- shall configure the IMS-AGW to report connectivity check results;
+- shall configure the IMS-AGW to report a new peer reflexive candidate if discovered during the connectivity check; and
+- shall not apply the remote NAT traversal using latching according to clause 5.4.
+
+If the IMS-ALG sends an SDP offer (or forwards a received SDP offer) towards a call leg where ICE is to be applied, the IMS-ALG:
+
+- shall request the IMS-AGW to reserve a host candidate for each media line where it decides to use ICE and provide its address information, ICE user name fragment and password;
+
+- shall configure the IMS-AGW to act as STUN server at the host candidate address, i.e. to answer STUN connectivity checks; and
+- shall include the host candidate provided by the IMS-AGW and related ICE user name fragment and password in the SDP offer it forwards.
+
+If the IMS-ALG then receives an SDP answer with candidate information from the call leg where ICE is to be applied, the IMS-ALG:
+
+- shall not forward the received candidate information in the SDP it sends towards the offerer;
+- shall provide received remote ICE candidates and the received related ICE user name fragment and password to the IMS-AGW;
+- shall determine the role of IMS-ALG in ICE (controlling or controlled) according to clause 5.2 of IETF RFC 5245 [39];
+- shall configure the IMS-AGW to perform connectivity checks in accordance with the determined ICE role;
+- shall configure the IMS-AGW to report connectivity check results;
+- shall configure the IMS-AGW to report a new peer reflexive candidate if discovered during the connectivity check; and
+- shall not apply the remote NAT traversal using latching according to clause 5.4.
+
+When the IMS-ALG is informed by the IMS-AGW about new peer reflexive candidate(s) discovered by the connectivity checks, it shall configure the IMS-AGW to perform additional connectivity checks for those candidates.
+
+When the IMS-ALG is informed by the IMS-AGW about successful candidate pairs determined by the connectivity checks, the IMS-ALG shall send a new SDP offer to its peer with contents according to clause 9.2.2.2 of IETF RFC 5245 [39] if it has the controlling role and the highest-priority candidate pair differs from the default candidates in previous SDP.
+
+After the initial SDP offer-answer exchange, the IMS-ALG can receive a new offer from the peer that includes updated address and port information in the SDP "c=" line, "m=" line, or "a=rtpc" line SDP attributes. If the ICE user name fragment and password in the SDP offer differ from the ones received in the previous SDP (i.e. the peer restarts ICE), the IMS-ALG shall apply the same procedures as for the initial SDP offer.
+
+When receiving a request for a host candidate for a media line, the IMS-AGW shall allocate one host candidate for that media line and send it to the IMS-ALG within the reply. The IP address and port shall be the same as indicated separately as Local IP Resources.
+
+When receiving a request for an ICE user name fragment and password, the IMS-AGW shall generate an ICE user name fragment and password and send it to the IMS-ALG within the reply. The IMS-AGW shall store the password and user name fragment to be able to authenticate incoming STUN binding request according to clause 7.2 of IETF RFC 5245 [39].
+
+When receiving a request to act as STUN server, the IMS-AGW shall be prepared to answer STUN binding request according to clause 7.2 of IETF RFC 5245 [39]. Once a STUN binding request with the "USE-CANDIDATE" flag has been received, the IMS-AGW may send media towards the source of the binding request.
+
+When receiving a request to perform connectivity checks and to report connectivity check results, the IMS AGW:
+
+- shall compute ICE candidate pairs according to clause 5.7 of IETF RFC 5245 [39];
+- shall schedule checks for the ICE candidate pairs according to clause 5.8 of IETF RFC 5245 [39];
+- shall send STUN connectivity checks for the scheduled checks according to clause 7.1 of IETF RFC 5245 [39];
+- shall inform the IMS-ALG about successful candidate pairs determined by the connectivity checks;
+- shall inform the IMS-ALG about new peer reflexive candidate(s) discovered by the connectivity checks; and
+- should send media using the highest priority candidate pair for which connectivity checks have been completed.
+
+## 5.18.4 STUN consent freshness for WebRTC
+
+The eIMS-AGW, which implements ICE, shall support the STUN consent freshness test defined in IETF RFC 7675 [49].
+
+If the eP-CSCF supports and is configured to use full ICE, and controls an eIMS-AGW that supports full ICE, to initiate the STUN consent freshness procedures, the eP-CSCF shall request the eIMS-AGW to perform periodic STUN consent tests towards the WIC (WebRTC IMS Client). On receipt of requesting STUN consent test signal, the eIMS-AGW shall start sending STUN binding requests in order to verify consent, based on the interval value indicated by the eP-CSCF, after the transport address has been selected via the ICE-related connectivity check.
+
+If the eP-CSCF is configured to use ICE lite, or supports only ICE lite, or controls an IMS-AGW that only support ICE lite, the eIMS-AGW shall not send STUN consent request checks. Instead, the IMS-AGW shall act as STUN server and only respond to incoming STUN binding requests received from the WIC (WebRTC IMS Client).
+
+If STUN consent expires on a given transport address, the eIMS-AGW shall stop forwarding media on that transport address, and inform the eP-CSCF about the failure. In addition, the eIMS-AGW shall stop sending STUN consent request checks on the transport address. Once upon an indicated test failure, the eP-CSCF may request for appropriate action related to the H.248 stream, such as the removal of the H.248 stream.
+
+## 5.19 MSRP handling
+
+### 5.19.1 General
+
+The IMS-ALG and IMS-AGW may support MSRP handling. If they support MSRP handling, they shall apply the procedures as specified in the present clause 5.19.
+
+For WebRTC terminations, MSRP is transferred over data channels. For WebRTC terminations the procedures in the present clause 5.19 shall apply with the modifications described in clause 5.19.6.
+
+The IMS-AGW shall support application-agnostic MSRP handling.
+
+NOTE 1: Application-agnostic MSRP handling suffices when IETF RFC 6714 [26] or IETF draft-ietf-simple-msrp-sessmatch is supported by both ends (e.g. between Rel-8 onwards IMS UEs) and no MSRP relays are used.
+
+NOTE 2: The expired IETF draft-ietf-simple-msrp-sessmatch modifies the session matching procedure defined by IETF RFC 4975 [25]. A peer applying IETF draft-ietf-simple-msrp-sessmatch will only compare the session-id part of the first MSRP URI in the SDP "a=path" attribute with the session-id part of the first MSRP URI in the "To-Path" header field of the received MSRP packets. This draft is still used by OMA and GSMA as an alternative option to IETF RFC 6714 [26].
+
+The IMS-AGW may in addition support application-aware MSRP interworking, as described in clause 5.19.5..
+
+NOTE 3: Application-aware MSRP interworking enables direct communication:
+
+- between an MSRP client applying IETF RFC 6714 [26] and an MSRP client applying IETF RFC 4975 [25] without extensions by either IETF RFC 6714 [25] or IETF draft-ietf-simple-msrp-sessmatch.
+- between an MSRP client applying IETF draft-ietf-simple-msrp-sessmatch and an MSRP client applying IETF RFC 4975 [25] without extensions by either IETF RFC 6714 [26] or IETF draft-ietf-simple-msrp-sessmatch.
+- between an MSRP client applying IETF RFC 6714 [26] and an MSRP client applying IETF draft-ietf-simple-msrp-sessmatch.
+- between two MSRP clients applying IETF RFC 4975 [25] without extensions by either IETF RFC 6714 [26] or IETF draft-ietf-simple-msrp-sessmatch.
+
+However, to address these scenarios, application aware MSRP interworking can also be applied in other network elements than the IMS-ALG and IMS-AGW, for instance in an CPM Participating Function or CPM Interworking Function as defined in OMA-TS-CPM\_Conversation\_Function-V2 [46].
+
+NOTE 4: MSRP relays external to the IMS-AGW are not supported in the present release.
+
+The IMS-ALG procedures depend on whether the IMS-AGW applies application-agnostic MSRP interworking or application-aware MSRP interworking, and on the MSRP extensions applied on the interconnected call legs. The support of related procedures in clauses 5.19.2 to 5.19.4 below are all optional, but the IMS-ALG shall support at least one of them.
+
+**Table 5.19.1-1: Behaviour of MSRP clients and related IMS-ALG and IMS-AGW procedures for MSRP with different extensions.**
+
+| IETF document: | MSRP client takes destination address for TCP connection setup from | Session matching at MSRP client between SDP path and "To-Path" in MSRP messages includes address information | IMS-AGW needs to insert own address into "To-Path" in MSRP messages | IMS-ALG needs to modify SDP path attribute | Support of extension is negotiated |
+|------------------------------------------|---------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------|--------------------------------------------|------------------------------------|
+| IETF RFC 4975 [25] | SDP MSRP path attribute | Yes | Yes | Yes | - |
+| Expired draft-ietf-simple-msrp-sessmatch | SDP MSRP path attribute | No | No | Yes | No |
+| IETF RFC 6714 [26] | SDP c-line and m-line | Yes | No
(Yes if fallback to IETF RFC 4975 [6] occurs and is supported) | No | Yes, via SDP CEMA attribute |
+
+## 5.19.2 IMS-ALG procedures to support IETF RFC 6714 with application agnostic MSRP handling by the IMS-AGW
+
+A peer applying IETF RFC 6714 [26] will include the "a=msrp-cema" SDP attribute in the first SDP offer it sends.
+
+If the "a=msrp-cema" SDP attribute is contained in an SDP offer, the IMS-ALG:
+
+- shall ensure that the IMS-AGW performs application agnostic MSRP handling by not configuring the IMS-AGW to apply application-aware MSRP interworking;
+- shall indicate "TCP" or "TCP/TLS" (if e2ae media security is applied) as transport protocol to the IMS-AGW;
+- shall forward the "a=path" attribute and the "a=msrp-cema" SDP attribute in the SDP offer without modification; and
+- shall forward the "a=path" SDP attribute in the corresponding SDP answer without modification (even if the "a=msrp-cema" SDP attribute is not contained in the answer).
+
+NOTE: If the "a=msrp-cema" SDP attribute is not contained in the SDP answer and the "a=path" SDP attribute is not modified, the offerer will discover a mismatch and send a new SDP offer without the "a=msrp-cema" SDP attribute according to IETF RFC 6714 [26] procedures.
+
+If the "a=msrp-cema" SDP attribute is not contained in an SDP offer, the IMS ALG shall either apply the procedures in clause 5.19.3 or clause 5.19.4 (if supported).
+
+## 5.19.3 IMS-ALG procedures to support IETF draft-ietf-simple-msrp-sessmatch with application agnostic MSRP handling by the IMS-AGW
+
+A peer applying the expired IETF draft-ietf-simple-msrp-sessmatch will not include the "a=msrp-cema" SDP attribute in the SDP it sends, and will only compare the session-id part of the first MSRP URI in the SDP "a=path" attribute with the session-id part of the first MSRP URI in the "To-Path" header field of the first received MSRP packet.
+
+If the "a=msrp-cema" SDP attribute is not contained in an SDP offer, the IMS-ALG:
+
+- shall ensure that the IMS-AGW performs application agnostic MSRP handling by not configuring the IMS-AGW to apply application-aware MSRP interworking;
+
+- shall indicate "TCP" or "TCP/TLS" (if e2ae media security is applied) as transport protocol to the IMS-AGW; and
+- shall replace the IP address and TCP port in the only entry of the "a=path" SDP attribute in received SDP offer or answer with the IP address and TCP port allocated for the media stream at the IMS-AGW before forwarding the SDP.
+
+#### 5.19.4 IMS-ALG procedures for application aware MSRP interworking by the IMS-AGW
+
+The IMS ALG:
+
+- shall provide the SDP "a=path" attribute, as received in SIP/SDP signalling, to the IMS-AGW as "MSRP Path" with the remote descriptor of the corresponding call leg;
+- shall ensure that the IMS-AGW performs application aware MSRP interworking by configuring the IMS-AGW to apply application-aware MSRP interworking; and
+- shall indicate "TCP/MSRP" or "TCP/TLS/MSRP" (if e2ae media security is applied) as transport protocol to the IMS-AGW.
+
+If interworking between an MSRP client applying IETF RFC 6714 [26] and an MSRP client applying IETF RFC 4975 [25] without extensions by either IETF RFC 6714 [26] or IETF draft-ietf-simple-msrp-sessmatch needs to be supported, the IMS ALG should:
+
+- when receiving an SDP offer including the "a=msrp-cema" SDP attribute, include the "a=msrp-cema" SDP attribute in the SDP answer on that call leg;
+- when sending an SDP offer, include the "a=msrp-cema" SDP attribute; and
+- if the "a=msrp-cema" SDP attribute is not contained in a received SDP answer and the SDP c/m-line address information does not match the "a=path" attribute, send a new SDP offer without the "a=msrp-cema" SDP attribute according to IETF RFC 6714 [26] procedures.
+
+NOTE: The second SDP offer can be omitted if the IMS-ALG knows that there is no SBC in the path (e.g. between the IMS-ALG and the UE).
+
+#### 5.19.5 Application-aware MSRP interworking at the IMS-AGW
+
+The IMS-AGW shall apply application-aware MSRP interworking either if being statically configured to do so, or if being instructed from the IMS-ALG. Support of dynamic instructions from the IMS-ALG is optional.
+
+To apply application-aware MSRP interworking, the IMS-AGW:
+
+- shall modify the MSRP "To-Path" header field in application (i.e. MSRP) data by replacing the IP address and TCP port of the only entry with the corresponding information in the "MSRP path" provided by the IMS\_ ALG while retaining the MSRP session ID part of the entry as received in the MSRP "To-Path"; and
+- shall forward the MSRP data without further modification.
+
+NOTE: MSRP session matching will be performed only by the MSRP clients.
+
+#### 5.19.6 MSRP data channels
+
+MSRP signalling can be transferred over WebRTC data channels as a data channel sub-protocol using the SDP offer/answer negotiation according to IETF RFC 8873 [62]. WebRTC data channels are described in clause 5.20.2. For WebRTC terminations the procedures in clause 5.19 shall apply with the modifications described in the present clause.
+
+Within received SIP/SDP signalling related to a WebRTC termination MSRP contents within a data channel will be marked with the "subprotocol=""MSRP"" subfield in the "a=dcmmap" SDP attribute according to IETF RFC 8864 [65]. The MSRP related "a=msrp-cema", "a=path", "a=accept-types" and "a=setup" SDP attributes will be encapsulated in "a=dcsa" SDP attributes according to IETF RFC 8864 [65]. The "a=msrp-cema" can be present or omitted in received SIP/SDP signalling related to a termination where no WebRTC data channel is to be used, but IETF RFC 6714 [26] is
+
+always applicable for MSRP within WebRTC data channels and the "a=msrp-cema" shall be present in SIP/SDP signalling related to a WebRTC termination.
+
+When receiving an SDP offer including such MSRP related information in SIP/SDP signalling related to a WebRTC data channel, and forwarding the SDP offer towards a termination where no WebRTC data channel is to be used, the IMS-ALG shall:
+
+- describe each MSRP data channel in a separate SDP media line in the SDP offer it forwards;
+- include "a=msrp-cema", "a=path", "a=accept-types" and "a=setup" SDP attributes received encapsulated in "a=dcsa" SDP attributes in the forwarded SDP offer for the corresponding MSRP media line(s) without the encapsulation; and
+- execute the procedures in the clause 5.19 as if an "a=msrp-cema" SDP attribute had been received.
+- execute the procedures in the clause 5.19 as if an "a=msrp-cema" SDP attribute had been received.
+
+When receiving an SDP offer including MSRP related information without an indication of WebRTC data channel usage in SIP/SDP signalling, and forwarding the SDP offer towards a termination where a WebRTC data channel is to be used, the IMS-ALG shall:
+
+- describe each received MSRP media line as a separate data channel;
+- include any received "a=msrp-cema", "a=path", "a=accept-types" and "a=setup" SDP attributes received for the MSRP media line(s) encapsulated in "a=dcsa" SDP attributes in the forwarded SDP offer;
+- if the "a=msrp-cema" SDP attribute was not received for the MSRP media line(s), include "a=msrp-cema" SDP attribute for the corresponding MSRP media line(s) encapsulated in "a=dcsa" SDP attribute in the forwarded SDP offer;
+- include an "subprotocol="MSRP"" subfield in a "a=demap" SDP attribute; and
+- not include the "max-retr", "max-time" and "ordered" parameters in the "a=demap" SDP attribute.
+
+For terminations with MSRP within a WebRTC data channel, the IMS-ALG shall:
+
+- indicate a transport protocol according to clause 5.20.2 to the eIMS-AGW; and
+- for application aware MSRP interworking:
+ - a) indicate that MSRP is used within the data channel to the eIMS-AGW; and
+ - b) provide the SDP "a=path" attribute encapsulated in "a=dcsa" SDP attribute, as received in SIP/SDP signalling, to the eIMS-AGW as "Encapsulated MSRP Path" with the remote descriptor of the corresponding call leg.
+
+## 5.20 Web Real-Time Communication (WebRTC)
+
+### 5.20.1 General
+
+The following requirements apply for a "P-CSCF enhanced for WebRTC (eP-CSCF)" and an "IMS-AGW enhanced for WebRTC (eIMS-AGW)":
+
+- End-to-access-edge security for RTP based media using DTLS-SRTP, clause 5.11.2.4, shall be supported.
+- End-to-access-edge security for RTP based media using DTLS-SRTP over TCP transport, clause 5.11.2.5, may be supported.
+- Interactive Connectivity Establishment (ICE), clause 5.18, shall be supported. ICE for TCP may be supported in addition to offer an alternative transport for UDP based media as specified in clause 5.18.
+- STUN Consent Freshness, clause 5.18.4, shall be supported.
+
+- RTP/RTCP transport multiplexing, clause 5.9.2 shall be supported.
+- Audio transcoding, clause 5.13, shall be supported. Video transcoding may be supported.
+- Transcoding to/from the Opus Audio Codec, IETF RFC 6716 [50], clause 5.13.4, should be supported.
+- Procedures for the eIMS-AGW to act as a data channel endpoint should be supported according to IETF draft ietf-rtcweb-data-channel [61], see clause 5.20.2.
+- Data channels used for WebRTC to transport MSRP as a data channel sub-protocol, i.e. MSRP data channels between the UE and the eIMS-AGW should be supported according to IETF RFC 8873 [62] and the procedures in clause 5.19.6. SCTP/DTLS/UDP should be transported as protocol stack for data channels and SCTP/DTLS/TCP may be supported.
+- Data channels used for WebRTC to transport T.140 (used for Global Text Telephony, GTT) as a data channel sub-protocol, i.e. T.140 data channels between the UE and the eIMS-AGW may be supported according to IETF RFC 8865 [75] and the procedures in clause 5.20.2.6.
+- The media plane optimization procedures in clause 5.20.3 may be supported.
+
+## 5.20.2 WebRTC data channel
+
+### 5.20.2.1 General
+
+In the WebRTC framework, non-media data communication between UEs is handled by using data channels according to IETF RFC 8831 [61]; within SCTP (see IETF RFC 4960 [63]), encapsulated in DTLS (see IETF RFC 6347 [32]). The related SDP signalling is described in IETF RFC 8841 [64] and IETF RFC 8864 [65].
+
+### 5.20.2.2 Data Channel Establishment
+
+Data channels can use either a SCTP/DTLS/UDP or SCTP/DTLS/TCP based transport. If the eP-CSCF (IMS-ALG) and the eIMS-AGW support data channels, they shall support the SCTP/DTLS/UDP based transport and may support the SCTP/DTLS/TCP based transport.
+
+NOTE 1: This clause assumes that the UDP based option is used as default ICE candidate for WebRTC terminations. TCP based transport can be offered in addition as alternative transport using ICE for TCP as specified in clause 5.18.
+
+Upon receipt of an SDP offer containing SDP attributes for new SCTP associations and/or new data channels according to IETF RFC 8841 [64] and IETF RFC 8864 [65] from the WebRTC access network, the eP-CSCF (IMS-ALG):
+
+- shall check if a new DTLS association and SCTP association is to be set up or an existing DTLS association and SCTP association are to be reused (NOTE 1) according to IETF RFC 8842 [81] and IETF RFC 8841 [64];
+
+NOTE 2: The present procedures assume that the DTLS association and SCTP association are established together. A separate establishment of DTLS association and SCTP association is not supported in the present release.
+
+- if a new DTLS connection and SCTP association are to be set up:
+ - 1) shall request a new H.248 stream group (see details below) on a new termination towards the WebRTC access network from the eIMS-AGW;
+ - 2) shall request a deaggregation stream to handle the SCTP association and DTLS association, and for the H.248 deaggregation stream:
+ - a) shall send the remote UDP port and SCTP port to the eIMS-AGW;
+ - b) shall request the local UDP port and SCTP port from the eIMS-AGW;
+ - c) shall insert the local UDP port and SCTP port received from the eIMS-AGW into the SDP answer towards the WebRTC access network;
+
+- d) shall provide the remote SCTP maximum message size, as received within the "a=max-message-size" SDP attribute, to the eIMS-AGW;
+- e) shall request the eIMS-AGW to provide its own local SCTP maximum message size;
+- f) shall insert the SCTP maximum message size received from the eIMS-AGW into the SDP answer towards the WebRTC access network;
+- g) shall check the received value of the "a=setup" SDP attribute to determine if the eIMS-AGW needs to act as DTLS client or DTLS server. When the received value is equal to:
+ - i) "active" the eIMS-AGW needs to act as DTLS server;
+ - ii) "passive" the eIMS-AGW needs to act as DTLS client; or
+ - iii) "actpass" the eP-CSCF (IMS-ALG) shall decide if the eIMS-AGW needs to act as DTLS client or DTLS server;
+- h) if the eIMS-AGW needs to act as DTLS client;
+ - i) shall provide the Establish (D)TLS session information element to request the eIMS-AGW to start the DTLS session setup; and
+ - ii) shall provide the Establish SCTP association information element to request the eIMS-AGW to start the SCTP association setup as soon as DTLS association is data transfer ready;
+
+NOTE 3: Such an H.248 control leads to the emulation of "simultaneous SCTP association establishment" (i.e., the eIMS-AGW behaves according to clause 5.2.1 of IETF RFC 4960 [63]).
+
+- i) if the eIMS-AGW needs to act as DTLS server, may include the Notify (D)TLS session establishment information element to request the eIMS-AGW to notify the eP-CSCF (IMS-ALG) about an incoming DTLS session setup;
+ - j) shall indicate to the eIMS-AGW "UDP/DTLS/SCTP" as transport protocol;
+ - k) shall provide to the eIMS-AGW the Remote certificate fingerprint information element with the value of the received fingerprint SDP attribute(s) from the WIC;
+ - l) shall include the Local certificate fingerprint Request information element to request the certificate fingerprint of the eIMS-AGW; and
+ - m) shall indicate to the eIMS-AGW the SCTP stream identifiers of H.248 component stream(s) (i.e. SCTP streams corresponding to data channels) to be de-multiplexed;
+- 3) shall indicate the grouping of the H.248 deaggregation stream and the H.248 component stream(s) with SCTP semantics to the eIMS-AGW; and
+ - 4) shall request the eIMS-AGW to provide a notification when receiving an SCTP stream reset request and to autonomously answer that SCTP stream reset request;
+- if an existing DTLS association and SCTP association are to be reused, shall modify the existing termination for that SCTP association by:
+ - 1) indicating to the eIMS-AGW the SCTP stream identifiers of H.248 component stream(s) (i.e. SCTP streams corresponding to data channels) to be de-multiplexed; and
+ - 2) indicating the H.248 stream grouping of the H.248 deaggregation stream and the H.248 component stream(s) with SCTP semantics to the eIMS-AGW;
+
+NOTE 4: The information element relates to an H.248 Stream Group (SG) which allows:
+
+- a) to separate the protocol stack in the levels of data channels (DC) and the commonly shared lower transport, and
+- b) to support multiple DCs. The SG is part of the WebRTC termination.
+
+- for each data channel to be established:
+
+- 1) shall reserve a separate H.248 stream at the termination towards the WebRTC access network;
+
+- 2) shall provide the SCTP stream identifier to the eIMS-AGW;
+- 3) shall provide the information received in the SDP "a=dcmmap" attribute to the eIMS-AGW;
+
+NOTE 5: For MSRP and T.140 within data channels, the default values of the "max-retr" parameter, the "max-time" parameter and the "ordered" parameter apply and those parameters are not included.
+
+- 4) if application aware handling of the contents within the data channel is required, may provide the information received in SDP "a=dcsa" attributes to the eIMS-AGW as "remote dcsa" information elements, taking into account the specific procedures defined for the subprotocols within the data channel;
+ - 5) if the first data channel is to be established, shall reserve a termination towards the core network;
+ - 6) shall reserve a H.248 stream towards the core network;
+ - 7) shall indicate to the eIMS-AGW how to interwork the information send or received in data channels with information send or received on streams towards the IMS core network by using the same H.248 stream identifier for the H.248 stream towards the WebRTC access network and towards the core network;
+ - 8) shall indicate to the eIMS-AGW an appropriate transport protocol towards the IMS core network (e.g. "TCP" for MSRP) for the media described in the dcmmap attribute for the data channel when reserving the transport addresses/resources towards the IMS core network;
+ - 9) shall provide an appropriate media line for the media described in the dcmmap attribute in the SDP offer towards the IMS core network; and
+ - 10) should de-encapsulate SDP attributes within the received SDP "a=dcsa" attributes in the SDP offer and include the de-encapsulated SDP attributes in the SDP offer towards the IMS core network as media attributes for the media line corresponding to the data channel, taking into account specific procedures defined for the subprotocol within the data channel; and
+- shall remove the "a=setup", "a=connection" "a=dcmmap" and possible "a=dcsa" SDP attributes and fingerprint information from the SDP offer towards the IMS core network.
+
+Upon receipt of a corresponding SDP answer from the IMS core network, if the SDP answer does not indicate that media plane optimization is to be applied (see clause 5.20.3.2), the eP-CSCF (IMS-ALG):
+
+- instead of the media line(s) describing media that are to be transported within data channel(s), shall provide an "m=" line with the transport protocol "UDP/DTLS/SCTP";
+- shall insert the fingerprint SDP attribute with the value of the Local certificate fingerprint information element received from the eIMS-AGW;
+- if the IMS-ALG received from the WIC an SDP offer with "a=tls-id" media-level SDP attribute for the DTLS association:
+ - 1) if an existing DTLS association is reused, shall include the "a=tls-id" SDP attribute with the value assigned to that DTLS association in the SDP answer which the IMS-ALG sends to the WIC; and
+ - 2) if a new DTLS association is to be established, shall include the "a=tls-id" SDP attribute with a new unique value in the SDP answer which the IMS-ALG sends to the WIC;
+- shall insert the "a=setup" SDP attribute with the value:
+ - 1) "active" if the eP-CSCF (IMS-ALG) requested the eIMS-AGW to act as DTLS client; or
+ - 2) "passive" if the eIMS-AGW shall take the DTLS server role; and
+- for each received media line describing media that are to be transported within a data channel:
+ - 1) shall insert an "a=dcmmap" attribute with the same values for the SCTP stream identifier, "subprotocol" and "label" parameters as received in the SDP offer, and with possible values for the "max-retr", "max-time", and "ordered" parameters according to the requirements of the transported data flow and capabilities of the eIMS-AGW;
+
+NOTE 6: For MSRP and T.140 within data channels, the default values of the "max-retr" parameter, the "max-time" parameter and the "ordered" parameter apply and those parameters are not included.
+
+- 2) should insert SDP "a=dcsa" attributes into the SDP answer towards the WebRTC access network encapsulating subprotocol specific SDP attributes received in the SDP answer, taking into account specific procedures defined for the subprotocol within the data channel;
+- 3) shall provide the information in the sent SDP "a=dmap" attribute to the eIMS-AGW; and
+- 4) may provide the information within the sent SDP "a=dcsa" attributes to the eIMS-AGW as "local dcsa" information elements, taking into account specific procedures defined for the subprotocol within the data channel.
+
+Upon receipt of an SDP offer from the IMS core network for new media streams that need to be transported within a WebRTC data channel on the WebRTC access network, if the SDP offer does not indicate that media plane optimization is to be applied (see clause 5.20.3.3), the eP-CSCF (IMS-ALG):
+
+- shall determine if it can reuse an existing DTLS association and SCTP association or if it needs to set up a new DTLS association and SCTP association;
+- if a new DTLS association and SCTP association are to be set up:
+ - 1) shall request a new termination towards the WebRTC access network from the eIMS-AGW;
+ - 2) shall request a deaggregation stream to handle the SCTP association and DTLS association, and for the H.248 deaggregation stream:
+ - a) shall request the local UDP port and SCTP port from the eIMS-AGW;
+ - b) shall insert the local UDP port and SCTP port received from the eIMS-AGW into the SDP offer towards the WebRTC access network;
+ - c) shall request the eIMS-AGW to provide its own local SCTP maximum message size;
+ - d) shall insert the SCTP maximum message size received from the eIMS-AGW into the SDP offer towards the WebRTC access network;
+ - e) shall add an SDP "a=setup" attribute with value "actpass" into the SDP offer;
+ - f) shall indicate to the eIMS-AGW "UDP/DTLS/SCTP" as transport protocol;
+ - g) shall include the Local certificate fingerprint Request information element to request the certificate fingerprint of the eIMS-AGW;
+ - h) shall insert the fingerprint SDP attribute with the value of the Local certificate fingerprint information element received from the eIMS-AGW into the SDP offer towards the WebRTC access network; and
+ - i) shall indicate to the eIMS-AGW the SCTP stream identifiers of H.248 component stream(s) (i.e. SCTP streams corresponding to data channels) to be de-multiplexed;
+ - 3) shall indicate the H.248 stream grouping of the H.248 deaggregation stream and the H.248 component stream(s) with SCTP semantics to the eIMS-AGW; and
+ - 4) shall request the eIMS-AGW to provide a notification when receiving an SCTP stream reset request and to autonomously answer that SCTP stream reset request;
+- if an existing DTLS association and SCTP association are to be reused, shall modify the existing termination towards the WebRTC access network for that SCTP association by:
+ - 1) indicating to the eIMS-AGW the SCTP stream identifiers of H.248 component stream(s) (i.e. SCTP streams corresponding to data channels) to be de-multiplexed; and
+ - 2) indicating the H.248 stream grouping of the H.248 deaggregation stream and the H.248 component stream(s) with SCTP semantics to the eIMS-AGW;
+- instead of the media line(s) describing media that are to be transported within data channel(s), shall provide an "m=" line with the transport protocol "UDP/DTLS/SCTP";
+
+- shall insert an "a=tls-id" SDP attribute in the SDP offer with a new or reused value (depending on whether an existing DTLS association is reused); and
+- for each received media line describing media that are to be transported within a data channel:
+ - 1) shall reserve a separate H.248 stream at the termination towards the WebRTC access network;
+ - 2) shall insert an "a=dcmap" attribute with an unused SCTP stream identifier, and with "subprotocol" and "label" parameters according to the requirements of the transported data flow, and with possible values for the "max-retr", "max-time", and "ordered" parameters according to the requirements of the transported data flow and capabilities of the eIMS-AGW;
+
+NOTE 7: For MSRP and T.140 within data channels, the default values of the "max-retr" parameter, the "max-time" parameter and the "ordered" parameter apply and those parameters are not included.
+
+- 3) shall provide the SCTP stream identifier to the eIMS-AGW;
+- 4) shall provide the information in the sent SDP "a=dcmap" attribute to the eIMS-AGW;
+- 5) should insert SDP "a=dcsa" attributes into the SDP offer towards the WebRTC access network encapsulating any subprotocol specific SDP attributes received in the SDP offer, taking into account specific procedures defined for the subprotocol within the data channel;
+- 6) if application aware handling of the contents within the data channel is required, may provide the information within the sent SDP "a=dcsa" attributes to the eIMS-AGW as "local dcsa" information elements, taking into account specific procedures defined for the subprotocol within the data channel;
+- 7) if the first data channel is to be established, shall reserve a termination towards the core network;
+- 8) shall reserve a H.248 stream towards the core network; and
+- 9) shall indicate to the eIMS-AGW how to interwork the information sent or received in data channels with information sent or received on terminations and/or streams towards the IMS core network by using the same H.248 stream identifier for the stream towards the WebRTC access network and towards the core network.
+
+Upon receipt of a corresponding SDP answer from the WebRTC access network, the eP-CSCF (IMS-ALG):
+
+- if a new DTLS association and SCTP association are to be set up, for the H.248 deaggregation stream to handle the SCTP association and DTLS connection:
+ - 1) shall send the received remote UDP port and SCTP port to the eIMS-AGW;
+ - 2) shall include the Remote certificate fingerprint information element with the value of the received fingerprint SDP attribute(s) from the WebRTC access network;
+ - 3) shall check the received value of the "a=setup" SDP attribute to determine if the eIMS-AGW needs to act as DTLS client or DTLS server. When the received value is equal to:
+ - a) "active" the eIMS-AGW needs to act as DTLS server; or
+ - b) "passive" the eIMS-AGW needs to act as DTLS client;
+ - 4) if the eIMS-AGW needs to act as DTLS client:
+ - a) shall include the Establish (D)TLS session information element to request the eIMS-AGW to start the DTLS session setup; and
+ - b) shall provide the Establish SCTP association information element to request the eIMS-AGW to start the SCTP association setup as soon as DTLS connection is data transfer ready;
+ - 5) if the eIMS-AGW needs to act as DTLS server, may include the Notify (D)TLS session establishment information element to request the eIMS-AGW to notify the eP-CSCF (IMS-ALG) about an incoming DTLS session setup; and
+ - 6) shall provide the remote SCTP maximum message size, as received within the "a=max-message-size" SDP attribute, to the eIMS-AGW;
+
+- shall remove the "a=setup", "a=connection" "a=dcmmap" and possible "a=dcsa" SDP attributes and fingerprint information from the SDP answer and indicate the transport protocol "TCP" in the SDP answer towards the IMS core network; and
+- for each accepted data channel:
+ - 1) shall provide the information received in the SDP "a=dcmmap" attribute to the eIMS-AGW;
+ - 2) if application aware handling of the contents within the data channel is required, may provide the information within the received SDP "a=dcsa" attributes in the SDP answer to the eIMS-AGW as "remote dcsa" information elements, taking into account specific procedures defined for the subprotocol within the data channel; and
+ - 3) should de-encapsulate SDP attributes within the received SDP "a=dcsa" attributes in the SDP answer and include the de- encapsulated SDP attributes in the SDP answer towards the IMS core network, taking into account specific procedures defined for the subprotocol within the data channel.
+
+If requested to set up a new DTLS association and SCTP association, the eIMS-AGW shall:
+
+- allocate the local UDP port and SCTP port, and send them to the eP-CSCF (IMS-ALG);
+- when being instructed to start the DTLS bearer session setup, act as a DTLS client and establish the DTLS bearer session;
+- upon request from the eP-CSCF (IMS-ALG), provide the SCTP maximum message size;
+- upon request from the eP-CSCF (IMS-ALG), select an own certificate, and send the fingerprint of the own certificate to the eP-CSCF (IMS-ALG);
+- uniquely associate the certificate fingerprint(s) received from the eP-CSCF (IMS-ALG) with the corresponding DTLS association, and subsequently use the certificate fingerprint(s) to verify the establishment of the DTLS bearer session;
+- if the verification of the remote certificate fingerprint(s) during the DTLS bearer session establishment fails, regard the remote DTLS endpoint as not authenticated, terminate the DTLS bearer session and report the unsuccessful DTLS bearer session setup to the eP-CSCF (IMS-ALG);
+- upon completion of the DTLS association establishment, set up the SCTP association according to IETF RFC 4960 [63]; and
+- deaggregate H.248 component streams upon request from the eP-CSCF (IMS-ALG).
+
+If the eP-CSCF (IMS-ALG) requests that a termination with an existing SCTP association is being modified, the eIMS-AGW shall reuse an existing DTLS association and SCTP association.
+
+If the eP-CSCF (IMS-ALG) requests that a new H.248 component stream with a H.248 stream group related to an SCTP association is being reserved, the eIMS-AGW shall set up the data channel according to IETF RFC 8831 [61] procedures. The eIMS-AGW shall also interwork the information sent or received in data channels with information sent or received on terminations and/or streams towards the IMS core network according to the configuration received by the eP-CSCF (IMS-ALG).
+
+NOTE 8: The handling of priority information that is part of the dcmmap information received from the eP-CSCF (IMS-ALG) is left to the eIMS-AGW implementation.
+
+## 5.20.2.3 Data Channel Release
+
+### 5.20.2.3.1 General
+
+In the present Release, the closure of individual WebRTC data channels (clause 5.20.2.3.2) and the complete release of the entire WebRTC data service (clause 5.20.2.3.3) are supported.
+
+NOTE 1: The hierarchical protocol stack for WebRTC data ("DC/SCTP/DTLS/(UDP|TCP/IP)") contains up to four levels of user plane bearer control procedures, from top to bottom:
+
+- 1) DC: SCTP Stream reconfiguration procedures for resetting SCTP Streams;
+- 2) SCTP Association: shutdown procedure;
+- 3) DTLS: DTLS connection release procedure (apart from resumption and renegotiation procedures); and
+- 4) TCP: TCP connection release procedure. (However, TCP transport of WebRTC data channels is not supported in the present Release).
+
+The present Release does not consider specific release variations at levels 2 to 4, such as the shutdown of an SCTP Association without a DTLS connection release.
+
+A data channel can be closed before the end of the WebRTC call. In the present Release, the H.248 Stream endpoint related to a data channel may be removed after the closure of the data channel, but a subsequent reuse of the corresponding SCTP Stream identifier is possible via an SDP offer-answer exchange triggering the reservation of new H.248 Stream endpoint.
+
+NOTE 2: There are multiple variations possible because the "CLOSURE of a data channel" results in a reset of the SCTP Stream (see clause 6.7 of IETF RFC 8831 [61]), i.e. the concerned SCTP Stream still exists from protocol stack perspective. Such a reset SCTP Stream could be reused again (for the same or another WebRTC data application). There are consequently two options from the eP-CSCF (IMS-ALG) perspective: the correspondent H.248 Stream endpoint remains allocated and part of the H.248 Stream Group for a possible future reuse, or the H.248 Stream endpoint is completely removed from the termination.
+
+### 5.20.2.3.2 Release of one WebRTC data channel
+
+When the eP-CSCF (IMS-ALG) receives:
+
+- an SDP offer or answer from the WebRTC access network releasing a particular WebRTC data channel while maintaining the corresponding SCTP Association, encoded according to IETF RFC 8864 [65]; or
+
+NOTE 1: Such an SDP offer or answer is characterized by the exclusion of the "a=dcmmap:" and "a=dcsha:" attribute lines for an existing data channel (DC). See clause 5.2.4 of IETF RFC 8864 [65] related to the general closure of an application-agnostic DC and clause 5.1.5 of IETF RFC 8873 [62] for an example of an application-aware DC closure.
+
+- an SDP offer or answer from the IMS core network disabling media streams that need to be transported within a WebRTC data channel on the WebRTC access network (i.e. media line with port zero) while maintaining other media streams that are transported within another data channel within the same SCTP Association enabled; or
+- a notification from the eIMS-AGW that the peer has reset the incoming SCTP Stream that corresponds to a data channel;
+
+then the eP-CSCF (IMS-ALG):
+
+- 1) shall provide the *Send SCTP Stream Reset Requests Indicator* information element to the eIMS-AGW to request the eIMS-AGW to start the SCTP Stream reset for the corresponding outgoing SCTP Stream;
+
+NOTE 2: This will trigger the peer to also reset the corresponding incoming SCTP Stream, unless the peer has already done so before.
+
+- 2) may provide the *Received SCTP Stream Reset Response* information element to the eIMS-AGW if the eP-CSCF (IMS-ALG) wants to receive an explicit notification from the eIMS-AGW that the peer has reset the corresponding incoming SCTP Stream;
+- 3) upon the reception of a Notification from the eIMS-AGW that the peer has reset the corresponding incoming SCTP Stream and the additional notification from the eIMS-AGW about the result of the outgoing SCTP Stream (if requested), may release the corresponding H.248 Stream endpoints at the terminations towards the WebRTC access network and towards the IMS core network;
+- 4) if an received SDP offer or answer from the WebRTC access network triggered the release of the data channel, shall forward the SDP offer or answer to IMS core network with the media line corresponding to the media stream in the data channel disabled by port zero;
+
+- 5) if an received SDP offer or answer from the IMS core network triggered the release of the data channel, shall forward the SDP offer or answer to WebRTC access network with the corresponding WebRTC data channel released with encoding according to IETF RFC 8864 [65]; and
+- 6) if all of the following conditions apply:
+ - a notification from the eIMS-AGW that the peer has reset the incoming SCTP Stream triggered the release of the data channel;
+ - the application subprotocol does not mandate that the closing of a data channel is also signalled via a new SDP offer/answer exchange; and
+ - no corresponding SIP/SDP information is received in due time;
+
+should send the appropriate SIP message with the SDP body to the IMS core network with the media line corresponding to the media stream in the data channel disabled by port zero.
+
+NOTE 3: According to IETF RFC 8864 [65], it is specific to the subprotocol whether this closing of a data channel MUST in addition the the SCTP SCTP SSN reset also be signalled to the peer via a new SDP offer/answer exchange. For MSRP, if the peer triggers a data channel release by resetting the incoming SCTP Stream, it is also mandated to send corresponding SIP/SDP information.
+
+### 5.20.2.3.3 Release of all or last active WebRTC data channels within an SCTP Association
+
+When the eP-CSCF (IMS-ALG) receives:
+
+- an SDP offer or answer from the WebRTC access network requesting to release the SCTP Association used to transport data channels, encoded according to IETF RFC 8864 [65] (i.e. media line with port zero); or
+- an SDP offer or answer from the IMS core network disabling all media stream(s) that need to be transported within a WebRTC data channel on the WebRTC access network (i.e. media line(s) with port zero);
+
+then the eP-CSCF (IMS-ALG):
+
+- 1) shall release the corresponding H.248 Stream group or termination towards the WebRTC access network;
+
+NOTE 1: In the present release, a separate DTLS connection is used for each for each SCTP Association and for each audio or video media stream (for their DTLS-SRTP-based key exchange).
+
+- 2) shall release the corresponding H.248 streamendpoint(s) or termination towards the IMS core network;
+
+NOTE 2: If a new SDP offer from the access network arrives that requests a new data channel, then a stream end point and possibly a termination towards the IMS core network has to be added again.
+
+- 3) if an received SDP offer or answer from the WebRTC access network triggered the release of the SCTP Association, shall forward the SDP offer or answer to the IMS core network with all media line(s) corresponding to the media stream(s) in the data channel(s) within that SCTP Association disabled by port zero; and
+- 4) if an received SDP offer or answer from the IMS core network triggered the release of the SCTP Association, shall forward the SDP offer or answer to WebRTC access network with the corresponding release of the SCTP Association with encoding according to IETF RFC 8864 [65] (i.e. media line with port zero).
+
+When the eP-CSCF (IMS-ALG) requests the eIMS-AGW to release an entire H.248 Stream group or termination associated with an SCTP Association, then the eIMS-AGW should execute appropriate bearer control procedures to release the DTLS connection.
+
+NOTE 3: If one DTLS connection endpoint closes the DTLS connection (e.g. sends a DTLS fatal alert), then the other DTLS connection endpoint unambiguously knows that also the SCTP association and all previously existing data channel instances are implicitly closed.
+
+NOTE 4: 'TCP' as L4 protocol is supported for WebRTC audio and video, but not for data in the present release.
+
+### 5.20.2.4 MSRP within WebRTC data channel
+
+See clause 5.19.6.
+
+### 5.20.2.5 Void
+
+### 5.20.2.6 T.140 within WebRTC data channel
+
+T.140 (see ITU-T Recommendation T.140 [73]) is used for Global Text Telephony (GTT). T.140 signalling can be transferred over WebRTC data channels as a data channel sub-protocol according to IETF RFC 8865 [75]. The WebRTC data channel procedures in clause 5.20.2.2 shall apply with the modifications described in the present clause.
+
+T.140 within a data channel is identified via the "t140" value of the "subprotocol" parameter of the SDP "a=dcmmap" attribute.
+
+T.140 transported outside the data channel in the IMS core network is identified via the "RTP/AVP" or "RTP/AVPF" value of the "proto" parameter and the "text" value of the "media" parameter of the SDP m-line, and via the "t140" MIME subtype signalled in the SDP "a=rtpmap" attribute (see IETF RFC 4103 [74]).
+
+The eIMS-ALG shall apply the procedures in clause 5.20.2.2 to configure the eIMS-AGW for an application-aware handling of the contents within the data channel.
+
+For the termination toward the IMS core network, the eIMS-ALG:
+
+- shall provision "RTP/AVP" or "RTP/AVPF" as transport and the "t140" payload type;
+- shall de-encapsulate the SDP "fmtp:t140 cps" attributes, "sendrecv", "sendonly", "recvonly", "inactive", "hlang-send" and "hlang-recv" received within "a=dcsa" attributes from the served WIC;
+- shall forward those attributes within the SDP body in the corresponding SIP message sent to the IMS core network; and
+- shall provision the SDP "fmtp:t140 cps" attributes to the eIMS-AGW.
+
+For the termination towards the WebRTC access network, the eIMS-ALG:
+
+- shall not include the "max-retr", "max-time" and "ordered" parameters in the "a=dcmmap" SDP attribute;
+- shall encapsulate SDP "fmtp:t140 cps", "sendrecv", "sendonly", "recvonly", "inactive", "hlang-send" and "hlang-recv" attributes received from the IMS core network within "a=dcsa" attributes and forward those attributes within the SDP body in the corresponding SIP message sent to the served WIC; and
+- shall provision SDP "fmtp:t140 cps" attributes received from the IMS core network to the eIMS-AGW.
+
+The eIMS-AGW should handle T.140 protocol layer in the following application specific manner:
+
+- the eIMS-AGW should detect inactivity of T.140 traffic from the served WIC and then send empty RTP packets towards the IMS core network;
+- the eIMS-AGW should buffer the T.140 payload received within incoming RTP packets from the IMS core network to correct out-of-order delivery; and
+- the eIMS-AGW should detect missing RTP packets from the IMS core network and then send new T140 blocks with "missing text marker" information to the served WIC.
+
+## 5.20.3 Media Plane Optimization
+
+### 5.20.3.1 General
+
+Media plane optimization procedures for WebRTC are described in 3GPP TS 23.228 [2], annex U.2.4, and in 3GPP TS 24.371 [44], subclause 7.4.5. The purpose of media plane optimization procedures is to convey media between WebRTC clients without bearer level protocol conversion. When both ends are WebRTC IMS clients (WIC), the eIMS-AGWs remain allocated but media plane interworking is disabled, except when LI is needed. Depending on configuration in the eP-CSCF (IMS-ALG), the eIMS-AGW then forwards all protocol layers either including DTLS, or on top of DTLS transparently.
+
+NOTE 1: Terminating the DTLS protocol layer for all calls can improve the transparency of LI.
+
+NOTE 2: In Rel-13, the media plane optimization procedure only supports the transparent forwarding of all protocol layers including DTLS, and no related configuration in the eP-CSCF (IMS-ALG) is thus required. The configuration in the eP-CSCF (IMS-ALG) needs to take into account if the eIMS-AGW supports the media plane optimization procedures with DTLS layer termination added in Rel-14.
+
+The SDP attributes associated with WebRTC media plane optimization procedures "tra-contact", "tra-m-line", "tra-att", "tra-SCTP-association", "tra-media-line-number" and "tra-bw" are defined in 3GPP TS 24.229 [11], clause 7.5.4.
+
+### 5.20.3.2 WIC originating call
+
+If an eP-CSCF (IMS-ALG) forwards an SDP offer from the WIC, and supports media plane optimization, and does not need to perform legal interception, then the eP-CSCF (IMS-ALG) will include media suitable for non-WebRTC IMS UEs, but also encapsulate information about the media in the original encoding as received in the SDP offer from the WIC in "tra-m-line", "tra-att" and "tra-bw" SDP attributes, as described in 3GPP TS 24.371 [44]. The eP-CSCF (IMS-ALG) shall:
+
+- configure the eIMS-AGW to reserve resources suitable for the media described in the SDP offer outside the "tra-m-line", "tra-att" and "tra-bw" SDP attributes;
+- include the IP address received from the eIMS-AGW for the termination towards the IMS core network in the SDP contact line and also encapsulate the address information provided by the eIMS-AGW into a "tra-contact" attribute;
+- if the eP-CSCF (IMS-ALG) is configured to apply media plane optimization including the DTLS layer, for each media line in the SDP offer sent on the Mw interface that does not relate to a data channel or that is the first media line within the SDP offer that relates to a data channel, replace the UDP port number with a port number provided by the eIMS-AGW and encapsulate the UDP port number allocated by the eIMS-AGW in the "tra-m-line" SDP attribute; and
+- if the eP-CSCF (IMS-ALG) is configured to apply media plane optimization excluding the DTLS layer, in addition for each media line in the SDP offer sent on the Mw interface that does not relate to a data channel or that is the first media line within the SDP offer that relates to a data channel within one SCTP association:
+ - a) reserve a stream endpoint or termination towards the IMS core network in "inactive" mode with "UDP/DTLS" as transport protocol, and the same IP address as allocated by the eIMS-AGW for the termination or stream endpoint with resources suitable for the media described in the SDP offer outside the "tra-m-line", "tra-att" and "tra-bw" SDP attributes;
+ - b) request from the eIMS-AGW a certificate fingerprint for that stream endpoint or termination;
+ - c) encapsulate a "fingerprint" attribute as provided by the eIMS-AGW into an "tra-att" attribute, and add this attribute as a media level attribute in the SDP offer; and
+ - d) for a DTLS association that will be established towards the IMS core network create a DTLS association identity;
+ - e) encapsulate an "a=tls-id" SDP attribute with the new DTLS association identity into an "tra-att" attribute, and add this attribute as a media level attribute in the SDP offer; and
+ - f) replace the UDP port number with a port number provided by the eIMS-AGW and encapsulate the UDP port number allocated by the eIMS-AGW for the stream endpoint or termination towards the IMS core network with "UDP/DTLS" transport in the "tra-m-line" SDP attribute.
+
+If an eP-CSCF (IMS-ALG) receives an SDP answer from the IMS core network and the SDP answer includes "tra-m-line" media level SDP attributes, the eP-CSCF (IMS-ALG) will de-encapsulate information to the optimized media from the received SDP answer and construct the SDP answer towards the WIC based on that de-encapsulated information as described in 3GPP TS 24.371 [44]. The eP-CSCF (IMS-ALG) shall:
+
+- for each media line in the SDP answer, which is not marked with a "tra-SCTP-association" SDP attribute or which is the first media line in the SDP answer marked with a "tra-SCTP-association" SDP attribute that indicates an SCTP association:
+
+1. if the eP-CSCF (IMS-ALG) is configured to apply media plane optimization including the DTLS layer, reconfigure the terminations or stream endpoints towards the IMS core network and towards the WIC related to that media line to transport "UDP" and media format agnostic information; or
+
+NOTE: If interconnected H.248 Stream endpoints or terminations at the eIMS-AGW are configured with transport "UDP", they will pass the payload within UDP without modifications, known as UDP transparent forwarding. For WebRTC media plane optimization, the UDP payload will be either DTLS encapsulating SCTP and data channel(s), DTLS-SRTP encapsulating key management information, or SRTP encapsulating audio or video media. However, the eIMS-AGW will be configured at terminations towards the WIC to apply ICE procedures according to clause 5.18.
+
+2. if the eP-CSCF (IMS-ALG) is configured to apply media plane optimization excluding the DTLS layer:
+
+- a) configure the eIMS-AGW to release the termination or stream endpoint towards the IMS core network with resources suitable for the media described in the SDP offer outside the "tra-m-line", "tra-att" and "tra-bw" SDP attributes;
+- b) configure the eIMS-AGW to through-connect the stream endpoint or termination towards the IMS core network with "UDP/DTLS" as transport protocol;
+
+provide the fingerprint(s) received in the corresponding "tra-att" SDP attribute(s) to the eIMS-AGW for the stream endpoint or termination towards the IMS core network and do not provide those fingerprint attribute(s) towards the WIC;
+
+- d) reserve a stream endpoint or termination towards the WIC with "UDP/DTLS" as transport protocol;
+- e) provide the fingerprint(s) received in the corresponding "fingerprint" SDP attribute(s) in the previous SDP offer from the WIC to the eIMS-AGW for the stream endpoint or termination towards the WIC;
+- f) request from the eIMS-AGW a certificate fingerprint for the stream endpoint or termination towards the WIC;
+- g) include fingerprint provided by the eIMS-AGW into an "fingerprint" attribute, and add this attribute as a media level attribute in the SDP answer sent towards the WIC;
+- h) for a DTLS association that will be established towards WIC create a DTLS association identity and include an "a=tls-id" attribute with the new DTLS association identity in the SDP answer sent towards the WIC;
+- i) determine via the SDP "a=setup" attribute (see IETF RFC 7345 [33]) encapsulated in "tra-att" SDP attribute if the eIMS-AGW needs to act as DTLS client or DTLS server towards the IMS core network and towards the WIC; and
+- j) for the termination where the eIMS-AGW needs to act as DTLS server, provide the Establish (D)TLS session information element to request the eIMS-AGW to start the DTLS session setup; and
+
+3. include the UDP port number allocated by the eIMS-AGW for the termination or stream endpoint towards the WIC in the SDP media line in the SDP answer to the WIC;
+
+- include the IP address received from the eIMS-AGW for the termination towards the WIC in the SDP contact line sent toward the WIC; and
+- if several media lines in the SDP answer are marked with "tra-SCTP-association" SDP attributes indicating the same SCTP association, release the stream endpoints related to the second and subsequent of those media lines (in the order they appear in the SDP answer).
+
+### 5.20.3.3 WIC terminating call
+
+If an eP-CSCF (IMS-ALG) receives an SDP offer from the IMS core network and the eP-CSCF (IMS-ALG) supports media plane optimization, then the eP-CSCF (IMS-ALG) will determine whether media plane optimization is to be applied as described in 3GPP TS 24.371 [44]. If media plane optimization is to be applied, then the eP-CSCF (IMS-ALG) will de-encapsulate information to the optimized media from the received SDP offer and construct the SDP offer towards the WIC based on that de-encapsulated information as described in 3GPP TS 24.371 [44], and the eP-CSCF (IMS-ALG) shall:
+
+- for each media line in the SDP offer, which is not marked with a "tra-SCTP-association" SDP attribute or which is the first media line in the SDP answer marked with "tra-SCTP-association" SDP attribute that indicates an SCTP association:
+
+1. reserve a termination or stream endpoint towards the WIC related to that media line;
+2. if the eP-CSCF (IMS-ALG) is configured to apply media plane optimization including the DTLS layer, provide transport "UDP" and media format agnostic information for the termination or stream endpoint towards the WIC;
+
+NOTE: If interconnected H.248 Stream endpoints or terminations at the eIMS-AGW are configured with transport "UDP", they will pass the payload within UDP without modifications, known as UDP transparent forwarding. For WebRTC media plane optimization, the UDP payload will be either DTLS encapsulating SCTP and data channel(s) or DTLS-SRTP encapsulating key management information, or SRTP encapsulating audio or video media. However, the eIMS-AGW will be configured at terminations towards the WIC to apply ICE procedures according to clause 5.18.
+
+3. if the eP-CSCF (IMS-ALG) is configured to apply media plane optimization excluding the DTLS layer:
+ - a) provide transport "UDP/DTLS" and media format agnostic information for the termination or stream endpoints toward the WIC;
+ - b) request from the eIMS-AGW a certificate fingerprint for the stream endpoint or termination towards the WIC;
+ - c) encapsulate fingerprint provided by the eIMS-AGW into an "fingerprint" attribute, and add this attribute as a media level attribute in the SDP offer sent towards the WIC; and
+ - d) do not provide the fingerprint received in the SDP offer in the corresponding "tra-att" SDP attributes towards the WIC;
+ - e) for a DTLS association that will be established towards WIC create a DTLS association identity, and add an "a=tls-id" SDP attribute with the new DTLS association identity in the SDP offer sent towards the WIC; and
+ 4. include the UDP port number allocated by the eIMS-AGW for the stream endpoint or termination towards the WIC in the SDP media line; and
+- include the IP address received from the eIMS-AGW for the termination towards the WIC in the SDP contact line sent toward the WIC.
+
+If the eP-CSCF (IMS-ALG) receives an SDP answer from the WIC and the eP-CSCF (IMS-ALG) decided to apply media plane optimization when processing the corresponding SDP offer, then the eP-CSCF (IMS-ALG) will construct the SDP answer towards the IMS core network encapsulating received information as described in 3GPP TS 24.371 [44], and the eP-CSCF (IMS-ALG) shall:
+
+- reserve a termination or stream endpoint towards the IMS core network;
+- for each media line in the received SDP answer:
+ 1. if the eP-CSCF (IMS-ALG) is configured to apply media plane optimization including the DTLS layer, provide transport "UDP" and media format agnostic information for the termination or stream endpoint towards the IMS core network;
+ 2. if the eP-CSCF (IMS-ALG) is configured to apply media plane optimization excluding the DTLS layer:
+ - a) provide the fingerprint(s) received in the "fingerprint" SDP attribute from the WIC to the eIMS-AGW for the stream endpoint or termination towards the WIC;
+ - b) provide transport "UDP/DTLS" and media format agnostic information for the termination or stream endpoint towards the IMS core network;
+ - c) request from the eIMS-AGW a certificate fingerprint for the stream endpoint or termination towards the IMS core network;
+
+- d) encapsulate fingerprint provided by the eIMS-AGW for the termination or stream endpoint towards the IMS core network into a "tra-att" SDP attribute, and add this attribute as a media level attribute in the SDP answer sent towards the IMS core network;
+ - e) for a DTLS association that will be established towards the IMS core network create a DTLS association identity;
+ - f) encapsulate an "a=tls-id" SDP attribute with the new DTLS association identity into an "tra-att" attribute, and add this attribute as a media level attribute in the SDP answer sent towards the IMS core network;
+ - g) determine via the SDP "a=setup" attribute (see IETF RFC 7345 [33]) if the eIMS-AGW needs to act as DTLS client or DTLS server towards the IMS core network and towards the WIC; and
+ - h) for the termination where the eIMS-AGW needs to act as DTLS server, provide the Establish (D)TLS session information element to request the eIMS-AGW to start the DTLS session setup; and
+3. encapsulate the UDP port number allocated by the eIMS-AGW for the stream endpoint or termination towards the IMS core network in the "tra-m-line" SDP attribute; and
+- include the IP address received from the eIMS-AGW for the termination towards the IMS core network in the SDP contact line.
+
+## 5.21 Alternate Connection (ALTC) Addresses Management
+
+### 5.21.1 General
+
+The IMS-ALG and the IMS-AGW may support the functionalities related to the support of the ALTC functionality as specified in IETF RFC 6947 [59] and 3GPP TS 24.229 [11] to support dual stack UEs. The present clause describes the requirements for P-CSCF (IMS-ALG) and IMS-AGW when the ALTC procedures are supported.
+
+If the IMS-ALG supports ALTC and, based on local policies, decides to insert ALTC information in the SDP offer sent to the terminating side, the IMS-ALG shall request the IMS-AGW to reserve two sets of transport addresses/resources towards the access network to enable media to traverse the IMS-AGW, one for each media line associated to ALTC information. The IMS-ALG shall request the IMS-AGW to release the transport resources reserved for the address type finally not used.
+
+## 5.22 Video Region-of-Interest (ROI)
+
+### 5.22.1 General
+
+The IMS-ALG and the IMS-AGW may support the video Region-of-Interest (ROI) as defined in 3GPP TS 26.114 [21]. Three modes are specified for supporting ROI, including "Far End Camera Control (FECC)", "Arbitrary ROI" and "Predefined ROI". The IMS-ALG and the IMS-AGW may independently support any of these modes.
+
+### 5.22.2 "Far End Camera Control" mode
+
+The IMS-ALG and IMS-AGW may support the "Far End Camera Control" mode as specified in 3GPP TS 26.114 [21]. If the IMS-ALG and IMS-AGW support the "Far End Camera Control" mode, the IMS-ALG and IMS-AGW shall apply the procedures in the present clause.
+
+If the IMS-ALG receives an SDP body containing an "m=" line with a media type "application/h224", as defined by IETF RFC 4573 [68] which indicates support for FECC (ITU-T Recommendation H.281 [70]) using ITU-T Recommendation H.224 [69], the IMS-ALG shall:
+
+- forward within SIP signalling the SDP body received from the preceding node with unmodified SDP "m=" and "a=" lines related to the "application/h224" media types (see the related SDP examples in annex A.4.2e of 3GPP TS 26.114 [21]) to the succeeding node; and
+
+NOTE 1: There may be one media type "application/h224" "m=" line for each video "m=" line.
+
+- request the IMS-AGW to provide a separate IP/UDP/RTP transport for the "application/h224" media stream by setting the "m=" line media type to "application" and "RTP/AVP" or "RTP/AVPF" over UDP as transport protocol when reserving the transport addresses/resources towards the MTSI client and IMS core network.
+
+NOTE 2: The use of FECC itself is internal to the H.224 frame and is identified by the client ID field of the H.224 packet. The IMS-ALG only indicates the use of IP/UDP/RTP. The use of FECC is signalled via H.224 by a MTSI client.
+
+The IMS-AGW shall then:
+
+- assign resources for the requested media stream, i.e., resources for a media-format agnostic RTP flow; and
+- forward transparently RTP/UDP packets (with the transparent (H.224)-PDU) between the incoming and outgoing network.
+
+### 5.22.3 "Predefined ROI" mode
+
+The IMS-ALG and IMS-AGW may support the "Predefined ROI" mode as specified in 3GPP TS 26.114 [21]. If the IMS-ALG and IMS-AGW support the "Predefined ROI", the IMS-ALG and IMS-AGW shall apply the procedures in the present clause.
+
+If the IMS-ALG receives an SDP body containing an "a=rtcp-fb" line with the "Predefined ROI" type expressed by the parameter "3gpp-roi-predefined", as described in 3GPP TS 26.114 [21], the IMS-ALG shall:
+
+- forward within SIP signalling the SDP body received from the preceding node with unmodified SDP "a=rtcp-fb" lines related to the "3gpp-roi-predefined" parameter to the succeeding node (see the related SDP examples in annex A.4.2e of 3GPP TS 26.114 [21]); and
+- include the "Predefined ROI" information element when seizing resources in the IMS-AGW to request the IMS-AGW to assign the resources for the corresponding RTCP control flow to convey pre-defined ROI information.
+
+The IMS-AGW shall then assign resources for the requested RTCP control flow and forward transparently the RTCP "FB ROI" packets between the incoming and outgoing network. The procedures described in clause 5.9 shall also apply.
+
+NOTE 1: The RTCP control flow contains multiple RTCP packet types.
+
+If the IMS-ALG receives an SDP body containing the predefined ROI attribute(s) "a=predefined\_ROI" defined in 3GPP TS 26.114 [21], the IMS-ALG shall forward the SDP body with unmodified predefined ROI attribute(s) for the send and receive directions when seizing or modifying resources in the IMS-AGW.
+
+If the IMS-ALG receives an SDP body containing "a=extmap" attribute(s), as defined in IETF RFC 5285 [23], and the "a=extmap" attribute(s) contain the pre-defined ROI URN(s) (i.e. the ROI URN for carriage of pre-defined region of interest information in the sent video stream is given by "urn:3gpp:predefined-roi-sent") as defined in 3GPP TS 26.114 [21], then the IMS-ALG shall:
+
+- include the "Extended RTP header for Sent ROI" information element when seizing resources in the IMS-AGW to indicate to the IMS-AGW that it shall allow the RTP header extension for predefined ROI to pass; and
+- forward within SIP signalling, the SDP body received from the preceding node with unmodified "a=extmap" attribute(s) to the succeeding node (see the related SDP examples in annex A.4.2e of 3GPP TS 26.114 [21]).
+
+NOTE 2: The UE supporting the Predefined ROI feature will not send the extended RTP headers for Sent ROI if the UE did not receive any SDP body with the Predefined ROI related "a=extmap" attribute.
+
+If the IMS-AGW has been instructed to pass on the extended RTP header for predefined ROI as described above for both incoming and outgoing terminations then:
+
+- if the IMS AGW does not apply video transcoding, it shall pass any received RTP header extension for Predefined ROI to succeeding RTP streams; or
+- if the IMS-AGW applies video transcoding, it shall keep the predefined ROI information unchanged during the transcoding and copy the received RTP header extension for Predefined ROI to the succeeding outgoing RTP stream(s) after transcoding the associated group of packets.
+
+## 5.22.4 "Arbitrary ROI" mode
+
+The IMS-ALG and IMS-AGW may support the "Arbitrary ROI" mode as specified in 3GPP TS 26.114 [21]. If the IMS-ALG and IMS-AGW support the "Arbitrary ROI", the IMS-ALG and IMS-AGW shall apply the procedures in the present clause.
+
+If the IMS-ALG receives an SDP body containing an "a=rtcp-fb" line with the "Arbitrary ROI" type expressed by the parameter "3gpp-roi-arbitrary", as described in 3GPP TS 26.114 [21], the IMS-ALG shall:
+
+- forward within SIP signalling the SDP body received from the preceding node with unmodified SDP "a=rtcp-fb" lines related to the "3gpp-roi-arbitrary" parameter to the succeeding node (see the related SDP examples in annex A.4.2e of 3GPP TS 26.114 [21]); and
+- include the "Arbitrary ROI" information element when seizing resources in the IMS-AGW to request the IMS-AGW to assign the resources for the corresponding RTCP control flow to convey arbitrary ROI information.
+
+The IMS-AGW shall then assign resources for the requested RTCP control flow and forward transparently the RTCP "FB ROI" packets between the incoming and outgoing network. The procedures described in clause 5.9 shall also apply.
+
+NOTE 1: The RTCP control flow contains multiple RTCP packet types.
+
+If the IMS-ALG receives an SDP body containing "a=extmap" attribute(s), as defined in IETF RFC 5285 [23], and the "a=extmap" attribute(s) contain the arbitrary ROI URN(s) (i.e. the ROI URN for carriage of arbitrary region of interest information in the sent video stream is given by "urn:3gpp:roi-sent") as defined in 3GPP TS 26.114 [21], then the IMS-ALG shall:
+
+- include the "Extended RTP header for Sent ROI" information element when seizing resources in the IMS-AGW to indicate to the IMS-AGW that it shall allow the RTP header extension for arbitrary ROI to pass; and
+- forward within SIP signalling, the SDP body received from the preceding node with unmodified "a=extmap" attribute(s) to the succeeding node (see the related SDP examples in annex A.4.2e of 3GPP TS 26.114 [21]).
+
+NOTE 2: The UE supporting the Arbitrary ROI feature will not send the extended RTP headers for Sent ROI if the UE did not receive any SDP body with the Arbitrary ROI related "a=extmap" attribute.
+
+If the IMS-AGW has been instructed to pass on the extended RTP header for arbitrary ROI as described above for both incoming and outgoing terminations then:
+
+- if the IMS AGW does not apply video transcoding, it shall pass any received RTP header extension for Arbitrary ROI to succeeding RTP streams; or
+- if the IMS-AGW applies video transcoding, it shall keep the arbitrary ROI information unchanged during the transcoding and copy the received RTP header extension for Arbitrary ROI to the succeeding outgoing RTP stream(s) after transcoding the associated group of packets.
+
+## 5.23 SDP Capability Negotiation (SDPCapNeg)
+
+The SDP Capability Negotiation (SDPCapNeg) as specified in IETF RFC 5939 [66] is adopted as an optional functionality to negotiate capabilities and their associated configurations according to 3GPP TS 24.229 [11]. If the ICS service is supported then the IMS-ALG and the IMS-AGW may further optionally support SDP Media Capability Negotiation as specified in IETF RFC 6871 [67] for alternative CS configuration.
+
+Upon receipt of an incoming SDP offer containing the attributes of SDP capability negotiation, e.g. offer AVPF and AVP together for the RTP profile negotiation using "a=tcap", "a=pcfg" and "a=acfg" attributes, the IMS-ALG shall:
+
+- request the IMS-AGW to reserve resources only for the default configuration without SDPCapNeg, and make the decision on support of the alternative configurations based on the IMS-ALG/IMS-AGW capability as provisioned before forwarding the SDP offer, i.e. handling SDPCapNeg at the controller level; or
+- request the IMS-AGW to reserve resources for all of these configurations by signalling SDPCapNeg to the IMS-AGW, and update the SDP offer based on the response from the IMS-AGW before forwarding.
+
+NOTE: The additional benefit of signalling SDPCapNeg between the IMS-ALG and the IMS-AGW is to check the resource availability for the corresponding configurations and to avoid the further session failure in case of inadequate resources for the configuration changes in the final confirmation. However, due to the extra resources reserved only during the call establishment phase, there is increased risk of call establishment failure.
+
+In case the IMS-ALG decides to request the IMS-AGW to reserve resources for all of those configurations, the IMS-ALG shall:
+
+- use legacy SDP attributes as specified in IETF RFC 4566 [53] to do the mapping of actual and potential configurations with the H.248 ReserveGroup concept; or
+- use SDP extensions for SDP capability negotiation as specified in IETF RFC 5939 [66], if supported by the IMS-AGW.
+
+Before using SDP extensions for SDP capability negotiation as specified in IETF RFC 5939 [66] towards the IMS-AGW, the IMS-ALG shall perform the necessary checks (i.e. through auditing or via prior provisioning) to ensure that the IMS-AGW supports the syntax and capabilities requested. For an auditing the procedure in clause 6.1.8.1 is used with the "SDPCapNeg Supported Capabilities" as the object.
+
+When receiving a request from the IMS-ALG with information element "SDPCapNeg configuration" indicating the potential use of multiple configurations, the IMS-AGW shall reserve resources for all of those configurations that it supports and shall send indicate the configurations for which it reserved resources in an "SDPCapNeg configuration" information element in the response. The IMS-ALG shall update the SDP offer with SDPCapNeg configurations in the response from the IMS-AGW and shall forward the SDP offer to the next hop.
+
+The IMS-ALG may also provide SDP configurations to the IMS-AGW with no dependency on the incoming SDP offer, e.g. the IMS-ALG may wildcard the supported configurations in order to construct or update an SDP offer with the addition of alternative configurations via SDPCapNeg attributes.
+
+On receipt of an SDP answer with SDPCapNeg, the IMS-ALG shall request the IMS-AGW to configure the resources for the selected configuration. If the IMS-AGW previously reserved any temporary resources for configurations that were not selected, the IMS-ALG shall also request the IMS-AGW to release those resources.
+
+## 5.24 RTP-level pause and resume
+
+The IMS-ALG and the IMS-AGW may support the "RTP-level pause and resume" signalling as defined in 3GPP TS 26.114 [21] and IETF RFC 7728 [79].
+
+RTCP feedback messages to request for pause and resume of media streams can be used by conference participants supporting Multi-stream Multiparty Conferencing Media Handling feature, as specified in 3GPP TS 26.114 [21] annex S. Usage of the RTCP feedback "pause and resume" messages is negotiated via SDP offer/answer exchange through an extension of RTCP feedback capability attribute "a=rtcp-fb" (defined in IETF RFC 4585 [77]).
+
+If the IMS-ALG and IMS-AGW support the "RTP-level pause and resume" signalling, the IMS-ALG and IMS-AGW shall apply the procedures in the present clause.
+
+If the IMS-ALG receives an SDP offer containing "a=rtcp-fb" line(s) with a "CCM" parameter (as defined in IETF RFC 5104 [78]) and a "pause" CCM parameter (as defined in IETF RFC 7728 [79]), and if the IMS-ALG does not support or does not apply the transcoding procedure defined in clause 5.13, the IMS-ALG shall forward within SIP signalling, the SDP offer received from the preceding node with unmodified "a=rtcp-fb" line(s) with a "pause" CCM parameter. Otherwise, if the IMS-ALG does insert any transcoding or if the IMS-AGW does not support the "RTP-level pause and resume" signalling, the IMS-ALG shall forward within SIP signalling, the SDP offer received from the preceding node without any "a=rtcp-fb" line(s) with a "pause" CCM parameter.
+
+If the IMS-ALG forwarded the SDP offer containing the "a=rtcp-fb" line(s) with a "pause" CCM parameter and receives an SDP answer also containing the "a=rtcp-fb" line(s) with a "pause" CCM parameter (the reception of the attribute indicates a successful "RTP-level pause and resume" negotiation) then the IMS-ALG shall:
+
+- a) when requesting the IMS-AGW to configure resources towards the succeeding node and towards the preceding node, include the "CCM pause-resume" information element to indicate that the IMS-AGW shall forward RTCP feedback "CCM PAUSE-RESUME" messages transparently; and
+- b) forward the SDP answer containing the "a=rtcp-fb" line(s) with a "pause" CCM parameter to its preceding node.
+
+The IMS-AGW shall then assign resources for the requested RTCP control flow and shall transparently forward the RTCP "CCM PAUSE" packets between incoming and outgoing networks.
+
+## 5.25 RTCP Codec Control Commands and Indications
+
+The IMS-ALG and the IMS-AGW may support signalling of "RTCP Codec Control Commands and Indications", as defined in 3GPP TS 26.114 [21] and IETF RFC 5104 [78].
+
+NOTE 1: 3GPP TS 26.114 [21] specifies support of the following RTCP feedback codec control messages (CCM): "Full Intra Request (FIR)", "Temporary Maximum Media Stream Bit Rate Request (TMMBR)" and "Temporary Maximum Media Stream Bit Rate Notification (TMMBN)".
+
+The RTCP feedback FIR message can be used both by point-to-point video calls, and by conference participants supporting Multi-stream Multiparty Conferencing Media Handling feature, as specified in 3GPP TS 26.114 [21] annex S, to request the media sender to send a decoder refresh point.
+
+The RTCP TMMBR and TMMBN feedback messages can also be used in reaction to the Explicit Congestion Notification, as specified in clause 5.12.
+
+Usage of the RTCP feedback "CCM" messages is negotiated via SDP offer/answer exchange through an extension (defined in IETF RFC 5104 [78]) of the RTCP feedback capability attribute "a=rtcp-fb" (defined in IETF RFC 4585 [77]).
+
+NOTE 2: The SDP offer/answer negotiation is performed with a separate "a=rtcp-fb" attribute line for each CCM message type.
+
+If the IMS-ALG and IMS-AGW support the "RTCP Codec Control Commands and Indications" signalling, the IMS-ALG and IMS-AGW shall apply the procedures in the present clause.
+
+If the IMS-ALG receives an SDP offer containing "a=rtcp-fb" line(s) with a "CCM" parameter and with a "fir" and/or "tmmbr" CCM parameters (defined in IETF RFC 5104 [78]) under video "m=" line(s), and if the IMS-ALG does not configure the IMS-AGW to transcode the corresponding video media stream and/or to act as ECN endpoint for the corresponding video media stream, the IMS-ALG shall forward within SIP signalling, the SDP offer received from the preceding node with unmodified "a=rtcp-fb" line(s) with the "CCM" parameter and with "fir" and/or "tmmbr" CCM parameters.
+
+NOTE 3: If the IMS-ALG configures the IMS-AGW to transcode a video media stream and/or to act as ECN endpoint for the corresponding video media stream, the IMS-ALG can insert "a=rtcp-fb" line(s) with the "CCM" parameter and with "fir" and/or "tmmbr" CCM parameters within SDP offer irrespective of whether they were received from the preceding node.
+
+If the IMS-ALG does not configure the IMS-AGW to transcode the corresponding video media stream and/or to act as ECN endpoint, and if the IMS-ALG received an SDP answer also containing the "a=rtcp-fb" line(s) with the "CCM" parameter and with the same "fir" and/or "tmmbr" CCM parameters (the presence of the same "a=rtcp-fb ccm" line(s) in the SDP answer indicates a successful negotiation of the particular CCM message), then the IMS-ALG shall:
+
+- when requesting the IMS-AGW to configure resources towards the succeeding node and towards the preceding node, include the "CCM BASE" information element with the "fir" and/or "tmmbr" CCM parameters to indicate that the IMS-AGW shall be prepared to receive and is allowed to send the RTCP CCM "FIR" and/or "TMMBR/TMMBN" feedback messages; and
+- forward the SDP answer containing the "a=rtcp-fb" line(s) with the "fir" and/or "tmmbr" CCM parameters (from the received SDP answer) to its preceding node.
+
+If the IMS-ALG configures the IMS-AGW to transcode the corresponding video media stream and/or to act as ECN endpoint:
+
+- if the IMS-ALG did not send towards the succeeding node the SDP offer containing the "a=rtcp-fb" line(s) with the "CCM" parameter and the with "fir" and/or "tmmbr" CCM parameters, then the IMS-ALG may:
+ - a) when requesting the IMS-AGW to configure resources towards the preceding node, include the "CCM BASE" information element with the "fir" and/or "tmmbr" CCM parameters to indicate that the IMS-AGW shall be prepared to receive and is allowed to send the RTCP CCM "FIR" and/or "TMMBR/TMMBN" feedback messages; and
+
+- b) include in the SDP answer it sends to the preceding node the "a=rtcp-fb" line(s) with the "fir" and/or "tmmbr" CCM parameters (as received SDP offer); and
+- if the IMS-ALG sent towards the succeeding node the SDP offer containing the "a=rtcp-fb" line(s) with the "CCM" parameter and the with "fir" and/or "tmmbr" CCM parameters, and received an SDP answer also containing the "a=rtcp-fb" line(s) with the "CCM" parameter and with the same "fir" and/or "tmmbr" CCM parameters, then the IMS-ALG shall:
+ - a) when requesting the IMS-AGW to configure resources towards the succeeding node, include the "CCM BASE" information element with the "fir" and/or "tmmbr" CCM parameters to indicate that the IMS-AGW shall be prepared to receive and is allowed to send the RTCP CCM "FIR" and/or "TMMBR/TMMBN" feedback messages; and
+ - b) if the the IMS-ALG received from the preceding node the SDP offer containing the "a=rtcp-fb" line(s) with the "CCM" parameter and the with "fir" and/or "tmmbr" CCM parameters, include in the SDP answer it sends to the preceding node the "a=rtcp-fb" line(s) with the "fir" and/or "tmmbr" CCM parameters (as received SDP offer).
+
+The IMS-AGW shall then assign resources for the requested RTCP control flow:
+
+- if the IMS-AGW acts as an ECN endpoint (as described in clause 5.12) or applies the video transcoding procedure, the IMS-AGW:
+ - a) may send the RTCP TMMBR feedback message with an "IMS-AGW-generated" value in an "SSRC of media sender" field that is kept constant for the duration of the session, different from any SSRC value in the active RTP streams for the session, to request the media sender to limit the maximum bit rate for a media stream to, or below, the provided value;
+
+NOTE 4: Trigger for sending of the RTCP TMMBR feedback message can be reception of RTP packets marked with ECN-CE, as described in clause 5.12. The reason to use an "IMS-AGW-generated" value in "SSRC of media sender" and to keep that value constant in the session is that the IMS-AGW must be possible to identify as being a separate source of sending TMMBR messages, to avoid TMMBR induced by ECN restrictions interfering with other TMMBR restrictions set by other media receivers in the media path, as described in clause 3.5.4 of IETF RFC 5104 [78].
+
+- b) upon reception of the RTCP TMMBR feedback message and if performing transcoding, shall adjust the sent media rate to the requested rate or lower and shall respond by sending the RTCP TMMBN feedback message; and
+- c) may send the RTCP FIR feedback message to request the media sender to send a decoder refresh point; or
+- if the IMS-AGW does not act as an ECN endpoint and does not apply the video transcoding procedure, the IMS-AGW shall transparently forward received RTCP FIR feedback message, and received RTCP TMMBR and TMMBN feedback messages between the incoming and outgoing networks.
+
+## 5.26 Delay Budget Information (DBI)
+
+The IMS-ALG and the IMS-AGW may support the "DBI" signalling as defined in 3GPP TS 26.114 [21].
+
+RTCP feedback messages to report or request additional delay budget for voice and video media streams (as defined in 3GPP TS 26.114 [21] clause 7.3.8) can be used by participants in a point-to-point MTSI session, and by conference participants, as specified in 3GPP TS 26.114 [21].
+
+If the IMS-ALG and IMS-AGW support the "DBI" signalling, the IMS-ALG and IMS-AGW shall apply the procedures in the present clause.
+
+If the IMS-ALG receives an SDP offer containing an "a=rtcp-fb" line(s) with a "3GPP-delay-budget" parameter as defined in 3GPP TS 26.114 [21], the IMS-ALG shall forward within SIP signalling, the SDP offer received from the preceding node with the unmodified "a=rtcp-fb" line(s) with "3GPP-delay-budget" parameter. Otherwise, if the IMS-AGW does not support the "DBI" signalling, the IMS-ALG shall forward within SIP signalling, the SDP offer received from the preceding node without any "a=rtcp-fb" line(s) with a "3GPP-delay-budget" parameter.
+
+If the IMS-ALG forwarded the SDP offer containing the "a=rtcp-fb" line(s) with a "3GPP-delay-budget" parameter and receives an SDP answer also containing the "a=rtcp-fb" line(s) with a "3GPP-delay-budget" parameter (the reception of the attribute indicates a successful "3GPP-delay-budget" negotiation) then the IMS-ALG shall:
+
+- a) when requesting the IMS-AGW to configure resources towards the succeeding node and towards the preceding node, include the "DBI" information element to indicate that the IMS-AGW shall forward RTCP DBI feedback messages transparently; and
+- b) forward the SDP answer containing the "a=rtcp-fb" line(s) with a "3GPP-delay-budget" parameter to its preceding node.
+
+The IMS-AGW shall then assign resources for the requested RTCP control flow and shall transparently forward the RTCP DBI feedback messages between incoming and outgoing networks.
+
+## 6 IMS-ALG to IMS-AGW Procedures
+
+### 6.1 Non-Call Related Procedures
+
+#### 6.1.1 General
+
+The non-call related procedures are based on corresponding procedures of 3GPP TS 23.205 [8] where the IMS-ALG takes the place of the MSC server and the IMS-AGW takes the place of the MGW.
+
+#### 6.1.2 IMS-AGW Unavailable
+
+The IMS-ALG server recognises that the IMS-AGW is unavailable in the following 4 cases:
+
+1. The signalling connection is unavailable
+
+
+
+The diagram shows two vertical lifelines for IMS-ALG and IMS-AGW. A dashed horizontal line represents the signalling connection. A zigzag arrow points from the IMS-ALG lifeline to the IMS-AGW lifeline, crossing the dashed line. Below the zigzag, the text "Signaling connection failure" is written.
+
+Diagram illustrating a signalling connection failure between IMS-ALG and IMS-AGW.
+
+Figure 6.1.2.1: Signalling connection failure
+
+2. The IMS-AGW indicates the failure or the maintenance locking condition to all connected IMS-ALG servers
+
+
+
+The diagram shows two vertical lifelines for IMS-ALG and IMS-AGW. A solid horizontal arrow points from the IMS-AGW lifeline to the IMS-ALG lifeline, labeled "IMS-AGW Out of Service". A second solid horizontal arrow points from the IMS-ALG lifeline back to the IMS-AGW lifeline, labeled "IMS-AGW Out of Service Ack".
+
+Diagram illustrating the IMS-AGW indicating a failure or maintenance locking condition to the IMS-ALG.
+
+Figure 6.1.2.2: IMS-AGW indicates the Failure/Maintenance locking
+
+The failure or maintenance locking indication indicates that the IMS-AGW is locked for new calls or will soon go out of service and that no new connections should be established using this IMS-AGW. The IMS-AGW can choose
+
+between the "graceful" and the "forced" method. In the graceful method the connections are cleared when the corresponding calls are disconnected. In the forced method all connection are cleared immediately.
+
+3. The IMS-ALG recognises that the IMS-AGW is not functioning correctly, e.g. because there is no reply on periodic sending of Audits. The periodic sending of Audits by IMS-ALG should go on.
+
+In all of the above cases the IMS-ALG shall prevent the usage of the IMS-AGW until the IMS-AGW has recovered or the communication with the IMS-AGW is restored.
+
+### 6.1.3 IMS-AGW Available
+
+The IMS-ALG discovers that the IMS-AGW is available when it receives an IMS-AGW Communication Up message or an IMS-AGW Restoration message. If the IMS-ALG does not wish to sustain an association with the IMS-AGW, the response sent to the IMS-AGW may indicate an alternative IMS-ALG signalling address, in which case the IMS-AGW shall not consider itself registered and should preferably attempt to re-register with this alternative IMS-ALG before any further alternate IMS-ALGs. Otherwise, the response shall not indicate any alternative IMS-ALG signalling address.
+
+When the IMS-ALG discovers that the IMS-AGW is available the following shall occur:
+
+1. Signalling recovery
+
+The IMS-AGW indicates to all connected IMS-ALGs that the signalling connection is restored.
+
+
+
+Sequence diagram for Figure 6.1.3.1: Communication goes up. The diagram shows two vertical lifelines: IMS-ALG on the left and IMS-AGW on the right. The sequence of messages is: 1. A dashed arrow from IMS-AGW to IMS-ALG labeled 'Signaling in service'. 2. A solid arrow from IMS-AGW to IMS-ALG labeled 'IMS-AGW communication Up'. 3. A solid arrow from IMS-ALG to IMS-AGW labeled 'IMS-AGW communication Up Ack'.
+
+Figure 6.1.3.1: Communication goes up
+
+2. IMS-AGW restoration/maintenance unlocking indication.
+
+The IMS-AGW indicates to all connected IMS-ALGs that normal operation has resumed.
+
+
+
+Sequence diagram for Figure 6.1.3.2: IMS-AGW indicates recovery from a failure/or maintenance unlocking. The diagram shows two vertical lifelines: IMS-ALG on the left and IMS-AGW on the right. The sequence of messages is: 1. A dashed arrow from IMS-AGW to IMS-ALG labeled 'Signaling in service'. 2. A solid arrow from IMS-AGW to IMS-ALG labeled 'IMS-AGW Restoration'. 3. A solid arrow from IMS-ALG to IMS-AGW labeled 'IMS-AGW Restoration Ack'.
+
+Figure 6.1.3.2: IMS-AGW indicates recovery from a failure/or maintenance unlocking
+
+NOTE: This procedure may be used after recovery from a signalling failure.
+
+3. The IMS-ALG recognises that the IMS-AGW is now functioning correctly, e.g. because there is a reply on periodic sending of Audits.
+
+After this the IMS-ALG can use the IMS-AGW.
+
+If none of 1, 2, and 3 happens the IMS-ALG server can initiate the IMS-ALG Ordered Re-register procedure.
+
+## 6.1.4 IMS-AGW Recovery
+
+If the IMS-AGW recovers from a failure, is maintenance unlocked, or it has been restarted, it registers to its known IMS-ALGs using the IMS-AGW Restoration procedure or the IMS-AGW Registration procedure. The IMS-AGW can indicate whether the Service has been restored or whether it has restarted with a cold or warm boot. If the IMS-ALG does not wish to sustain an association with the IMS-AGW, the response sent to the IMS-AGW may indicate an alternative IMS-ALG signalling address, in which case the IMS-AGW shall not consider itself registered and should preferably attempt to re-register with this alternative IMS-ALG before any further alternate IMS-ALGs. Otherwise, the response shall not indicate any alternative IMS-ALG signalling address.
+
+
+
+```
+sequenceDiagram
+ participant IMS-AGW
+ participant IMS-ALG
+ Note left of IMS-AGW: IMS-AGW Recovery
+ IMS-AGW->>IMS-ALG: IMS-AGW Restoration (Service restored)
+ IMS-ALG-->>IMS-AGW: IMS-AGW Restoration Ack (IMS-ALG address)
+```
+
+The diagram illustrates the IMS-AGW Restoration procedure. It shows two vertical lifelines: IMS-ALG on the left and IMS-AGW on the right. The IMS-AGW sends a message labeled "IMS-AGW Restoration (Service restored)" to the IMS-ALG. The IMS-ALG responds with a message labeled "IMS-AGW Restoration Ack (IMS-ALG address)" back to the IMS-AGW.
+
+Sequence diagram for IMS-AGW Restoration
+
+Figure 6.1.4.1: IMS-AGW Restoration
+
+
+
+```
+sequenceDiagram
+ participant IMS-AGW
+ participant IMS-ALG
+ Note left of IMS-AGW: IMS-AGW Restart (Cold/Warm boot)
+ IMS-AGW->>IMS-ALG: IMS-AGW Register (Cold/Warm boot)
+ IMS-ALG-->>IMS-AGW: IMS-AGW Register Ack (IMS-ALG address)
+```
+
+The diagram illustrates the IMS-AGW Registration procedure. It shows two vertical lifelines: IMS-ALG on the left and IMS-AGW on the right. The IMS-AGW sends a message labeled "IMS-AGW Register (Cold/Warm boot)" to the IMS-ALG. The IMS-ALG responds with a message labeled "IMS-AGW Register Ack (IMS-ALG address)" back to the IMS-AGW.
+
+Sequence diagram for IMS-AGW Registration
+
+Figure 6.1.4.2 IMS-AGW Registration
+
+After the recovery the IMS-ALG can use the IMS-AGW.
+
+## 6.1.5 IMS-ALG Recovery
+
+### 6.1.5.1 General
+
+If an IMS-AGW-unavailable condition is provoked by a failure/recovery action, the IMS-ALG recovery sequence will, from an information flow point of view, look like IMS-AGW unavailable and then IMS-AGW available. If an IMS-AGW-unavailable condition is not provoked, the IMS-ALG recovery sequence will look like IMS-AGW available.
+
+After the information flow, the terminations affected by the recovery action are released.
+
+### 6.1.5.2 IMS-ALG Restoration
+
+
+
+```
+sequenceDiagram
+ participant IMS-ALG
+ participant IMS-AGW
+ Note left of IMS-ALG: Tw
+ IMS-ALG->>IMS-AGW: IMS-ALG Recovery complete, Signaling working
+ IMS-AGW->>IMS-ALG: Communication Up/ IMS-AGW Restoration
+ IMS-ALG->>IMS-AGW: Communication Up Ack/ IMS-AGW Restoration Ack
+ IMS-ALG->>IMS-AGW: IMS-ALG Restoration Warm, cold (boot) note
+ IMS-AGW->>IMS-ALG: IMS-ALG Restoration Ack
+```
+
+The diagram illustrates the IMS-ALG Restoration process. It begins with the IMS-ALG sending a message "IMS-ALG Recovery complete, Signaling working" to the IMS-AGW. A timer *Tw* is indicated on the IMS-ALG side. The IMS-AGW responds with "Communication Up/ IMS-AGW Restoration". The IMS-ALG then replies with "Communication Up Ack/ IMS-AGW Restoration Ack". Next, the IMS-ALG sends an "IMS-ALG Restoration Warm, cold (boot) note" to the IMS-AGW, which finally responds with "IMS-ALG Restoration Ack".
+
+Sequence diagram for IMS-ALG Restoration
+
+NOTE: Normal release procedure may also be initiated.
+
+**Figure 6.1.5.2.1: IMS-ALG Restoration**
+
+After the recovery action is complete and it is possible to signal to the IMS-AGW the IMS-ALG starts a timer *Tw*. If recovery indications are not received (IMS-AGW Communication Up or IMS-AGW Restoration) from the IMS-AGW during *Tw* an Audit is sent. If the IMS-ALG receives a recovery indication or IMS-AGW communication up indication, it shall acknowledge the indication before the IMS-ALG Restoration may be sent or the release procedure is initiated.
+
+### 6.1.6 IMS-AGW Re-register
+
+When the IMS-ALG requests an IMS-AGW to perform a registration (see clauses 6.1.3, 6.1.4 and 6.1.7), the IMS-AGW performs a re-registration to the IMS-ALG which is defined in the IMS-ALG address.
+
+
+
+```
+sequenceDiagram
+ participant IMS-ALG
+ participant IMS-AGW
+ IMS-AGW->>IMS-ALG: IMS-AGW Re-register
+ IMS-ALG->>IMS-AGW: IMS-AGW Re-register Ack
+```
+
+The diagram illustrates the IMS-AGW Re-register process. The IMS-AGW sends a message "IMS-AGW Re-register" to the IMS-ALG. The IMS-ALG then responds with "IMS-AGW Re-register Ack".
+
+Sequence diagram for IMS-AGW Re-register
+
+**Figure 6.1.6.1: Re-registration of an IMS-AGW**
+
+## 6.1.7 IMS-AGW Re-registration Ordered by IMS-ALG
+
+If the IMS-ALG knows that communication is possible, but the IMS-AGW has not registered, the IMS-ALG can order re-registration of the IMS-AGW.
+
+
+
+```
+sequenceDiagram
+ participant IMS-ALG
+ participant IMS-AGW
+ Note left of IMS-ALG: IMS-ALG knows communication is possible, but IMS-AGW has not registered
+ IMS-ALG->>IMS-AGW: IMS-ALG Ordered Re-register (IMS-ALG address)
+ IMS-AGW-->>IMS-ALG: IMS-ALG Ordered Re-register Ack
+```
+
+The diagram shows a sequence of messages between the IMS-ALG and the IMS-AGW. The IMS-ALG sends a message labeled "IMS-ALG Ordered Re-register (IMS-ALG address)" to the IMS-AGW. The IMS-AGW responds with a message labeled "IMS-ALG Ordered Re-register Ack".
+
+Sequence diagram for IMS-AGW Re-registration Ordered by IMS-ALG
+
+Figure 6.1.7.1: Re-registration ordered by the IMS-ALG
+
+If the re-registration request is accepted the IMS-AGW uses the IMS-AGW Re-register procedure to register with the IMS-ALG.
+
+## 6.1.8 Audit of IMS-AGW
+
+### 6.1.8.1 Audit of Value
+
+The IMS-ALG may request the IMS-AGW to report the current values assigned to distinct objects in the IMS-AGW. This procedure may be used when a change has occurred in the IMS-ALG such that the IMS-ALG is unsure of the current Service State of Terminations.
+
+
+
+```
+sequenceDiagram
+ participant IMS-ALG
+ participant IMS-AGW
+ IMS-ALG->>IMS-AGW: Audit Value (Object(s))
+ IMS-AGW-->>IMS-ALG: Audit Value Ack (values per requested object)
+```
+
+The diagram shows a sequence of messages between the IMS-ALG and the IMS-AGW. The IMS-ALG sends a message labeled "Audit Value (Object(s))" to the IMS-AGW. The IMS-AGW responds with a message labeled "Audit Value Ack (values per requested object)".
+
+Sequence diagram for Audit Value
+
+Figure 6.1.8.1.1: Audit Value
+
+### 6.1.8.2 Audit of Capability
+
+The IMS-ALG may request the IMS-AGW to report the capabilities of distinct objects in the MGW.
+
+
+
+```
+sequenceDiagram
+ participant IMS-ALG
+ participant IMS-AGW
+ Note left of IMS-ALG: IMS-ALG
+ Note right of IMS-AGW: IMS-AGW
+ IMS-ALG->>IMS-AGW: Audit Capability (Object(s))
+ IMS-AGW-->>IMS-ALG: Audit Capability Ack (capabilities per requested object)
+```
+
+A sequence diagram showing the interaction between IMS-ALG and IMS-AGW for auditing capabilities. The IMS-ALG sends an 'Audit Capability (Object(s))' message to the IMS-AGW, and the IMS-AGW responds with an 'Audit Capability Ack (capabilities per requested object)' message.
+
+Sequence diagram for Audit Capability
+
+Figure 6.1.8.2.1: Audit Capability
+
+### 6.1.9 IMS-AGW Capability Change
+
+The IMS-AGW reports a change of capability of distinct objects in the MGW.
+
+
+
+```
+sequenceDiagram
+ participant IMS-ALG
+ participant IMS-AGW
+ Note left of IMS-ALG: IMS-ALG
+ Note right of IMS-AGW: IMS-AGW
+ IMS-AGW-->>IMS-ALG: Capability Update (Object(s))
+ IMS-ALG-->>IMS-AGW: Capability Update Ack
+```
+
+A sequence diagram showing the interaction between IMS-AGW and IMS-ALG for capability updates. The IMS-AGW sends a 'Capability Update (Object(s))' message to the IMS-ALG, and the IMS-ALG responds with a 'Capability Update Ack' message.
+
+Sequence diagram for Capability Update
+
+Figure 6.1.9.1: Capability Update
+
+The IMS-ALG may use the Audit Value and/or Audit Capability procedures to obtain further information, about the objects whose capabilities have changed.
+
+### 6.1.10 IMS-ALG Out of service
+
+
+
+```
+sequenceDiagram
+ participant IMS-ALG
+ participant IMS-AGW
+ Note left of IMS-ALG: IMS-ALG
+ Note right of IMS-AGW: IMS-AGW
+ IMS-ALG->>IMS-AGW: IMS-ALG Out of Service (Forced/graceful)
+ IMS-AGW-->>IMS-ALG: IMS-ALG Out of Service Ack
+```
+
+A sequence diagram showing the interaction between IMS-ALG and IMS-AGW for going out of service. The IMS-ALG sends an 'IMS-ALG Out of Service (Forced/graceful)' message to the IMS-AGW, and the IMS-AGW responds with an 'IMS-ALG Out of Service Ack' message.
+
+Sequence diagram for IMS-ALG Out of Service
+
+Figure 6.1.10.1: IMS-ALG Out of Service
+
+If an IMS-ALG discovers that it wants to go out of service it may start an IMS-ALG Out of Service procedure. The IMS-ALG can indicate whether it requires the context to be cleared immediately (forced) or cleared as the bearer control protocol clears the bearer (Graceful).
+
+### 6.1.11 IMS-AGW Resource Congestion Handling - Activate
+
+When the IMS-ALG requires that an IMS-AGW congestion notification mechanism be applied in the MGW, the IMS-ALG shall use the IMS-AGW Resource Congestion Handling - Activate procedure towards the IMS-AGW.
+
+
+
+```
+sequenceDiagram
+ participant IMS-ALG
+ participant IMS-AGW
+ Note left of IMS-ALG: IMS-ALG
+ Note right of IMS-AGW: IMS-AGW
+ IMS-ALG->>IMS-AGW: IMS-AGW Resource Congestion Handling - Activate
+ IMS-AGW-->>IMS-ALG: IMS-AGW Resource Congestion Handling - Activate - Ack
+```
+
+The diagram shows a sequence of messages between the IMS-ALG and the IMS-AGW. The IMS-ALG sends a message labeled 'IMS-AGW Resource Congestion Handling - Activate' to the IMS-AGW. The IMS-AGW responds with a message labeled 'IMS-AGW Resource Congestion Handling - Activate - Ack' back to the IMS-ALG.
+
+Sequence diagram for IMS-AGW Resource Congestion Handling - Activate
+
+Figure 6.1.11.1: IMS-AGW Resource Congestion Handling - Activate
+
+### 6.1.12 MGW Resource Congestion Handling -Indication
+
+When the IMS-ALG receives a load reduction notification from the IMS-AGW via the IMS-AGW Resource Congestion Handling - Indication procedure, the IMS-ALG tries to reduce the processing load that the IMS-ALG creates on the IMS-AGW. The IMS-AGW shall decide the actual level of traffic reduction.
+
+
+
+```
+sequenceDiagram
+ participant IMS-ALG
+ participant IMS-AGW
+ Note left of IMS-ALG: IMS-ALG
+ Note right of IMS-AGW: IMS-AGW
+ IMS-AGW->>IMS-ALG: IMS-AGW Resource Congestion Handling - Indication
+ IMS-ALG-->>IMS-AGW: IMS-AGW Resource Congestion Handling - Indication - Ack
+```
+
+The diagram shows a sequence of messages between the IMS-AGW and the IMS-ALG. The IMS-AGW sends a message labeled 'IMS-AGW Resource Congestion Handling - Indication' to the IMS-ALG. The IMS-ALG responds with a message labeled 'IMS-AGW Resource Congestion Handling - Indication - Ack' back to the IMS-AGW.
+
+Sequence diagram for IMS-AGW Resource Congestion Handling - Indication
+
+Figure 6.1.12.1: IMS-AGW Resource Congestion Handling – Indication
+
+### 6.1.13 Control association monitoring
+
+Monitoring of the H.248 control association may be performed by monitoring the status of the transport link association where the transport protocol provides sufficient coupling to the H.248.1 protocol, i.e. if the transport link association is disconnected when no local H.248.1 protocol connection exists.
+
+An alternative method for the IMS-AGW to detect loss of the IMS-ALG may be achieved by requesting the IMS-AGW to poll the IMS-ALG periodically
+
+Upon registration of an IMS-AGW, the IMS-ALG may use the Inactivity Timeout - Activate procedure towards the IMS-AGW to request the IMS-AGW to monitor incoming messages for periods of silence exceeding the maximum inactivity timer value.
+
+
+
+```
+sequenceDiagram
+ participant IMS-ALG
+ participant IMS-AGW
+ Note left of IMS-ALG: Inactivity Timeout
+ IMS-ALG->>IMS-AGW: Inactivity Timeout - Activate
+ IMS-AGW-->>IMS-ALG: Inactivity Timeout - Activate - Ack
+```
+
+A sequence diagram showing the interaction between IMS-ALG and IMS-AGW. The IMS-ALG sends a message labeled 'Inactivity Timeout - Activate' to the IMS-AGW. The IMS-AGW responds with a message labeled 'Inactivity Timeout - Activate - Ack'.
+
+Sequence diagram for Inactivity Timeout - Activate
+
+**Figure 6.1.13.1: Inactivity Timeout - Activate**
+
+Upon receipt of an inactivity timeout notification from the IMS-AGW via the Inactivity Timeout - Indication procedure, the IMS-ALG shall send a reply to the IMS-AGW. If the IMS-ALG has failed, the IMS-AGW will not receive a reply.
+
+
+
+```
+sequenceDiagram
+ participant IMS-AGW
+ participant IMS-ALG
+ IMS-AGW->>IMS-ALG: Inactivity Timeout - Indication
+ IMS-ALG-->>IMS-AGW: Inactivity Timeout - Indication - Ack
+```
+
+A sequence diagram showing the interaction between IMS-AGW and IMS-ALG. The IMS-AGW sends a message labeled 'Inactivity Timeout - Indication' to the IMS-ALG. The IMS-ALG responds with a message labeled 'Inactivity Timeout - Indication - Ack'.
+
+Sequence diagram for Inactivity Timeout - Indication
+
+**Figure 6.1.13.2: Inactivity Timeout - Indication**
+
+If no Inactivity Timeout – Indication Ack reply is received, the IMS-AGW shall consider the IMS-ALG to have failed. The IMS-AGW may then attempt to re-contact its controlling IMS-ALG by performing IMS-AGW Communication Up. If not successful, the IMS-AGW may then attempt to register to a new IMS-ALG.
+
+## 6.1.14 Realm Availability Monitoring
+
+If the IMS-AGW supports IP Realm Availability monitoring, the IMS-ALG may request the monitoring of the available IP Realms by the IMS-AGW; the IMS-AGW shall inform the IMS-ALG of any changes in realm availability.
+
+NOTE: The IMS-ALG can use the AuditValue procedure to determine which IP realms are currently available.
+
+The IMS-ALG may use the Realm Availability - Activate procedure towards the IMS-AGW to request the IMS-AGW to monitor the status of its IP Realms.
+
+
+
+```
+sequenceDiagram
+ participant IMS-ALG
+ participant IMS-AGW
+ IMS-ALG->>IMS-AGW: Realm Availability - Activate
+ IMS-AGW-->>IMS-ALG: Realm Availability - Activate - Ack
+```
+
+A sequence diagram showing the interaction between IMS-ALG and IMS-AGW. The IMS-ALG sends a message labeled 'Realm Availability - Activate' to the IMS-AGW. The IMS-AGW responds with a message labeled 'Realm Availability - Activate - Ack'.
+
+Sequence diagram for Realm Availability - Activate
+
+**Figure 6.1.14.1: Realm Availability - Activate**
+
+The IMS-AGW shall inform the IMS-ALG via the Realm Availability – Notification procedure.
+
+
+
+```
+sequenceDiagram
+ participant IMS-ALG
+ participant IMS-AGW
+ Note left of IMS-ALG: IMS-ALG
+ Note right of IMS-AGW: IMS-AGW
+ IMS-AGW->>IMS-ALG: Realm Availability - Indication
+ IMS-ALG->>IMS-AGW: Realm Availability - Indication - Ack
+```
+
+The diagram shows a sequence of messages between the IMS-ALG and the IMS-AGW. The IMS-ALG is on the left and the IMS-AGW is on the right. The IMS-AGW sends a 'Realm Availability - Indication' message to the IMS-ALG. The IMS-ALG responds with a 'Realm Availability - Indication - Ack' message to the IMS-AGW.
+
+Sequence diagram for Realm Availability - Indication procedure between IMS-ALG and IMS-AGW.
+
+**Figure 6.1.14.2: Realm Availability - Indication**
+
+On being informed of newly available/unavailable realms, IMS-ALG shall take appropriate action (e.g. update its list of available realms etc.).
+
+## 6.1.15 Failure of IP Port, Interface or Group of Interfaces
+
+This procedure only applies when text encoding is used on the H.248 interface.
+
+The IMS-ALG shall and the IMS-AGW may support the Termination Out-of-Service procedure.
+
+If the IMS AGW suffers a loss of physical IP device(s) that pertain to a whole IP Realm it may report the IP Realm as unavailable (see clause 6.1.14). However, it is possible that a failure affects a physical port or group of ports that forms a subset of the IP Realm and therefore many terminations are affected. In such cases the IMS-AGW may initiate a Termination Out of Service procedure to inform the IMS-ALG that the set of terminations is out of service. This is shown in Figure 6.1.15.1.
+
+
+
+```
+sequenceDiagram
+ participant IMS-ALG
+ participant IMS-AGW
+ Note left of IMS-ALG: IMS-ALG
+ Note right of IMS-AGW: IMS-AGW
+ IMS-AGW->>IMS-ALG: Termination Out Of Service (Termination(s))
+ IMS-ALG->>IMS-AGW: Termination Out Of Service Ack
+```
+
+The diagram shows a sequence of messages between the IMS-ALG and the IMS-AGW. The IMS-ALG is on the left and the IMS-AGW is on the right. The IMS-AGW sends a 'Termination Out Of Service (Termination(s))' message to the IMS-ALG. The IMS-ALG responds with a 'Termination Out Of Service Ack' message to the IMS-AGW.
+
+Sequence diagram for Termination Out of Service procedure between IMS-ALG and IMS-AGW.
+
+**Figure 6.1.15.1: Termination Out of Service**
+
+On receipt of the Termination Out Of Service the IMS-ALG shall initiate the appropriate actions, e.g. by subtracting the affected terminations and releasing the affected calls.
+
+**NOTE:** This procedure provides an alternative failure reporting to the IP Bearer Released procedure (which allows reporting the failure of one IP Bearer / termination). The Termination Out-of-Service procedure avoids sending an avalanche of notifications when the failure affects multiple ephemeral terminations.
+
+## 6.2 Call Related Procedures
+
+### 6.2.1 Gate Control & Local NA(P)T procedure
+
+The session establishment and session release procedures are specified in 3GPP TS 23.228 [2] Annex G.4.3 and G.4.4.
+
+Figure 6.2.1.2 depicts the signalling flow for a session setup from the IMS access network towards the IMS core network when the P-CSCF invokes the IMS-ALG function for a session. The same signalling flow applies for a session setup from the IMS core network towards the IMS access network with the exception that terminations T1 and T2 are then exchanged.
+
+
+
+The diagram illustrates the H.248 Context Model. It features two main components: an IMS-ALG (IMS Application Layer Gateway) and an IMS-AGW (IMS Access Gateway). The IMS-ALG is a yellow rectangular box at the top, connected to the IMS Access Network on the left and the IMS CN on the right by green dashed lines. Below the IMS-ALG is the IMS-AGW, which is a yellow rectangular box containing a green diamond shape with an 'X' inside. The IMS-AGW is connected to the IMS Access Network on the left and the IMS CN on the right by red dotted lines. Inside the IMS-AGW, there are two terminations labeled T1 and T2, with a small 'X' between them. Below the IMS-AGW box is the label 'CTX C1'. The IMS Access Network is represented by a white rounded rectangle on the left, and the IMS CN is represented by a white rounded rectangle on the right.
+
+Diagram of the H.248 Context Model showing the IMS-ALG and IMS-AGW components between the IMS Access Network and the IMS CN.
+
+Figure 6.2.1.1: H.248 Context Model
+
+
+
+```
+
+sequenceDiagram
+ participant External
+ participant IMS-ALG
+ participant IMS-AGW
+
+ Note left of IMS-ALG: Reserve AGW Connection Point, (Change Through-Connection)
+ External-->>IMS-ALG: 1. SDP offer (IP1o, P1o)
+ IMS-ALG->>IMS-AGW: 2. H.248 ADD req (C= ?, T= ?, LAddr=?, LPort=?)
+ IMS-AGW->>IMS-ALG: 3. Create outgoing termination T2
+ IMS-AGW->>IMS-ALG: 4. H.248 ADD resp. (C=C1, T=T2, LAddr=IP2o, LPort=P2o)
+ IMS-ALG->>IMS-AGW: 5. Modify SDP offer
+ IMS-AGW->>External: 6. SDP offer (IP2o, P2b)
+ External-->>IMS-AGW: 7. SDP answer (IP1a, P1a)
+ Note left of IMS-ALG: Configure AGW Connection Point, (Change Through-Connection)
+ IMS-ALG->>IMS-AGW: 8. H.248 MOD req (C= C1, T= T2, RAddr=IP1a, RPort=P1a)
+ IMS-AGW->>IMS-ALG: 9. Configure Outgoing Termination T2
+ IMS-AGW->>IMS-ALG: 10. H.248 MOD Resp (C= C1, T= T2)
+ Note left of IMS-ALG: Reserve And Configure AGW Connection Point, (Change Through-Connection)
+ IMS-ALG->>IMS-AGW: 11. H.248 ADD req (C= C1, T= ?, LAddr=?, LPort=?, RAddr=IP1o, RPort=P1o)
+ IMS-AGW->>IMS-ALG: 12. Create incoming Termination T1
+ IMS-AGW->>IMS-ALG: 13. H.248 ADD Resp (C= C1, T= T1, LAddr=IP2a, LPort=P2a, RAddr=IP1o, RPort=P1o)
+ IMS-ALG->>IMS-AGW: 14. Modify SDP answer
+ IMS-ALG-->>External: 15. SDP answer(IP2a, P2a)
+
+```
+
+Sequence diagram showing IMS-ALG and IMS-AGW interaction at session establishment. The diagram includes steps for SDP offer/answer exchange, H.248 ADD/MOD requests, and AGW connection point configuration. Brackets on the left indicate 'Reserve AGW Connection Point', 'Configure AGW Connection Point', and 'Reserve And Configure AGW Connection Point' procedures.
+
+Figure 6.2.1.2: IMS-ALG and IMS-AGW interaction at session establishment
+
+Upon receipt of a session initiation request, the IMS-ALG shall extract the offerer's destination network address(es) and port number(s) from the signalling message body received from the calling party endpoint. It shall then request the IMS-AGW to allocate transport resources (T2) via the Reserve AGW Connection Point procedure. Upon receipt of the
+
+response from the IMS-AGW, the IMS-ALG shall modify the offerer's destination address(es) and/or port(s) contained in the application signalling message body and propagate the session establishment toward the terminating party.
+
+On receipt of the terminating end SDP in the session establishment response, the IMS-ALG shall pass the information to the IMS-AGW in the Configure AGW Connection Point procedure and shall request the IMS-AGW to allocate transport resources (T1) via the Reserve and Configure AGW Connection Point. Upon receiving the response from the IMS-AGW, the IMS-ALG shall modify the answerer's destination address(es) and/or port(s) contained in the application signalling message body and pass the information to the originating party.
+
+On session termination, the IMS-ALG shall request the IMS-AGW to release its transport resources via the Release AGW Termination procedure.
+
+## 6.2.2 IP realm indication procedure
+
+This procedure is identical to that of clause 6.2.1 apart from the IMS-ALG optionally specifying the required IP Realm to the IMS-AGW when requesting the allocation of transport resources on the IMS-AGW.
+
+## 6.2.3 Remote NA(P)T traversal support procedure
+
+This procedure is identical to that of clause 6.2.1 apart from the IMS-ALG optionally indicating to the IMS-AGW that the remote media address/port information (supplied by the IMS-ALG) shall not be used as the destination address for outgoing media. Instead, the IMS-AGW shall "latch" or "relatch" onto the required destination address via the source address/port of the incoming media. The IMS-ALG may command the IMS-AGW to latch once (on the first received packet) or to re-latch (i.e. to check for a change of source address on the incoming media stream and latch once on this new address).
+
+## 6.2.4 Remote Source Address/Port Filtering
+
+This procedure is identical to that of clause 6.2.1 apart from the IMS-ALG optionally specifying the required IP address and/or port to be used to screen received media packets on a termination.
+
+This clause considers when the IMS-ALG is acting as an Entry point and remote source transport address filtering is required towards the external network.
+
+As a security related option, on request from the IMS-ALG, filtering may be enabled to check/validate the source address or source address and port number of incoming packets from the external network. If the IMS-ALG requests address filtering, it may additionally provide an address specification, which may identify either a single address or a range of addresses, against which filtering is to be performed. The absence of such an address specification in the request shall implicitly request filtering against the IP address of the remote connection address. In addition to address filtering, the IMS-ALG may also request port filtering. If the IMS-ALG requests port filtering, it may additionally include either a port or a range of ports, against which filtering is to be performed. The absence of a port specification in the request shall implicitly request filtering against the port of the remote connection address.
+
+If the IMS-AGW is requested to apply source IP address and possibly source port filtering, it shall only pass incoming IP packets from the identified source, and discard IP packets from other sources.
+
+If remote source address filtering is required for the created termination, then the IMS-ALG shall include the information element "Remote source address filtering" in the request sent to the IMS-AGW. In addition, it may also include the information element "Remote source address mask" in order to request filtering of a range of addresses.
+
+If remote source port filtering is required for the created termination (in addition to remote source address filtering), then the IMS-ALG shall include the information element "Remote source port filtering" in the request sent to the IMS-AGW. It may also include one of the information elements "Remote source port" or "Remote source port range".
+
+Subsequently, the IMS-AGW shall apply filtering as requested to the packets arriving from the external network. Any packet arriving, which does not meet the filtering requirement, shall be discarded.
+
+## 6.2.5 Traffic Policing
+
+This procedure is identical to that of clause 6.2.1 apart from the IMS-ALG optionally requesting the IMS-AGW to police the media stream flow according to one or more of the following media policing(s) through the IMS-AGW, in accordance with IETF RFC 2216 [10].
+
+NOTE 1: In order to support services that generate media with variable bitrate (e.g. video), the policing function needs to provide sufficient buffer space. The derivation of the correspondent token bucket size can be based on the estimated traffic volume over the expected maximum burst length (supposed time interval of the burst). For example, for MTSI media, 3GPP TS 26.114 [21] clause 7.5.5 recommends a default period of 2 seconds for the derivation of average bitrates and provides further considerations regarding suitable time periods for speech and video.
+
+NOTE 2: The decision to apply or not traffic policing is general for all sessions with the same media characteristics (i.e. not user specific). The conditions which media policing to apply are beyond the scope of this specification. This can be based on the media characteristics of the session (e.g. media type).
+
+The following media policing shall be supported at the IMS-AGW:
+
+- **Sustainable Data Rate (SDR) Policing:**
+
+To request policing of the sustainable data rate of a media stream, the IMS-ALG shall request media policing for that media stream and shall provide the sustainable data rate, and shall provide a maximum burst size (MBS) indicating the expected maximum size of packet bursts for that media stream. The IMS-AGW shall then measure the data rate for the received packets within that media stream as per IETF RFC 2216 [10] for "Token Bucket", where $r$ = SDR and $b$ = MBS. If the permissible sustainable data rate is exceeded, the IMS-AGW shall discard packets to reduce the data rate to the permissible sustainable data rate.
+
+NOTE 3: The IMS-ALG can derive the sustainable data rate from bandwidth parameters if it receives them within an SDP media description. The IMS-ALG can:
+
+- use the "b=AS" bandwidth modifier if received within an SDP body; or
+- if the IMS-ALG supports the enhanced bandwidth negotiation mechanism, use the "maximum supported bandwidth for the receiving direction" property value from the "a=bw-info" SDP attribute received within an SDP answer.
+
+If the value of the "maximum supported bandwidth for the receiving direction" for the selected RTP payload type differs from the value of the "b=AS" bandwidth modifier then the IMS-ALG can use "maximum supported bandwidth for the receiving direction" property value from the "a=bw-info" SDP attribute to determine the sustainable data rate for the selected RTP payload.
+
+The following media policing may be supported in addition at the IMS-AGW ; if supported then the following applies:
+
+- **Peak Data Rate Policing:**
+
+To request policing of the peak data rate of a media stream, the IMS-ALG shall request media policing for that media stream and shall provide the peak data rate, and may provide a Delay Variation Tolerance indicating the expected maximum delay variation due to jitter for that media stream. The IMS-AGW shall then measure the data rate for the received packets within that media stream. If the permissible peak data rate is exceeded, the IMS-AGW shall discard packets to reduce the data rate to the permissible peak data rate. If both peak data rate and sustainable data rate have been provided for the same media stream, the IMS-AGW shall discard packets to reduce the data rate to the permissible peak data rate and should discard packets to reduce the data rate to the permissible sustainable data rate.
+
+## 6.2.6 Hanging Termination Detection
+
+This procedure is identical to that of clause 6.2.1 apart from the IMS-ALG requesting the IMS-AGW to periodically report termination heartbeat indications to detect hanging context and termination in the IMS-AGW that may result e.g. from a loss of communication between the IMS-ALG and the IMS-AGW.
+
+When the IMS-ALG receives a termination heartbeat notification from the IMS-AGW via the Termination heartbeat - Indication procedure, the IMS-ALG shall return a Termination heartbeat -Indication Ack (without an error) if the context id / termination identity combination exists in the IMS-ALG. If it does not exist, the IMS-ALG shall return an error and shall correct the mismatch, e.g. by requesting the IMS-AGW to subtract the indicated termination and to clear any associated context.
+
+
+
+```
+sequenceDiagram
+ participant IMS-ALG
+ participant IMS-AGW
+ Note left of IMS-ALG: IMS-ALG
+ Note right of IMS-AGW: IMS-AGW
+ IMS-AGW->>IMS-ALG: Termination heartbeat - Indication
+ IMS-ALG-->>IMS-AGW: Termination heartbeat - Indication - Ack
+```
+
+Sequence diagram showing Termination heartbeat - Indication and Termination heartbeat - Indication - Ack between IMS-ALG and IMS-AGW.
+
+Figure 6.2.6.1: Termination heartbeat – Indication
+
+## 6.2.7 QoS Packet Marking
+
+This procedure is identical to that of clause 6.2.1 apart from the IMS-ALG optionally specifying the setting of the DSCP for outgoing packets on a termination. The DSCP value may be explicitly set by the IMS-AGW or else copied from that received in the corresponding received packet.
+
+If differentiated services are required for the created termination, then the IMS-ALG shall include the information elements "DiffServ Code Point" and/or "DiffServ Tagging Behaviour" in the request sent to the IMS-AGW.
+
+Subsequently, for all egress packets, the IMS-AGW shall set the DiffServ Code Point in the IP header as specified by the IMS-ALG:
+
+- If the DiffServ Tagging Behaviour information element was received with a value to indicate that the DiffServ Code Point should be copied, then the DiffServ Code Point in the IP header of the egress packet is copied from the ingress packet.
+- If the Diffserv Tagging Behaviour information element was not received, or was received with a value to indicate that the DiffServ Code Point should be set to a specific value, then:
+ - If the DiffServ Code Point information element was received, then the DiffServ Code Point in the IP header of the egress packet shall be set to the value received in the DiffServ Code Point information element.
+ - If the DiffServ Code Point information element was not received, then the DiffServ Code Point in the IP header of the egress packet shall be set to a configured default value.
+
+## 6.2.8 Media Inactivity Detection
+
+This procedure is identical to that of clause 6.2.1 apart from the IMS-ALG optionally requesting the IMS-AGW to detect inactive media.
+
+If media inactivity detection is required for the created termination, the IMS-ALG may include the information elements "Inactivity detection time" and "Inactivity detection direction" in the request sent to the IMS-AGW. The IMS-ALG may request the detection of media inactivity on a termination or a stream basis.
+
+When the IMS-ALG receives a notification of inactive media from the IMS-AGW via the Media Inactivity Notification procedure, the IMS-ALG shall return a Media Inactivity Notification Ack and shall take appropriate action (e.g. release the termination).
+
+
+
+```
+
+sequenceDiagram
+ participant IMS-AGW
+ participant IMS-ALG
+ Note right of IMS-AGW: Media Inactivity Notification
+ IMS-AGW->>IMS-ALG: Media Inactivity Notification
+ Note left of IMS-ALG: Media Inactivity Notification - Ack
+ IMS-ALG->>IMS-AGW: Media Inactivity Notification - Ack
+
+```
+
+Sequence diagram showing Media Inactivity Notification between IMS-ALG and IMS-AGW. The IMS-AGW sends a 'Media Inactivity Notification' message to the IMS-ALG, and the IMS-ALG responds with a 'Media Inactivity Notification - Ack' message.
+
+**Figure 6.2.8.1: Media Inactivity Notification**
+
+## 6.2.9 Handling of RTCP streams
+
+This procedure is identical to that of clause 6.2.1 apart from the IMS-ALG optionally requesting the IMS-AGW to allocate or not allocate RTCP resources. Additionally if RTCP handling is requested, the IMS ALG may include:
+
+- the explicit RTCP transport address information element;
+- the RTP/RTCP transport multiplexing information element; and
+- the bandwidth allocation for RTCP,
+
+as described in clause 5.9.
+
+## 6.2.10 IMS end-to-access-edge Media Plane Security
+
+### 6.2.10.1 General
+
+All message sequence charts in this clause are examples.
+
+The H.248 context model is defined in Figure 6.2.1.1.
+
+### 6.2.10.2 End-to-access-edge security for RTP based media using SDES
+
+This procedure is identical to that of clause 6.2.1 apart from the IMS-ALG optionally requesting the IMS-AGW to provide IMS media plane security in accordance with 3GPP TS 33.328 [12].
+
+The IMS-ALG shall provide the following media plane security related parameters to the IMS-AGW:
+
+- the SDES crypto attributes
+
+### 6.2.10.3 End-to-access-edge security for TCP-based media using TLS
+
+#### 6.2.10.3.1 End-to-access-edge security for session based messaging (MSRP)
+
+##### 6.2.10.3.1.1 IMS UE originating procedures for e2ae
+
+###### 6.2.10.3.1.1.1 Incoming TCP bearer establishment triggers an outgoing TCP bearer establishment
+
+Figure 6.2.10.3.1.1.1 shows an example call flow for the originating session set-up procedures for one MSRP media stream using e2ae security, where an incoming TCP bearer establishment triggers an outgoing TCP bearer establishment.
+
+
+
+**Sequence of Messages:**
+
+- UE-A → P-CSCF (IMS-ALG): 1. SDP offer (c=IP1o, m=P1o TCP/TLS/MSRP, a=3ge2ae:requested, a=setup:actpass, a=fingerprint:ue-a)
+- P-CSCF (IMS-ALG) → IMS-AGW: 2. H.248 ADD req (C=?, T=?, m=TCP/MSRP, a=setup:actpass, LAddr=?, LPort=?, interlinkage=[\*:TCP:TCP,est])
+- IMS-AGW → P-CSCF (IMS-ALG): 3. Create outgoing termination T2
+- IMS-AGW → P-CSCF (IMS-ALG): 4. H.248 ADD resp (C=C1, T=T2, LAddr=IP2o, LPort=P2o)
+- P-CSCF (IMS-ALG) → IMS-AGW: 5. H.248 ADD req (C=C1, T=?, m=TCP/TLS/MSRP, a=setup:actpass, LAddr=?, LPort=?, a=fingerprint ?, RAddr=IP1o, RPort=P1o, a=fingerprint:ue-a)
+- IMS-AGW → P-CSCF (IMS-ALG): 6. Create incoming termination T1
+- IMS-AGW → P-CSCF (IMS-ALG): 7. H.248 ADD resp (C=C1, T=T1, LAddr=IP2a, LPort=P2a, a=fingerprint:agw, RAddr=IP1o, RPort=P1o)
+- P-CSCF (IMS-ALG) → UE-A: 8. Modify SDP offer
+- P-CSCF (IMS-ALG) → UE-A: 9. SDP offer (c=IP2o, m=P2o TCP/MSRP, a=setup:actpass)
+- IMS-AGW → P-CSCF (IMS-ALG): 10. TCP SYN
+- P-CSCF (IMS-ALG) → IMS-AGW: 11. TCP SYN
+- IMS-AGW → P-CSCF (IMS-ALG): TCP SYN ACK
+- P-CSCF (IMS-ALG) → IMS-AGW: TCP SYN ACK
+- IMS-AGW → P-CSCF (IMS-ALG): TCP ACK
+- P-CSCF (IMS-ALG) → IMS-AGW: TCP ACK
+- P-CSCF (IMS-ALG) → UE-A: 12. SDP answer (c=IP1a, m=P1a TCP/MSRP, a=setup:active)
+- P-CSCF (IMS-ALG) → IMS-AGW: 13. H.248 MOD req (C=C1, T=T2, RAddr=IP1a, RPort=P1a)
+- IMS-AGW → P-CSCF (IMS-ALG): 14. Configure outgoing termination T2
+- IMS-AGW → P-CSCF (IMS-ALG): 15. H.248 MOD resp (C=C1, T=T2)
+- P-CSCF (IMS-ALG) → IMS-AGW: 16. H.248 MOD req (C=C1, T=T1, TLS:EstablishBNC)
+- IMS-AGW → P-CSCF (IMS-ALG): 17. Configure incoming termination T1
+- IMS-AGW → P-CSCF (IMS-ALG): 18. H.248 MOD resp (C=C1, T=T1)
+- P-CSCF (IMS-ALG) → UE-A: 19. Modify SDP answer
+- P-CSCF (IMS-ALG) → UE-A: 20. SDP answer (c=IP2a, m=P2a TCP/TLS/MSRP, a=3ge2ae:requested, a=setup:active, a=fingerprint:agw)
+- IMS-AGW → P-CSCF (IMS-ALG): 10'. TCP SYN
+- P-CSCF (IMS-ALG) → IMS-AGW: 11'. TCP SYN
+- IMS-AGW → P-CSCF (IMS-ALG): TCP SYN ACK
+- P-CSCF (IMS-ALG) → IMS-AGW: TCP SYN ACK
+- IMS-AGW → P-CSCF (IMS-ALG): TCP ACK
+- P-CSCF (IMS-ALG) → IMS-AGW: TCP ACK
+- P-CSCF (IMS-ALG) → IMS-AGW: 21. TLS Setup
+
+**AGW Connection Point Changes:**
+
+- Step 2: Reserve AGW Connection Point (, Change Through-Connection)
+- Step 5: Reserve and Configure AGW Connection Point (, Change Through-Connection)
+- Step 13: Configure AGW Connection Point (, Change Through-Connection)
+- Step 16: Configure AGW Connection Point (, Change Through-Connection)
+
+Sequence diagram showing the interaction between UE-A, P-CSCF (IMS-ALG), and IMS-AGW for media path setup and modification. The diagram includes SDP offers/answers, H.248 ADD/MOD requests/responses, and TCP/TLS handshake messages. Brackets on the left indicate AGW connection point changes at steps 2, 5, 13, and 16.
+
+**Figure 6.2.10.3.1.1.1.1: Originating example call flow for e2ae security for MSRP where an incoming TCP bearer establishment triggers an outgoing TCP bearer establishment**
+
+The IMS UE A performs an IMS originating session set-up according to 3GPP TS 23.228 [2], with modifications as described in 3GPP TS 33.328 [12].
+
+The procedure in the above figure for requesting e2ae security for a media stream is described step-by-step with an emphasis on the additional aspects for IMS-ALG and IMS-AGW of media protection using TLS.
+
+1. IMS UE A sends an SDP offer for a media stream containing cryptographic information, together with an "a=3ge2ae:requested" SDP attribute for the MSRP-related SDP m-line, to the P-CSCF (IMS-ALG). For e2ae protection of MSRP the cryptographic information contained in the SDP offer consists of the fingerprint of the certificate of IMS UE A in accordance to IETF RFC 4975 [25]. For each media stream that uses transport "TCP/TLS/MSRP", the P-CSCF (IMS-ALG) checks for the presence of the "a=3ge2ae:requested" SDP attribute. If that indication is present and the P-CSCF (IMS-ALG) indicated support of e2ae-security for MSRP during registration, the P-CSCF (IMS-ALG) allocates the required resources, includes the IMS-AGW in the media path and proceeds as specified in this clause.
+
+NOTE 1: An operator can choose to terminate TLS in the IMS-AGW according to the following steps for all media streams that are signalled in SIP INVITE messages with transport TCP/TLS/MSRP and a certificate fingerprint attribute, even if the UE did not indicate support for e2ae security during registration and did not indicate usage of e2ae security for the respective media streams in the INVITE. This can lead to session failures for pre-Rel-12 IMS UEs or non-IMS UEs due to a mismatch of security parameters sent by the network and expected by the UE, but on the other hand, it will ensure compatibility with GSMA RCS 5.1 [35, 36], which specifies that TLS for MSRP is always terminated in the network.
+
+- 2.-4. The IMS-ALG uses the "Reserve AGW Connection Point" procedure to request a termination for "TCP" media (for application-agnostic interworking) or "TCP/MSRP" media (for application-aware interworking) towards the core network. To indicate that the IMS-AGW shall operate in TCP Proxy mode, the IMS-ALG provides "a=setup:actpass" attribute. The IMS-ALG sets the interlinkage topology on the termination T2 to configure the IMS-AGW to use the TCP connection establishment request (TCP SYN) received at the termination T2 as a trigger to send a TCP connection establishment on the termination T1.
+
+NOTE 2: If "a=setup:passive" is received in the SDP answer in step 12, the IMS-ALG then needs to set the interlinkage topology on the termination T1 (not depicted).
+
+- 5.-7. The IMS-ALG uses the "Reserve And Configure AGW Connection Point" procedure to request a termination for "TCP/TLS" media (for application-agnostic interworking) or "TCP/TLS/MSRP" media (for application-aware interworking) towards the access network. In the remote descriptor, it provides the IP address, port and fingerprint attribute received from the UE containing the fingerprint of the UE's certificate in accordance to IETF RFC 4975 [25]. This instructs the IMS-AGW to verify during the subsequent TLS handshake with the IMS UE that the fingerprint of the certificate passed by the IMS UE during this TLS handshake matches the fingerprint passed by the P-CSCF (IMS-ALG) to the IMS-AGW. In turn, the IMS-AGW communicates the fingerprint of the certificate it is going to use for setting up protection for this media stream to the P-CSCF (IMS-ALG). To indicate that the IMS-AGW shall operate in TCP Proxy mode, the IMS-ALG provides "a=setup:actpass" attribute.
+
+NOTE 3: These steps could be combined with steps 16.-18. This saves H.248 signalling interactions but can delay the TCP connection setup.
+
+8. The P-CSCF (IMS-ALG) changes the transport from "TCP/TLS/MSRP" to "TCP/MSRP" in the SDP offer, removes the "a=3ge2ae:requested" SDP attribute and the fingerprint SDP attribute, and inserts the address information received from the IMS-AGW.
+9. The P-CSCF (IMS-ALG) forwards the SDP offer.
+10. The remote peer chooses to become the active party in the TCP connection establishment and sends a TCP SYN to establish the TCP connection. If the P-CSCF (IMS-ALG) indicated to the IMS-AGW at step 2 that it shall ignore any incoming TCP connection establishment requests (TCP SYN), e.g. to enable a remote source transport address filtering, or if the P-CSCF (IMS-ALG) did not indicate to the IMS-AGW at step 2 that it shall latch onto the required destination address via the source address/port of the incoming media, the IMS-AGW shall drop the TCP SYN received from the remote peer.
+If the TCP SYN is not answered before a timer expiry, the remote peer will send the TCP SYN a second time
+
+(step 10'). The IMS-AGW will answer a repeated TCP SYN if it is received after step 13 (step 10').
+The IMS-AGW answers the TCP SYN and the remote peer completes the TCP connection establishment.
+
+11. The IMS-AGW uses the TCP SYN received at the termination T2 (at step 10 or step 10' if the TCP SYN is dropped at step 10) as a trigger to send a TCP SYN towards the UE to establish a TCP connection (effectively making the IMS-AGW acting as the TCP client towards the UE).. The UE answers the TCP SYN and the IMS-AGW completes the TCP connection establishment.
+12. The P-CSCF (IMS-ALG) receives the SDP answer.
+- 13.-15. The IMS-ALG uses the "Configure AGW Connection Point" procedure to configure the termination towards the core network with remote address information. If the P-CSCF (IMS-ALG) indicated to the IMS-AGW at step 2 that it shall ignore any incoming TCP connection establishment requests (TCP SYN), the IMS-ALG indicates to the IMS-AGW to accept incoming TCP connection establishment (TCP SYN) only from the indicated remote transport address.
+
+NOTE 4: For "a=setup:active" in the SDP answer, these steps could possibly be skipped if the P-CSCF (IMS-ALG) indicated to the IMS-AGW at step 2 that it shall latch onto the required destination address via the source address/port of the incoming media, as the IMS-AGW will then use the address information in the TCP SYN when replying.
+
+- 16.-18. The IMS-ALG uses the "Configure AGW Connection Point" procedure to configure the termination towards the access network with the request to establish the TLS session once the TCP connection is established (effectively making the IMS-AGW acting as the TLS client), in accordance with the information in the "a=setup" attribute in the SDP answer.
+19. The P-CSCF (IMS-ALG) modifies the SDP answer before sending it to the UE A. The P-CSCF (IMS-ALG) sets the transport to "TCP/TLS/MSRP" and includes the fingerprint of the IMS-AGW's certificate in accordance to IETF RFC 4975 [25].
+20. The P-CSCF (IMA-ALG) then sends the updated SDP answer to IMS UE A. After receiving this message IMS UE A completes the media security setup.
+21. Upon completion of the TCP connection establishment, the IMS-AGW starts the establishment of the TLS session.
+
+#### 6.2.10.3.1.1.2 IMS-ALG requests sending an outgoing TCP bearer establishment
+
+Figure 6.2.10.3.1.1.2.1 shows an example call flow for the originating session set-up procedures for one MSRP media stream using e2ae security, where the IMS-ALG requests sending an outgoing TCP bearer establishment.
+
+
+
+```
+
+sequenceDiagram
+ participant UE-A
+ participant P-CSCF as P-CSCF (IMS-ALG)
+ participant IMS-AGW
+
+ Note left of UE-A: 1. SDP offer (c=IP1o, m=P1o TCP/TLS/MSRP, a=3ge2ae:requested, a=setup:actpass, a=fingerprint:ue-a)
+ UE-A->>P-CSCF: 1. SDP offer
+ Note right of P-CSCF: Reserve AGW Connection Point (, Change Through-Connection)
+ P-CSCF->>IMS-AGW: 2. H.248 ADD req (C=?, T=?, m=TCP/MSRP, a=setup:actpass, LAddr=?, LPort=?)
+ IMS-AGW->>IMS-AGW: 3. Create outgoing termination T2
+ IMS-AGW->>P-CSCF: 4. H.248 ADD resp (C=C1, T=T2, LAddr=IP2o, LPort=P2o)
+ P-CSCF->>IMS-AGW: 5. H.248 ADD req (C=C1, T=?, m=TCP/TLS/MSRP, a=setup:actpass, LAddr=?, LPort=?, a=fingerprint ?, RAddr=IP1o, RPort=P1o, a=fingerprint:ue-a)
+ Note right of P-CSCF: Reserve and Configure AGW Connection Point (, Change Through-Connection)
+ IMS-AGW->>IMS-AGW: 6. Create incoming termination T1
+ IMS-AGW->>P-CSCF: 7. H.248 ADD resp (C=C1, T=T1, LAddr=IP2a, LPort=P2a, a=fingerprint:agw, RAddr=IP1o, RPort=P1o)
+ P-CSCF->>P-CSCF: 8. Modify SDP offer
+ P-CSCF->>UE-A: 9. SDP offer (c=IP2o, m=P2o TCP/MSRP, a=setup:actpass)
+ Note right of IMS-AGW: 10. TCP SYN
+ IMS-AGW->>IMS-AGW: TCP SYN ACK
+ IMS-AGW->>IMS-AGW: TCP ACK
+ Note left of UE-A: 11. SDP answer (c=IP1a, m=P1a TCP/MSRP, a=setup:active)
+ P-CSCF->>UE-A: 11. SDP answer
+ Note right of P-CSCF: Configure AGW Connection Point (, Change Through-Connection)
+ P-CSCF->>IMS-AGW: 12. H.248 MOD req (C=C1, T=T2, RAddr=IP1a, RPort=P1a)
+ IMS-AGW->>IMS-AGW: 13. Configure outgoing termination T2
+ IMS-AGW->>P-CSCF: 14. H.248 MOD resp (C=C1, T=T2)
+ Note right of P-CSCF: Configure AGW Connection Point (, Change Through-Connection)
+ P-CSCF->>IMS-AGW: 15. H.248 MOD req (C=C1, T=T1, TCP:EstablishBNC, TLS:EstablishBNC)
+ IMS-AGW->>IMS-AGW: 16. Configure incoming termination T1
+ IMS-AGW->>P-CSCF: 17. H.248 MOD resp (C=C1, T=T1)
+ Note right of IMS-AGW: 18. TCP SYN
+ IMS-AGW->>IMS-AGW: TCP SYN ACK
+ IMS-AGW->>IMS-AGW: TCP ACK
+ Note right of IMS-AGW: 19. TLS Setup
+ P-CSCF->>P-CSCF: 20. Modify SDP answer
+ P-CSCF->>UE-A: 21. SDP answer (c=IP2a, m=P2a TCP/TLS/MSRP, a=3ge2ae:requested, a=setup:active, a=fingerprint:agw)
+ Note right of IMS-AGW: 10'. TCP SYN
+ IMS-AGW->>IMS-AGW: TCP SYN ACK
+ IMS-AGW->>IMS-AGW: TCP ACK
+
+```
+
+Sequence diagram showing the interaction between UE-A, P-CSCF (IMS-ALG), and IMS-AGW for a media session setup. The diagram includes SDP offers/answers, H.248 ADD/MOD requests/responses, and TCP/TLS handshake messages. Brackets on the UE-A side indicate actions like 'Reserve AGW Connection Point' and 'Configure AGW Connection Point'.
+
+**Figure 6.2.10.3.1.1.2.1: Originating example call flow for e2ae security for MSRP where the IMS-ALG requests sending an outgoing TCP bearer establishment**
+
+The IMS UE A performs an IMS originating session set-up according to 3GPP TS 23.228 [2], with modifications as described in 3GPP TS 33.328 [12].
+
+The procedure in the above figure for requesting e2ae security for a media stream is described step-by-step with an emphasis on the additional aspects for IMS-ALG and IMS-AGW of media protection using TLS.
+
+1. As step 1 in figure 6.2.10.3.1.1.1.1.
+ - 2.-4. As steps 2-4 in figure 6.2.10.3.1.1.1.1 with the exception that the IMS-ALG does not set the interlinkage topology on the termination T2.
+ - 5.-7. As steps 5-7 in figure 6.2.10.3.1.1.1.1.
+ 8. As step 8 in figure 6.2.10.3.1.1.1.1.
+ 9. As step 9 in figure 6.2.10.3.1.1.1.1.
+ 10. As step 10 in figure 6.2.10.3.1.1.1.1.
+- NOTE: The incoming TCP SYN does not trigger the sending of an outgoing TCP SYN, and step 11 in figure 6.2.10.3.1.1.1.1 thus does not apply.
+11. As step 12 in figure 6.2.10.3.1.1.1.1.
+ - 12.-14. As steps 13-15 in figure 6.2.10.3.1.1.1.1.
+ - 15.-17. As steps 16-18 in figure 6.2.10.3.1.1.1.1 with the exception that the IMS-ALG uses the "Configure AGW Connection Point" procedure also to configure the termination towards the access network with the request to establish the TCP connection (effectively making the IMS-AGW acting as the TCP client), in accordance with the information in the "a=setup" attribute in the SDP answer.
+ 18. The IMS-AGW sends a TCP SYN towards the UE to establish a TCP connection. The UE answers with a TCP SYN ACK and the IMS-AGW replies with a TCP ACK, completing the TCP connection establishment.
+ 19. As step 21 in figure 6.2.10.3.1.1.1.1.
+ 20. As step 19 in figure 6.2.10.3.1.1.1.1.
+ 21. As step 20 in figure 6.2.10.3.1.1.1.1.
+
+**6.2.10.3.1.2 IMS UE terminating procedures for e2ae****6.2.10.3.1.2.1 Incoming TCP bearer establishment triggers an outgoing TCP bearer establishment**
+
+Figure 6.2.10.3.1.2.1.1 shows an example call flow for the terminating session set-up procedures for one MSRP media stream using e2ae security, where an incoming TCP bearer establishment triggers an outgoing TCP bearer establishment.
+
+
+
+**Sequence Diagram: IMS Media Path Setup**
+
+**Participants:** P-CSCF (IMS-ALG), IMS-AGW, UE-B
+
+**Phases:**
+
+- Reserve AGW Connection Point (, Change Through-Connection)** (Steps 1-4)
+- Reserve and Configure AGW Connection Point (, Change Through-Connection)** (Steps 5-7)
+- Configure AGW Connection Point (, Change Through-Connection)** (Steps 14-16)
+
+**Sequence of Messages:**
+
+- SDP offer (c=IP1o, m=P1o TCP/MSRP, a=setup:actpass) [UE-B to P-CSCF]
+- H.248 ADD req (C=?, T=?, m=TCP/TLS/MSRP, a=setup:actpass, LAddr=?, LPort=?, a=fingerprint?, interlinkage=[\*:TCP:TCP,est]) [P-CSCF to IMS-AGW]
+- Create outgoing termination T1 [IMS-AGW internal]
+- H.248 ADD resp (C=C1, T=T1, LAddr=IP2o, LPort=P2o, a=fingerprint:agw) [IMS-AGW to P-CSCF]
+- H.248 ADD req (C=C1, T=?, m=TCP/MSRP, a=setup:actpass, LAddr=?, LPort=?, RAddr=IP1o, RPort=P1o) [P-CSCF to IMS-AGW]
+- Create incoming termination T2 [IMS-AGW internal]
+- H.248 ADD resp (C=C1, T=T2, LAddr=IP2a, LPort=P2a, RAddr=IP1o, RPort=P1o) [IMS-AGW to P-CSCF]
+- Modify SDP offer [P-CSCF internal]
+- SDP offer (c=IP2o, m=P2o TCP/TLS/MSRP, a=3ge2ae:applied, a=setup:actpass, a=fingerprint:agw) [P-CSCF to UE-B]
+- TCP SYN [UE-B to IMS-AGW]
+- TCP SYN [IMS-AGW to P-CSCF]
+- TCP SYN ACK [IMS-AGW to UE-B]
+- TCP ACK [UE-B to IMS-AGW]
+- TLS Setup [IMS-AGW to UE-B]
+- SDP answer (c=IP1a, m=P1a TCP/TLS/MSRP, a=setup:active, a=fingerprint:ue-b) [UE-B to P-CSCF]
+- H.248 MOD req (C=C1, T=T1, RAddr=IP1a, RPort=P1a, a=fingerprint:ue-b) [P-CSCF to IMS-AGW]
+- Configure outgoing termination T1 [IMS-AGW internal]
+- H.248 MOD resp (C=C1, T=T1) [IMS-AGW to P-CSCF]
+- Modify SDP answer [P-CSCF internal]
+- SDP answer (c=IP2a, m=P2a TCP/MSRP, a=setup:active) [P-CSCF to UE-B]
+- TCP SYN [UE-B to IMS-AGW]
+- TCP SYN [IMS-AGW to P-CSCF]
+- TCP SYN ACK [IMS-AGW to UE-B]
+- TCP ACK [UE-B to IMS-AGW]
+- TLS Setup [IMS-AGW to UE-B]
+
+Sequence diagram showing the interaction between P-CSCF (IMS-ALG), IMS-AGW, and UE-B. The diagram details the setup of media paths, including SDP offers, H.248 ADD/MOD requests, and TCP/TLS handshakes. Brackets on the left indicate phases for 'Reserve AGW Connection Point', 'Reserve and Configure AGW Connection Point', and 'Configure AGW Connection Point'.
+
+**Figure 6.2.10.3.1.2.1.1: Terminating example call flow for e2ae security for MSRP where an incoming TCP bearer establishment triggers an outgoing TCP bearer establishment**
+
+The IMS UE B performs an IMS terminating session set-up according to 3GPP TS 23.228 [2], with modifications as described in 3GPP TS 33.328 [12].
+
+The procedure in the above figure for requesting e2ae security for a media stream is described step-by-step with an emphasis on the additional aspects for IMS-ALG and IMS-AGW of media protection using TLS.
+
+1. The P-CSCF (IMS-ALG) receives an SDP offer for an MSRP media stream. For each MSRP media stream offered with transport "TCP/MSRP", if both the IMS UE and P-CSCF (IMS-ALG) indicated support for e2ae-security for MSRP during registration, the P-CSCF (IMS-ALG) allocates the required resources, includes the IMS-AGW in the media path and proceeds as specified in this clause.
+
+NOTE 1: An operator can choose to terminate TLS in the IMS-AGW according to the following steps for all media streams that are signalled in SIP INVITE messages with transport TCP/MSRP, even if the UE did not indicate support for e2ae security during registration. This can lead to session failures for pre-Rel-12 IMS UEs or non-IMS UEs due to a mismatch of security parameters sent by the network and expected by the UE, but on the other hand, it will ensure compatibility with GSMA RCS 5.1 [35, 36], which recommends to always use e2ae security for MSRP on the terminating leg.
+
+- 2.-4. The IMS-ALG uses the "Reserve AGW Connection Point" procedure to request a termination for "TCP/TLS" media (for application-agnostic interworking) or "TCP/TLS/MSRP" media (for application-aware interworking) towards the access network. In turn, the IMS-AGW communicates the fingerprint of the certificate it is going to use for setting up protection for this media stream to the P-CSCF (IMS-ALG). To indicate that the IMS-AGW shall operate in TCP Proxy mode, the IMS-ALG provides "a=setup:actpass" attribute. The IMS-ALG sets the interlinkage topology on the termination T1 to configure the IMS-AGW to use the TCP connection establishment request (TCP SYN) received at the termination T1 as a trigger to send a TCP connection establishment on the termination T2.
+
+NOTE 2: If "a=setup:passive" is received in the SDP answer in step 13, the IMS-ALG then needs to sets the interlinkage topology on the termination T2 (not depicted)
+
+- 5.-7. The IMS-ALG uses the "Reserve And Configure AGW Connection Point" procedure to request a termination for "TCP" media (for application-agnostic interworking) or "TCP/ MSRP" media (for application-aware interworking) towards the core network. To indicate that the IMS-AGW shall operate in TCP Proxy mode, the IMS-ALG provides "a=setup:actpass" attribute.
+8. The P-CSCF (IMS-ALG) changes the transport from "TCP/ MSRP" to "TCP/TLS/MSRP" in the SDP offer, adds the "a=3ge2ae:applied" SDP attribute and the fingerprint SDP attribute received from the IMS-AGW, and inserts the address information received from the IMS-AGW.
+9. The P-CSCF (IMS-ALG) forwards the SDP offer.
+10. The UE B chooses to become the active party in the TCP connection establishment and sends a TCP SYN to establish the TCP connection. If the P-CSCF (IMS-ALG) indicated to the IMS-AGW at step 2 that it shall ignore any incoming TCP connection establishment requests (TCP SYN), e.g. to enable a remote source transport address filtering, or if the P-CSCF (IMS-ALG) did not indicate to the IMS-AGW at step 2 that it shall latch onto the required destination address via the source address/port of the incoming media, the IMS-AGW shall drop the TCP SYN received from the UE.
+ If the TCP SYN is not answered before a timer expiry, the UE will send the TCP SYN a second time (step 10').
+ The IMS-AGW will answer a repeated TCP SYN if it is received after step 14 (step 10').
+ The IMS-AGW answers the TCP SYN and the remote peer completes the TCP connection establishment.
+11. The IMS-AGW uses the TCP SYN received at the termination T1 (at step 10 or step 10' if the TCP SYN is dropped at step 10) as a trigger to send a TCP SYN towards the core network to establish a TCP connection (effectively making the IMS-AGW acting as the TCP client towards the core network). The remote peer answers the TCP SYN and the IMS-AGW completes the TCP connection establishment.
+12. Upon completion of the TCP connection establishment, the UE B starts the establishment of the TLS session. The IMS-AGW needs to wait until step 14 to verify the received fingerprint.
+13. The P-CSCF (IMS-ALG) receives the SDP answer. It contains the fingerprint attribute with the UE's certificate in accordance to IETF RFC 4975 [25].
+
+- 14.-16. The IMS-ALG uses the "Configure AGW Connection Point" procedure to configure the termination towards the UE B with remote address information. In the remote descriptor, it also provides fingerprint attribute received from the UE. This instructs the IMS-AGW to verify during the subsequent TLS handshake with the IMS UE that the fingerprint of the certificate passed by the IMS UE during this TLS handshake matches the fingerprint passed by the P-CSCF (IMS-ALG) to the IMS-AGW. If the P-CSCF (IMS-ALG) indicated to the IMS-AGW at step 2 that it shall ignore any incoming TCP connection establishment requests (TCP SYN), the IMS-ALG indicates to the IMS-AGW to accept incoming TCP connection establishment (TCP SYN) only from the indicated remote transport address.
+17. The P-CSCF (IMS-ALG) modifies the SDP answer before sending it to the core network. The P-CSCF (IMS-ALG) sets the transport to "TCP/ MSRP" and removes the SDP fingerprint attribute.
+18. The P-CSCF (IMA-ALG) then sends the updated SDP answer to core network.
+
+#### 6.2.10.3.1.2.2 IMS-ALG requests sending an outgoing TCP bearer establishment
+
+Figure 6.2.10.3.1.2.2.1 shows an example call flow for the terminating session set-up procedures for one MSRP media stream using e2ae security, where the IMS-ALG requests sending an outgoing TCP bearer establishment.
+
+
+
+**Sequence of Interactions:**
+
+- SDP offer (c=IP1o, m=P1o TCP/MSRP, a=setup:actpass) from UE-B to P-CSCF (IMS-ALG).
+- P-CSCF (IMS-ALG) sends H.248 ADD req to IMS-AGW (C=?, T=?, m=TCP/TLS/MSRP, a=setup:actpass, LAddr=?, LPort=?, a=fingerprint?).
+- IMS-AGW performs **3. Create outgoing termination T1**.
+- IMS-AGW sends H.248 ADD resp to P-CSCF (IMS-ALG) (C=C1, T=T1, LAddr=IP2o, LPort=P2o, a=fingerprint:agw).
+- P-CSCF (IMS-ALG) sends H.248 ADD req to IMS-AGW (C=C1, T=?, m=TCP/MSRP, a=setup:actpass, LAddr=?, LPort=?, RAddr=IP1o, RPort=P1o).
+- IMS-AGW performs **6. Create incoming termination T2**.
+- IMS-AGW sends H.248 ADD resp to P-CSCF (IMS-ALG) (C=C1, T=T2, LAddr=IP2a, LPort=P2a, RAddr=IP1o, RPort=P1o).
+- P-CSCF (IMS-ALG) performs **8. Modify SDP offer**.
+- P-CSCF (IMS-ALG) sends SDP offer to UE-B (c=IP2o, m=P2o TCP/TLS/MSRP, a=3ge2ae:applied, a=setup:actpass, a=fingerprint:agw).
+- UE-B sends TCP SYN to IMS-AGW.
+- IMS-AGW responds with TCP SYN ACK, TCP ACK, and TLS Setup.
+- UE-B sends SDP answer to P-CSCF (IMS-ALG) (c=IP1a, m=P1a TCP/TLS/MSRP, a=setup:active, a=fingerprint:ue-b).
+- P-CSCF (IMS-ALG) sends H.248 MOD req to IMS-AGW (C=C1, T=T1, RAddr=IP1a, RPort=P1a, a=fingerprint:ue-b).
+- IMS-AGW performs **14. Configure outgoing termination T1**.
+- IMS-AGW sends H.248 MOD resp to P-CSCF (IMS-ALG) (C=C1, T=T1).
+- P-CSCF (IMS-ALG) sends H.248 MOD req to IMS-AGW (C=C1, T=T2, TCP:EstablishBNC).
+- IMS-AGW performs **17. Configure incoming termination T2**.
+- IMS-AGW sends H.248 MOD resp to P-CSCF (IMS-ALG) (C=C1, T=T2).
+- IMS-AGW sends TCP SYN to P-CSCF (IMS-ALG).
+- P-CSCF (IMS-ALG) responds with TCP SYN ACK, TCP ACK, and TLS Setup.
+- P-CSCF (IMS-ALG) performs **20. Modify SDP answer**.
+- P-CSCF (IMS-ALG) sends SDP answer to UE-B (c=IP2a, m=P2a TCP/MSRP, a=setup:active).
+- UE-B sends TCP SYN to IMS-AGW.
+- IMS-AGW responds with TCP SYN ACK, TCP ACK, and TLS Setup.
+
+Sequence diagram showing the interaction between P-CSCF (IMS-ALG), IMS-AGW, and UE-B. The diagram details the setup of media paths, including SDP offers, H.248 ADD/MOD requests, and TCP/TLS handshakes. Brackets on the left indicate specific AGW connection point actions: 'Reserve AGW Connection Point (, Change Through-Connection)', 'Reserve and Configure AGW Connection Point (, Change Through-Connection)', 'Configure AGW Connection Point (, Change Through-Connection)', and 'Configure AGW Connection Point (, Change Through-Connection)'.
+
+**Figure 6.2.10.3.1.2.2.1: Terminating example call flow for e2ae security for MSRP where the IMS-ALG requests sending an outgoing TCP bearer establishment**
+
+The IMS UE B performs an IMS terminating session set-up according to 3GPP TS 23.228 [2], with modifications as described in 3GPP TS 33.328 [12].
+
+The procedure in the above figure for requesting e2ae security for a media stream is described step-by-step with an emphasis on the additional aspects for IMS-ALG and IMS-AGW of media protection using TLS.
+
+1. As step 1 in figure 6.2.10.3.1.2.1.1.
+- 2.-4. As steps 2-4 in figure 6.2.10.3.1.2.1.1 with the exception that the IMS-ALG does not set the interlinkage topology on the termination T1.
+- 5.-7. As steps 7-7 in figure 6.2.10.3.1.2.1.1.
+8. As step 8 in figure 6.2.10.3.1.2.1.1.
+9. As step 9 in figure 6.2.10.3.1.2.1.1.
+10. As step 10 in figure 6.2.10.3.1.2.1.1.
+
+NOTE: The incoming TCP SYN does not trigger the sending of an outgoing TCP SYN, and step 11 in figure 6.2.10.3.1.2.1.1 thus does not apply.
+
+11. As step 12 in figure 6.2.10.3.1.2.1.1.
+12. As step 13 in figure 6.2.10.3.1.2.1.1.
+- 13.-15. As steps 14-16 in figure 6.2.10.3.1.2.1.1.
+- 16.-18. The IMS-ALG uses the "Configure AGW Connection Point" procedure to configure the termination towards the core network with the request to establish the TCP connection, in accordance with the information in the "a=setup" attribute in the SDP answer.
+19. The IMS-AGW sends a TCP SYN towards the core network to establish a TCP connection. The remote peer answers with a TCP SYN ACK and the IMS-AGW replies with a TCP ACK, completing the TCP connection establishment.
+20. As step 17 in figure 6.2.10.3.1.2.1.1.
+21. As step 18 in figure 6.2.10.3.1.2.1.1.
+
+### 6.2.10.3.2 End-to-access-edge security for conferencing (BFCP)
+
+#### 6.2.10.3.2.1 IMS UE originating procedures for e2ae
+
+##### 6.2.10.3.2.1.1 Incoming TCP bearer establishment triggers an outgoing TCP bearer establishment
+
+Figure 6.2.10.3.2.1.1.1 shows the originating session set-up procedures for one or more BFCP media stream(s) using e2ae security.
+
+
+
+**Sequence Diagram: Session Modification Procedure**
+
+**Participants:** UE-A, P-CSCF (IMS-ALG), IMS-AGW
+
+**Key Messages:**
+
+- 1. SDP offer** (c=IP1o, m=P1o TCP/TLS/BFCP, a=3ge2ae:requested, a=setup:actpass, a=fingerprint:ue-a) from UE-A to P-CSCF
+- 2. H.248 ADD req** (C=?, T=?, m=TCP, a=setup:actpass, LAddr=?, LPort=?, interlinkage=[\*:TCP:TCP,est]) from P-CSCF to IMS-AGW
+- 3. Create outgoing termination T2** (IMS-AGW internal action)
+- 4. H.248 ADD resp** (C=C1, T=T2, LAddr=IP2o, LPort=P2o) from IMS-AGW to P-CSCF
+- 5. H.248 ADD req** (C=C1, T=?, m=TCP/TLS, a=setup:actpass, LAddr=?, LPort=?, a=fingerprint ?, RAddr=IP1o, RPort=P1o, a=fingerprint:ue-a) from P-CSCF to IMS-AGW
+- 6. Create incoming termination T1** (IMS-AGW internal action)
+- 7. H.248 ADD resp** (C=C1, T=T1, LAddr=IP2a, LPort=P2a, a=fingerprint:agw, RAddr=IP1o, RPort=P1o) from IMS-AGW to P-CSCF
+- 8. Modify SDP offer** (P-CSCF internal action)
+- 9. SDP offer** (c=IP2o, m=P2o TCP/BFCP, a=setup:actpass) from P-CSCF to UE-A
+- 10. TCP SYN** (UE-A to IMS-AGW), **11. TCP SYN ACK** (IMS-AGW to UE-A), **TCP SYN ACK** (IMS-AGW to P-CSCF), **TCP ACK** (P-CSCF to IMS-AGW)
+- 12. TLS Setup** (IMS-AGW to P-CSCF)
+- 13. SDP answer** (c=IP1a, m=P1a TCP/BFCP, a=setup:active) from P-CSCF to UE-A
+- 14. H.248 MOD req** (C=C1, T=T2, RAddr=IP1a, RPort=P1a) from P-CSCF to IMS-AGW
+- 15. Configure outgoing termination T2** (IMS-AGW internal action)
+- 16. H.248 MOD resp** (C=C1, T=T2) from IMS-AGW to P-CSCF
+- 17. Modify SDP answer** (P-CSCF internal action)
+- 18. SDP answer** (c=IP2a, m=P2a TCP/TLS/BFCP, a=3ge2ae:requested, a=setup:active, a=fingerprint:agw) from P-CSCF to UE-A
+- 10'. TCP SYN** (UE-A to IMS-AGW), **11'. TCP SYN ACK** (IMS-AGW to UE-A), **TCP SYN ACK** (IMS-AGW to P-CSCF), **TCP ACK** (P-CSCF to IMS-AGW)
+- 12'. TLS Setup** (IMS-AGW to P-CSCF)
+
+**Local Actions:**
+
+- Reserve AGW Connection Point (, Change Through-Connection)** at P-CSCF between steps 2 and 5.
+- Reserve and Configure AGW Connection Point (, Change Through-Connection)** at P-CSCF between steps 5 and 7.
+- Configure AGW Connection Point (, Change Through-Connection)** at P-CSCF between steps 14 and 16.
+
+Sequence diagram showing the interaction between UE-A, P-CSCF (IMS-ALG), and IMS-AGW for a session modification procedure. The diagram includes steps for SDP offer/answer exchange, H.248 ADD/MOD requests and responses, and the creation and configuration of outgoing and incoming terminations (T1, T2).
+
+**Figure 6.2.10.3.2.1.1.1: Originating example call flow for e2ae security for BFCP where an incoming TCP bearer establishment triggers an outgoing TCP bearer establishment**
+
+The IMS UE A performs an IMS originating session set-up according to 3GPP TS 23.228 [2], with modifications as described in 3GPP TS 33.328 [12].
+
+The procedure in the above figure for requesting e2ae security for a media stream is described step-by-step with an emphasis on the additional aspects for IMS-ALG and IMS-AGW of media protection using TLS.
+
+1. IMS UE A sends an SDP offer for a media stream containing cryptographic information, together with an "a=3ge2ae:requested" SDP attribute for the BFCP-related SDP m-line, to the P-CSCF (IMS-ALG). For e2ae protection of BFCP the cryptographic information contained in the SDP offer consists of the fingerprint of the certificate of IMS UE A in accordance to IETF RFC 4975 [25]. For each media stream that uses transport "TCP/TLS/BFCP", the P-CSCF (IMS-ALG) checks for the presence of the "a=3ge2ae:requested" SDP attribute. If that indication is present and the P-CSCF (IMS-ALG) indicated support of e2ae-security for BFCP during registration, the P-CSCF (IMS-ALG) allocates the required resources, includes the IMS-AGW in the media path and proceeds as specified in this clause.
+- 2.-4. The IMS-ALG uses the "Reserve AGW Connection Point" procedure to request a termination for "TCP" media towards the core network. To indicate that the IMS-AGW shall operate in TCP Proxy mode, the IMS-ALG provides "a=setup:actpass" attribute. The IMS-ALG sets the interlinkage topology on the termination T2 to configure the IMS-AGW to use the TCP connection establishment request (TCP SYN) received at the termination T2 as a trigger to send a TCP connection establishment on the termination T1.
+
+NOTE 1: If "a=setup:passive" is received in the SDP answer in step 13, the IMS-ALG then needs to set the interlinkage topology on the termination T1 (not depicted).
+
+- 5.-7. The IMS-ALG uses the "Reserve And Configure AGW Connection Point" procedure to request a termination for "TCP/TLS" media towards the access network. In the remote descriptor, it provides the IP address, port and fingerprint attribute received from the UE containing the fingerprint of the UE's certificate in accordance to IETF RFC 4975 [25]. This instructs the IMS-AGW to verify during the subsequent TLS handshake with the IMS UE that the fingerprint of the certificate passed by the IMS UE during this TLS handshake matches the fingerprint passed by the P-CSCF (IMS-ALG) to the IMS-AGW. In turn, the IMS-AGW communicates the fingerprint of the certificate it is going to use for setting up protection for this media stream to the P-CSCF (IMS-ALG). To indicate that the IMS-AGW shall operate in TCP Proxy mode, the IMS-ALG provides "a=setup:actpass" attribute.
+8. The P-CSCF (IMS-ALG) changes the transport from "TCP/TLS/BFCP" to "TCP/BFCP" in the SDP offer, removes the "a=3ge2ae:requested" SDP attribute and the fingerprint SDP attribute, and inserts the address information received from the IMS-AGW.
+9. The P-CSCF (IMS-ALG) forwards the SDP offer.
+10. The remote peer chooses to become the active party in the TCP connection establishment and sends a TCP SYN to establish the TCP connection. If the P-CSCF (IMS-ALG) indicated to the IMS-AGW at step 2 that it shall ignore any incoming TCP connection establishment requests (TCP SYN), e.g. to enable a remote source transport address filtering, or if the P-CSCF (IMS-ALG) did not indicate to the IMS-AGW at step 2 that it shall latch onto the required destination address via the source address/port of the incoming media, the IMS-AGW shall drop the TCP SYN received from the remote peer.
+If the TCP SYN is not answered before a timer expiry, the remote peer will send the TCP SYN a second time (step 10'). The IMS-AGW will answer a repeated TCP SYN if it is received after step 14 (step 10').
+The IMS-AGW answers the TCP SYN and the remote peer completes the TCP connection establishment.
+11. The IMS-AGW uses the TCP SYN received at the termination T2 (at step 10 or step 10' if the TCP SYN is dropped at step 10) as a trigger to send a TCP SYN towards the UE to establish a TCP connection (effectively making the IMS-AGW acting as the TCP client towards the UE). The UE answers the TCP SYN and the IMS-AGW completes the TCP connection establishment.
+12. Upon completion of the TCP connection establishment, the UE B starts the establishment of the TLS session. The IMS-AGW needs to wait until step 14 to verify the received fingerprint.
+13. The P-CSCF (IMS-ALG) receives the SDP answer.
+
+14.-16. The IMS-ALG uses the "Configure AGW Connection Point" procedure to configure the termination towards the core network with remote address information. If the P-CSCF (IMS-ALG) indicated to the IMS-AGW at step 2 that it shall ignore any incoming TCP connection establishment requests (TCP SYN), the IMS-ALG indicates to the IMS-AGW to accept incoming TCP connection establishment (TCP SYN) only from the indicated remote transport address.
+
+NOTE 2: For "a=setup:active" in the SDP answer, these steps could possibly be skipped if the P-CSCF (IMS-ALG) indicated to the IMS-AGW at step 2 that it shall latch onto the required destination address via the source address/port of the incoming media, as the IMS-AGW will then use the address information in the TCP SYN when replying.
+
+17. The P-CSCF (IMS-ALG) modifies the SDP answer before sending it to the UE A. The P-CSCF (IMS-ALG) sets the transport to "TCP/TLS/BFCP" and includes the fingerprint of the IMS-AGW's certificate in accordance to IETF RFC 4975 [25].
+
+18. The P-CSCF (IMA-ALG) then sends the updated SDP answer to IMS UE A. After receiving this message IMS UE A completes the media security setup.
+
+#### 6.2.10.3.2.2 IMS UE terminating procedures for e2ae
+
+##### 6.2.10.3.2.2.1 Incoming TCP bearer establishment triggers an outgoing TCP bearer establishment
+
+Figure 6.2.10.3.2.2.1.1 shows the terminating session set-up procedures for one or more BFCP media stream(s) using e2ae security.
+
+
+
+Sequence diagram illustrating the interaction between P-CSCF (IMS-ALG), IMS-AGW, and UE-B.
+
+**1. SDP offer (c=IP1o, m=P1o TCP/BFCP, a=setup:actpass)** (from UE-B to P-CSCF)
+
+**2. H.248 ADD req (C=?, T=?, m=TCP/TLS, a=setup:actpass, LAddr=?, LPort=?, a=fingerprint?, interlinkage=[\*:TCP:TCP,est], TLS:EstablishBNC)** (from P-CSCF to IMS-AGW)
+
+**Reserve AGW Connection Point (, Change Through-Connection)**
+
+**3. Create outgoing termination T1** (from IMS-AGW)
+
+**4. H.248 ADD resp (C=C1, T=T1, LAddr=IP2o, LPort=P2o, a=fingerprint:agw)** (from IMS-AGW to P-CSCF)
+
+**5. H.248 ADD req (C=C1, T=?, m=TCP, a=setup:actpass, LAddr=?, LPort=?, RAddr=IP1o, RPort=P1o)** (from P-CSCF to IMS-AGW)
+
+**Reserve and Configure AGW Connection Point (, Change Through-Connection)**
+
+**6. Create incoming termination T2** (from IMS-AGW)
+
+**7. H.248 ADD resp (C=C1, T=T2, LAddr=IP2a, LPort=P2a, RAddr=IP1o, RPort=P1o)** (from IMS-AGW to P-CSCF)
+
+**8. Modify SDP offer** (from P-CSCF)
+
+**9. SDP offer (c=IP2o, m=P2o TCP/TLS/BFCP, a=3ge2ae:applied, a=setup:actpass, a=fingerprint:agw)** (from P-CSCF to UE-B)
+
+**10. TCP SYN** (from UE-B to IMS-AGW)
+
+**11. TCP SYN** (from IMS-AGW to P-CSCF)
+
+**TCP SYN ACK** (from IMS-AGW to UE-B)
+
+**TCP ACK** (from UE-B to IMS-AGW)
+
+**TCP ACK** (from IMS-AGW to P-CSCF)
+
+**12. TLS Setup** (from UE-B to IMS-AGW)
+
+**13. SDP answer (c=IP1a, m=P1a TCP/TLS/BFCP, a=setup:active, a=fingerprint:ue-b)** (from UE-B to P-CSCF)
+
+**14. H.248 MOD req (C=C1, T=T1, RAddr=IP1a, RPort=P1a, a=fingerprint:ue-b)** (from P-CSCF to IMS-AGW)
+
+**Configure AGW Connection Point (, Change Through-Connection)**
+
+**15. Configure outgoing termination T1** (from IMS-AGW)
+
+**16. H.248 MOD resp (C=C1, T=T1)** (from IMS-AGW to P-CSCF)
+
+**17. Modify SDP answer** (from P-CSCF)
+
+**18. SDP answer (c=IP2a, m=P2a TCP/BFCP, a=setup:active)** (from P-CSCF to UE-B)
+
+**10'. TCP SYN** (from UE-B to IMS-AGW)
+
+**11'. TCP SYN** (from IMS-AGW to P-CSCF)
+
+**TCP SYN ACK** (from IMS-AGW to UE-B)
+
+**TCP ACK** (from UE-B to IMS-AGW)
+
+**TCP ACK** (from IMS-AGW to P-CSCF)
+
+**12'. TLS Setup** (from UE-B to IMS-AGW)
+
+**Figure 6.2.10.3.2.2.1.1: Terminating example call flow for e2ae security for MSRP where an incoming TCP bearer establishment triggers an outgoing TCP bearer establishment**
+
+The IMS UE B performs an IMS terminating session set-up according to 3GPP TS 23.228 [2], with modifications as described in 3GPP TS 33.328 [12].
+
+The procedure in the above figure for requesting e2ae security for a media stream is described step-by-step with an emphasis on the additional aspects for IMS-ALG and IMS-AGW of media protection using TLS.
+
+1. The P-CSCF (IMS-ALG) receives an SDP offer for an MSRP media stream. For each BFCP media stream offered with transport "TCP/BFCP", if both the IMS UE and P-CSCF (IMS-ALG) indicated support for e2ae-security for BFCP during registration, the P-CSCF (IMS-ALG) allocates the required resources, includes the IMS-AGW in the media path and proceeds as specified in this clause.
+- 2.-4. The IMS-ALG uses the "Reserve AGW Connection Point" procedure to request a termination for "TCP/TLS" media towards the access network. The IMS-ALG configures the IMS-AGW with the request to start the establishment of the TLS session once the TCP connection is established (effectively making the IMS-AGW acting as the TLS client). . To indicate that the IMS-AGW shall operate in TCP Proxy mode, the IMS-ALG provides "a=setup:actpass" attribute. The IMS-ALG sets the interlinkage topology on the termination T1 to configure the IMS-AGW to use the TCP connection establishment request (TCP SYN) received at the termination T1 as a trigger to send a TCP connection establishment on the termination T2. The IMS-AGW communicates the fingerprint of the certificate it is going to use for setting up protection for this media stream to the P-CSCF (IMS-ALG).
+
+NOTE: If "a=setup:passive" is received in the SDP answer in step 13, the IMS-ALG then needs to sets the interlinkage topology on the termination T2 (not depicted)
+
+- 5.-7. The IMS-ALG uses the "Reserve And Configure AGW Connection Point" procedure to request a termination for "TCP" media towards the core network. To indicate that the IMS-AGW shall operate in TCP Proxy mode, the IMS-ALG provides "a=setup:actpass" attribute.
+8. The P-CSCF (IMS-ALG) changes the transport from "TCP/ BFCP" to "TCP/TLS/BFCP" in the SDP offer, adds the "a=3ge2ae:applied" SDP attribute and the fingerprint SDP attribute received from the IMS-AGW, and inserts the address information received from the IMS-AGW.
+9. The P-CSCF (IMS-ALG) forwards the SDP offer.
+10. The UE B chooses to become the active party in the TCP connection establishment and sends a TCP SYN to establish the TCP connection. If the P-CSCF (IMS-ALG) indicated to the IMS-AGW at step 2 that it shall ignore any incoming TCP connection establishment requests (TCP SYN), e.g. to enable a remote source transport address filtering, or if the P-CSCF (IMS-ALG) did not indicate to the IMS-AGW at step 2 that it shall latch onto the required destination address via the source address/port of the incoming media, the IMS-AGW shall drop the TCP SYN received from the UE.
+If the TCP SYN is not answered before a timer expiry, the UE will send the TCP SYN a second time (step 10').
+The IMS-AGW will answer a repeated TCP SYN if it is received after step 14 (step 10').
+The IMS-AGW answers the TCP SYN and the remote peer completes the TCP connection establishment.
+11. The IMS-AGW sends a TCP SYN towards the core network to establish a TCP connection. The remote peer answers the TCP SYN and the IMS-AGW completes the TCP connection establishment.
+12. Upon completion of the TCP connection establishment, the IMS-AGW starts the establishment of the TLS session. The IMS-AGW needs to wait until step 14 to verify the received fingerprint.
+13. The P-CSCF (IMS-ALG) receives the SDP answer. It contains the fingerprint attribute with the UE's certificate in accordance to IETF RFC 4975 [25].
+- 14.-16. The IMS-ALG uses the "Configure AGW Connection Point" procedure to configure the termination towards the UE B with remote address information. In the remote descriptor, it also provides fingerprint attribute received from the UE. This instructs the IMS-AGW to verify during the TLS handshake with the IMS UE (see step 12) that the fingerprint of the certificate passed by the IMS UE during this TLS handshake matches the fingerprint passed by the P-CSCF (IMS-ALG) to the IMS-AGW. If the P-CSCF (IMS-ALG) indicated to the IMS-AGW at step 2 that it shall ignore any incoming TCP connection establishment requests (TCP SYN), the IMS-ALG indicates to the IMS-AGW to accept incoming TCP connection establishment (TCP SYN) only from the indicated remote transport address.
+
+17. The P-CSCF (IMS-ALG) modifies the SDP answer before sending it to the core network. The P-CSCF (IMS-ALG) sets the transport to "TCP/ BFCP" and removes the SDP fingerprint attribute.
+18. The P-CSCF (IMS-ALG) then sends the updated SDP answer to core network.
+
+## 6.2.10.4 End-to-access-edge security for UDP based media using DTLS
+
+### 6.2.10.4.1 General
+
+The IMS-ALG and the IMS-AGW may support e2ae security for the UDP based media using DTLS and certificate fingerprints.
+
+The following clauses describe extensions to the Iq signalling procedures and their interactions with SIP signalling in the control plane and with user plane procedures if the e2ae security for the UDP based media using DTLS and certificate fingerprints is supported by the IMS-ALG and the IMS-AGW and if the IMS-ALG indicated support of e2ae security for the UDPTL using DTLS and certificate fingerprints during registration.
+
+### 6.2.10.4.2 Session establishment from IMS access network for T.38 fax using "UDP/TLS/UDPTL"
+
+Upon receipt of an SDP offer from the IMS access network containing T.38 fax media using the "UDP/TLS/UDPTL" transport protocol with the associated:
+
+- 3ge2ae SDP attribute, as defined in 3GPP TS 24.229 [11], with a value "requested";
+- fingerprint SDP attribute(s) as defined in IETF RFC 8122 [80];
+- DTLS association identity SDP attribute "a=tls-id" defined in IETF RFC 8842 [81]; and
+- setup SDP attribute as defined in IETF RFC 4145 [30];
+
+the IMS-ALG shall:
+
+- check the received value of the setup SDP attribute to determine if the IMS-AGW needs to act as DTLS client or DTLS server. When the received value is equal to:
+ - a) "active" the IMS-AGW needs to act as DTLS server;
+ - b) "passive" the IMS-AGW needs to act as DTLS client; or
+ - c) "actpass" the IMS-ALG shall decide if the IMS-AGW needs to act as DTLS client or DTLS server;
+- when reserving the transport addresses/resources towards the IMS access network:
+ - a) indicate to the IMS-AGW "UDP/DTLS" as transport protocol;
+ - b) if the IMS-AGW needs to act as DTLS client, include the Establish (D)TLS session information element to request the IMS-AGW to start the DTLS session setup;
+ - c) include the Notify (D)TLS session establishment Failure Event information element to request the IMS-AGW to report the unsuccessful DTLS session setup;
+ - d) include the Remote certificate fingerprint information element with the value of the received fingerprint SDP attribute(s); and
+ - e) include the Local certificate fingerprint Request information element to request the certificate fingerprint of the IMS-AGW;
+- indicate to the IMS-AGW "UDP" as transport protocol when reserving the transport addresses/resources towards the IMS core network; and
+- remove the setup SDP attribute and indicate the transport protocol "UDPTL" in the SDP offer towards the IMS core network.
+
+Upon receipt of an SDP answer from the IMS core network, the IMS-ALG shall:
+
+- in the "m=" line indicating T.38 fax using UDPTL, change the transport protocol to "UDP/TLS/UDPTL";
+- insert the fingerprint SDP attribute with the value of the Local certificate fingerprint information element received from the IMS-AGW;
+- insert the "a=tls-id" SDP attribute containing a new DTLS association identity; and
+- insert the setup SDP attribute with the value:
+ - a) "active" if the IMS-ALG requested the IMS-AGW to act as DTLS client; or
+ - b) "passive" if the IMS-AGW shall take the DTLS server role.
+
+The message sequence chart shown in the figure 6.2.10.4.2.1 gives an example of a session establishment from the IMS access network with an emphasis on the additional aspects for the IMS-ALG and the IMS-AGW for the e2ae protection of the T.38 fax media using UDPTL over DTLS.
+
+
+
+**Sequence Diagram: Session setup from the IMS access network with e2ae protection of T.38 fax**
+
+**Participants:** IMS-ALG, IMS-AGW
+
+**Sequence of Messages:**
+
+- SDP offer (c=IP1o, m=P1o UDP/TLS/UDPTL, a=3ge2ae:requested, a=setup:actpass, a=fingerprint:cue-a, a=tls-id:ueanew1) [Red dotted line]
+- H.248 ADD req (C=?, T=?, m=UDP, LAddr=?, LPort=?) [Solid line]
+- Create outgoing termination T2 [Rounded box]
+- H.248 ADD resp (C=C1, T=T2, LAddr=IP2o, LPort=P2o) [Solid line]
+- Modify SDP offer [Rounded box]
+- SDP offer (c=IP2o, m=P2o udptl) [Red dotted line]
+- SDP answer (c=IP1a, m=P1a udptl) [Red dotted line]
+- H.248 MOD req (C=C1, T=T2, RAddr=IP1a, RPort=P1a) [Solid line]
+- Configure outgoing termination T2 [Rounded box]
+- H.248 MOD resp (C=C1, T=T2) [Solid line]
+- H.248 ADD req (C=C1, T=?, m=UDP/DTLS, Est\_DTLS, Notify\_DTLS\_Est\_failure, LAddr=?, LPort=?, a=fingerprint?, RAddr=IP1o, RPort=P1o, a=fingerprint:cue-a) [Solid line]
+- Create incoming termination T1 [Rounded box]
+- H.248 ADD resp (C=C1, T=T1, LAddr=IP2a, LPort=P2a, a=fingerprint:cagw, RAddr=IP1o, RPort=P1o) [Solid line]
+- DTLS ClientHello [Blue dash-dot line]
+- Remaining messages of DTLS handshake [Blue dash-dot line]
+- Modify SDP answer [Rounded box]
+- SDP answer (c=IP2a, m=P2a UDP/TLS/UDPTL, a=setup:active, a=fingerprint:cagw, a=tls-id:algnew1) [Red dotted line]
+
+**Annotations:**
+
+- Reserve AGW Connection Point (, Change Through-Connection) [Grouping steps 2, 3, 4]
+- Configure AGW Connection Point (, Change Through-Connection) [Grouping steps 8, 9, 10]
+- Reserve and Configure AGW Connection Point (, Change Through-Connection) [Grouping steps 11, 12, 13]
+
+Sequence diagram showing session setup from the IMS access network with e2ae protection of T.38 fax. The diagram involves IMS-ALG and IMS-AGW. It details the exchange of SDP offers/answers and H.248 ADD/MOD requests/responses to establish connections and terminations (T1, T2). The process includes DTLS handshake steps (ClientHello and remaining messages) and various AGW connection point configurations.
+
+Figure 6.2.10.4.2.1: Session setup from the IMS access network with e2ae protection of T.38 fax
+
+#### 6.2.10.4.3 Session establishment towards IMS access network for T.38 fax using "UDP/TLS/UDPTL"
+
+Upon receipt of an SDP offer from the IMS core network containing T.38 fax media using the "UDPTL" transport protocol the IMS-ALG shall:
+
+- when reserving the transport addresses/resources towards the IMS access network:
+ - a) indicate to the IMS-AGW "UDP/DTLS" as transport protocol;
+ - b) include the Notify (D)TLS session establishment Failure Event information element to request the IMS-AGW to report the unsuccessful DTLS session setup; and
+
+NOTE 1: The IMS-ALG may omit this information element when reserving resources and instead send it to the IMS-AGW when modifying the resources towards the IMS access network.
+
+- c) include the Local certificate fingerprint Request information element to request the certificate fingerprint of the IMS-AGW; and
+- when reserving the transport addresses/resources towards the IMS core network indicate to the IMS-AGW "UDP" as transport protocol.
+- modify the SDP offer that will be sent to the IMS access network by:
+ - in the "m=" line indicating T.38 fax using UDPTL, changing the transport protocol to "UDP/TLS/UDPTL";
+ - inserting the 3ge2ae SDP attribute, as defined in 3GPP TS 24.229 [11], with a value "applied";
+ - inserting the fingerprint SDP attribute, as defined in IETF RFC 8122 [80], with the value of the Local certificate fingerprint information element received from the IMS-AGW;
+ - inserting the "tls-id" SDP attribute with the new DTLS association identity; and
+ - inserting the setup SDP attribute, as defined in IETF RFC 4145 [30], e.g. with the value "actpass".
+
+NOTE 2: Alternatively, the IMS-ALG can set the value of the setup SDP attribute to "active" if the IMS-ALG wants that the IMS-AGW provides the DTLS client role or to "passive" if the IMS-ALG wants that the IMS-AGW provides the DTLS server role e.g. for NAT traversal.
+
+Upon receipt of an SDP answer from the IMS access network containing T.38 fax media using the "UDP/TLS/UDPTL" transport protocol with the associated fingerprint and setup SDP attributes, the IMS-ALG shall:
+
+- check the value of the received setup SDP attribute to determine if the IMS-AGW needs to act as DTLS client or DTLS server. When the received value is equal to:
+ - a) "active" the IMS-AGW needs to act as DTLS server; or
+ - b) "passive" the IMS-AGW needs to act as DTLS client;
+- when modifying the transport addresses/resources towards the IMS access network:
+ - a) if the IMS-AGW needs to act as DTLS client, include the Establish (D)TLS session information element to request the IMS-AGW to start the DTLS session setup;
+ - b) include the Remote certificate fingerprint information element with the value of the received fingerprint SDP attribute(s); and
+ - c) if not already provided, include the Notify (D)TLS session establishment Failure Event information element to request the IMS-AGW to report the unsuccessful DTLS session setup; and
+- remove the setup SDP attribute and indicate the transport protocol "UDPTL" in the SDP answer sent towards the IMS core network.
+
+The message sequence chart shown in the figure 6.2.10.4.3.1 gives an example of a session establishment towards the IMS access network with an emphasis on the additional aspects for the IMS-ALG and the IMS-AGW for the e2ae protection of the T.38 fax media using UDPTL over DTLS.
+
+NOTE 3: In the shown example it is assumed that the IMS-ALG requested the IMS-AGW at step 2 to latch onto the address of the received media packets to determine the corresponding destination address. Otherwise, the DTLS ClientHello message received at the step 10 will be dropped until the IMS-AGW receives a repeated DTLS ClientHello message after the step 13.
+
+
+
+```
+
+sequenceDiagram
+ participant IMS-ALG
+ participant IMS-AGW
+
+ Note left of IMS-ALG: 1. SDP offer (c=IP1o, m=P1o udptl)
+ IMS-ALG->>IMS-AGW: 2. H.248 ADD req (C=?, T=?, m=UDP/DTLS, Notify_DTLS_Est_failure, LAddr=?, LPort=?, a=fingerprint?)
+ Note right of IMS-AGW: 3. Create outgoing termination T1
+ IMS-AGW-->>IMS-ALG: 4. H.248 ADD resp (C=C1, T=T1, LAddr=IP2o, LPort=P2o, a=fingerprint:cagw)
+ Note left of IMS-ALG: Reserve AGW Connection Point (, Change Through-Connection)
+ IMS-ALG->>IMS-AGW: 5. H.248 ADD req (C=C1, T=?, m=UDP, LAddr=?, LPort=?, RAddr=IP1o, RPort=P1o)
+ Note right of IMS-AGW: 6. Create incoming termination T2
+ IMS-AGW-->>IMS-ALG: 7. H.248 ADD resp (C=C1, T=T2, LAddr=IP2a, LPort=P2a, RAddr=IP1o, RPort=P1o)
+ Note left of IMS-ALG: Reserve and Configure AGW Connection Point (, Change Through-Connection)
+ Note left of IMS-ALG: 8. Modify SDP offer
+ IMS-ALG->>IMS-AGW: 9. SDP offer (c=IP2o, m=P2o UDP/TLS/UDPTL, a=3ge2ae:applied, a=setup:actpass, a=fingerprint:cagw, a=tls-id:algnew1)
+ Note right of IMS-AGW: 10. DTLS ClientHello
+ Note right of IMS-AGW: 11. Remaining messages of DTLS handshake
+ IMS-AGW-->>IMS-ALG: 12. SDP answer (c=IP1a, m=P1a UDP/TLS/UDPTL, a=setup:active, a=fingerprint:cue-b, a=tls-id:uebnew1)
+ IMS-ALG->>IMS-AGW: 13. H.248 MOD req (C=C1, T=T1, RAddr=IP1a, RPort=P1a, a=fingerprint:cue-b)
+ Note left of IMS-ALG: Configure AGW Connection Point (, Change Through-Connection)
+ Note right of IMS-AGW: 14. Configure outgoing termination T1
+ IMS-AGW-->>IMS-ALG: 15. H.248 MOD resp (C=C1, T=T1)
+ Note left of IMS-ALG: 16. Modify SDP answer
+ Note left of IMS-ALG: 17. SDP answer (c=IP2a, m=P2a udptl)
+
+```
+
+Sequence diagram showing session setup towards the IMS access network with e2ae protection of T.38 fax. The diagram involves two main entities: IMS-ALG and IMS-AGW. The process includes SDP offers, H.248 ADD/MOD requests and responses, and DTLS handshake messages. Brackets on the left indicate AGW connection point changes at steps 2, 5, and 13.
+
+Figure 6.2.10.4.3.1: Session setup towards the IMS access network with e2ae protection of T.38 fax
+
+#### 6.2.10.4.4 IMS-AGW procedure for e2ae security of T.38 fax using "UDP/TLS/UDPTL"
+
+The IMS-AGW shall:
+
+- upon reception of the Local certificate fingerprint Request information element, select an own certificate for the T.38 fax media stream, uniquely associate the own certificate with the T.38 media stream, and send to the IMS-ALG the Local certificate fingerprint information element with the fingerprint of the own certificate;
+- uniquely associate the value of the Remote certificate fingerprint information element, received from the IMS-ALG, with the corresponding T.38 fax media stream;
+- take a DTLS server role and be prepared to receive a DTLS ClientHello message from the served UE;
+- upon reception of the Establish (D)TLS session information element, take a DTLS client role and start DTLS session establishment by sending the DTLS ClientHello message to the served UE; and
+- verify during the subsequent DTLS handshake with the served UE (as described in IETF RFC 7345 [33] and IETF RFC 8842 [81]) that the fingerprint of the certificate passed by the served UE during DTLS handshake matches the value of the Remote certificate fingerprint information element received from the IMS-ALG:
+ - a) if the verification fails, the IMS-AGW shall regard the remote DTLS endpoint as not authenticated, terminate the DTLS session and as specified in clause 6.2.10.4.5, shall report the unsuccessful DTLS session setup to the IMS-ALG; or
+ - b) if the verification succeeds, the IMS-AGW shall continue with DTLS session setup and when the DTLS session is established, the IMS-AGW shall be prepared to receive and convert the protected media from the served UE to the unprotected media to be sent to the core network and vice versa.
+
+#### 6.2.10.4.5 DTLS session establishment failure indication
+
+The IMS-AGW shall use a Notify (D)TLS session establishment Failure Indication procedure to report DTLS session establishment related failures.
+
+The figure 6.2.10.4.5.1 shows the message sequence chart example when the IMS-AGW reports the unsuccessful DTLS session setup to the IMS-ALG.
+
+
+
+```
+sequenceDiagram
+ participant IMS-ALG
+ participant IMS-AGW
+ Note right of IMS-AGW: Detection of DTLS session establishment failure
+ IMS-AGW->>IMS-ALG: H.248 NOTIFY req [(D)TLS session establishment Error Indication] (C=C1, T=T1, cause=DTLS_establishment_error)
+ Note left of IMS-ALG: Notify (D)TLS session establishment Failure Indication
+ IMS-ALG->>IMS-AGW: H.248 NOTIFY resp [(D)TLS session establishment Error Indication] (C=C1)
+```
+
+The diagram illustrates the message sequence for a DTLS session establishment failure. It features two lifelines: IMS-ALG and IMS-AGW. The IMS-AGW lifeline includes a rounded rectangle labeled "Detection of DTLS session establishment failure". A solid arrow points from the IMS-AGW to the IMS-ALG, labeled "H.248 NOTIFY req [(D)TLS session establishment Error Indication] (C=C1, T=T1, cause=DTLS\_establishment\_error)". A bracket on the left side of the IMS-ALG lifeline, labeled "Notify (D)TLS session establishment Failure Indication", encompasses the return arrow. A solid arrow points from the IMS-ALG back to the IMS-AGW, labeled "H.248 NOTIFY resp [(D)TLS session establishment Error Indication] (C=C1)".
+
+Sequence diagram showing DTLS session establishment failure indication between IMS-ALG and IMS-AGW.
+
+Figure 6.2.10.4.5.1: DTLS session establishment failure indication
+
+## 6.2.10.5 End-to-access-edge security for RTP based media using DTLS-SRTP
+
+**Editor's Note:** There are two served user instances of the DTLS service within WebRTC: the data channel and the key exchange for SRTP. Thus, there are either two DTLS connections behind a single DTLS session, or two separate DTLS sessions.
+
+The procedures are similar to that of clause 6.2.1 apart from the IMS-ALG optionally requesting the eIMS-AGW to provide IMS media plane security using DTLS.
+
+Upon receipt of an SDP offer from the IMS access network, the IMS-ALG shall:
+
+- check the received value of the setup SDP attribute to determine if the IMS-AGW needs to act as DTLS client or DTLS server. When the received value is equal to:
+ - a) "active" the IMS-AGW needs to act as DTLS server;
+ - b) "passive" the IMS-AGW needs to act as DTLS client; or
+ - c) "actpass" the IMS-ALG shall decide if the IMS-AGW needs to act as DTLS client or DTLS server;
+- if the received SDP offer contains "a=tls-id" media-level SDP attribute (as specified in IETF RFC 8842 [81]), create a new DTLS association identity;
+- when reserving the transport addresses/resources towards the IMS access network:
+ - a) indicate to the eIMS-AGW "UDP/TLS/RTP/SAVP" or "UDP/TLS/RTP/SAVPF" as transport protocol;
+ - b) include the Remote certificate fingerprint information element with the value of the received fingerprint SDP attribute from the WIC;
+ - c) include the Local certificate fingerprint Request information element to request the certificate fingerprint of the eIMS-AGW; and
+ - d) if the IMS-AGW needs to act as DTLS client, include the Establish (D)TLS session information element to request the IMS-AGW to start the DTLS session setup;
+- indicate to the eIMS-AGW "RTP/AVP" or "RTP/AVPF" over UDP as transport protocol when reserving the transport addresses/resources towards the IMS core network; and
+- remove the setup SDP attribute and indicate the transport protocol "RTP/AVP" in the offer towards the IMS core network.
+
+Upon receipt of an SDP answer from the IMS core network, the IMS-ALG shall:
+
+- in the "m=" line indicating the use of SRTP, change the transport protocol to "UDP/TLS/RTP/SAVP" or "UDP/TLS/RTP/SAVPF";
+- insert the fingerprint SDP attribute with the value of the Local certificate fingerprint information element received from the eIMS-AGW; and
+- insert the "a=tls-id" SDP attribute containing a new DTLS association identity; and
+- insert the setup SDP attribute with the value:
+ - a) "active" if the IMS-ALG requested the IMS-AGW to act as DTLS client; or
+ - b) "passive" if the IMS-AGW shall take the DTLS server role.
+
+Figure 6.2.10.5.1 shows the message sequence chart example of WIC originated procedure using DTLS-SRTP.
+
+NOTE 1: Below establishment procedures are based on the assumption that there wasn't yet any DTLS procedure triggered from WebRTC data channel side.
+
+
+
+```
+
+sequenceDiagram
+ participant IMS-ALG
+ participant IMS-AGW
+
+ Note left of IMS-ALG: 1. SDP offer (c=IP1o, m=P1o UDP/TLS/RTP/SAVP, a=setup:actpass, a=fingerprint:WIC-a, a=tls-id:wicanew1)
+ IMS-ALG->>IMS-AGW: 2. H.248 ADD req (C=?, T=?, m=RTP/AVP, LAddr=?, LPort=?)
+ Note right of IMS-AGW: Reserve AGW Connection Point (, Change Through-Connection)
+ IMS-AGW->>IMS-AGW: 3. Create outgoing termination T2
+ IMS-AGW->>IMS-ALG: 4. H.248 ADD resp (C=C1, T=T2, LAddr=IP2o, LPort=P2o)
+ Note left of IMS-ALG: 5. Modify SDP offer
+ IMS-ALG->>IMS-AGW: 6. SDP offer (c=IP2o, m=P2o RTP/AVP)
+ Note right of IMS-AGW: 7. SDP answer (c=IP1a, m=P1a RTP/AVP)
+ IMS-ALG->>IMS-AGW: 8. H.248 MOD req (C=C1, T=T2, RAddr=IP1a, RPort=P1a)
+ Note right of IMS-AGW: Configure AGW Connection Point (, Change Through-Connection)
+ IMS-AGW->>IMS-AGW: 9. Configure outgoing termination T2
+ IMS-AGW->>IMS-ALG: 10. H.248 MOD resp (C=C1, T=T2)
+ IMS-ALG->>IMS-AGW: 11. H.248 ADD req (C=C1, T=?, m=UDP/TLS/RTP/SAVP, Est_DTLS, Notify_DTLS_Est_failure, LAddr=?, LPort=?, a=fingerprint?, RAddr=IP1o, RPort=P1o, a=fingerprint:WIC-a)
+ Note right of IMS-AGW: Reserve and Configure AGW Connection Point (, Change Through-Connection)
+ IMS-AGW->>IMS-AGW: 12. Create incoming termination T1
+ IMS-AGW->>IMS-ALG: 13. H.248 ADD resp (C=C1, T=T1, LAddr=IP2a, LPort=P2a, a=fingerprint:IMS-AGW-a, RAddr=IP1o, RPort=P1o)
+ Note left of IMS-ALG: 14. Modify SDP answer
+ Note left of IMS-ALG: 15. SDP answer (c=IP2a, m=P2a UDP/TLS/RTP/SAVP, a=setup:active, a=fingerprint:IMS-AGW-a, a=tls-id:algnew1)
+ IMS-AGW->>IMS-ALG: 16. DTLS ClientHello
+ IMS-ALG->>IMS-AGW: 17. Remaining messages of DTLS handshake
+
+```
+
+Sequence diagram showing the WIC originated procedure using DTLS-SRTP between IMS-ALG and IMS-AGW. The diagram includes 17 numbered steps, with various annotations for AGW connection point changes and DTLS handshake details.
+
+Figure 6.2.10.5.1: WIC originated procedure using DTLS-SRTP
+
+NOTE 2: The WIC may receive the ClientHello prior the SDP answer, thus the handshake might be initiated, but the handshake will not complete until the SDP answer has been received by the WIC.
+
+Upon receipt of an SDP offer from the IMS core network using the "RTP/AVP" or "RTP/AVPF" over UDP as transport protocol the IMS-ALG shall:
+
+- when reserving the transport addresses/resources towards the IMS access network:
+ - a) indicate to the eIMS-AGW "UDP/TLS/RTP/SAVP" or "UDP/TLS/RTP/SAVPF" as transport protocol; and
+ - b) include the Local certificate fingerprint Request information element to request the certificate fingerprint of the eIMS-AGW;
+- when reserving the transport addresses/resources towards the IMS core network indicate to the eIMS-AGW "RTP/AVP" or "RTP/AVPF" over UDP as transport protocol; and
+- modify the SDP offer that will be sent to the IMS access network by:
+ - a) in the "m=" line that is indicating the use of SRTP, changing the transport protocol to "UDP/TLS/RTP/SAVP" or "UDP/TLS/RTP/SAVPF";
+ - b) inserting the fingerprint SDP attribute with the value of the Local certificate fingerprint information element received from the eIMS-AGW;
+ - c) inserting the "tls-id" SDP attribute with the new DTLS association identity; and
+ - d) inserting the setup SDP attribute, as defined in IETF RFC 4145 [30], with the value "actpass".
+
+Upon receipt of an SDP answer from the IMS access network containing the use of the "UDP/TLS/RTP/SAVP" or "UDP/TLS/RTP/SAVPF" transport protocol with the associated fingerprint and setup SDP attributes, the IMS-ALG shall:
+
+- check the value of the received setup SDP attribute to determine if the IMS-AGW needs to act as DTLS client or DTLS server. When the received value is equal to:
+ - a) "active" the IMS-AGW needs to act as DTLS server; or
+ - b) "passive" the IMS-AGW needs to act as DTLS client;
+- when modifying the transport addresses/resources towards the IMS access network:
+ - a) if the IMS-AGW needs to act as DTLS client, include the Establish (D)TLS session information element to request the IMS-AGW to start the DTLS session setup;
+ - b) include the Remote certificate fingerprint information element with the value of the received fingerprint SDP attribute; and
+ - c) if not already provided, include the Notify (D)TLS session establishment Failure Event information element to request the IMS-AGW to report the unsuccessful DTLS session setup; and
+- remove the setup SDP attribute and indicate the transport protocol "RTP/AVP" in the SDP answer towards the IMS core network.
+
+The message sequence chart shown in the figure 6.2.10.5.2 shows the message sequence chart example of WIC terminated procedure using DTLS-SRTP.
+
+
+
+The sequence diagram illustrates the interaction between IMS-ALG and IMS-AGW for a WIC terminated procedure using DTLS-SRTP. The process is divided into three main phases indicated by curly braces on the left:
+
+- Reserve AGW Connection Point (, Change Through-Connection)**: Steps 1 through 4. The IMS-ALG sends an SDP offer (c=IP1o, m=P1o RTP/AVP) to the IMS-AGW. The IMS-AGW responds with an H.248 ADD req (C=?, T=?, m=UDP/DTLS, Notify\_DTLS\_Est\_failure, LAddr=?, LPort=?, a=fingerprint?). The IMS-AGW then creates an outgoing termination T1 and responds with an H.248 ADD resp (C=C1, T=T1, LAddr=IP2o, LPort=P2o, a=fingerprint:eIMS-AGW-b).
+- Reserve and Configure AGW Connection Point (, Change Through-Connection)**: Steps 5 through 7. The IMS-ALG sends an H.248 ADD req (C=C1, T=?, m=UDP, LAddr=?, LPort=?, RAddr=IP1o, RPort=P1o) to the IMS-AGW. The IMS-AGW creates an incoming termination T2 and responds with an H.248 ADD resp (C=C1, T=T2, LAddr=IP2a, LPort=P2a, RAddr=IP1o, RPort=P1o).
+- Configure AGW Connection Point (, Change Through-Connection)**: Steps 8 through 17. The IMS-ALG sends a Modify SDP offer. The IMS-AGW responds with an SDP offer (c=IP2o, m=P2o UDP/TLS/RTP/SAVP, a=setup:actpass, a=fingerprint:eIMS-AGW-b, a=tls-id:algnew1). The IMS-ALG responds with an SDP answer (c=IP1a, m=P1a UDP/TLS/RTP/SAVP, a=setup:active, a=fingerprint:WIC-b, a=tls-id:wicbnew1). The IMS-ALG then sends an H.248 MOD req (C=C1, T=T1, RAddr=IP1a, RPort=P1a, a=fingerprint:WIC-b) to the IMS-AGW. The IMS-AGW configures the outgoing termination T1 and responds with an H.248 MOD resp (C=C1, T=T1). The IMS-AGW then sends a DTLS ClientHello and the remaining messages of the DTLS handshake. Finally, the IMS-ALG sends a Modify SDP answer, and the IMS-AGW responds with an SDP answer (c=IP2a, m=P2a RTP/AVP).
+
+The DTLS handshake messages (steps 14 and 15) are shown as dashed blue arrows between the IMS-AGW and the external entity (WIC).
+
+Sequence diagram showing the WIC terminated procedure using DTLS-SRTP between IMS-ALG and IMS-AGW. The diagram includes 17 numbered steps, with annotations for AGW connection point changes and DTLS handshake details.
+
+Figure 6.2.10.5.2: WIC terminated procedure using DTLS-SRTP
+
+NOTE 3: The eIMS-AGW might receive the ClientHello prior receiving the MOD-request, but the DTLS handshake will not finish before the MOD-request (more specific: the fingerprint from WIC-b) has been received.
+
+## 6.2.10.6 End-to-access-edge security for WebRTC data channels using SCTP-over-DTLS transport
+
+### 6.2.10.6.1 General
+
+The requirements on eP-CSCF (IMS-ALG) and eIMS-AGW for the procedures to establish WebRTC data channels are specified in clause 5.20.2.
+
+The following clauses describe extensions to the Iq signalling procedures and their interactions with SIP signalling in the control plane and with user plane procedures if the e2ae security for the WebRTC data channels using "SCTP over DTLS" is supported by the eP-CSCF (IMS-ALG) and the eIMS-AGW.
+
+All message sequence charts in this clause are examples. The example high-level H.248 context model is defined in Figure 6.2.1.1 and further detailed below.
+
+### 6.2.10.6.2 Call flow for data channel establishment from WIC towards IMS access network and MSRP session establishment
+
+Support of multiple WebRTC data channels per WebRTC calls implies support of so called H.248 stream grouping. Figure 6.2.10.6.2.1 shows an example H.248 Context model for a WebRTC call with unbundled audio and video, and with multiple data components.
+
+
+
+Figure 6.2.10.6.2.1: eIMS-AGW – H.248 Context model for WebRTC gateway inclusive H.248 Stream Group for WebRTC data components. The diagram shows a WebRTC domain on the left and a non-WebRTC domain on the right, separated by an eIMS-AGW. Inside the eIMS-AGW, there is an H.248 Context C1. On the WebRTC side, there are media & transport unmultiplexed RTP 'sessions' for audio/SRTP and video/SRTP, and data channels (DC) realized by SCTP streams: IM(text)/DC, ..., /DC, and Transport 'SCTP/DTLS/L4/IP'. These connect to component streams (S1, S2, ...) and a stream group (SG1) within Context C1. The component streams connect to IWF (Interworking Function) blocks: IWF 'audio', IWF 'video', IWF 'MSRP', and IWF '...'. These IWF blocks connect to component streams (S1, S2, ...) on the non-WebRTC side, which then connect to audio/(S)RTP, video/(S)RTP, IM(text)/MSRP/TCP, and ... The diagram also includes a 'TerminationState' descriptor: grouse( 'SCTP 2, ...' ) and a 'LocalControl' descriptor: strdeagg(2, ...). A legend defines the symbols for real traffic (solid line), logical traffic (dashed line), DC (WebRTC Data Channel), SG (H.248 Stream Group), component Stream or legacy Stream (S), and (de-)aggregation Stream (S1).
+
+**Figure 6.2.10.6.2.1: eIMS-AGW – H.248 Context model for WebRTC gateway inclusive H.248 Stream Group for WebRTC data components**
+
+The example flow in this clause focuses on the WebRTC data channel part only. Thus, only H.248 Streams S1 (for deaggregation of multiple data channels) and S2 (for MSRP traffic) are indicated subsequently.
+
+Figure 6.2.10.6.2.2 shows the message sequence chart example for the WIC originated procedure to establish a WebRTC MSRP data channel using SCTP-over-DTLS transport.
+
+
+
+The sequence diagram illustrates the interaction between WIC-A, IMS-ALG, and e-IMS-AGW for WebRTC data channel establishment and MSRP stream establishment. The process is divided into three main phases indicated by curly braces on the left:
+
+- Reserve IMS Resources:** Steps 1 through 5. WIC-A sends an SDP offer (Step 1). IMS-ALG sends an H.248 ADD req (Step 2). e-IMS-AGW creates an outgoing termination T2 (Step 3). IMS-ALG receives an H.248 ADD resp (Step 4) and modifies the SDP offer (Step 5).
+- Configure IMS Resources:** Steps 6 through 14. IMS-ALG sends a modified SDP offer (Step 6). WIC-A responds with an SDP answer (Step 7). IMS-ALG sends an H.248 MOD req (Step 8). e-IMS-AGW configures the outgoing termination T2 (Step 9). IMS-ALG receives an H.248 MOD resp (Step 10). IMS-ALG then sends a complex H.248 ADD req (Step 11) to e-IMS-AGW. e-IMS-AGW creates an incoming termination T1 (Step 12). IMS-ALG receives an H.248 ADD resp (Step 13) and modifies the SDP answer (Step 14).
+- Reserve and Configure IMS Resources:** Steps 15 through 18. WIC-A sends a final SDP answer (Step 15). e-IMS-AGW sends a DTLS ClientHello (Step 16). Remaining messages of the DTLS handshake (Step 17) and SCTP association establishment (Step 18) occur between WIC-A and e-IMS-AGW.
+
+Detailed message descriptions:
+
+- 1. SDP offer** (c=IP1o, m= application P1o UDP/DTLS/SCTP webrtc-datachannel, a=max-message-size:UE-Sa, a=sctp-port:UE-Pa, a=setup:actpass, a=tls-id:wic-x, a=fingerprint:UE-a, a=dcmap:SCTPstreamID-a subprotocol=MSRP, a=dcsa:SCTPstreamID-a msrp-cema, a=dcsa:SCTPstreamID-a setup=actpass, a=dcsa:SCTPstreamID-a path:path-a)
+- 2. H.248 ADD req** (C=?, T=?, Stream=2 ( Local (LAddr=?, LPort=?, m=TCP) ) )
+- 3. Create outgoing termination T2**
+- 4. H.248 ADD resp** (C=C1, T=T2, Stream=2 ( Local (LAddr=IP2o, LPort=P2o) ) )
+- 5. Modify SDP offer**
+- 6. SDP offer** (c=IP2o, m=P2o TCP/MSRP, a=setup:actpass, a=msrp-cema, a=path:path-a)
+- 7. SDP answer** (c=IP1a, m=P1a TCP/MSRP, a=setup:active, a=msrp-cema, a=path:path-b)
+- 8. H.248 MOD req** (C=C1, T=T2, Stream=2 (Remote (RAddr=IP1a, RPort=P1a) ) )
+- 9. Configure outgoing termination T2**
+- 10. H.248 MOD resp** (C=C1, T=T2)
+- 11. H.248 ADD req** (C=C1, T=?, groupse = ["SCTP 2"] Stream=1 ( strdeagg=[2] Remote (RAddr=IP1o, RPort=P1o, m=UDP/DTLS/SCTP webrtc-datachannel, a=max-message-size:UE-Sa, a=sctp-port:UE-Pa, a=fingerprint:UE-a, a=dcmap:SCTPstreamID-a subprotocol=MSRP) Local (Est\_DTLS, Notify\_DTLS\_Est\_failure, LAddr=?, LPort=?, a=fingerprint?, m=UDP/DTLS/SCTP, a=sctp-port?, a=max-message-size?, a=dcmap:SCTPstreamID-a subprotocol=MSRP)) Stream=2 (sctpId=SCTPstreamID-a) Signal (Est\_DTLS, Est\_SCTP) Events (Detreset("accept") ) )
+- 12. Create incoming termination T1**
+- 13. H.248 ADD resp** (C=C1, T=T1, Stream=1 ( Local (LAddr=IP2a, LPort=P2a, a=fingerprint:IMS-AGW-a, a=sctp-port:IMS-AGW-Pa, a=max-message-size:IMS-AGW-Sa) ) )
+- 14. Modify SDP answer**
+- 15. SDP answer** (c=IP2a, m=application P2a UDP/DTLS/SCTP webrtc-datachannel, a=max-message-size:IMS-AGW-Sa, a=sctp-port:IMS-AGW-Pa, a=setup:active, a=tls-id:alg-y, a=fingerprint:IMS-AGW-a, a=dcmap:SCTPstreamID-a subprotocol=MSRP, a=dcsa:SCTPstreamID-a msrp-cema, a=dcsa:SCTPstreamID-a setup:active, a=dcsa:SCTPstreamID-a path:path-b)
+- 16. DTLS ClientHello**
+- 17. Remaining messages of DTLS handshake**
+- 18. SCTP association establishment**
+
+Sequence diagram showing the WIC originated procedure for WebRTC data channel establishment and MSRP stream establishment between WIC-A, IMS-ALG, and e-IMS-AGW.
+
+Figure 6.2.10.6.2.2: WIC originated procedure for WebRTC data channel establishment and MSRP stream establishment
+
+The IMS UE A embedded WIC-A performs an IMS originating session set-up according to 3GPP TS 23.228 [2] with modifications for support of WebRTC service control.
+
+The procedure in the above figure for requesting an MSRP profiled WebRTC data channel is described step-by-step with an emphasis on the additional aspects for eP-CSCF (IMS-ALG) and eIMS-AGW with regards to the creation of an H.248 Context for interworking MSRP-over-DC to MSRP-over-TCP:
+
+1. IMS UE-A (WIC-A) sends an SDP offer for an MSRP WebRTC data channel. A new "SCTP association over DTLS association " is requested.
+2. - 4. The eP-CSCF (IMS-ALG) uses the "Reserve AGW Connection Point" procedure to request a termination and H.248 Stream '2' for "MSRP-over-TCP" media towards the core network.
+5. The eP-CSCF (IMS-ALG) modifies the SDP offer to offers TCP transport for MSRP, and to requests the remote peer to select the TCP setup direction.
+6. The eP-CSCF (IMS-ALG) forwards the SDP offer.
+7. - 10. The configuration of core network side H.248 Stream endpoint S2/T2 is completed based on the received SDP answer (7).
+11. The eP-CSCF (IMS-ALG) uses the "Reserve and Configure AGW Connection Point" procedure to request a termination inclusive an H.248 Stream Group for WebRTC DC traffic. The eP-CSCF (IMS-ALG) uses an H.248 Context model with H.248 Stream grouping as required for WebRTC DC support. The Stream Group (SG) configurations according to Figure 6.2.10.6.2.1 is applied: The eP-CSCF (IMS-ALG) decides to assign H.248 StreamID value '1' to the H.248 deaggregation stream and to use H.248 StreamID value '2' for the WebRTC data channel. The following aspects should be emphasized:
+ - a) H.248 deaggregation stream (S1):
+ - covers the protocol stack segment "SCTP Association over DTLS connection over L4/IP";
+ - the 'UDP' is indicated as L4 protocol;
+ - the SDP information related to the underlying ICE procedures is omitted in the abstracted ADD.req command;
+ - the deaggregation stream embedded SDP covers the attributes for configuration of the SCTP Association;
+ - b) H.248 component stream (S2):
+ - covers the upper protocol levels of the logical DC and the IP application layer (here 'MSRP');
+ - c) DTLS session/DTLS association establishment:
+ - an outgoing establishment procedure is enabled ("which will be executed by the eIMS-AGW after successful L4 connectivity");
+ - d) SCTP association establishment:
+ - both, an incoming and outgoing establishment procedure is enabled ("in order to emulate "SCTP simultaneous open" behaviour");
+ - the eIMS-AGW would start to send an SCTP INIT chunk as soon as the DTLS connection is "data transfer ready" (see step 16);
+ - e) Preparation of DC release already in DC establishment phase:
+ - Background: DC release is based on SCTP Association level SCTP Stream reset procedures. Incoming reset requests could be either autonomously handled by the eIMS-AGW or explicitly controlled by the eP-CSCF (IMS-ALG).
+ - The activation of a notification mechanism is required in any case (indicating the autonomous behaviour by the default value 'accept' of the correspondent event parameter).
+- 12./13. The eIMS-AGW confirms the successful creation and configuration of the requested H.248 Stream Group for WebRTC DC traffic.
+- 14./15. The eP-CSCF (IMS-ALG) then sends the updated SDP answer to the IMS UE-A embedded WIC-A.
+
+NOTE: In figure 6.2.10.6.2.2. "a=dmap" does not contain priority information and the default priority thus applies.
+
+## 6.2.10A IMS end-to-end Media Plane Security
+
+### 6.2.10A.1 End-to-end security for RTP based media using SDES
+
+This procedure is identical to that of clause 6.2.1 apart from the IMS-ALG providing "RTP/SAVP" or "RTP/SAVPF", as received in the SDP, to the IMS-AGW as transport protocol and not providing any other media related information to the corresponding terminations, and configuring the IMS-AGW to pass media transparently.
+
+The IMS-ALG shall forward the SDP with unmodified transport protocol for those media lines and unmodified SDES SDP attribute(s).
+
+### 6.2.10A.2 End-to-end security for TCP-based media using TLS
+
+This procedure is identical to that of clause 6.2.1 apart from the IMS-ALG providing "TCP" to the IMS-AGW as transport protocol and not providing any TLS related information nor any other media related information to the corresponding terminations, and configuring the IMS-AGW to pass media transparently.
+
+The IMS-ALG shall forward the SDP with unmodified transport protocol for those media lines and unmodified TLS related SDP attribute(s).
+
+NOTE: End-to-end security for TCP-based media using TLS is not supported between two terminals being located behind firewalls/NATs.
+
+## 6.2.11 Change Through-Connection
+
+The Change Through-Connection procedure is used for opening and closing of gates and is mandatory for IMS-ALG and IMS-AGW to support. The IMS-ALG sets the Stream mode parameter using the Change Through-Connection procedure to request the IMS-AGW to one-way or both-way through-connect or block media streams on a termination.
+
+The IMS-ALG may combine the Change Through-Connection procedure with the Reserve and Configure AGW Connection Point, Reserve AGW Connection Point or Configure AGW Connection Point procedure as in Figure 6.2.1.2., or may apply this procedure separately.
+
+## 6.2.12 Emergency Calls
+
+This procedure is identical to that of clause 6.2.1 apart from the IMS-ALG requesting the IMS-AGW to treat the call as emergency call with a preferential handling by including the information element "Emergency Call Indicator" within the "Reserve and Configure AGW Connection Point" or "Reserve AGW Connection Point procedure".
+
+## 6.2.13 Explicit Congestion Notification support
+
+### 6.2.13.1 General
+
+An IMS-ALG may configure the IMS-AGW to transfer the ECN bits in the IP header transparent (see clause 6.2.13.2) or to act as an ECN endpoint (see clause 6.2.13.3). See clause 5.12.
+
+### 6.2.13.2 ECN Active Indicated (ECN transparent)
+
+Figure 6.2.13.2.1 shows the message sequence chart example for indicating ECN transparent.
+
+![Sequence diagram for Figure 6.2.13.2.1: Procedure to indicate ECN transparent negotiated. The diagram shows two lifelines: IMS-ALG and IMS-AGW. The IMS-ALG sends an H.248:ADD.req message to the IMS-AGW with parameters: Termination X, Transport = RTP/AVPF, ECN_enable = True, and Initialisation_Method = Inactive. The IMS-AGW responds with H.248:ADD.resp[Termination X]. Annotations indicate that the IMS-AGW reserves and configures the AGW connection point, and indicates transport support for explicit congestion notification transparently.](b50f38be091844d58b11e3d47bc71e73_img.jpg)
+
+```
+
+sequenceDiagram
+ participant IMS-ALG
+ participant IMS-AGW
+ Note left of IMS-ALG: Context(Cx)
+ IMS-ALG->>IMS-AGW: H.248:ADD.req[
+Termination X,
+Transport = RTP/AVPF,
+ECN_enable = True,
+Initialisation_Method = Inactive]
+ Note right of IMS-AGW: Reserve and Configure AGW Connection Point
+ IMS-AGW-->>IMS-ALG: H.248:ADD.resp[Termination X]
+ Note right of IMS-AGW: Indicates Transport and requests IMS-AGW to support explicit congestion notification transparently
+ Note left of IMS-ALG: Context(Cx)
+
+```
+
+Sequence diagram for Figure 6.2.13.2.1: Procedure to indicate ECN transparent negotiated. The diagram shows two lifelines: IMS-ALG and IMS-AGW. The IMS-ALG sends an H.248:ADD.req message to the IMS-AGW with parameters: Termination X, Transport = RTP/AVPF, ECN\_enable = True, and Initialisation\_Method = Inactive. The IMS-AGW responds with H.248:ADD.resp[Termination X]. Annotations indicate that the IMS-AGW reserves and configures the AGW connection point, and indicates transport support for explicit congestion notification transparently.
+
+**Figure 6.2.13.2.1: Procedure to indicate ECN transparent negotiated**
+
+Upon receipt of the indication that ECN transparent has been negotiated, the IMS-AGW shall forward ECN bits within IP packets unmodified. Any RTCP feedback received shall be passed unchanged.
+
+### 6.2.13.3 ECN support requested (ECN endpoint)
+
+Figure 6.2.13.3.1 shows the message sequence chart example for requesting ECN endpoint.
+
+![Sequence diagram for Figure 6.2.13.3.1: Procedure to Request ECN endpoint. The diagram shows two lifelines: IMS-ALG and IMS-AGW. The IMS-ALG sends an H.248:ADD.req message to the IMS-AGW with parameters: Termination X, Transport = RTP/AVPF, ECN_enable = True, and Initialisation_Method ≠ inactive, {Notify_ECN_Error}. The IMS-AGW responds with H.248:ADD.resp[Termination X]. Annotations indicate that the IMS-AGW reserves and configures the AGW connection point, and indicates transport support and requests the IMS-AGW to act as an ECN endpoint.](497d7e14540664a2914557cad79f3791_img.jpg)
+
+```
+
+sequenceDiagram
+ participant IMS-ALG
+ participant IMS-AGW
+ Note left of IMS-ALG: Context(Cx)
+ IMS-ALG->>IMS-AGW: H.248:ADD.req[
+Termination X,
+Transport = RTP/AVPF,
+ECN_enable=True,
+Initialisation_Method ≠ inactive,
+{Notify_ECN_Error}]
+ Note right of IMS-AGW: Reserve and Configure AGW Connection Point
+ IMS-AGW-->>IMS-ALG: H.248:ADD.resp[Termination X]
+ Note right of IMS-AGW: Indicates Transport and requests IMS-AGW to act as an ECN endpoint
+ Note left of IMS-ALG: Context(Cx)
+
+```
+
+Sequence diagram for Figure 6.2.13.3.1: Procedure to Request ECN endpoint. The diagram shows two lifelines: IMS-ALG and IMS-AGW. The IMS-ALG sends an H.248:ADD.req message to the IMS-AGW with parameters: Termination X, Transport = RTP/AVPF, ECN\_enable = True, and Initialisation\_Method ≠ inactive, {Notify\_ECN\_Error}. The IMS-AGW responds with H.248:ADD.resp[Termination X]. Annotations indicate that the IMS-AGW reserves and configures the AGW connection point, and indicates transport support and requests the IMS-AGW to act as an ECN endpoint.
+
+**Figure 6.2.13.3.1: Procedure to Request ECN endpoint**
+
+Upon receipt of a request to apply ECN the IMS-AGW shall set the ECN field of the IP header in accordance with 3GPP TS 26.114 [21] when sending any data packets.
+
+Upon receipt of any IP headers indicating ECN Congestion Experienced (ECN-CE) the IMS-AGW shall trigger rate adaptation in accordance with 3GPP TS 26.114 [21].
+
+NOTE: ECN endpoint requires the IMS-ALG to configure the IMS-AGW with all media attributes to allow rate adaptation even if no transcoding is required/supported in the IMS-AGW.
+
+### 6.2.13.4 ECN Failure Indication (ECN endpoint)
+
+Figure 6.2.13.4.1 shows the message sequence chart example for an ECN Failure Event.
+
+
+
+```
+
+sequenceDiagram
+ participant IMS-ALG
+ participant IMS-AGW
+ Note right of IMS-AGW: ECN Failure Indication
+ IMS-AGW->>IMS-ALG: H.248:NOTIFY.req(ECN Failure)
+[Termination =x, cause=ecn_cause]
+ Note left of IMS-ALG: Context(Cx)
+ IMS-ALG-->>IMS-AGW: H.248:NOTIFY.resp(ECN Failure)
+[Termination x]
+ Note right of IMS-AGW: Context(Cx)
+
+```
+
+The diagram illustrates the interaction between an IMS-ALG and an IMS-AGW to report an ECN failure. It starts with an 'ECN Failure Indication' from the IMS-AGW. The IMS-AGW sends an 'H.248:NOTIFY.req(ECN Failure)' message to the IMS-ALG, with parameters 'Termination =x' and 'cause=ecn\_cause'. The IMS-ALG responds with 'Context(Cx)'. The IMS-ALG then sends an 'H.248:NOTIFY.resp(ECN Failure)' message back to the IMS-AGW, with parameter 'Termination x'. The IMS-AGW receives this response with 'Context(Cx)'.
+
+Sequence diagram showing the procedure to report ECN failure between IMS-ALG and IMS-AGW.
+
+**Figure 6.2.13.4.1: Procedure to Report ECN Failure**
+
+When the IMS-ALG receives a Notification indicating that a failure has occurred, the IMS-ALG may trigger a new SDP offer to disable ECN.
+
+## 6.2.14 Access Transfer procedures with media anchored in IMS-AGW (ATGW)
+
+### 6.2.14.1 General
+
+This clause describes extensions to the Iq signalling procedures and their interactions with SIP signalling in the control plane and with user plane procedures to support the "SRVCC enhanced with ATCF" procedures between the IMS-ALG (ATCF) and IMS-AGW (ATGW) when the IMS-ALG and IMS-AGW support the ATCF and ATGW functionality, as specified in 3GPP TS 23.237 [18] and 3GPP TS 24.237 [19].
+
+The Access Transfer procedures are optional to support on the Iq reference point. The requirements in this clause shall apply if these procedures are supported.
+
+All message sequence charts in this clause are examples.
+
+### 6.2.14.2 H.248 context model
+
+Figure 6.2.14.2.1 shows the H.248 context model after the PS originating or terminating session establishment and before the PS to CS access transfer procedure. The "squared" line represents the call control signalling. The "dotted" line represents the bearer. The bearer termination T1 is used for the media path of the PS access leg, the bearer termination T2 is used for the media path of the remote leg.
+
+
+
+Figure 6.2.14.2.1: H.248 Context Model before Access Transfer. The diagram shows three main components: IMS Access Network (left), IMS CN (right), and IMS-AGW (ATGW) (center). The IMS-AGW (ATGW) contains a box labeled CTX C1 with two terminations, T1 and T2. A solid blue line connects the IMS-ALG (ATCF) to the IMS-AGW (ATGW). A dashed green line connects the IMS Access Network to the IMS-ALG (ATCF). A dashed red line connects the IMS Access Network to the IMS-AGW (ATGW) via termination T1. A dashed red line connects the IMS-AGW (ATGW) via termination T2 to the IMS CN.
+
+**Figure 6.2.14.2.1: H.248 Context Model before Access Transfer**
+
+Figure 6.2.14.2.2 shows the H.248 context model during the PS to CS access transfer procedure. The IMS-ALG (ATCF) may seize a new bearer termination T3 for the new media path of the CS access leg, e.g. if the PS and CS nodes before and after the handover are reachable via different IP realms or use a different IP version. The IMS-ALG (ATCF) may alternatively reconfigure the T1 termination with the new remote configuration (e.g. IP address and media) instead of seizing a new termination; in that case, the H.248 context model remains as before access transfer.
+
+Bi-casting is not supported during access transfer, i.e. the IMS-AGW (ATGW) does not duplicate downlink media packets received from the remote leg to the source and target access legs simultaneously.
+
+
+
+Figure 6.2.14.2.2: H.248 Context Model during Access Transfer. This diagram builds on the previous one by adding a third component: MSC Server / CS MGW (bottom left). A dashed green line connects the MSC Server / CS MGW to the IMS-AGW (ATGW) via a new termination, T3. The other connections remain the same: IMS-ALG (ATCF) to IMS-AGW (ATGW) via a solid blue line, IMS Access Network to IMS-ALG (ATCF) via a dashed green line, IMS Access Network to IMS-AGW (ATGW) via termination T1 (dashed red line), and IMS-AGW (ATGW) via termination T2 to IMS CN (dashed red line).
+
+**Figure 6.2.14.2.2: H.248 Context Model during Access Transfer**
+
+Figure 6.2.14.2.3 shows the H.248 context model after the PS to CS access transfer procedure if the source access leg is released. If the UE chooses to retain some media flow(s) in the transferred-out access, the H.248 context model remains as during access transfer.
+
+
+
+Diagram of H.248 Context Model after Access Transfer. It shows three main components: MSC Server / CS MGW (left), IMS-ALG (ATCF) (top center), and IMS CN (right). The IMS-ALG (ATCF) is connected to the IMS CN via a dashed green line. Below the IMS-ALG (ATCF) is the IMS-AGW (ATGW), which contains a context box labeled 'CTX C1' with two termination points, T3 and T2. The IMS-AGW (ATGW) is connected to the MSC Server / CS MGW via a dashed red line and to the IMS CN via a dashed red line. A solid blue line connects the IMS-ALG (ATCF) to the IMS-AGW (ATGW).
+
+**Figure 6.2.14.2.3: H.248 Context Model after Access Transfer**
+
+### 6.2.14.3 PS session origination or termination with media anchoring in IMS-AGW (ATGW) signaling procedures
+
+If the IMS-ALG (ATCF) decides to anchor the media of a session in the IMS-AGW (ATGW) the call related procedures shall follow the basic procedures for IMS ALG (i.e. as specified in clause 6.2.1) with the following differences:
+
+- The IMS-ALG (ATCF) shall seize a termination towards the terminating user, using the "Reserve AGW Connection Point" procedure before sending a SDP offer to the terminating user. The IMS-ALG (ATCF) may signal media related information to the IMS-AGW (ATGW) or omit media when adding the IP termination at this stage.
+
+NOTE : The signalling of media related information to a MGW requires that it reserve the indicated resources before returning a positive response to the H.248 command, by omitting media related information the IMS-AGW (ATGW) does not need to reserve any associated resources at this stage.
+
+- When the IMS-ALG (ATCF) receives the SDP answer from the terminating user, the IMS-ALG (ATCF) shall configure the IMS-AGW (ATGW) accordingly by either supplying the same media related information for all interconnected terminations or by omitting the media related information.
+
+
+
+```
+
+sequenceDiagram
+ participant ExtL as External (Left)
+ participant ALG as IMS-ALG (ATCF)
+ participant AGW as IMS-AGW (ATGW)
+ participant ExtR as External (Right)
+
+ Note over ALG: Reserve AGW Connection Point, (Change Through-Connection)
+ ExtL-->>ALG: 1. SDP offer (IP1o, P1o, codec1, codec2)
+ ALG->>AGW: 2. H.248 ADD req (C=?, T=?, LAddr=?, LPort=?, Local Resources="-" or codec1 or codec2)
+ Note right of AGW: 3. Create outgoing termination T2
+ AGW->>ALG: 4. H.248 ADD resp. (C=C1, T=T2, LAddr=IP2o, LPort=P2o)
+
+ Note over ALG: 5. Modify SDP offer
+ ALG-->>ExtR: 6. SDP offer (IP2o, P2o, codec 1, codec 2)
+
+ Note over ALG: Configure AGW Connection Point, (Change Through-Connection)
+ ExtR-->>ALG: 7. SDP answer (IP1a, P1a, codec 1)
+ ALG->>AGW: 8. H.248 MOD req (C=C1, T=T2, RAddr=IP1a, RPort=P1a, Local Resources="-" or codec1, Remote Resources="-" or codec1)
+ Note right of AGW: 9. Configure Outgoing Termination T2
+ AGW->>ALG: 10. H.248 MOD Resp (C=C1, T=T2)
+
+ Note over ALG: Reserve And Configure AGW Connection Point, (Change Through-Connection)
+ ALG->>AGW: 11. H.248 ADD req (C=C1, T=?, LAddr=?, LPort=?, RAddr=IP1o, RPort=P1o, Local Resources="-" or codec1, Remote Resources="-" or codec1)
+ Note right of AGW: 12. Create incoming Termination T1
+ AGW->>ALG: 13. H.248 ADD Resp (C=C1, T=T1, LAddr=IP2a, LPort=P2a, RAddr=IP1o, RPort=P1o)
+
+ Note over ALG: 14. Modify SDP answer
+ ALG-->>ExtL: 15. SDP answer (Ip2a, P2a, codec 1)
+
+```
+
+The sequence diagram illustrates the PS session establishment with media anchoring in IMS-AGW (ATGW). The interaction between IMS-ALG (ATCF) and IMS-AGW (ATGW) is as follows:
+
+1. SDP offer (IP1o, P1o, *codec1, codec2*) is received by IMS-ALG.
+2. IMS-ALG sends an H.248 ADD req to IMS-AGW with parameters: C=?, T=?, LAddr=?, LPort=?, Local Resources="-" or *codec1* or *codec2*.
+3. IMS-AGW creates an outgoing termination T2.
+4. IMS-AGW sends an H.248 ADD resp to IMS-ALG with parameters: (C=C1, T=T2, LAddr=IP2o, LPort=P2o).
+5. IMS-ALG modifies the SDP offer.
+6. IMS-ALG sends an SDP offer (IP2o, P2o, *codec 1, codec 2*) to the network.
+7. IMS-ALG receives an SDP answer (IP1a, P1a, *codec 1*).
+8. IMS-ALG sends an H.248 MOD req to IMS-AGW with parameters: (C=C1, T=T2, RAddr=IP1a, RPort=P1a, Local Resources="-" or *codec1*, Remote Resources="-" or *codec1*).
+9. IMS-AGW configures the outgoing termination T2.
+10. IMS-AGW sends an H.248 MOD Resp to IMS-ALG with parameters: C=C1, T=T2.
+11. IMS-ALG sends an H.248 ADD req to IMS-AGW with parameters: C=C1, T=?, LAddr=?, LPort=?, RAddr=IP1o, RPort=P1o, Local Resources="-" or *codec1*, Remote Resources="-" or *codec1*.
+12. IMS-AGW creates an incoming termination T1.
+13. IMS-AGW sends an H.248 ADD Resp to IMS-ALG with parameters: C=C1, T=T1, LAddr=IP2a, LPort=P2a, RAddr=IP1o, RPort=P1o.
+14. IMS-ALG modifies the SDP answer.
+15. IMS-ALG sends an SDP answer (Ip2a, P2a, *codec 1*) back to the originator.
+
+Brackets on the left side of the diagram indicate the following high-level procedures:
+
+- Reserve AGW Connection Point, (Change Through-Connection)**: Encompasses steps 1 through 4.
+- Configure AGW Connection Point, (Change Through-Connection)**: Encompasses steps 7 through 10.
+- Reserve And Configure AGW Connection Point, (Change Through-Connection)**: Encompasses steps 11 through 13.
+
+Sequence diagram showing PS session establishment with media anchoring in IMS-AGW (ATGW).
+
+**Figure 6.2.14.3.1: PS session establishment with media anchoring in IMS-AGW (ATGW)**
+
+1. The IMS-ALG (ATCF) receives an SDP offer in SIP signalling. The IMS-ALG (ATCF) requires an IMS-AGW (ATGW) for media anchoring (or for another IMS-AGW use case) but does not offer transcoding.
+2. The IMS-ALG (ATCF) sends a H.248 ADD request command to create the outgoing termination and to request IP resources to execute ATGW function. As no media transcoding is required this may be indicated by signalling "-". Alternatively any codec (e.g. Codec 1) can be signalled. If the IMS-ALG (ATCF) selects an IMS-AGW (ATGW) that does not support transcoding, the IMS-ALG (ATCF) may signal media related sub-fields in the media descriptor to the IMS-AGW (ATGW) if the IMS-AGW (ATGW) supports media encoding. The IMS-AGW (ATGW) shall accept the ADD request even though it cannot reserve any transcoding resources for the indicated media.
+3. The IMS-AGW (ATGW) creates the outgoing termination.
+4. The IMS-AGW (ATGW) replies to IMS-ALG (ATCF) with a H.248 ADD reply command and provides the local address and port of the outgoing termination.
+5. The IMS-ALG (ATCF) replaces the IP address inside the SDP using the information coming from IMS-AGW (ATGW).
+6. The IMS-ALG (ATCF) forwards the new offer to the succeeding node.
+7. The SDP answer is received by IMS-ALG (ATCF). In this example the codec1 received in the original SDP offer in step1 has been selected.
+8. The IMS-ALG (ATCF) sends a H.248 MOD request command to configure the outgoing termination with address and port information. As no media transcoding is needed this may be indicated by signalling "-". Alternatively the selected codec (Codec 1) can be signalled.
+9. The IMS-AGW (ATGW) configures the outgoing termination.
+10. The IMS-AGW (ATGW) replies to IMS-ALG (ATCF) with a H.248 MOD reply command.
+11. The IMS-ALG (ATCF) sends a H.248 ADD command to create the incoming termination to configure this termination with remote address and port information and to request resources to execute ATGW function. As no media transcoding is needed this may be indicated by signalling "-". Alternatively media related sub-fields in the media descriptor for the codec indicated to the incoming termination may be signalled (e.g. the selected codec received in step 7 (Codec 1)).
+12. The IMS-AGW (ATGW) creates the incoming termination.
+13. The IMS-AGW (ATGW) replies to the IMS-ALG (ATCF) with a H.248 ADD reply command and provides the local address and port of the incoming termination.
+14. The IMS-ALG (ATCF) replaces the IP address inside the SDP answer using the information coming from IMS-AGW (ATGW).
+15. SDP answer is sent to the network at the incoming side.
+
+Similar principles shall apply during the establishment of a mobile terminating session.
+
+#### 6.2.14.4 PS to CS Access Transfer procedure with media anchored in IMS-AGW (ATGW)
+
+The signalling flow shown in figure 6.2.14.4.1 gives an example for PS to CS access transfer with media anchored in the IMS-AGW (ATGW). In this case, the media has been anchored in IMS-AGW (ATGW) as specified in clause 6.2.14.3.
+
+
+
+```
+
+sequenceDiagram
+ participant MSC Server
+ participant IMS-ALG as IMS-ALG (ATCF)
+ participant IMS-AGW as IMS-AGW (ATGW)
+
+ Note left of IMS-ALG: Reserve And Configure AGW Connection Point, (Change Through-Connection, Change Flow Direction)
+
+ MSC Server->>IMS-ALG: 1. SDP offer (IP1o, P1o, codec3, codec4)
+ IMS-ALG->>IMS-AGW: 2. TopDesc({T1,*,isolate},{T2,$,bothway}) H.248 ADD req
+C= C1, T= ?, LAddr=?, LPort=?, Local Resources= codec3
+ IMS-AGW->>IMS-ALG: 3. Create incoming termination T3 and applying transcoding between T3 and T2 if necessary
+ IMS-AGW->>IMS-ALG: 4. TopDesc() H.248 ADD resp.
+(C=C1, T=T3, LAddr=IP3o, LPort=P3o)
+ IMS-ALG->>MSC Server: 5. SDP answer(IP3a, P3a, codec 3)
+ MSC Server->>IMS-ALG: 6. BYE (Dialog for source access leg)
+ IMS-ALG->>IMS-AGW: 7. H.248 SUB req
+C= C1, T=T1)
+ IMS-AGW->>IMS-ALG: 8. Release incoming termination T1
+ IMS-AGW->>IMS-ALG: 9. H.248 SUB resp.
+(C=C1, T=T1)
+
+```
+
+Sequence diagram showing PS to CS Access Transfer with transcoding in IMS-AGW (ATGW). The diagram illustrates the interaction between IMS-ALG (ATCF) and IMS-AGW (ATGW) for media transfer. The process involves an SDP offer, H.248 ADD request, creation of a new termination T3, H.248 ADD response, SDP answer, BYE request, H.248 SUB request, release of the old termination T1, and H.248 SUB response. A bracket on the left indicates the 'Reserve And Configure AGW Connection Point, (Change Through-Connection, Change Flow Direction)' phase.
+
+- The IMS-ALG (ATCF) receives an SDP offer in SIP signalling from the MSC Server. The IMS-ALG (ATCF) checks whether transcoding is required. 2. The IMS-ALG (ATCF) sends a H.248 ADD request command to create the target access leg termination and to request IP resources to execute ATGW function. Topology is changed and media reconfigured to connect media between T2 and T3.
+If no media transcoding is required this may be indicated by signalling "-" or by signalling the same media information on T3 as is configured on T2, following the principles specified in clause 6.2.14.3.
+If media transcoding is required (as illustrated in this example), the IMS-ALG (ATCF) signals media related sub-fields in the media descriptor to the IMS-AGW (ATGW). The IMS-AGW (ATGW) determines from the media configuration whether transcoding is required on a stream between two terminations between which data flow is permitted.
+- The IMS-AGW (ATGW) creates the target access leg termination T3 and starts to apply transcoding between T2 and T3 (if required).
+- The IMS-AGW (ATGW) replies to IMS-ALG (ATCF) with a H.248 ADD reply command and provides the local address and port of the outgoing termination.
+- The IMS-ALG (ATCF) returns an SDP answer to the MSC Server; the IP address inside the SDP uses the information coming from IMS-AGW (ATGW).
+- Upon successful completion of the access transfer procedure, the IMS-ALG (ATCF) receives a BYE request from the SCC AS if there is no more media flows on the PS access.
+- The IMS-ALG (ATCF) sends a H.248 SUB request command to subtract the source access leg termination.
+- The IMS-AGW (ATGW) releases the source access leg termination.
+- The IMS-AGW (ATGW) replies to IMS-ALG (ATCF) with a H.248 SUB reply command.
+
+Figure 6.2.14.4.1: PS to CS Access Transfer with transcoding in IMS-AGW (ATGW)
+
+## 6.2.14.5 ECN support during PS to CS Access Transfer procedure with media anchored in IMS-AGW (ATGW)
+
+The signalling flow shown in figure 6.2.14.4.1 gives an example for PS to CS access transfer with media anchored in the IMS-AGW (ATGW). The following additional actions are required if ECN is supported by the IMS-ALG/IMS-AGW:
+
+1.
+ - a) If ECN was supported during the PS session transparently and the SDP offer received from the MSC Server does not indicate ECN support, it is not possible to maintain transparent ECN support to the IMS CN. The IMS-ALG (ATCF) shall modify the Termination T2 to act as an ECN endpoint toward the IMS CN (see Clause 5.12). Additionally the IMS-ALG (ATCF) shall disable ECN on the termination T3 (or T1).
+ - b) If ECN was supported during the PS session transparently and the SDP offer received from the MSC Server does indicate ECN support and no transcoding is required (codec types and modes are aligned between ICS side and IMS CN), then the IMS-ALG (ATCF) shall request ECN transparent properties when seizing T3 and respond to the MSC Server with ECN supported in the SDP answer (step 5).
+ - c) If ECN was supported during the PS session transparently and the SDP offer received from the MSC Server does indicate ECN support and transcoding is required between the CS leg and the IMS-CN, then the IMS-ALG (ATCF) shall request ECN endpoint properties when seizing T3 (or modify the termination T1 with ECN endpoint properties) and respond to the MSC Server with ECN supported in the SDP answer (step 5). Additionally the IMS-ALG (ATCF) shall modify the Termination T2 to act as an ECN endpoint toward the IMS CN (see Clause 5.12).
+ - d) If ECN was not supported during the PS session and the SDP Offer received from the MSC Server indicates ECN support, the IMS-ALG (ATCF) shall not accept ECN support in the SDP answer (step 5).
+
+## 6.2.14.6 Support of generic image attributes
+
+### 6.2.14.6.1 General
+
+The IMS-ALG (ATCF) and the IMS-AGW (ATGW) may support a media-level SDP image attribute "a=imageattr" defined in IETF RFC 6236 [24] to negotiate the image size for sending and receiving video.
+
+The list of image sizes per payload type supported by the IMS-AGW (ATGW) shall be preconfigured in the IMS-ALG (ATCF). If the image sizes received within an SDP body on the Mw/Mx interface are not all supported by the IMS-AGW (ATGW) then the IMS-ALG (ATCF) shall only send the list of corresponding IMS-AGW (ATGW) supported image sizes to the IMS-AGW (ATGW). If no image size is supported by the IMS-AGW (ATGW), the IMS-ALG (ATCF) shall not send the generic image attribute parameter to the IMS-AGW (ATGW).
+
+The signalling flow shown in figure 6.2.14.3.1 gives an example for a PS session establishment with media anchored in the IMS-AGW (ATGW). The following additional actions may be performed if the negotiation of the image size is supported by the IMS-ALG/IMS-AGW:
+
+- a) upon receipt of an SDP offer containing the image attribute(s) and if the received image sizes are supported by the IMS-AGW (ATGW) then the IMS-ALG (ATCF) may send the generic image attribute parameters for the send and receive directions to the IMS-ALG (ATCF) (step 2 or step 8) when seizing or modifying an outgoing termination;
+
+NOTE 1: If the offered image attributes are not supported by the IMS-AGW (ATGW) then the IMS-ALG (ATCF) will not send the generic image attribute parameter to the IMS-AGW (ATGW).
+
+- b) the IMS-ALG (ATCF) shall include the SDP image attribute(s) "a=imageattr" indicating the supported image sizes in the modified SDP offer (step 5);
+- c) upon receipt of an SDP answer containing the generic image attribute(s) and if the received image sizes are supported by the IMS-AGW (ATGW) then the IMS-ALG (ATCF) may include the generic image attribute parameter to the IMS-AGW (ATGW) (step 11) when seizing an incoming termination; and
+- d) the IMS-ALG (ATCF) shall include the SDP image attribute(s) "a=imageattr" indicating the supported image sizes in the modified SDP answer (step 14).
+
+NOTE 2: The IMS-ALG (ATCF) not supporting the negotiation of generic image attributes will ignore the SDP image attribute received in the SDP offer and will send the SDP offer/answer without any associated SDP image attribute.
+
+When sending the SDP body with image attribute(s) on the Mw/Mx interface the IMS-ALG (ATCF) shall include in the "a=imageattr":
+
+- "recv" keyword and corresponding image sizes which the IMS-AGW (ATGW) supports in the receiving direction; and
+
+- "send" keyword and corresponding image sizes which the IMS-AGW (ATGW) supports in the sending direction.
+
+The signalling flow shown in figure 6.2.14.4.1 gives an example for PS to CS access transfer with media anchored in the IMS-AGW (ATGW). The following additional actions may be performed if the negotiation of the image size is supported by the IMS-ALG/IMS-AGW:
+
+- if the image sizes were negotiated during the PS session and if the IMS-AGW (ATGW) applies the video transcoding (step 3) and if the IMS-AGW (ATGW) is configured with different image sizes on the receive direction of one termination and the send direction of another interconnected termination, then it shall adjust the frame sizes accordingly when forwarding video media streams and use the image size as described in 3GPP TS 26.114 [21] when sending media.
+
+NOTE 3: The relation between the negotiated image sizes and CVO are specified in 3GPP TS 26.114 [21].
+
+NOTE 4: The generic image attribute includes information related to the send and receive capabilities of a single termination, and the adjustment of image sizes is typically based on the setting of two connected terminations in a single context.
+
+#### 6.2.14.6.2 Indication of generic image attributes
+
+The IMS-ALG (ATCF) may include the generic image attributes to the IMS-AGW (ATGW). The example sequence is shown in figure 6.2.14.6.2.1.
+
+
+
+```
+
+sequenceDiagram
+ participant External
+ participant IMS-ALG as IMS-ALG (ATCF)
+ participant IMS-AGW as IMS-AGW (ATGW)
+
+ External->>IMS-ALG: SIP msg with SDP offer ["imageattr:" ...]
+ IMS-ALG->>IMS-AGW: H.248: ADD Req [C=?, T= ?, Laddr = ?, Lport = ?, Local Resources, Generic Image Attribute]
+ IMS-AGW-->>IMS-ALG: H.248: ADD Resp [Termination X ... ]
+ IMS-ALG->>External: SIP msg with SDP answer ["imageattr:" ...]
+
+ Note right of IMS-AGW: IMS-AGW(ATGW) receives generic image attribute to be used when transcoding video.
+
+```
+
+The diagram illustrates the following sequence of messages:
+
+- An external entity sends a **SIP msg with SDP offer ["imageattr:" ...]** to the **IMS-ALG (ATCF)**.
+- The **IMS-ALG (ATCF)** sends a **H.248: ADD Req [C=?, T= ?, Laddr = ?, Lport = ?, Local Resources, Generic Image Attribute]** to the **IMS-AGW (ATGW)**.
+- The **IMS-AGW (ATGW)** sends a **H.248: ADD Resp [Termination X ... ]** back to the **IMS-ALG (ATCF)**.
+- The **IMS-ALG (ATCF)** sends a **SIP msg with SDP answer ["imageattr:" ...]** back to the external entity.
+
+A note on the right side of the diagram indicates: **IMS-AGW(ATGW) receives generic image attribute to be used when transcoding video.**
+
+Sequence diagram showing the interaction between IMS-ALG (ATCF) and IMS-AGW (ATGW) to reserve an AGW connection point with generic image attributes.
+
+Figure 6.2.14.6.2.1: Request to reserve AGW connection point with generic image attribute
+
+#### 6.2.14.7 Handling of common codec parameters
+
+For PS session origination, figure 6.2.14.3.1 shall apply with the handling of codec related parameters applicable to multiple codecs in table 6.2.14.7.1, assuming that codec related information is signalled to the IMS-AGW(ATGW) at this stage. If no codec related information is signalled to the IMS-AGW at this stage, the common codec related parameters for the termination towards the SDP answerer in table 6.2.14.7.1 shall be signalled towards the IMS-AGW during a PS to CS Access Transfer procedure.
+
+**Table 6.2.14.7.1: IMS-ALG handling of common codec related SDP parameters during PS session origination.**
+
+| Parameter | Handling in SDP offer | Handling in the SDP answer |
+|-------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| ptime
(NOTE) | If the ptime parameter is included in the received SDP offer, the IMS-ALG shall supply the parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. If the value is supported by the IMS-AGW for receiving media, the IMS-ALG should keep the value from the received SDP offer unchanged in the SDP offer it sends. If the IMS-AGW only supports a lower ptime value, the IMS-ALG shall supply the ptime value according to configured preferences in the SDP offer it forwards. If no ptime value was contained in the received SDP offer, the IMS-ALG may add the parameter with a value according to configured preferences to the SDP offer. | If the ptime parameter is included in the received SDP answer, the IMS-ALG shall supply the parameter to the IMS-AGW for the termination towards the answerer in the remote descriptor. If the value is supported by the IMS-AGW for receiving media, the IMS-ALG should keep the value from the received SDP answer unchanged in the SDP answer it sends. If the IMS-AGW only supports a lower ptime value, the IMS-ALG shall supply the ptime value according to configured preferences in the SDP answer it forwards. If no ptime value was contained in the received SDP answer, the IMS-ALG may add the parameter with a value according to configured preferences to the SDP answer. |
+| maxptime
(NOTE) | If the maxptime parameter is included in the received SDP offer, the IMS-ALG shall supply the parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. If the value is supported by the IMS-AGW for receiving media, the IMS-ALG should keep the value from the received SDP offer unchanged in the SDP offer it sends. If the IMS-AGW only supports a lower maxptime value, the IMS-ALG shall supply the maxptime value according to the IMS-AGW capabilities in the SDP offer it forwards. If no maxptime value was contained in the received SDP offer, the IMS-ALG may add the parameter with a value according to the IMS-AGW capabilities to the SDP offer. | If the maxptime parameter is included in the received SDP answer, the IMS-ALG shall supply the parameter to the IMS-AGW for the termination towards the answerer in the remote descriptor. If the value is supported by the IMS-AGW for receiving media, the IMS-ALG should keep the value from the received SDP answer unchanged in the SDP answer it sends. If the IMS-AGW only supports a lower maxptime value, the IMS-ALG shall supply the maxptime value according to the IMS-AGW capabilities in the SDP answer it forwards. If no maxptime value was contained in the received SDP answer, the IMS-ALG may add the parameter with a value according to the IMS-AGW capabilities to the SDP answer. |
+| NOTE: This SDP attribute is defined in IETF RFC 4566 [53]. It applies to all codecs offered in an SDP media line. | | |
+
+For PS to CS Access Transfer, figure 6.2.14.4.1 shall apply with the handling of codec related parameters applicable to multiple codecs in in table 6.2.14.A.2.
+
+**Table 6.2.14.7.2: IMS-ALG handling of common codec related SDP parameters during PS to CS Access Transfer.**
+
+| Parameter | Handling of common codec parameters received in the SDP offer | Common Codec parameters supplied in the SDP answer |
+|-------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|
+| ptime
(NOTE) | If the ptime parameter is included in the received SDP offer, the IMS-ALG shall supply the parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | The IMS-ALG may add the parameter with a value according to configured preferences to the SDP answer. |
+| maxptime
(NOTE) | If the maxptime parameter is included in the received SDP offer, the IMS-ALG shall supply the parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | The IMS-ALG may add the parameter with a value according to the IMS-AGW capabilities to the SDP answer. |
+| NOTE: This SDP attribute is defined in IETF RFC 4566 [53]. It applies to all codecs offered in an SDP media line. | | |
+
+## 6.2.14.8 EVS speech codec support
+
+For PS session origination, figure 6.2.14.3.1 shall apply with the EVS parameter handling in table 6.2.14.8.1, assuming that EVS is "codec 1", which is selected, and that "codec 1" related information is signalled to the IMS-AGW(ATGW) at this stage. If no codec related information is signalled to the IMS-AGW at this stage, the EVS related parameters for the termination towards the SDP answerer in table 6.2.14.8.1 shall be signalled towards the IMS-AGW during a PS to CS Access Transfer procedure.
+
+Table 6.2.14.8.1: IMS-ALG handling of EVS related SDP parameters during PS session origination.
+
+| Parameter | Handling for EVS payload type in SDP offer | Handling if offered EVS payload type is accepted in the SDP answer |
+|-----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| evs-mode-switch
(NOTE 1) | If the evs-mode-switch parameter is contained in the SDP offer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor for the termination towards the SDP offerer and shall retain the parameter in the SDP offer it forwards. | If the evs-mode-switch parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the answerer in the remote descriptor, and the IMS-ALG shall retain this parameter in the SDP answer it forwards. |
+| hf-only
(NOTE 1) | If the n hf-only parameter is contained in the SDP offer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor for the termination towards the SDP offerer and shall retain the parameter in the SDP offer it forwards.
Otherwise, if the IMS-ALG is configured to negotiate using only the header-full EVS RTP payload format, the IMS-ALG shall provide the hf-only parameter with a value 1 to the IMS-AGW in the remote descriptor for the termination towards the SDP offerer, and within the SDP offer it forwards. | If the hf-only parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor for the termination towards the answerer, and the IMS-ALG shall retain this parameter in the SDP answer it forwards. |
+| dtx
(NOTE 1) | If the dtx parameter is contained in the SDP offer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor for the termination towards the SDP offerer and shall retain the parameter in the SDP offer it forwards.
Otherwise, if the dtx-recv parameter is contained in the SDP offer, the IMS-ALG may include the dtx parameter in the SDP offer it forwards with the same value as the dtx-recv parameter in the SDP offer.
Otherwise, if the usage of DTX is not desired in the sending and receiving direction, the IMS-ALG shall include the dtx parameter with a value 0 to the IMS-AGW in the remote descriptor for the termination towards the SDP offerer, and within the SDP offer it forwards. | If the dtx parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor for the termination towards the answerer, and the IMS-ALG shall retain this parameter in the SDP answer it forwards. |
+| dtx-recv
(NOTE 1) | If the dtx-recv parameter is contained in the SDP offer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor for the termination towards the SDP offerer and shall retain the parameter in the SDP offer it forwards.
Otherwise, if the reception of DTX is not desired and the dtx parameter is not included in the forwarded SDP offer, the IMS-ALG shall include the dtx-recv parameter with a value 0 to the IMS-AGW in the remote descriptor for the termination towards the SDP offerer, and within the SDP offer it forwards.
If both the dtx and dtx-recv parameters are included, those parameters shall have the same value; however, inclusion of the dtx-recv parameter is not required if the dtx parameter is included. | If the dtx-recv parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor for the termination towards the answerer, and the IMS-ALG shall retain this parameter in the SDP answer it forwards. |
+| br
(NOTE 1) | If the br parameter is contained in the SDP offer, the IMS-ALG shall check if the IMS-AGW supports the indicated bitrates, or a subset of them, in EVS primary mode in the send and receive direction. If the indicated bitrates, and even each subset of them, are not supported, the IMS-ALG should remove the EVS payload from the SDP offer.
Otherwise, If the br parameter is contained in the SDP offer, the IMS-ALG shall select a bitrate value, which is either the received br value or a subset of it, based on IMS-AGW capabilities and | If the br parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor for the termination towards the answerer, and the IMS-ALG shall retain this parameter in the SDP answer it forwards. |
+
+| | | |
+|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | possible configured policies, and shall include that br parameter with the selected value in the SDP offer if forwards.
Otherwise, if the IMS-ALG desires the same bit rate range for the send and receive direction in EVS primary mode, and wants to restrict the bit rate range to match IMS-AGW capabilities and possible configured policies, it shall supply the br parameter in the SDP offer it sends.
If the IMS-ALG also supplies the bw, bw-send or bw-recv parameter, the value of the br parameter shall be compatible with the values of those parameters.
If the IMS-ALG supplies the br parameter in the SDP offer if forwards, it shall also supply to the IMS-AGW the br parameter in the local descriptor for the termination towards the offerer with the same value.
| |
+| br-send
(NOTE 1) | If the br-send parameter is contained in the SDP offer, the IMS-ALG shall check if the IMS-AGW supports the indicated bitrates, or a subset of them, in EVS primary mode in the send and receive direction. If the indicated bitrates, and even each subset of them, are not supported, the IMS-ALG should remove the EVS payload from the SDP offer.
Otherwise, If the br-send parameter is contained in the SDP offer, the IMS-ALG shall select a bitrate value, which is either the received br-send value or a subset of it, based on IMS-AGW capabilities and possible configured policies, and shall include that br-send parameter with the selected value in the SDP offer if forwards.
Otherwise, if the IMS-ALG desires a different bit rate (range) for the send and receive direction in EVS primary mode, and wants to restrict the bit rate range for the send direction towards the offerer to match IMS-AGW capabilities and possible configured policies, it shall supply the br-send parameter in the SDP offer it sends.
Otherwise the IMS-ALG shall not include this parameter in the SDP offer.
If the IMS-ALG also supplies the bw or bw-send parameter, the value of the br-send parameter shall be compatible with the values of those parameters.
If the IMS-ALG supplies the br-send parameter in the SDP offer if forwards, it shall also supply to the IMS-AGW the br-send parameter in the local descriptor for the termination towards the offerer with the same value.
| If the br-send parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor for the termination towards the answerer, and the IMS-ALG shall retain this parameter in the SDP answer it forwards.
|
+| br-recv
(NOTE 1) | If the br-recv parameter is contained in the SDP offer, the IMS-ALG shall check if the IMS-AGW supports the indicated bitrates, or a subset of them, in EVS primary mode in the send and receive direction. If the indicated bitrates, and even each subset of them, are not supported, the IMS-ALG should remove the EVS payload from the SDP offer.
Otherwise, If the br-recv parameter is contained in the SDP offer, the IMS-ALG shall select a bitrate value, which is either the received br-recv value or a subset of it, based on IMS-AGW capabilities and possible configured policies, and shall include that br-recv parameter with the selected value in the SDP offer if forwards.
Otherwise, if the IMS-ALG desires a different bit rate (range) for the send and receive direction in
| If the br-recv parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor for the termination towards the answerer, and the IMS-ALG shall retain this parameter in the SDP answer it forwards.
|
+
+| | | |
+|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | EVS primary mode, and wants to restrict the bit rate range for the recv direction towards the offerer to match IMS-AGW capabilities and possible configured policies, it shall supply the br-recv parameter in the SDP offer it sends. Otherwise the IMS-ALG shall not include this parameter in the SDP offer.
If the IMS-ALG also supplies the bw or bw-recv parameter, the value of the br-recv parameter shall be compatible with the values of those parameters.
If the IMS-ALG supplies the br-recv parameter in the SDP offer if forwards, it shall also supply to the IMS-AGW the br-recv parameter in the local descriptor for the termination towards the offerer with the same value.
| |
+| bw
(NOTE 1) | If the bw parameter is contained in the SDP offer, the IMS-ALG shall check if the IMS-AGW supports the indicated sampling bandwidth(s), or a subset of them, in EVS primary mode in the send and receive direction. If the indicated sampling bandwidth(s), and even each subset of them, are not supported, the IMS-ALG should remove the EVS payload from the SDP offer. Otherwise, If the bw parameter is contained in the SDP offer, the IMS-ALG shall select a bitrate value, which is either the received bw value or a subset of it, based on IMS-AGW capabilities and possible configured policies, and shall include that bw parameter with the selected value in the SDP offer if forwards.
Otherwise, if the IMS-ALG desires the same sampling bandwidth(s) for the send and receive direction in EVS primary mode, and wants to restrict the sampling bandwidth(s) to match IMS-AGW capabilities and possible configured policies, it shall supply the bw parameter in the SDP offer it sends.
If the IMS-ALG also supplies the br, br-send or br-recv parameter, the value of the bw parameter shall be compatible with the values of those parameters.
If the IMS-ALG supplies the bw parameter in the SDP offer if forwards, it shall also supply to the IMS-AGW the bw parameter in the local descriptor for the termination towards the offerer with the same value.
| If the bw parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor for the termination towards the answerer, and the IMS-ALG shall retain this parameter in the SDP answer it forwards.
|
+| bw-send
(NOTE 1) | If the bw-send parameter is contained in the SDP offer, the IMS-ALG shall check if the IMS-AGW supports the indicated sampling bandwidth(s), or a subset of them, in EVS primary mode in the send and receive direction. If the indicated bitrates, and even each subset of them, are not supported, the IMS-ALG should remove the EVS payload from the SDP offer. Otherwise, If the bw-send parameter is contained in the SDP offer, the IMS-ALG shall select a sampling bandwidth value, which is either the received bw-send value or a subset of it, based on IMS-AGW capabilities and possible configured policies, and shall include that bw-send parameter with the selected value in the SDP offer if forwards.
Otherwise, if the IMS-ALG desires different sampling bandwidth(s) for the send and receive direction in EVS primary mode, and wants to restrict the sampling bandwidth(s) for the send direction towards the offerer to match IMS-AGW
| If the bw-send parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor for the termination towards the answerer, and the IMS-ALG shall retain this parameter in the SDP answer it forwards.
|
+
+| | | |
+|------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | capabilities and possible configured policies, it shall supply the bw-send parameter in the SDP offer it sends. Otherwise the IMS-ALG shall not include this parameter in the SDP offer.
If the IMS-ALG also supplies the br or br-send parameter, the value of the bw-send parameter shall be compatible with the values of those parameters.
If the IMS-ALG supplies the bw-send parameter in the SDP offer it forwards, it shall also supply to the IMS-AGW the bw-send parameter in the local descriptor for the termination towards the offerer with the same value.
| |
+| bw-recv
(NOTE 1) | If the bw-recv parameter is contained in the SDP offer, the IMS-ALG shall check if the IMS-AGW supports the indicated sampling bandwidth(s), or a subset of them, in EVS primary mode in the send and receive direction. If the indicated sampling bandwidth(s), and even each subset of them, are not supported, the IMS-ALG should remove the EVS payload from the SDP offer. Otherwise, If the bw-recv parameter is contained in the SDP offer, the IMS-ALG shall select a sampling bandwidth(s) value, which is either the received bw-recv value or a subset of it, based on IMS-AGW capabilities and possible configured policies, and shall include that bw-recv parameter with the selected value in the SDP offer it forwards.
Otherwise, if the IMS-ALG desires different sampling bandwidth(s) for the send and receive direction in EVS primary mode, and wants to restrict the sampling bandwidth(s) for the recv direction towards the offerer to match IMS-AGW capabilities and possible configured policies, it shall supply the bw-recv parameter in the SDP offer it sends. Otherwise the IMS-ALG shall not include this parameter in the SDP offer.
If the IMS-ALG also supplies the br or br-recv parameter, the value of the bw-recv parameter shall be compatible with the values of those parameters.
If the IMS-ALG supplies the bw-recv parameter in the SDP offer it forwards, it shall also supply to the IMS-AGW the bw-recv parameter in the local descriptor for the termination towards the offerer with the same value.
| If the bw-recv parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor for the termination towards the answerer, and the IMS-ALG shall retain this parameter in the SDP answer it forwards.
|
+| cmr
(NOTE 1) | If the cmr parameter is contained in the SDP offer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor for the termination towards the SDP offerer and shall retain the parameter in the SDP offer it forwards. Otherwise, if the IMS-ALG desires to disable codec mode requests within the RTP payload of the EVS primary mode (due to the IMS-AGW capabilities or policies), it shall include the cmr parameter with value -1 to the IMS-AGW in the remote descriptor for the termination towards the SDP offerer, and within the SDP offer it forwards.
| If the cmr parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor for the termination towards the answerer, and the IMS-ALG shall retain this parameter in the SDP answer it forwards.
|
+| ch-aw-recv
(NOTE 1) | If the ch-aw-recv parameter is contained in the SDP offer the IMS-ALG shall check if the IMS-AGW supports the indicated mode in the send direction. If the indicated mode is not supported, the IMS-ALG shall remove the payload type from the SDP offer. If the IMS-AGW supports the indicated mode in the send direction for transcoding, the IMS-ALG shall forward this
| If the ch-aw-recv parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor for the termination towards the answerer, and the IMS-ALG shall retain this parameter in the SDP answer it forwards.
|
+
+| | | |
+|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor, and shall include the unmodified parameter within the SDP offer it forwards. Otherwise, if the IMS-ALG desires to disable partial redundancy mode, it shall include the ch-aw-send parameter with value -1 in the SDP offer it forwards. | |
+| number of channels (NOTE 2) | If the "number of channels" parameter is contained in the SDP offer, the IMS-ALG shall check if the IMS-AGW supports the indicated number of channels. If the indicated number of channels is not supported, the IMS-ALG should remove the EVS payload from the SDP offer. Otherwise, if the "number of channels" parameter is contained in the SDP offer, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor and shall retain the parameter in the SDP offer it forwards. | If the "number of channels" parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor for the termination towards the answerer, and the IMS-ALG shall retain this parameter in the SDP answer it forwards. |
+| ch-send (NOTE 1) | If the ch-send parameter is contained in the SDP offer, the IMS-ALG shall check if the IMS-AGW supports the indicated number of channels in the send and receive direction. If the indicated number of channels is not supported, the IMS-ALG should remove the EVS payload from the SDP offer. Otherwise, if the ch-send parameter is contained in the SDP offer, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor and shall retain the parameter in the SDP offer it forwards. | If the ch-send parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor for the termination towards the answerer, and the IMS-ALG shall retain this parameter in the SDP answer it forwards. |
+| ch-recv (NOTE 1) | If the ch-recv parameter is contained in the SDP offer, the IMS-ALG shall check if the IMS-AGW supports the indicated number of channels in the send and receive direction. If the indicated number of channels is not supported, the IMS-ALG should remove the EVS payload from the SDP offer. Otherwise, if the ch-recv parameter is contained in the SDP offer, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor and shall retain the parameter in the SDP offer it forwards. | If the ch-recv parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor for the termination towards the answerer, and the IMS-ALG shall retain this parameter in the SDP answer it forwards. |
+| mode-set (NOTE 3) | If the mode-set parameter is contained in the SDP offer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor for the termination towards the SDP offerer and shall retain the parameter in the SDP offer it forwards. | If the mode-set parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the answerer in the remote descriptor, and the IMS-ALG shall retain this parameter in the SDP answer it forwards. |
+| mode-change-period (NOTE 3) | If the mode-change-period parameter is contained in the SDP offer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor for the termination towards the SDP offerer and shall retain the parameter in the SDP offer it forwards. | If the mode-change-period parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the answerer in the remote descriptor, and the IMS-ALG shall retain this parameter in the SDP answer it forwards. |
+| mode-change-capability (NOTE 3) | If the mode-change-capability parameter is contained in the SDP offer, the IMS-ALG may forward this parameter to the IMS-AGW in the remote descriptor for the termination towards the SDP offerer and shall retain the parameter in the SDP offer it forwards. | If the mode-change-capability parameter is contained in the SDP answer, the IMS-ALG may forward this parameter to the IMS-AGW for the termination towards the answerer in the remote descriptor, and the IMS-ALG shall retain this parameter in the SDP answer it forwards. |
+| mode-change-neighbor (NOTE 3) | If the mode-change-neighbor parameter is contained in the SDP offer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor for the termination towards the SDP offerer and shall retain the parameter in the SDP offer it forwards. | If the mode-change-neighbor parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the answerer in the remote descriptor, and the IMS-ALG shall retain this parameter in the SDP answer it forwards. |
+
+| | | |
+|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | SDP offer it forwards. | parameter in the SDP answer it forwards. |
+| max-red
(NOTE 5) | If the max-red parameter is contained in the SDP offer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor for the termination towards the SDP offerer and shall retain the parameter in the SDP offer it forwards with a value that considers the received value and the capabilities of the IMS-AGW. | If the max-red parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the answerer in the remote descriptor, and the IMS-ALG shall retain this parameter in the SDP answer it forwards with a value that considers the received value and the capabilities of the IMS-AGW. |
+| 3gpp_mtsi_app_adapt
(NOTE 4) | If the IMS-AGW supports RTCP APP based adaptation messages defined in 3GPP TS 26.114 [21], and the IMS-ALG has a policy to negotiate the usage of those messages, the IMS-ALG shall include the 3gpp_mtsi_app_adapt SDP attribute indicating the supported APP messages in the SDP offer. | If the 3gpp_mtsi_app_adapt parameter is contained in the SDP answer, the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor. |
+| NOTE 1: This MIME parameter of the EVS RTP payload type is defined in 3GPP TS 26.445 [51]. It is encapsulated within the SDP "a=fmtp" attribute defined IETF RFC 4566 [53].
NOTE 2: This number of channels are encoded as "encoding parameters" of the SDP "a=rtpmap" attribute defined in IETF RFC 4566 [53].
NOTE 3: This MIME parameter of the EVS RTP payload type relates to AMR-WB IO mode and is defined in IETF RFC 4867 [54]. It is encapsulated within the SDP "a=fmtp" attribute defined IETF RFC 4566 [53].
NOTE 4: This SDP attribute is defined in 3GPP TS 26.114 [21]. It applies to all codecs offered in an SDP media line. However, some values are specific to EVS.
NOTE 5: This MIME parameter of the EVS RTP payload type is defined in IETF RFC 4867 [54]. It is encapsulated within the SDP "a=fmtp" attribute defined IETF RFC 4566 [53]. | | |
+
+For PS to CS Access Transfer, figure 6.2.14.4.1 shall apply with the EVS parameter handling in table 6.2.14.8.2, assuming that EVS is "codec 3", which is selected.
+
+Table 6.2.14.8.2: IMS-ALG handling of EVS related SDP parameters during PS to CS Access Transfer.
+
+| Parameter | Handling of EVS payload type parameter received in the SDP offer | EVS payload type supplied in the SDP answer |
+|-----------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| evs-mode-switch
(NOTE 1) | If the evs-mode-switch parameter is contained in the SDP offer and the IMS-ALG select the EVS payload type for transcoding, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | If the evs-mode-switch parameter is contained in the SDP offer, the IMS-ALG shall include the evs-mode-switch parameter with unmodified value in the SDP answer.
Otherwise, if EVS was used before the access transfer, the IMS-ALG should include the evs-mode-switch parameter with a value indicating the mode that was negotiated before the access transfer.
Otherwise, if the IMS-ALG decides to transcode between AMR-WB and EVS (e.g. because AMR-WB was used before the access transfer), it shall include the evs-mode-switch with value 1.
Otherwise the IMS-ALG shall not include the evs-mode-switch.
If the IMS-ALG supplies the evs-mode-switch in the SDP answer, it shall also supply it to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value. |
+| hf-only
(NOTE 1) | If the hf-only parameter is contained in the SDP offer and the IMS-ALG select the EVS payload type for transcoding, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | If the hf-only parameter is contained in the SDP offer, the IMS-ALG shall include the hf-only parameter with unmodified value in the SDP answer.
Otherwise, if the IMS-AGW is configured to negotiate using only the header-full EVS RTP payload format, the IMS-ALG shall include the hf-only parameter with a value 1.
Otherwise, if EVS was used before the access transfer, the IMS-ALG should include the hf-only parameter with a value indicating the mode that was negotiated before the access transfer.
If the IMS-ALG supplies the hf-only parameter in the SDP answer, it shall also supply it to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value. |
+| dtx
(NOTE 1) | If the dtx parameter is contained in the SDP offer and the IMS-ALG select the EVS payload type for transcoding, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | If the dtx parameter is contained in the SDP offer, the IMS-ALG shall include the dtx parameter with unmodified value in the SDP answer.
Otherwise, if the dtx-recv parameter is contained in the SDP offer, the IMS-ALG may include the dtx parameter in the SDP answer with the same value as the dtx-recv parameter in the SDP offer.
Otherwise, if the usage of DTX is not desired (e.g. due to DTX capabilities of expected codecs to transcode with), the IMS-ALG shall include the dtx parameter with a value 0.
Otherwise, if EVS was used before the access transfer, the IMS-ALG should include the dtx parameter with a value indicating the mode that was negotiated before the access transfer.
If the IMS-ALG supplies the dtx parameter in the SDP answer, it shall also supply it to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value. |
+| dtx-recv
(NOTE 1) | If the dtx-recv parameter is contained in the SDP offer and the IMS-ALG select the EVS payload type for transcoding, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | If the reception of DTX is not desired and the dtx parameter is not included, the IMS-ALG shall include the dtx-recv parameter with a value 0.
If both the dtx and dtx-recv parameters are included, those parameters shall have the same value; however, inclusion of the dtx-recv parameter is not required if the dtx parameter is included.
If the IMS-ALG supplies the dtx-recv parameter in the SDP answer, it should also supply it to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value. |
+
+| | | |
+|---------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| br
(NOTE 1) | If the br parameter is contained in the SDP offer, the IMS-ALG shall check if the IMS-AGW supports the indicated bitrates, or a subset of them, in EVS primary mode in the send and receive direction. If the indicated bitrates, and even each subset of them, are not supported, the IMS-ALG shall not select the EVS payload type for transcoding. If the IMS-ALG selects the EVS payload type, it shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | If the br parameter is contained in the SDP offer, the IMS-ALG shall select a bitrate value, which is either the received br value or a subset of it, based on IMS-AGW capabilities, possible configured policies, and the negotiated br range of an EVS codec used before the access transfer, and shall include the br parameter with the selected value that is also supplied towards the IMS-AGW in the SDP answer. Otherwise, if the IMS-ALG desires the same bit rate range for the send and receive direction in EVS primary mode, and wants to restrict the bit rate range to match IMS-AGW capabilities possible configured policies, and the negotiated br range of the EVS codec used before the access transfer, the IMS-ALG shall supply the br parameter in the SDP answer it sends. Otherwise the IMS-ALG shall not include this parameter in the SDP answer. If the IMS-ALG also supplies the bw, bw-send or bw-recv parameter, the value of the br parameter shall be compatible with the values of those parameters. If the IMS-ALG supplies the br parameter in the SDP answer, it shall also supply to the IMS-AGW the br parameter in the local descriptor for the termination towards the offerer with the same value. |
+| br-send
(NOTE 1) | If the br-send parameter is contained in the SDP offer, the IMS-ALG shall check if the IMS-AGW supports the indicated bitrates, or a subset of them, in EVS primary mode in the receive direction. If the indicated bitrates, and even each subset of them, are not supported, the IMS-ALG shall not select the EVS payload type for transcoding. If the IMS-ALG selects the EVS payload type, it shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | If the br-recv parameter is contained in the SDP offer, the IMS-ALG shall select a bitrate value, which is either the received br-recv value or a subset of it, based on IMS-AGW capabilities possible configured policies, and the negotiated br range of an EVS codec used before the access transfer, and the IMS-ALG shall include the br-send parameter with the selected value that is also supplied towards the IMS-AGW in the SDP answer. Otherwise, if the IMS-ALG desires a different bit rate (range) for the send and receive direction in EVS primary mode, and wants to restrict the bit rate range for the send direction to match IMS-AGW capabilities and possible configured policies, it shall supply the br-send parameter in the SDP answer it sends. Otherwise the IMS-ALG shall not include the br-send parameter in the SDP answer. If the IMS-ALG also supplies the bw or bw-send parameter, the value of the br-send parameter shall be compatible with the values of those parameters. If the IMS-ALG supplies the br-send parameter in the SDP answer, it shall also supply to the IMS-AGW the br-send parameter in the local descriptor for the termination towards the offerer with the same value. |
+| br-recv
(NOTE 1) | If the br-recv parameter is contained in the SDP offer, the IMS-ALG shall check if the IMS-AGW supports the indicated bitrates, or a subset of them, in EVS primary mode in the send direction. If the indicated bitrates, and even each subset of them, are not supported, the IMS-ALG shall not select the EVS payload type for transcoding. If the IMS-ALG selects the EVS payload type, it shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | If the br-send parameter is contained in the SDP offer, the IMS-ALG shall select a bitrate value, which is either the received br-send value or a subset of it, based on IMS-AGW capabilities, possible configured policies, and the negotiated br range of an EVS codec used before the access transfer, and the IMS-ALG shall include the br-recv parameter with the selected value that is also supplied towards the IMS-AGW in the SDP answer. Otherwise, if the IMS-ALG desires a different bit rate (range) for the send and receive direction in EVS primary mode, and wants to restrict the bit rate range for the receive direction to match IMS-AGW capabilities and possible configured policies, it shall supply the br-recv parameter in the SDP answer it sends. |
+
+| | | |
+|-----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | Otherwise the IMS-ALG shall not include the br-recv parameter in the SDP answer.
If the IMS-ALG also supplies the bw or bw-recv parameter, the value of the br-recv parameter shall be compatible with the values of those parameters.
If the IMS-ALG supplies the br-recv parameter in the SDP answer, it shall also supply to the IMS-AGW the br-recv parameter in the local descriptor for the termination towards the offerer with the same value.
|
+| bw
(NOTE 1)
| If the bw parameter is contained in the SDP offer, the IMS-ALG shall check if the IMS-AGW supports the indicated sampling bandwidth(s), or a subset of them, in EVS primary mode in the send and receive direction. If the indicated sampling bandwidth(s), and even each subset of them, are not supported, the IMS-ALG shall not select the EVS payload type for transcoding. If the IMS-ALG selects the EVS payload type, it shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor.
| If the bw parameter is contained in the SDP offer, the IMS-ALG shall select a sampling bandwidth value, which is either the received bw value or a subset of it, based on IMS-AGW capabilities, possible configured policies, and the negotiated bw range of an EVS codec used before the access transfer, and the IMS-ALG shall include the bw parameter with the selected value that is also supplied towards the IMS-AGW in the SDP answer.
Otherwise, if the IMS-ALG desires the same sampling bandwidth(s) for the send and receive direction in EVS primary mode, and wants to restrict the sampling bandwidth(s) to match IMS-AGW capabilities, possible configured policies, and the negotiated bw range of the EVS codec used before the access transfer, the IMS-ALG shall supply the bw parameter in the SDP answer it sends.
Otherwise the IMS-ALG shall not include this parameter in the SDP answer.
If the IMS-ALG also supplies the br, br-send or br-recv parameter, the value of the bw parameter shall be compatible with the values of those parameters.
If the IMS-ALG supplies the bw parameter in the SDP answer, it shall also supply to the IMS-AGW the bw parameter in the local descriptor for the termination towards the offerer with the same value.
|
+| bw-send
(NOTE 1)
| If the bw-send parameter is contained in the SDP offer, the IMS-ALG shall check if the IMS-AGW supports the indicated sampling bandwidths, or a subset of them, in EVS primary mode in the receive direction. If the indicated sampling bandwidths, and even each subset of them, are not supported, the IMS-ALG shall not select the EVS payload type for transcoding. If the IMS-ALG selects the EVS payload type, it shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor.
| If the bw-recv parameter is contained in the SDP offer, the IMS-ALG shall select a sampling bandwidths value, which is either the received bw-recv value or a subset of it, based on IMS-AGW capabilities, possible configured policies, and the negotiated bw range of an EVS codec used before the access transfer, and the IMS-ALG shall include the bw-send parameter with the selected value in the SDP answer.
Otherwise, if the IMS-ALG desires a different sampling bandwidths for the send and receive direction in EVS primary mode, and wants to restrict the sampling bandwidths for the send direction to match IMS-AGW capabilities, possible configured policies, and the negotiated bw range of the EVS codec used before the access transfer, the IMS-ALG shall supply the bw-send parameter in the SDP answer it sends.
Otherwise the IMS-ALG shall not include the br-send parameter in the SDP answer.
If the IMS-ALG also supplies the bw or bw-send parameter, the value of the br-send parameter shall be compatible with the values of those parameters.
If the IMS-ALG supplies the bw-send parameter in the SDP answer, it shall also supply to the IMS-AGW the bw-send parameter in the local descriptor for the termination towards the offerer with the same value.
|
+| br-recv
(NOTE 1)
| If the br-recv parameter is contained in the SDP offer, the IMS-ALG shall check if the IMS-AGW supports the indicated sampling bandwidths, or a subset of them, in EVS primary mode in the send direction. If the indicated sampling
| If the bw-send parameter is contained in the SDP offer, the IMS-ALG shall select a sampling bandwidths value, which is either the received bw-send value or a subset of it, based on IMS-AGW capabilities, possible configured policies, and the
|
+
+| | | |
+|--------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | bandwidths, and even each subset of them, are not supported, the IMS-ALG shall not select the EVS payload type for transcoding. If the IMS-ALG selects the EVS payload type, it shall forward the bw-recv parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | negotiated bw range of an EVS codec used before the access transfer, and the IMS-ALG shall include the bw-recv parameter with the selected value in the SDP answer.
Otherwise, if the IMS-ALG desires a different sampling bandwidths for the send and receive direction in EVS primary mode, and wants to restrict the sampling bandwidths for the receive direction to match IMS-AGW capabilities, possible configured policies, and the negotiated bw range of the EVS codec used before the access transfer, the IMS-ALG shall supply the bw-recv parameter in the SDP answer it sends.
Otherwise the IMS-ALG shall not include the bw-recv parameter in the SDP answer.
If the IMS-ALG also supplies the br or br-recv parameter, the value of the bw-recv parameter shall be compatible with the values of those parameters.
If the IMS-ALG supplies the bw-send parameter in the SDP answer, it shall also supply it to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value. |
+| cmr
(NOTE 1) | If the cmr parameter is contained in the SDP offer and the IMS-ALG select the EVS payload type for transcoding, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | If the cmr parameter is contained in the SDP offer, the IMS-ALG shall include the cmr parameter with unmodified value in the SDP answer.
Otherwise, if the IMS-AGW desires to disable codec mode requests within the RTP payload of the EVS primary mode (due to the IMS-AGW capabilities, possible configured policies, and the negotiated CMR mode of an EVS codec used before the access transfer), it shall include the cmr parameter with value -1 in the SDP answer it sends
If the IMS-ALG supplies the cmr parameter in the SDP answer, it shall also supply it to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value. |
+| ch-aw-recv
(NOTE 1) | If the ch-aw-recv parameter is contained in the SDP offer the IMS-ALG shall check if the IMS-AGW supports the indicated mode in the send direction. If the indicated mode is not supported, the IMS-ALG shall not select the EVS payload type for transcoding. If the IMS-ALG selects the EVS payload type for transcoding, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | If the IMS-ALG it desires to control the channel-aware mode of EVS in the receive direction, e.g. to disable it with value -1, it shall include the ch-aw-recv parameter in the SDP offer and shall also supply the ch-aw-recv parameter to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value. The IMS-ALG shall consider the capabilities of the IMS-AGW and the negotiated ch-aw-recv mode of an EVS codec used before the access transfer when it chooses an appropriate value. |
+| number of channels
(NOTE 2) | If the "number of channels" parameter is contained in the SDP offer the IMS-ALG shall check if the IMS-AGW supports the indicated number of channels. If the indicated number of channels is not supported, the IMS-ALG shall not select the EVS payload type for transcoding. If the IMS-ALG selects the EVS payload type for transcoding, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | If the "number of channels" parameter is contained in the SDP offer, the IMS-ALG shall include the "number of channels" parameter with unmodified value in the SDP answer and shall also supply it to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value. |
+| ch-send
(NOTE 1) | If the ch-send parameter is contained in the SDP offer the IMS-ALG shall check if the IMS-AGW supports the indicated number of channels in the receive direction. If the indicated number of channels is not supported, the IMS-ALG shall not select the EVS payload type for transcoding. If the IMS-ALG selects the EVS payload type for transcoding, the IMS-ALG shall forward the ch-send parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | If the ch-recv parameter is contained in the SDP offer, the IMS-ALG shall include the ch-send parameter with unmodified value in the SDP answer and shall also supply the ch-send parameter to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value. |
+
+| | | |
+|------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| ch-recv
(NOTE 1) | If the ch-recv parameter is contained in the SDP offer the IMS-ALG shall check if the IMS-AGW supports the indicated number of channels in the send direction. If the indicated number of channels is not supported, the IMS-ALG shall not select the EVS payload type for transcoding. If the IMS-ALG selects the EVS payload type for transcoding, the IMS-ALG shall forward the ch-recv parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | If the ch-send parameter is contained in the SDP offer, the IMS-ALG shall include the ch-recv parameter with unmodified value in the SDP answer and shall also supply the ch-recv parameter to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value. |
+| mode-set
(NOTE 3) | If the mode-set parameter is contained in the SDP offer and the IMS-ALG select the EVS payload type for transcoding, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | If the mode-set parameter is contained in the SDP offer, the IMS-ALG shall include the mode-set parameter with unmodified value in the SDP answer.
Otherwise, if EVS or AMR-WB was used before the access transfer, the IMS-ALG should include the mode-set parameter with a value indicating the mode that was negotiated before the access transfer (or omit it if no restrictions applied before).
If the IMS-ALG supplies the mode-set parameter in the SDP answer, it shall also supply it to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value. |
+| mode-change-period
(NOTE 3) | If the mode-change-period parameter is contained in the SDP offer and the IMS-ALG select the EVS payload type for transcoding, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | If EVS or AMR-WB was used before the access transfer, the IMS-ALG should include the mode-change-period parameter with a value indicating the mode that was negotiated before the access transfer (or omit it if no restrictions applied before).
the IMS-ALG should include the mode-change-period parameter for the EVS payload in the SDP offer it forwards.
If the IMS-ALG supplies the mode-change-period parameter in the SDP answer, it shall also supply it to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value. |
+| mode-change-capability
(NOTE 3) | If the mode-change-capability parameter is contained in the SDP offer and the IMS-ALG select the EVS payload type for transcoding, the IMS-ALG may forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | The IMS-ALG shall either include the mode-change-capability parameter with a value 2 or omit the parameter.
If the IMS-ALG supplies the mode-change-capability parameter in the SDP answer, it may also supply it to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value. |
+| mode-change-neighbor
(NOTE 3) | If the mode-change-neighbor parameter is contained in the SDP offer and the IMS-ALG select the EVS payload type for transcoding, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | If EVS or AMR-WB was used before the access transfer, the IMS-ALG should include the mode-change-neighbor parameter with a value indicating the mode that was negotiated before the access transfer (or omit it if no restrictions applied before).
If the IMS-ALG supplies the mode-change-neighbor parameter in the SDP answer, it shall also supply it to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value. |
+| max-red
(NOTE 5) | If the max-red parameter is contained in the SDP offer and the IMS-ALG select the EVS payload type for transcoding, the IMS-ALG shall forward this parameter to the IMS-AGW for the termination towards the offerer in the remote descriptor. | The IMS-ALG shall only include the max-red parameter in the SDP answer if it desires to restrict the maximum redundancy of received packets.
When selecting the value of the max-red parameter, the IMS-ALG shall consider the capabilities of the IMS-AGW and, If EVS or AMR-WB was used before the access transfer, the redundancy that was negotiated before the access transfer.
If the IMS-ALG supplies the max-red parameter in the SDP answer, it shall also supply it to the IMS-AGW in the local descriptor for the termination towards the offerer with the same value. |
+| 3gpp_mtsi_app_adapt
(NOTE 4) | If the 3gpp_mtsi_app_adapt parameter is contained in the SDP answer, and the IMS-ALG select the EVS payload type for transcoding, the IMS-ALG shall forward this parameter to the | If the IMS-AGW supports RTCP APP based adaptation messages defined in 3GPP TS 26.114 [21], and the IMS-ALG has a policy to negotiate the usage of those messages, |
+
+| | | |
+|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | IMS-AGW the IMS-ALG shall forward this parameter to the IMS-AGW in the remote descriptor. | the IMS-ALG shall include the 3gpp_mtsi_app_adapt SDP attribute indicating the allowed APP messages in the SDP answer. If EVS was used before the access transfer, the IMS-ALG should consider the negotiated RTCP APP packet types the access transfer in addition to the IMS AGW capabilities when selecting the allowed RTCP APP messages. |
+| NOTE 1: This MIME parameter of the EVS RTP payload type is defined in 3GPP TS 26.445 [51]. It is encapsulated within the SDP "a=fmtp" attribute defined IETF RFC 4566 [53].
NOTE 2: This number of channels are encoded as "encoding parameters" of the SDP "a=rtpmap" attribute defined in IETF RFC 4566 [53].
NOTE 3: This MIME parameter of the EVS RTP payload type relates to AMR-WB IO mode and is defined in IETF RFC 4867 [54]. It is encapsulated within the SDP "a=fmtp" attribute defined IETF RFC 4566 [53].
NOTE 4: This SDP attribute is defined in 3GPP TS 26.114 [21]. It applies to all codecs offered in an SDP media line. However, some values are specific to EVS.
NOTE 5: This MIME parameter of the EVS RTP payload type is defined in IETF RFC 4867 [54]. It is encapsulated within the SDP "a=fmtp" attribute defined IETF RFC 4566 [53]. | | |
+
+## 6.2.15 Multimedia Priority Congestion Control Procedures
+
+### 6.2.15.1 General
+
+The IMS-ALG and IMS-AGW may support the priority treatment of a call/session identified as an MPS call/session. This clause describes the Iq signalling procedures and their interactions with SIP signalling in the control plane and with user plane procedures to support the requirements for Multimedia Priority Service. These Iq signalling procedures may or may not apply depending on the network configuration (e.g. whether the IMS-AGW is shared by multiple IMS-ALGs or whether the IMS-ALG controls multiple IMS-AGWs for a given route – Media Gateway Group).
+
+The IMS-ALG can receive a SIP INVITE with MPS priority information (see 3GPP TS 23.228 [2], clause 5.21).
+
+### 6.2.15.2 IMS-AGW Resource Congestion in ADD response, request is queued
+
+If the IMS-ALG requests a resource via the procedure Reserve and Configure AGW Connection Point or Reserve AGW Connection Point and receives an error indicating that the requested resource could not be seized (e.g. H.248 error code #510 "insufficient resources") and the IMS-ALG does not have alternative IMS-AGW through which it can route the call it queues the priority session and gives it priority over any further Reserve and Configure AGW Connection Point or Reserve AGW Connection Point procedures for lower priority sessions towards this IMS-AGW until the requested resource for this queued session is successfully seized. The example sequence is shown in Figure 6.2.15.2.1.
+
+
+
+```
+
+sequenceDiagram
+ participant External
+ participant IMS-ALG
+ participant IMS-AGW
+
+ Note left of IMS-ALG: Reserve AGW connection point
+ External->>IMS-ALG: 1. INVITE [MPS priority indication]
+ IMS-ALG->>IMS-AGW: 2. H.248 ADD Req [C=?, T=?, Laddr=?, Lport=?, Local Resources, priority]
+ IMS-AGW-->>IMS-ALG: 3. H.248 ADD Reject [Error = #510]
+ Note right of IMS-AGW: IMS-AGW is Congested
+ Note left of IMS-ALG: IMS-ALG queues MPS request
+ Note left of IMS-ALG: Reserve AGW connection point
+ IMS-ALG->>IMS-AGW: 5. H.248 ADD Req [C=?, T=?, Laddr=?, Lport=?, Local Resources, priority]
+ IMS-AGW-->>IMS-ALG: 6. H.248 ADD Resp [C=C1, T=T2, Laddr=IP2o, LPort=P2o]
+ Note right of IMS-AGW: IMS-AGW successfully seizes required resources
+
+```
+
+Sequence diagram showing the interaction between IMS-ALG and IMS-AGW for reserving MPS priority call resources. The diagram illustrates a congestion scenario where the first request is rejected, and the second request is successful after queuing.
+
+**Figure 6.2.15.2.1: Request to reserve IMS-AGW MPS Priority call resources when IMS-AGW is congested**
+
+### 6.2.15.3 IMS-AGW Resource Congestion in ADD response, IMS-ALG seizes new IMS-AGW
+
+If the IMS-ALG requests a resource via the procedure Reserve and Configure AGW Connection Point or Reserve AGW Connection Point and receives an error indicating that the requested resources could not be seized (e.g. H.248 error code #510 "insufficient resources") and Media Gateway Groups are implemented it should seize a new IMS-AGW from the same Media Gateway Group before resorting to any queuing of the priority session (as described in 6.2.15.2) to enable the MPS call/session to proceed as early as possible.
+
+### 6.2.15.4 IMS-AGW Priority Resource Allocation
+
+If the IMS-AGW supports the Priority information (e.g. determined through provisioning or package profile) the IMS-ALG requests a resource via the procedure Reserve and Configure AGW Connection Point or Reserve AGW Connection Point and includes the Priority information. The IMS-AGW may then provide priority allocation of resources once a congestion threshold is reached. If the IMS-AGW is completely congested it shall indicate this to the IMS-ALG as described in 6.2.15.2. The example sequence is shown in Figure 6.2.15.4.1.
+
+
+
+The diagram illustrates a sequence of messages between an IMS-ALG and an IMS-AGW. The IMS-ALG sends an INVITE message with an MPS priority indication to the IMS-AGW. The IMS-AGW responds with an H.248 ADD Req message containing parameters: C=?, T=?, Laddr=?, Lport=?, Local Resources, and Priority. The IMS-ALG then sends an H.248 ADD Resp message containing parameters: C=C1, T=T2, Laddr=IP2o, and LPort=P2o. A bracket on the left side of the diagram, labeled 'Reserve AGW Connection point', encompasses the H.248 ADD Req and H.248 ADD Resp messages. On the right side, a note indicates that the IMS-AGW is in a congested state but allocates priority resources to this call.
+
+Sequence diagram for Figure 6.2.15.4.1 showing the request to reserve IMS-AGW MPS Priority call resources when IMS-AGW is congested.
+
+**Figure 6.2.15.4.1: Request to reserve IMS-AGW MPS Priority call resources when IMS-AGW is congested, priority resources are allocated**
+
+## 6.2.15.5 IMS-AGW Priority User Data marking
+
+The IMS-ALG may request the streams associated to an MPS Priority Call to be marked with certain priority code point as described in clause 6.2.7. The IMS-AGW shall then mark each IP packet header accordingly. The example sequence is shown in Figure 6.2.15.5.1.
+
+
+
+The diagram illustrates a sequence of messages between an IMS-ALG and an IMS-AGW. The IMS-ALG sends an INVITE message with an MPS priority indication to the IMS-AGW. The IMS-AGW responds with an H.248 ADD Req message containing parameters: C=?, T=?, Laddr=?, Lport=?, Local Resources, Diffserv Mark = DSCP1, and priority. The IMS-ALG then sends an H.248 ADD Resp message containing parameters: C=C1, T=T2, Laddr=IP2o, and LPort=P2o. A bracket on the left side of the diagram, labeled 'Reserve AGW Connection point', encompasses the H.248 ADD Req and H.248 ADD Resp messages. On the right side, a note indicates that the IMS-AGW is requested to apply DSCP value in the IP header of user data packets.
+
+Sequence diagram for Figure 6.2.15.5.1 showing the request to reserve IMS-AGW call resources and apply DCSP marking for MPS.
+
+**Figure 6.2.15.5.1: Request to reserve IMS-AGW call resources and apply DCSP marking for MPS**
+
+The IMS-AGW may also provide priority allocation for resources requested via a subsequent Configure AGW Connection Point procedure not including Priority information if the related context has been marked with priority information during the Reserve AGW Connection Point or Reserve and Configure AGW Connection Point procedure.
+
+## 6.2.15.6 IMS-AGW Priority Modification
+
+If the IMS-ALG seized an IP termination for a priority call/session with a default priority and subsequently needs to modify the priority information previously communicated to the IMS-AGW (e.g. subject to subsequent authorisation by an authorisation point, see 3GPP TS 24.229 [11] clause 4.11), the IMS-ALG may modify the existing IP termination for the MPS call/session with the actual priority and, if DiffServ is used, provision a suitable DSCP marking for the updated MPS priority level to the IMS-AGW via the Configure AGW Connection Point Procedure.
+
+NOTE: The specific Iq related call sequence which details the handling to support the requirements defined in 3GPP TS 24.229 [11], clause 4.11 and 3GPP TS 23.228 [2], clause 5.21 is not specified, and therefore implementations might exist which fulfil these requirements but do not require modification of the priority information across the Iq interface.
+
+## 6.2.16 Coordination of Video Orientation
+
+Figure 6.2.16.1 shows the message sequence chart example for indicating extended RTP header for Coordination of Video Orientation.
+
+
+
+```
+
+sequenceDiagram
+ participant External
+ participant IMS-ALG
+ participant IMS-AGW
+
+ Note right of IMS-AGW: Reserve AGW Connection Point
+
+ External->>IMS-ALG: INVITE/SDP offer ["a=extmap:URN=CVO"]
+ IMS-ALG->>IMS-AGW: H.248:ADD.req[C=?, T=?, Laddr=?, Lport=?, Local Resources, Extended RTP header(CVO)]
+ IMS-AGW-->>IMS-ALG: H.248:ADD.resp[Termination T2...]
+ Note right of IMS-AGW: Reserve and Configure AGW Connection Point
+
+ IMS-ALG->>External: INVITE/SDP offer ["a=extmap:URN=CVO"]
+ External-->>IMS-ALG: SDP answer ["a=extmap:URN=CVO"]
+ IMS-ALG->>IMS-AGW: H.248:ADD.req[C=C, T=?, Laddr=?, Lport=?, Local Resources, Extended RTP header(CVO)]
+ IMS-AGW-->>IMS-ALG: H.248:ADD.resp[Termination T1...]
+ IMS-ALG-->>External: SDP answer ["a=extmap:URN=CVO"]
+
+```
+
+The sequence diagram illustrates the interaction between an IMS-ALG and an IMS-AGW for video orientation coordination. It starts with an external INVITE/SDP offer to the IMS-ALG. The IMS-ALG sends an H.248:ADD.req message to the IMS-AGW, which reserves an AGW connection point. The IMS-AGW responds with H.248:ADD.resp. The IMS-ALG then sends an INVITE/SDP offer to the external entity, which responds with an SDP answer. Finally, the IMS-ALG sends another H.248:ADD.req to the IMS-AGW, which reserves and configures the AGW connection point and responds with H.248:ADD.resp. The IMS-ALG then sends the final SDP answer to the external entity.
+
+Sequence diagram showing the procedure to indicate RTP extension header for CVO between IMS-ALG and IMS-AGW.
+
+Figure 6.2.16.1: Procedure to indicate RTP extension header for CVO
+
+This procedure is identical to that of clause 6.2.1 apart from the IMS-ALG optionally requesting the IMS-AGW to support the RTP Header Extension capability as defined in IETF RFC 5285 [23].
+
+NOTE: If the IMS-ALG receives an SDP answer, which includes the "a=extmap" attribute with a CVO URN with a granularity that the IMS-AGW has not included in its response, or if the SDP answer does not include any "a=extmap" CVO related attribute, it is not necessary to modify the IMS-AGW settings for this reason alone. Doing that would only add unnecessary signalling without requiring any action or changes in the IMS-AGW. However, if the IMS-ALG needs to modify the media attributes for other purposes, in particular due to transcoding, then the IMS-AGW is updated in accordance with the received SDP answer, that is, either with the received CVO related "a=extmap" attribute if present in the received SDP answer or without it if not included in the received SDP answer (thus removing the requirement for supporting "a=extmap" and for sending the header and CVO bits for the transcoded stream).
+
+## 6.2.17 Procedures for Interactive Connectivity Establishment (ICE)
+
+### 6.2.17.1 ICE lite
+
+Figure 6.2.17.1.1 shows a message sequence chart example for performing the ICE lite procedure towards the offerer.
+
+
+
+```
+
+sequenceDiagram
+ participant External
+ participant IMS-ALG
+ participant IMS-AGW
+
+ Note right of IMS-ALG: INVITE/SDP offer
+["a=candidate rc,
+a=ice-pwd rpw,
+a=ice-ufrag ruf"]
+ IMS-ALG->>IMS-AGW: H.248:ADD.req[C=?, T=?, Local Resources (Laddr=?, Lport=?)]
+ Note right of IMS-AGW: Reserve AGW Connection Point
+ IMS-AGW-->>IMS-ALG: H.248:ADD.resp[C=C1, T=T2]
+ IMS-ALG->>IMS-AGW: INVITE/SDP offer []
+ IMS-ALG-->>IMS-AGW: SDP Answer []
+ IMS-ALG->>IMS-AGW: H.248:MOD.req[C=C1, T=T2]
+ Note right of IMS-AGW: Configure AGW Connection Point
+ IMS-AGW-->>IMS-ALG: H.248:MOD.resp[C=C1, T=T2]
+ IMS-ALG->>IMS-AGW: H.248:ADD.req[C=C1, T=?, STUN server request,
+Local Resources (Laddr=?, Lport=?, ice-pwd=?,
+ice-ufrag=?; candidate host=?),
+Remote Resources (candidate rc, ice-pwd rpw,
+ice-ufrag ruf)]
+ Note right of IMS-AGW: Reserve and Configure AGW Connection Point
+ IMS-AGW-->>IMS-ALG: H.248:ADD.req[C=C1, T=T1,
+Local Resources (Laddr=l1, Lport=p1, ice-
+pwd=lpw, ice-ufrag=luf; candidate=lc, ice-lite)]
+ Note left of IMS-ALG: SDP Answer
+[a=ice-pwd lpw,
+a=ice-ufrag luf,
+a=candidate lc,
+a=ice-lite]
+
+```
+
+The sequence diagram illustrates the ICE lite procedure between an IMS-ALG and an IMS-AGW. The process begins with an INVITE/SDP offer from an external source to the IMS-ALG. The IMS-ALG sends an H.248:ADD.req message to the IMS-AGW to reserve a connection point. The IMS-AGW responds with H.248:ADD.resp. The IMS-ALG then sends an INVITE/SDP offer to the IMS-AGW and receives an SDP Answer. Next, the IMS-ALG sends an H.248:MOD.req to configure the connection point, which the IMS-AGW confirms with H.248:MOD.resp. The IMS-ALG then sends a detailed H.248:ADD.req including STUN server requests and remote resources. The IMS-AGW reserves and configures the connection point and responds with an H.248:ADD.req containing local resources and candidate information. Finally, the IMS-ALG sends an SDP Answer back to the external source.
+
+Sequence diagram for ICE lite procedure between IMS-ALG and IMS-AGW.
+
+Figure 6.2.17.1.1: Procedure for interactive connectivity establishment using ICE lite towards the offerer
+
+### 6.2.17.2 Full ICE
+
+Figure 6.2.17.2.1 shows a message sequence chart example for performing the full ICE procedure towards the offerer.
+
+
+
+```
+
+sequenceDiagram
+ participant Client
+ participant IMS-ALG
+ participant IMS-AGW
+
+ Note left of Client: INVITE/SDP offer
+["a=candidate rc,
+a=ice-pwd rpw,
+a=ice-uf rag ruf"]
+ Client->>IMS-ALG: INVITE/SDP offer
+ IMS-ALG->>IMS-AGW: H.248:ADD.req[C=?, T=?, Local Resources (Laddr=?, Lport=?)]
+ Note right of IMS-AGW: Reserve AGW Connection Point
+ IMS-AGW-->>IMS-ALG: H.248:ADD.resp[C=C1, T=T2]
+ IMS-ALG->>IMS-AGW: INVITE/SDP offer []
+ IMS-AGW-->>IMS-ALG: SDP Answer []
+ IMS-ALG->>IMS-AGW: H.248:MOD.req[C=C1, T=T2]
+ Note right of IMS-AGW: Configure AGW Connection Point
+ IMS-AGW-->>IMS-ALG: H.248:MOD.resp[C=C1, T=T2]
+ IMS-ALG->>IMS-AGW: H.248:ADD.req[C=C1, T=?, STUN server request, ICE connectivity check {Notify connectivity check result, Notify new peer reflexive candidate}, Local Resources (Laddr=?, Lport=?, ice-pwd=?, ice-uf rag=?; candidate host=?), Remote Resources (candidate rc, ice-pwd rpw, ice-uf rag ruf)]
+ IMS-AGW-->>IMS-ALG: H.248:ADD.req[C=C1, T=T1, Local Resources (Laddr=l1, Lport=p1, ice-pwd=lpw, ice-uf rag=luf; candidate=lc)]
+ Note right of IMS-AGW: Reserve and Configure AGW Connection Point
+ IMS-ALG-->>Client: SDP Answer
+[a=ice-pwd lpw,
+a=ice-uf rag luf,
+a=candidate lc,]
+
+```
+
+Sequence diagram for interactive connectivity establishment using full ICE towards the offerer. The diagram shows the interaction between an IMS-ALG and an IMS-AGW. The IMS-ALG receives an INVITE/SDP offer from the left. It sends an H.248:ADD.req to the IMS-AGW to reserve a connection point. The IMS-AGW responds with H.248:ADD.resp. The IMS-ALG then sends an INVITE/SDP offer to the IMS-AGW, which responds with an SDP Answer. The IMS-ALG then sends an H.248:MOD.req to configure the connection point. The IMS-AGW responds with H.248:MOD.resp. The IMS-ALG then sends an H.248:ADD.req with STUN server request and ICE connectivity check details. The IMS-AGW responds with H.248:ADD.req with local and remote resources. The IMS-ALG then sends an SDP Answer to the left.
+
+Figure 6.2.17.2.1: Procedure for interactive connectivity establishment using full ICE towards the offerer
+
+### 6.2.17.3 Connectivity check result notification (full ICE)
+
+Figure 6.2.17.3.1 shows the message sequence chart example for an ICE connectivity check result Event.
+
+
+
+```
+
+sequenceDiagram
+ participant IMS-ALG
+ participant IMS-AGW
+
+ Note right of IMS-AGW: ICE Connectivity Check Result Notification
+ IMS-AGW->>IMS-ALG: H.248:NOTIFY.Req (ICE connectivity check result) [Termination =x, Candidate/Transport pair]
+ IMS-ALG-->>IMS-AGW: H.248:NOTIFY.resp (ICE connectivity check result) [Termination x]
+ IMS-AGW->>IMS-ALG: Context(Cx)
+ IMS-ALG-->>IMS-AGW: Context(Cx)
+
+```
+
+Sequence diagram for reporting ICE connectivity check result. The diagram shows the interaction between an IMS-ALG and an IMS-AGW. The IMS-AGW sends an H.248:NOTIFY.Req (ICE connectivity check result) to the IMS-ALG. The IMS-ALG responds with H.248:NOTIFY.resp (ICE connectivity check result). The IMS-AGW then sends an ICE Connectivity Check Result Notification to the IMS-ALG.
+
+Figure 6.2.17.3.1: Procedure to report ICE connectivity check result
+
+### 6.2.17.4 New peer reflexive candidate notification (full ICE)
+
+Figure 6.2.17.4.1 shows the message sequence chart example for additional connectivity check when new peer reflexive candidate is discovered in full ICE.
+
+
+
+```
+
+sequenceDiagram
+ participant IMS-AGW
+ participant IMS-ALG
+ Note right of IMS-AGW: Additional connectivity check based on new peer reflexive candidate notification
+ IMS-AGW->>IMS-ALG: H.248:NOTIFY.Req (New peer reflexive candidate) [C=Cx, T=Tx, Candidate]
+ IMS-ALG-->>IMS-AGW: H.248:NOTIFY.resp (New peer reflexive candidate) [C=Cx, T=Tx]
+ IMS-ALG->>IMS-AGW: H.248:MODIFY.Req [C=Cx, T=Tx, Additional connectivity check]
+ IMS-AGW-->>IMS-ALG: H.248:MODIFY.resp [C=Cx, T=Tx]
+
+```
+
+Sequence diagram showing the procedure to perform an additional connectivity check upon the report of a new peer reflexive candidate between IMS-ALG and IMS-AGW.
+
+Figure 6.2.17.4.1: Procedure to perform additional connectivity check upon the report of new peer reflexive candidate
+
+## 6.2.17.5 STUN consent freshness test
+
+Figure 6.2.17.5.1 shows a message sequence chart example for requesting the STUN consent freshness test procedure towards the offerer when full ICE is supported by the eIMS-AGW.
+
+
+
+```
+
+sequenceDiagram
+ participant eP-CSCF
+ participant eIMS-AGW
+ Note left of eP-CSCF: INVITE/SDP offer
+["a=candidate rc,
+a=ice-pwd rpw,
+a=ice-uf rag ruf"]
+ eP-CSCF->>eIMS-AGW: H.248:ADD.req[C=?, T=?, Local Resources (Laddr = ?, Lport = ?)]
+ Note right of eIMS-AGW: Reserve AGW Connection Point
+ eIMS-AGW-->>eP-CSCF: H.248:ADD.resp[C=C1, T=T2]
+ Note left of eP-CSCF: INVITE/SDP offer []
+ eP-CSCF->>eP-CSCF: SDP Answer []
+ Note right of eIMS-AGW: Configure AGW Connection Point
+ eP-CSCF->>eIMS-AGW: H.248:MOD.req[C=C1, T=T2]
+ eIMS-AGW-->>eP-CSCF: H.248:MOD.resp[C=C1, T=T2]
+ Note right of eIMS-AGW: STUN consent freshness test
+ eP-CSCF->>eIMS-AGW: H.248:ADD.req[C=C1, T=?, STUN server request, ICE connectivity check {Notify connectivity check result, Notify new peer reflexive candidate}, STUN consent freshness test, Local Resources (Laddr = ?, Lport = ?, ice-pwd=?, ice-uf rag=?; candidate host=?), Remote Resources (candidate rc, ice-pwd rpw, ice-uf rag ruf)]
+ Note right of eIMS-AGW: Reserve and Configure AGW Connection Point
+ eP-CSCF->>eIMS-AGW: H.248:ADD.req[C=C1, T=T1, Local Resources (Laddr = l1, Lport = p1, ice-pwd=lpw, ice-uf rag=luf; candidate=lc)]
+ eIMS-AGW-->>eP-CSCF: SDP Answer [a=ice-pwd lpw, a=ice-uf rag luf, a=candidate lc,]
+
+```
+
+Sequence diagram showing the procedure for STUN consent freshness test towards the offerer between eP-CSCF and eIMS-AGW.
+
+Figure 6.2.17.5.1: Procedure for STUN consent freshness test towards the offerer
+
+## 6.2.17.6 STUN Consent Freshness Test Failure Notification
+
+Figure 6.2.17.6.1 shows the message sequence chart example for an ICE STUN consent freshness test failure Event.
+
+
+
+```
+
+sequenceDiagram
+ participant eIMS-ALG
+ participant eIMS-AGW
+ Note right of eIMS-AGW: STUN Consent Freshness Test Failure Notification
+ eIMS-AGW->>eIMS-ALG: H.248:NOTIFY.Req (STUN consent freshness test failure) [Termination =x, Candidate/Transport pair]
+ Note left of eIMS-ALG: Context(Cx)
+ eIMS-ALG->>eIMS-AGW: H.248:NOTIFY.resp (STUN consent freshness test failure) [Termination x]
+ Note right of eIMS-AGW: Context(Cx)
+
+```
+
+The diagram illustrates the message exchange between an eIMS-ALG and an eIMS-AGW. The eIMS-AGW sends an H.248:NOTIFY.Req message to the eIMS-ALG, indicating a STUN consent freshness test failure. The eIMS-ALG responds with an H.248:NOTIFY.resp message. The eIMS-AGW also sends a STUN Consent Freshness Test Failure Notification. Context(Cx) labels are present on both sides of the exchange.
+
+Sequence diagram showing the procedure to report STUN consent freshness test failure between eIMS-ALG and eIMS-AGW.
+
+Figure 6.2.17.6.1: Procedure to report STUN consent freshness test failure
+
+## 6.2.18 TCP bearer connection control
+
+### 6.2.18.1 General
+
+All message sequence charts in this clause are examples. The H.248 context model is defined in Figure 6.2.1.1.
+
+### 6.2.18.2 Stateless TCP handling
+
+This procedure is identical to that of clause 6.2.1 apart from the IMS-ALG and IMS-AGW applying the requirements specified in clause 5.16.1.
+
+### 6.2.18.3 State-aware TCP handling without support of modifying the TCP setup direction
+
+This procedure is identical to that of clause 6.2.1 apart from the IMS-ALG and IMS-AGW applying the requirements specified in clause 5.16.2.2.
+
+Clause 6.2.10.3.1 provides example call flows for TCP bearer connection establishment without modifying the TCP setup direction.
+
+### 6.2.18.4 State-aware TCP handling with support of modifying the TCP setup direction
+
+This procedure is identical to that of clause 6.2.1 apart from the IMS-ALG and IMS-AGW applying the requirements specified in clause 5.16.2.3.
+
+Figure 6.2.18.4.1 shows an example call flow for a terminating session set-up procedure, where the IMS-ALG receives an incoming SDP offer containing media line for a new MSRP media stream with an "a=setup:active" SDP attribute towards a served UE located behind a remote NAT.
+
+
+
+```
+
+sequenceDiagram
+ participant P-CSCF as P-CSCF (IMS-ALG)
+ participant IMS-AGW as IMS-AGW
+ participant UE-B as UE-B
+
+ Note left of P-CSCF: 1. SDP offer (c=IP1o, m=P1o TCP/MSRP, a=setup:active)
+ P-CSCF->>IMS-AGW: 2. H.248 ADD req (C=?, T=?, m=TCP, a=setup:passive, LAddr=?, LPort=?)
+ Note right of IMS-AGW: 3. Create outgoing termination T1
+ IMS-AGW-->>P-CSCF: 4. H.248 ADD resp (C=C1, T=T1, LAddr=IP2o, LPort=P2o)
+ Note left of P-CSCF: Reserve AGW Connection Point (, Change Through-Connection)
+ P-CSCF->>IMS-AGW: 5. H.248 ADD req (C=C1, T=?, m=TCP, a=setup:passive, LAddr=?, LPort=?, RAddr=IP1o, RPort=P1o)
+ Note right of IMS-AGW: 6. Create incoming termination T2
+ IMS-AGW-->>P-CSCF: 7. H.248 ADD resp (C=C1, T=T2, LAddr=IP2a, LPort=P2a, RAddr=IP1o, RPort=P1o)
+ Note left of P-CSCF: Reserve and Configure AGW Connection Point (, Change Through-Connection)
+ P-CSCF->>P-CSCF: 8. Modify SDP offer
+ P-CSCF->>IMS-AGW: 9. SDP offer (c=IP2o, m=P2o TCP/MSRP, a=setup:actpass)
+ Note right of UE-B: 10. TCP SYN
+ IMS-AGW-->>P-CSCF: 11. SDP answer (c=IP1a, m=P1a TCP/MSRP, a=setup:active)
+ P-CSCF->>IMS-AGW: 12. H.248 MOD req (C=C1, T=T1, RAddr=IP1a, RPort=P1a)
+ Note right of IMS-AGW: 13. Configure outgoing termination T1
+ IMS-AGW-->>P-CSCF: 14. H.248 MOD resp (C=C1, T=T1)
+ Note left of P-CSCF: Configure AGW Connection Point (, Change Through-Connection)
+ P-CSCF-->>IMS-AGW: 10'. TCP SYN
+ P-CSCF->>P-CSCF: 15. Modify SDP answer
+ P-CSCF-->>P-CSCF: 16. SDP answer (c=IP2a, m=P2a TCP/MSRP, a=setup:passive)
+ Note right of IMS-AGW: 17. TCP SYN
+ Note right of UE-B: 18. TCP SYN ACK
+ IMS-AGW-->>IMS-AGW: TCP SYN ACK
+ IMS-AGW-->>IMS-AGW: TCP ACK
+ IMS-AGW-->>IMS-AGW: TCP ACK
+
+```
+
+Sequence diagram showing the terminating example call flow for MSRP between UEs located behind NAT. The diagram involves three main entities: P-CSCF (IMS-ALG), IMS-AGW, and UE-B. The process includes SDP offers, H.248 ADD/MOD requests and responses, and TCP SYN/ACK exchanges. Brackets on the left indicate specific actions: 'Reserve AGW Connection Point (, Change Through-Connection)', 'Reserve and Configure AGW Connection Point (, Change Through-Connection)', and 'Configure AGW Connection Point (, Change Through-Connection)'.
+
+Figure 6.2.18.4.1: Terminating example call flow for MSRP between UEs located behind NAT
+
+The IMS UE B performs an IMS terminating session set-up according to 3GPP TS 23.228 [2], with modifications as described in 3GPP TS 33.328 [12].
+
+The procedure in the above figure is described step-by-step with an emphasis on the additional aspects for IMS-ALG and IMS-AGW of TCP bearer connection control.
+
+1. The P-CSCF (IMS-ALG) receives an SDP offer for an MSRP media stream with an "a=setup:active" attribute. For the MSRP media stream offered with transport "TCP/MSRP", the P-CSCF (IMS-ALG) allocates the required resources, includes the IMS-AGW in the media path and proceeds as specified in this clause.
+- 2.-4. The IMS-ALG uses the "Reserve AGW Connection Point" procedure to request a termination for "TCP" media (for application-agnostic interworking) or "TCP/MSRP" media (for application-aware interworking) towards the access network. The IMS-ALG preconfigures the IMS-AGW to operate in TCP merge mode by providing the "a=setup:passive" attribute.
+- 5.-7. The IMS-ALG uses the "Reserve And Configure AGW Connection Point" procedure to request a termination for "TCP" media (for application-agnostic interworking) or "TCP/ MSRP" media (for application-aware interworking) towards the core network. The IMS-ALG preconfigures the IMS-AGW to operate in TCP Merge mode by providing the "a=setup:passive" attribute.
+8. The P-CSCF (IMS-ALG) changes the "a=setup" SDP attribute to "actpass" in the SDP offer and inserts the address information received from the IMS-AGW.
+9. The P-CSCF (IMS-ALG) forwards the SDP offer.
+10. The UE B chooses to become the active party in the TCP connection establishment and sends a TCP SYN to establish the TCP connection. If the P-CSCF (IMS-ALG) indicated to the IMS-AGW at step 2 that it shall ignore any incoming TCP connection establishment requests (TCP SYN), e.g. to enable a remote source transport address filtering, or if the P-CSCF (IMS-ALG) did not indicate to the IMS-AGW at step 2 that it shall latch onto the required destination address via the source address/port of the incoming media, the IMS-AGW shall drop the TCP SYN received from the UE.
+If the TCP SYN is not answered before a timer expiry, the UE will send the TCP SYN a second time (step 10').
+11. The P-CSCF (IMS-ALG) receives the SDP answer. It contains the SDP answer with an "a=setup:active" attribute.
+- 12.-14. The IMS-ALG uses the "Configure AGW Connection Point" procedure to configure the termination towards the UE B with remote address information.
+15. The P-CSCF (IMS-ALG) modifies the SDP answer before sending it to the core network. The P-CSCF (IMS-ALG) sets the "a=setup:passive" SDP attribute.
+16. The P-CSCF (IMA-ALG) then sends the updated SDP answer to core network.
+17. The IMS-AGW answers the TCP SYN and the remote peer completes the TCP connection establishment.
+18. The IMS-AGW answers the TCP SYN and UE B completes the TCP connection establishment.
+
+## 6.2.19 Application-aware MSRP interworking at the IMS-AGW
+
+This procedure is identical to that of clause 6.2.1 apart from the IMS-ALG:
+
+- indicating "TCP/MSRP" or "TCP/TLS/MSRP" (if e2ae media security is applied) as transport protocol to the IMS-AGW;
+- configuring the IMS-AGW to apply application-aware MSRP interworking; and
+- providing the SDP "a=path" attribute, as received in SIP/SDP signalling, to the IMS-AGW as "MSRP Path" with the remote descriptor of the corresponding call leg.
+
+The IMS-AGW applies application-aware MSRP interworking if being instructed from the IMS-ALG. Support of dynamic instructions from the IMS-ALG is optional.
+
+If the IMS-AGW applies application-aware MSRP interworking, it modifies the MSRP "To-Path" header field in MSRP packets by replacing the IP address and TCP port of the only entry with the corresponding information in the "MSRP
+
+path" provided by the IMS\_ALG while retaining the MSRP session ID part of the entry as received in the MSRP "To-Path" and then forward the MSRP data without further modification.
+
+## 6.2.20 Alternate Connection (ALTC) Addresses Management
+
+Figure 6.2.20.1 shows a message sequence chart example for a terminating session setup with a dual stack UE using the SDP attributes "altc" inserted by the IMS-ALG in the SDP offer to indicate the IP addresses for potential alternative connection addresses.
+
+
+
+The sequence diagram illustrates the interaction between P-CSCF (IMS-ALG), IMS-AGW, and UE-A for terminating session setup. The steps are as follows:
+
+- UE-A sends an SDP offer (c=IP1o P1o) to P-CSCF (IMS-ALG).
+- P-CSCF (IMS-ALG) sends an H.248 ADD req (C=?, T=?, AddrType=IPv6, LAddr=?, LPort=?) to IMS-AGW.
+- IMS-AGW performs "Reserve AGW Connection Point (Change Through-Connection)" and sends a "Create outgoing termination T2" message to P-CSCF (IMS-ALG).
+- P-CSCF (IMS-ALG) receives an H.248 ADD resp (C=C1, T=T2, LAddr=IP2o, LPort=P2o) from IMS-AGW.
+- P-CSCF (IMS-ALG) sends an H.248 ADD req (C=C1, T=?, AddrType=IPv4, LAddr=?, LPort=?) to IMS-AGW.
+- IMS-AGW performs "Reserve AGW Connection Point (Change Through-Connection)" and sends a "Create outgoing termination T3" message to P-CSCF (IMS-ALG).
+- P-CSCF (IMS-ALG) receives an H.248 ADD resp (C=C1, T=T3, LAddr=IP2a, LPort=P2a) from IMS-AGW.
+- P-CSCF (IMS-ALG) sends a "Modify SDP offer" message to IMS-AGW.
+- P-CSCF (IMS-ALG) sends an SDP offer (c=IP2o P2o, a=altc:1 IP6 IP2o P2o, a=altc:2 IP4 IP2a P2a) to UE-A.
+- UE-A sends an SDP answer (c=IP1a P1a) to P-CSCF (IMS-ALG).
+- P-CSCF (IMS-ALG) sends an H.248 MOD req (C=C1, T=T2, RAddr=IP1a, RPort=P1a) to IMS-AGW.
+- IMS-AGW performs "Configure AGW Connection Point (Change Through-Connection)" and sends a "Configure outgoing termination T2" message to P-CSCF (IMS-ALG).
+- P-CSCF (IMS-ALG) receives an H.248 MOD resp (C=C1, T=T2) from IMS-AGW.
+- P-CSCF (IMS-ALG) sends an H.248 ADD req (C=C1, T=?, LAddr=?, LPort=?, RAddr=IP1o, RPort=P1o) to IMS-AGW.
+- IMS-AGW performs "Reserve AGW and Configure Connection Point (Change Through-Connection)" and sends a "Create incoming termination T1" message to P-CSCF (IMS-ALG).
+- P-CSCF (IMS-ALG) receives an H.248 ADD resp (C=C1, T=T1, LAddr=IP2b, LPort=P2b, RAddr=IP1o, RPort=P1o) from IMS-AGW.
+- P-CSCF (IMS-ALG) sends a "Modify SDP answer" message to IMS-AGW.
+- P-CSCF (IMS-ALG) sends an SDP answer (c=IP2b P2b) to UE-A.
+- P-CSCF (IMS-ALG) sends an H.248 SUB req (C=C1, T=T3) to IMS-AGW.
+- IMS-AGW performs "Release AGW Termination" and sends a "Release outgoing termination T3" message to P-CSCF (IMS-ALG).
+- P-CSCF (IMS-ALG) receives an H.248 SUB resp (C=C1, T=T3) from IMS-AGW.
+
+Sequence diagram showing the terminating session setup with insertion of the SDP attribute 'altc' by the IMS-ALG. The diagram involves three main participants: P-CSCF (IMS-ALG), IMS-AGW, and UE-A. The process starts with an SDP offer from UE-A to P-CSCF. P-CSCF then sends H.248 ADD requests to IMS-AGW to reserve connection points and create outgoing terminations T2 and T3. P-CSCF modifies the SDP offer to include 'altc' attributes and sends it to UE-A. UE-A responds with an SDP answer. P-CSCF then sends H.248 MOD requests to IMS-AGW to configure the connection points and create an incoming termination T1. P-CSCF modifies the SDP answer and sends it to UE-A. Finally, P-CSCF sends H.248 SUB requests to IMS-AGW to release the outgoing termination T3.
+
+Figure 6.2.20.1: Terminating session setup with insertion of the SDP attribute "altc" by the IMS-ALG
+
+Upon receipt of a session initiation request, the IMS-ALG shall extract the offerer's destination network address(es) and port number(s) from the SDP offer received from the calling party endpoint. Based on local policies, the IMS-ALG may decide to provide an alternative IP address and to insert then "altc" attributes in the SDP offer sent to the terminating side. The IMS-ALG shall then request the IMS-AGW to allocate transport resources for the terminating side (e.g. terminations T2 for IPv6 and T3 for IPv4) via two Reserve AGW Connection Point procedures, one per address type.
+
+NOTE: The IMS-AGW is "ALTC agnostic" and does not have any awareness about preferred and alternate IP connection resources as described in the in IETF RFC 6947 [59]. Moreover, there is not any context-internal topology between terminations T1, T2 and T3 (via the H.248 topology descriptor) defined: T1 is either implicitly interlinked with T2 or T3 dependent on the used H.248 Stream identifier values. However, such aspects are ignored due to the expected short-term aspects of the temporary context configuration with three terminations.
+
+Based on the responses received from the IMS-AGW, the IMS-ALG shall modify the offerer's destination addresses and/or ports initially contained in the SDP offer, insert the "altc" SDP attributes carrying the preferred and alternate IP addresses and propagate the session establishment toward the terminating party.
+
+On receipt of the SDP answer of the called party endpoint, the IMS-ALG shall pass the IP address, port and address type chosen by the called party endpoint for the session to the IMS-AGW in the Configure AGW Connection Point procedure and shall request the IMS-AGW to allocate transport resources (T1) for the calling party endpoint via the Reserve and Configure AGW Connection Point. Upon receiving the response from the IMS-AGW, the IMS-ALG shall modify the answerer's destination address(es) and/or port(s) contained in the application SDP answer and pass the information to the calling party endpoint. The IMS-ALG shall also request the IMS-AGW to release the transport resources (e.g. termination T3 with IPv4) reserved for the unused address type via the Release AGW Termination procedure.
+
+## 6.2.21 Video Region-of-Interest (ROI)
+
+### 6.2.21.1 Video Region-of-Interest (ROI) using FECC
+
+Figure 6.2.21.1.1 shows the message sequence chart example for indicating Video Region-of-Interest (ROI) using FECC.
+
+
+
+```
+
+sequenceDiagram
+ participant External
+ participant IMS-ALG
+ participant IMS-AGW
+
+ Note right of IMS-AGW: Reserve AGW Connection Point
+
+ External->>IMS-ALG: INVITE with SDP offer
+["m=application port RTP/AVP x" "a=rtpmap:x h224/4800" "a=sendrecv"]
+ IMS-ALG->>IMS-AGW: H.248:ADD.req[C=?, T= ?, Laddr = ?, Lport = ?, Local Resources]
+ IMS-AGW-->>IMS-ALG: H.248:ADD.resp[Termination T2...]
+ IMS-ALG->>IMS-AGW: INVITE with SDP offer
+["m=application port RTP/AVP x" "a=rtpmap:x h224/4800" "a=sendrecv"]
+ IMS-AGW-->>IMS-ALG: SDP answer
+["m=application port RTP/AVP x" "a=rtpmap:x h224/4800" "a=sendrecv"]
+ Note right of IMS-AGW: Reserve and Configure AGW Connection Point
+ IMS-ALG->>IMS-AGW: H.248:ADD.req[C=C, T= ?, Laddr = ?, Lport = ?]
+ IMS-AGW-->>IMS-ALG: H.248:ADD.resp[Termination T1...]
+ IMS-ALG-->>External: SDP answer
+["m=application port RTP/AVP x" "a=rtpmap:x h224/4800" "a=sendrecv"]
+
+```
+
+The sequence diagram illustrates the interaction between an IMS-ALG and an IMS-AGW to indicate a Video ROI using FECC. The process begins with an external INVITE with an SDP offer. The IMS-ALG sends an H.248:ADD.req to the IMS-AGW to reserve an AGW connection point. The IMS-AGW responds with H.248:ADD.resp. The IMS-ALG then sends another INVITE with an SDP offer to the IMS-AGW. The IMS-AGW responds with an SDP answer. The IMS-ALG sends a second H.248:ADD.req to reserve and configure the AGW connection point. The IMS-AGW responds with H.248:ADD.resp. Finally, the IMS-ALG sends an SDP answer back to the external entity.
+
+Sequence diagram showing the procedure to indicate Video ROI using FECC between IMS-ALG and IMS-AGW.
+
+**Figure 6.2.21.1.1: Procedure to indicate Video ROI using FECC**
+
+This procedure is identical to that of clause 6.2.1.
+
+## 6.2.21.2 "Predefined ROI" mode
+
+Figure 6.2.21.2.1 shows the message sequence chart example for indicating Predefined ROI mode.
+
+
+
+```
+
+sequenceDiagram
+ participant External
+ participant IMS-ALG
+ participant IMS-AGW
+
+ Note left of IMS-ALG: INVITE with SDP offer
+["a=rtcp-fb: 3gpp-roi-predefined"
+"a=extmap: URN=Predefined ROI" "a=predefined_ROI"]
+ External->>IMS-ALG: INVITE with SDP offer
+ IMS-ALG->>IMS-AGW: H.248:ADD.req[C=?, T= ?, Laddr = ?, Lport = ?,
+Local Resources, RTCP Feedback(Predefined ROI), Extended RTP header(Predefined ROI)]
+ Note right of IMS-AGW: Reserve AGW Connection Point
+ IMS-AGW-->>IMS-ALG: H.248:ADD.resp[Termination T2...]
+ IMS-ALG->>IMS-AGW: INVITE with SDP offer
+["a=rtcp-fb:3gpp-roi-predefined" "a=extmap:
+URN=Predefined ROI" "a=predefined_ROI"]
+ IMS-AGW-->>IMS-ALG: SDP answer
+["a=rtcp-fb:3gpp-roi-predefined" "a=extmap:
+URN=Predefined ROI" "a=predefined_ROI"]
+ IMS-ALG->>IMS-AGW: H.248:ADD.req[C=C, T= ?, Laddr = ?, Lport = ?,
+Local Resources, RTCP Feedback(Predefined ROI), Extended RTP header(Predefined ROI)]
+ Note right of IMS-AGW: Reserve and Configure AGW Connection Point
+ IMS-AGW-->>IMS-ALG: H.248:ADD.resp[Termination T1...]
+ IMS-ALG-->>External: SDP answer
+["a=rtcp-fb:3gpp-roi-predefined" "a=extmap:
+URN=Predefined ROI" "a=predefined_ROI"]
+
+```
+
+The sequence diagram illustrates the interaction between an IMS-ALG and an IMS-AGW to indicate Predefined ROI mode. The process begins with an external INVITE with SDP offer containing specific ROI-related parameters. The IMS-ALG sends an H.248:ADD.req message to the IMS-AGW, which responds with H.248:ADD.resp. The IMS-ALG then sends another INVITE with SDP offer to the IMS-AGW, which responds with an SDP answer. Finally, the IMS-ALG sends another H.248:ADD.req message to the IMS-AGW, which responds with H.248:ADD.resp, and the IMS-ALG sends the final SDP answer back to the external entity.
+
+Sequence diagram showing the procedure to indicate Predefined ROI mode between IMS-ALG and IMS-AGW.
+
+**Figure 6.2.21.2.1: Procedure to indicate Predefined ROI mode**
+
+This procedure is identical to that of clause 6.2.1 apart from the IMS-ALG optionally requesting the IMS-AGW to support the RTCP feedback message capability for "Predefined ROI" type expressed by the parameter "3gpp-roi-predefined", as described in 3GPP TS 26.114 [21], and the RTP Header Extension capability for carriage of predefined ROI information as defined in IETF RFC 5285 [23] and 3GPP TS 26.114 [21].
+
+### 6.2.21.3 "Arbitrary ROI" mode
+
+Figure 6.2.21.3.1 shows the message sequence chart example for indicating Arbitrary ROI mode.
+
+
+
+```
+
+sequenceDiagram
+ participant External
+ participant IMS-ALG
+ participant IMS-AGW
+
+ Note right of IMS-AGW: Reserve AGW Connection Point
+
+ External->>IMS-ALG: INVITE with SDP offer
+["a=rtcp-fb: 3gpp-roi-arbitrary"
+"a=extmap: URN=Arbitrary ROI"]
+ IMS-ALG->>IMS-AGW: H.248:ADD.req[C=?, T= ?, Laddr = ?, Lport = ?,
+Local Resources, RTCP Feedback(Arbitrary ROI),
+Extended RTP header(Arbitrary ROI)]
+ IMS-AGW-->>IMS-ALG: H.248:ADD.resp[Termination T2...]
+ IMS-ALG->>IMS-AGW: INVITE with SDP offer
+["a=rtcp-fb: 3gpp-roi-arbitrary"
+"a=extmap: URN=Arbitrary ROI"]
+ IMS-AGW-->>IMS-ALG: SDP answer
+["a=rtcp-fb: 3gpp-roi-arbitrary"
+"a=extmap: URN=Arbitrary ROI"]
+ Note right of IMS-AGW: Reserve and Configure AGW Connection Point
+ IMS-ALG->>IMS-AGW: H.248:ADD.req[C=C, T= ?, Laddr = ?, Lport = ?,
+Local Resources, RTCP Feedback(Arbitrary ROI),
+Extended RTP header(Arbitrary ROI)]
+ IMS-AGW-->>IMS-ALG: H.248:ADD.resp[Termination T1...]
+ IMS-ALG-->>External: SDP answer
+["a=rtcp-fb: 3gpp-roi-arbitrary"
+"a=extmap: URN=Arbitrary ROI"]
+
+```
+
+The diagram illustrates the message exchange for indicating Arbitrary ROI mode. It starts with an INVITE with SDP offer from an external source to the IMS-ALG. The IMS-ALG then sends an H.248:ADD.req to the IMS-AGW. The IMS-AGW responds with H.248:ADD.resp. The IMS-ALG then sends another INVITE with SDP offer to the IMS-AGW. The IMS-AGW responds with an SDP answer. The IMS-ALG then sends another H.248:ADD.req to the IMS-AGW. The IMS-AGW responds with H.248:ADD.resp. Finally, the IMS-ALG sends an SDP answer back to the external source. Annotations on the right indicate that the first H.248:ADD.req is for reserving the AGW connection point, and the second H.248:ADD.req is for reserving and configuring the AGW connection point.
+
+Sequence diagram showing the procedure to indicate Arbitrary ROI mode between IMS-ALG and IMS-AGW.
+
+**Figure 6.2.21.3.1: Procedure to indicate Arbitrary ROI mode**
+
+This procedure is identical to that of clause 6.2.1 apart from the IMS-ALG optionally requesting the IMS-AGW to support the RTCP feedback message capability for "Arbitrary ROI" type expressed by the parameter "3gpp-roi-arbitrary", as described in 3GPP TS 26.114 [21], and the RTP Header Extension capability for carriage of arbitrary ROI information as defined in IETF RFC 5285 [23] and 3GPP TS 26.114 [21].
+
+## 6.2.22 WebRTC
+
+### 6.2.22.1 Establishment of a WebRTC data channel
+
+See clause 6.2.10.6.2.
+
+### 6.2.22.2 Release of a WebRTC data channel
+
+The H.248 Context model for a WebRTC call in figure 6.2.10.6.2.1 is assumed. However, the example flow in this clause focuses on the WebRTC data channel part only. Thus, only H.248 Streams S1 (for de-aggregation of multiple data channels) and S2 (for MSRP traffic) are indicated subsequently.
+
+Figure 6.2.22.2.1 shows the message sequence chart example for the WIC originated procedure to release a WebRTC MSRP data channel following the procedures in clause 5.20.2.3.2.
+
+
+
+Figure. 6.2.10.6.2.2: MSRP data channel with SCTP stream ID SCTPstreamID-a established.
+
+```
+
+sequenceDiagram
+ participant WIC-A
+ participant IMS-ALG
+ participant e-IMS-AGW
+
+ Note right of WIC-A: Figure. 6.2.10.6.2.2: MSRP data channel with SCTP stream ID SCTPstreamID-a established.
+
+ WIC-A->>IMS-ALG: 1. SDP offer (c=IP1o, m= application P1o UDP/DTLS/SCTP webrtc-datachannel)
+ IMS-ALG-->>WIC-A: 2. Modify SDP offer
+ IMS-ALG->>e-IMS-AGW: 3. SDP offer (c=IP2o, m= 0 TCP/MSRP)
+ e-IMS-AGW-->>IMS-ALG: 4. SDP answer (c=IP1a, m= 0 TCP/MSRP)
+ IMS-ALG-->>WIC-A: 6. SDP answer (c=IP2a, m=application P2a UDP/DTLS/SCTP webrtc-datachannel)
+ IMS-ALG-->>IMS-ALG: 5. Modify SDP answer
+
+ Note left of IMS-ALG: Configure IMS Resources
+ IMS-ALG->>e-IMS-AGW: 7. H.248 MOD req (C=C1, T=T1, groupse = ["SCTP 2"] Stream=1 ( strdeagg=[2] ) Stream=2 (scpid=SCTPstreamID-a) Signal (sctpreset/initreset(SCTPstreamID-a) ) Events(sctpreset/result) )
+ e-IMS-AGW-->>IMS-ALG: 8. H.248 MOD resp (C=C1, T=T1, )
+
+ WIC-A->>IMS-ALG: 9. SCTP Outgoing SSN Reset Request (SCTPstreamID-a)
+ IMS-ALG-->>WIC-A: 10. SCTP Re-configuration Response
+
+ Note left of IMS-ALG: Notify SCTP Stream Reset Result
+ IMS-ALG->>e-IMS-AGW: 11. H.248 NOTIFY req (C=C1, T=T1, ObservedEvent( sctpreset/result(SCTPstreamID-a) ) )
+ e-IMS-AGW-->>IMS-ALG: 12. H.248 NOTIFY resp (C=C1, T=T1)
+
+ WIC-A->>IMS-ALG: 13. SCTP Outgoing SSN Reset Request (SCTPstreamID-a)
+ IMS-ALG-->>WIC-A: 14. SCTP Re-configuration Response
+
+ Note left of IMS-ALG: Notify SCTP Stream Reset
+ IMS-ALG->>e-IMS-AGW: 15. H.248 NOTIFY req (C=C1, T=T1, ObservedEvent( sctpreset/detreset(SCTPstreamID-a) ) )
+ e-IMS-AGW-->>IMS-ALG: 16. H.248 NOTIFY resp (C=C1, T=T1)
+
+ Note left of IMS-ALG: Configure IMS Resources
+ IMS-ALG->>e-IMS-AGW: 17. H.248 MOD req (C=C1, T=T2, Stream=2 ( Local(). Remote() ) )
+ e-IMS-AGW-->>IMS-ALG: 18. Release Stream Endpoint for Stream 2 on Termination T2
+ e-IMS-AGW-->>IMS-ALG: 19. H.248 MOD resp (C=C1, T=T2)
+
+ Note left of IMS-ALG: Configure IMS Resources
+ IMS-ALG->>e-IMS-AGW: 20. H.248 MOD req (C=C1, T=T1, groupse = ["SCTP 2"] Stream=1 ( strdeagg=[] ) Stream=2 ( Local(). Remote() ) )
+ e-IMS-AGW-->>IMS-ALG: 21. Release Stream Endpoint for Stream 2 on Termination T1
+ e-IMS-AGW-->>IMS-ALG: 22. H.248 MOD resp (C=C1, T=T1)
+
+```
+
+Sequence diagram showing the call flow for the release of a single WebRTC data channel between WIC-A, IMS-ALG, and e-IMS-AGW. The diagram includes 22 steps involving SDP offers/answers, H.248 MOD/NOTIFY messages, and SCTP reset requests. Brackets on the left indicate logical groupings: 'Configure IMS Resources', 'Notify SCTP Stream Reset Result', 'Notify SCTP Stream Reset', and 'Configure IMS Resources'.
+
+Figure 6.2.22.2.1: Call flow for the Release of a single WebRTC data channel
+
+NOTE: Steps 9, 10, 13 and 14: A data channel is constituted by a pair of unidirectional SCTP Streams (with the same SCTP Stream identifier value in above flow). The SCTP Outgoing SSN Reset Request procedure does reset a single SCTP Stream only (due to the configuration in this example), hence the procedure will be executed twice (towards and from remote WIC).
+
+### 6.2.22.3 Media Plane Optimization
+
+#### 6.2.22.3.1 Media Plane Optimization including DTLS layer for WIC originating call
+
+The H.248 Context model for a WebRTC call in figure 6.2.10.6.2.1 is assumed. However, the example flow in this clause focuses on the WebRTC data channel part only. Thus, only H.248 Streams S1 (for de-aggregation of multiple data channels) and S2 (for MSRP traffic) are indicated subsequently.
+
+Figure 6.2.22.3.1.1 shows the message sequence chart example for the WIC originated procedure to establish a WebRTC data channel with media plane optimization following the procedures in clause 5.20.3.2.
+
+
+
+**WIC-A**
+
+1. SDP offer [c=IP1o, m= application P1o UDP/DTLS/SCTP webrtc-datachannel, a=max-message-size:UE-Sa, a=sctp-port:UE-Pa, a=setup:actpass, a=tls-id:wicx, a=fingerprint:UE-a, a=connection:new, a=dcmmap:SCTPstreamID-a subprotocol=MSRP, a=dcsa:SCTPstreamID-a msrp-cema, a=dcsa:SCTPstreamID-a setup=actpass, a=dcsa:SCTPstreamID-a path:path-a]
+
+Reserve AGW Connection Point
+
+**IMS-ALG**
+
+2. H.248 ADD req [C=?, T=?, Stream=2 {Local (LAddr=?, LPort=?, m=TCP)}]
+
+**e-IMS-AGW**
+
+3. Create outgoing termination T2
+
+4. H.248 ADD resp [C=C1, T=T2, Stream=2 { Local (LAddr=IP2o, LPort=P2o)}]
+
+5. Modify SDP offer
+
+6. SDP offer [c=IP2o, a=tra-contact=IP2o, a=tra-media-line-number=x, m=P2o TCP/MSRP, a=setup:actpass, a=msrp-cema, a=path:path-a, a=tra-SCTP-association=1, a=tra-m-line= application P2o UDP/DTLS/SCTP webrtc-datachannel, a=tra-att=max-message-size:UE-Sa, a=tra-att=sctp-port:UE-Pa, a=tra-att=setup:actpass, a=tra-att=connection:new, a=tra-att=tls-id:wicx, a=tra-att=fingerprint:UE-a, a=tra-att=dcmmap:SCTPstreamID-a subprotocol=MSRP, a=tra-att=dcsa:SCTPstreamID-a msrp-cema, a=tra-att=dcsa:SCTPstreamID-a setup=actpass, a=tra-att=dcsa:SCTPstreamID-a path:path-a]
+
+7. SDP answer [c=IP1a, m=P1a TCP/MSRP, a=tra-SCTP-association=1, a=tra-m-line=application P1a UDP/DTLS/SCTP webrtc-datachannel, a=tra-att=max-message-size:RSa, a=tra-att=sctp-port:RPa, a=tra-att=setup:active, a=tra-att=connection:new, a=tra-att=tls-id:Rid, a=tra-att=fingerprint:R-a, a=tra-att=dcmmap:SCTPstreamID-a subprotocol=MSRP, a=tra-att=dcsa:SCTPstreamID-a msrp-cema, a=tra-att=dcsa:SCTPstreamID-a setup:active, a=tra-att=dcsa:SCTPstreamID-a path:path-b]
+
+Configure AGW Connection Point
+
+8. H.248 MOD req [C=C1, T=T2, Stream=2 { Remote (RAddr=IP1a, RPort=P1a) Local (m=UDP)}]
+
+9. Configure outgoing termination T2
+
+10. H.248 MOD resp [C=C1, T=T2]
+
+11. H.248 ADD req [C=C1, T=?, Stream=2 { Remote (RAddr=IP1o, RPort=P1o, m=UDP), Local (LAddr=?, LPort=?, m=UDP)}]
+
+Reserve and Configure AGW Connection Point
+
+12. Create incoming termination T1
+
+13. H.248 ADD resp [C=C1, T=T1, Stream=2 { Local (LAddr=IP2a, LPort=P2a, m=UDP)}]
+
+14. Modify SDP answer
+
+15. SDP answer [c=IP2a, m=application P2a UDP/DTLS/SCTP webrtc-datachannel, a=max-message-size:RSa, a=sctp-port:RPa, a=setup:active, a=connection:new, a=tls-id:Rid, a=fingerprint:R-a, a=dcmmap:SCTPstreamID-a subprotocol=MSRP, a=dcsa:SCTPstreamID-a msrp-cema, a=dcsa:SCTPstreamID-a setup:active, a=dcsa:SCTPstreamID-a path:path-b]
+
+16. DTLS ClientHello
+
+17. Remaining messages of DTLS handshake
+
+18. SCTP association establishment
+
+Sequence diagram showing the WIC originated procedure for WebRTC data channel establishment with media plane optimization including DTLS layer. The diagram involves three main entities: WIC-A, IMS-ALG, and e-IMS-AGW. The process includes SDP offers/answers, H.248 ADD/MOD requests/responses, and DTLS handshake messages. Annotations on the left indicate actions like 'Reserve AGW Connection Point', 'Configure AGW Connection Point', and 'Reserve and Configure AGW Connection Point'.
+
+NOTE: Message 16 (DTLS ClientHello) can be received by the eIMS-AGW from the remote peer before the eIMS-AGW is configured to pass it (in steps 8.-13.) and will then be dropped by the eIMS-AGW. However, the remote peer will then resend message 16 after a timeout while waiting for a response.
+
+Figure 6.2.22.3.1.1: WIC originated procedure for WebRTC data channel establishment with media plane optimization including DTLS layer
+
+### 6.2.22.3.2 Media Plane Optimization excluding DTLS layer for WIC originating call
+
+The H.248 Context model for a WebRTC call in figure 6.2.10.6.2.1 is assumed. However, the example flow in this clause focuses on the WebRTC data channel part only. Thus, only H.248 Streams S1 (for de-aggregation of multiple data channels) and S2 (for MSRP traffic) are indicated subsequently. Furthermore, there is an additional termination T3 towards the IMS core network to handle DTLS.
+
+Figure 6.2.22.3.2.1 shows the message sequence chart example for the WIC originated procedure to establish a WebRTC data channel with media plane optimization following the procedures in clause 5.20.3.2.
+
+
+
+**Sequence of Messages:**
+
+- WIC-A sends an SDP offer to IMS-ALG.
+- IMS-ALG sends an H.248 ADD req to e-IMS-AGW.
+- e-IMS-AGW creates an outgoing termination T2.
+- e-IMS-AGW sends an H.248 ADD resp to IMS-ALG.
+- IMS-ALG sends another H.248 ADD req to e-IMS-AGW.
+- e-IMS-AGW creates an outgoing termination T3.
+- e-IMS-AGW sends an H.248 ADD resp to IMS-ALG.
+- IMS-ALG sends a Modify SDP offer to WIC-A.
+- IMS-ALG sends an SDP offer to e-IMS-AGW.
+- e-IMS-AGW sends an SDP answer to IMS-ALG.
+- IMS-ALG sends an H.248 MOD req to e-IMS-AGW.
+- e-IMS-AGW configures the outgoing termination T3.
+- e-IMS-AGW sends an H.248 MOD resp to IMS-ALG.
+- IMS-ALG sends an H.248 SUB req to e-IMS-AGW.
+- e-IMS-AGW removes the outgoing termination T2.
+- e-IMS-AGW sends an H.248 SUB resp to IMS-ALG.
+- IMS-ALG sends an H.248 ADD req to e-IMS-AGW.
+- e-IMS-AGW creates an incoming termination T1.
+- e-IMS-AGW sends an H.248 ADD resp to IMS-ALG.
+- IMS-ALG sends a Modify SDP answer to WIC-A.
+- e-IMS-AGW sends a DTLS ClientHello to WIC-A.
+- WIC-A sends a DTLS ClientHello to e-IMS-AGW.
+- WIC-A and e-IMS-AGW exchange remaining messages of the DTLS handshake.
+- WIC-A and e-IMS-AGW perform SCTP association establishment.
+
+**Annotations:**
+
+- Reserve AGW Connection Point:** Associated with steps 2-4 and 5-7.
+- Configure AGW Connection Point:** Associated with steps 11-13.
+- Release AGW Connection Point:** Associated with steps 14-16.
+- Reserve and Configure AGW Connection Point:** Associated with steps 17-19.
+
+Sequence diagram showing the WIC originated procedure for WebRTC data channel establishment with media plane optimization excluding DTLS layer. The diagram involves three main entities: WIC-A, IMS-ALG, and e-IMS-AGW. The process includes SDP offers/answers, H.248 ADD/SUB/MOD requests, and internal termination creation steps. Brackets on the left indicate actions like 'Reserve AGW Connection Point', 'Configure AGW Connection Point', 'Release AGW Connection Point', and 'Reserve and Configure AGW Connection Point'. The final steps involve DTLS ClientHello and SCTP association establishment between the UE and the GW.
+
+Figure 6.2.22.3.2.1: WIC originated procedure for WebRTC data channel establishment with media plane optimization excluding DTLS layer
+
+## 6.2.23 RTP-level pause and resume
+
+Figure 6.2.23.1 shows the message sequence chart example for indicating RTP-level pause and resume.
+
+
+
+```
+
+sequenceDiagram
+ participant External
+ participant IMS-ALG
+ participant IMS-AGW
+
+ Note right of External: INVITE with SDP offer
+["m=video port RTP/AVPF x"
+"a=rtpmap:x ..." "a=rtcp-fb:*
+ccm pause"]
+
+ External->>IMS-ALG: INVITE with SDP offer
+ IMS-ALG->>IMS-AGW: H.248:ADD.req[C=?, T=?, Laddr=?, Lport=?,
+Local Resources]
+ Note right of IMS-AGW: Reserve AGW
+Connection Point
+ IMS-AGW-->>IMS-ALG: H.248:ADD.resp[C=C1,T=T2, ...]
+ IMS-ALG->>IMS-AGW: INVITE with SDP offer
+["m=video port RTP/AVPF x"
+"a=rtpmap:x ..." "a=rtcp-fb:* ccm pause"]
+ IMS-AGW-->>IMS-ALG: SIP message with SDP answer
+["m=video port RTP/AVPF x"
+"a=rtpmap:x ..." "a=rtcp-fb:* ccm pause"]
+ IMS-ALG->>IMS-AGW: H.248:MOD.req[C=C1, T=T2, LD(CCM pause-
+resume{a=rtcp-fb:* ccm pause}) RD(Raddr = ra2,
+Rport = rp2 CCM pause-resume{a=rtcp-fb:* ccm
+pause})]
+ Note right of IMS-AGW: Configure AGW
+Connection Point
+ IMS-AGW-->>IMS-ALG: H.248:MOD.resp[C=C1, T=T2]
+ IMS-ALG->>IMS-AGW: H.248:ADD.req[C=C1, T=?, LD(Laddr=?, Lport=
+? CCM pause-resume{a=rtcp-fb:* ccm pause})
+RD(Raddr = ra1, Rport = rp1 CCM pause-
+resume{a=rtcp-fb:* ccm pause})]
+ Note right of IMS-AGW: Reserve and
+Configure AGW
+Connection Point
+ IMS-AGW-->>IMS-ALG: H.248:ADD.resp[C=C1, T=T1, ...]
+ IMS-ALG-->>External: SIP message with SDP answer
+["m=video port RTP/AVPF x"
+"a=rtpmap:x ..." "a=rtcp-fb:*
+ccm pause"]
+
+```
+
+The sequence diagram illustrates the interaction between an IMS-ALG and an IMS-AGW for RTP-level pause and resume. It begins with an external INVITE with an SDP offer containing "ccm pause". The IMS-ALG sends an H.248:ADD.req to the IMS-AGW to reserve a connection point. The IMS-AGW responds with H.248:ADD.resp. The IMS-ALG then forwards the INVITE to the IMS-AGW, which returns a SIP answer. Next, the IMS-ALG sends an H.248:MOD.req to configure the connection point with pause-resume capabilities. The IMS-AGW responds with H.248:MOD.resp. Finally, the IMS-ALG sends another H.248:ADD.req to reserve and configure another connection point, receiving H.248:ADD.resp in return, and then forwards the SIP answer to the external party.
+
+Sequence diagram showing the procedure to indicate RTP-level pause and resume between an IMS-ALG and an IMS-AGW.
+
+Figure 6.2.23.1: Procedure to indicate RTP-level pause and resume
+
+This procedure is identical to that of clause 6.2.1 apart from the IMS-ALG optionally requesting the IMS-AGW to transparently forward the RTCP "CCM PAUSE" packets (as defined in IETF RFC 7728 [79]) between incoming and outgoing network.
+
+## 6.2.24 RTCP Codec Control Commands and Indications
+
+Figure 6.2.24.1 shows the message sequence chart example for indicating "RTCP Codec Control Commands and Indications".
+
+
+
+```
+
+sequenceDiagram
+ participant External
+ participant IMS-ALG
+ participant IMS-AGW
+
+ Note left of IMS-ALG: INVITE with SDP offer
+["m=video port RTP/AVPF x"
+"a=rtpmap:x ... "a=rtcp-fb:*
+ccm fir" "a=rtcp-fb:* ccm
+tmmbr"]
+ External->>IMS-ALG: INVITE with SDP offer
+ IMS-ALG->>IMS-AGW: H.248:ADD.req[C=?, T= ?, Laddr = ?, Lport = ?,
+Local Resources]
+ Note right of IMS-AGW: Reserve AGW
+Connection Point
+ IMS-AGW-->>IMS-ALG: H.248:ADD.resp[C=C1,T=T2, ...]
+ Note left of IMS-ALG: INVITE with SDP offer
+["m=video port RTP/AVPF x" "a=rtpmap:x
+..." "a=rtcp-fb:* ccm fir" "a=rtcp-fb:* ccm
+tmmbr"]
+ IMS-ALG->>External: INVITE with SDP offer
+ Note left of IMS-ALG: SIP message with SDP answer
+["m=video port RTP/AVPF x" "a=rtpmap:x
+..." "a=rtcp-fb:* ccm fir" "a=rtcp-fb:* ccm
+fir" "a=rtcp-fb:* ccm tmmbr"]
+ External-->>IMS-ALG: SIP message with SDP answer
+ IMS-ALG->>IMS-AGW: H.248:MOD.req[C=C1, T=T2, LD( CCM
+BASE{a=rtcp-fb:* ccm fir, a=rtcp-fb:* ccm tmmbr})
+RD(Raddr = ra2, Rport = rp2 CCM BASE{a=rtcp-
+fb:* ccm fir, a=rtcp-fb:* ccm tmmbr} )]
+ Note right of IMS-AGW: Configure AGW
+Connection Point
+ IMS-AGW-->>IMS-ALG: H.248:MOD.resp[C=C1, T=T2]
+ Note left of IMS-ALG: H.248:ADD.req[C=C1, T= ?, LD(Laddr = ?, Lport
+= ? CCM BASE{a=rtcp-fb:* ccm fir, a=rtcp-fb:*
+ccm tmmbr}) RD(Raddr = ra1, Rport = rp1 CCM
+BASE{a=rtcp-fb:* ccm fir, a=rtcp-fb:* ccm
+tmmbr})]
+ IMS-ALG->>IMS-AGW: H.248:ADD.req
+ Note right of IMS-AGW: Reserve and
+Configure AGW
+Connection Point
+ IMS-AGW-->>IMS-ALG: H.248:ADD.resp[C=C1, T=T1, ...]
+ Note left of IMS-ALG: SIP message with SDP answer
+["m=video port RTP/AVPF x"
+"a=rtpmap:x ... "a=rtcp-fb:*
+ccm fir" "a=rtcp-fb:* ccm
+tmmbr"]
+ IMS-ALG-->>External: SIP message with SDP answer
+
+```
+
+Sequence diagram showing the procedure to indicate RTCP Codec Control Commands and Indications between IMS-ALG and IMS-AGW.
+
+Figure 6.2.24.1: Procedure to indicate RTCP Codec Control Commands and Indications
+
+This procedure is identical to that of clause 6.2.1 apart from the IMS-ALG optionally indicates that the IMS-AGW shall be prepared to receive and is allowed to send the RTCP CCM "FIR" and/or "TMMBR/TMMBN" feedback messages (as defined in IETF RFC 5104 [78]).
+
+## 6.2.25 Delay Budget Information (DBI)
+
+Figure 6.2.25.1 shows a message sequence chart example for indicating DBI.
+
+
+
+```
+
+sequenceDiagram
+ participant Ext_L as External (Left)
+ participant IMS-ALG
+ participant IMS-AGW
+ participant Ext_R as External (Right)
+
+ Ext_L->>IMS-ALG: INVITE with SDP offer
+["m=audio port RTP/AVPF x"
+"a=rtpmap:x ..." "a=rtcp-fb:*
+3gpp-delay-budget"]
+ IMS-ALG->>IMS-AGW: H.248:ADD.req[C=?, T= ?, Laddr = ?, Lport = ?,
+Local Resources]
+ Note right of IMS-AGW: Reserve AGW
+Connection Point
+ IMS-AGW-->>IMS-ALG: H.248:ADD.resp[C=C1,T=T2, ...]
+ IMS-ALG->>Ext_R: INVITE with SDP offer
+["m=audio port RTP/AVPF x" "a=rtpmap:x
+..." "a=rtcp-fb:* 3gpp-delay-budget"]
+ Ext_R-->>IMS-ALG: SIP message with SDP answer
+["m=audio port RTP/AVPF x" "a=rtpmap:x
+..." "a=rtcp-fb:* 3gpp-delay-budget"]
+ IMS-ALG->>IMS-AGW: H.248:MOD.req[C=C1, T=T2, LD(DBI{a=rtcp-fb:*
+3gpp-delay-budget}) RD(Raddr = ra2, Rport = rp2
+DBI{a=rtcp-fb:* 3gpp-delay-budget})]
+ Note right of IMS-AGW: Configure AGW
+Connection Point
+ IMS-AGW-->>IMS-ALG: H.248:MOD.resp[C=C1, T=T2]
+ IMS-ALG->>IMS-AGW: H.248:ADD.req[C=C1, T= ?, LD(Laddr = ?, Lport =
+? DBI{a=rtcp-fb:* 3gpp-delay-budget}) RD(Raddr =
+ra1, Rport = rp1 DBI{a=rtcp-fb:* 3gpp-delay-
+budget})]
+ Note right of IMS-AGW: Reserve and
+Configure AGW
+Connection Point
+ IMS-AGW-->>IMS-ALG: H.248:ADD.resp[C=C1, T=T1, ...]
+ IMS-ALG-->>Ext_L: SIP message with SDP answer
+["m=audio port RTP/AVPF x"
+"a=rtpmap:x ..." "a=rtcp-fb:*
+3gpp-delay-budget"]
+
+```
+
+Sequence diagram showing the procedure to indicate DBI between IMS-ALG and IMS-AGW.
+
+**Figure 6.2.25.1: Procedure to indicate DBI**
+
+This procedure is identical to that of clause 6.2.1 apart from the IMS-ALG optionally requesting the IMS-AGW to transparently forward the RTCP feedback DBI packets (as defined in 3GPP TS 26.114 [21]) between incoming and outgoing network.
+
+# 7 Charging
+
+The charging is specified in 3GPP TS 32.260 [5]. No requirements are identified for the Iq interface.
+
+---
+
+## 8 Messages/Procedures and Contents
+
+### 8.1 General
+
+This clause describes logical signalling procedures between the IMS-ALG and IMS-AGW. The procedures within this clause are intended to be implemented using the standard H.248 procedure as defined in ITU recommendation H.248.1 [9] with appropriate parameter combinations.
+
+NOTE: Whenever the stage 2 description is referring to a "(stage 2) information element", then there is the premise of a one-to-one mapping to a stage 3 signalling element.
+
+## 8.2 Reserve and Configure AGW Connection Point
+
+This procedure is used to reserve multimedia-processing resources for the Iq interface connection.
+
+**Table 8.2.1: Procedures between IMS-ALG and IMS-AGW: Reserve and Configure AGW Connection Point**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|--------------------------------------------|-----------|----------------------------------|------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Reserve and Configure AGW Connection Point | IMS-ALG | Context/Context Request | M | This information element indicates the existing context or requests a new context for the bearer termination. |
+| | | Emergency Call Indicator | O | This information element identifies the call as emergency call that requires a preferential handling. |
+| | | Priority information | O | This information element requests the IMS-AGW to apply priority treatment for the terminations and bearer connections in the specified context. |
+| | | Bearer Termination Request | M | This information element indicates the existing bearer termination or requests a new bearer termination for the bearer to be established. |
+| | | Local IP Resources | O | This information element indicates the resource(s) for which the IMS-AGW shall be prepared to receive user data. May be excluded (i.e. "-" is used in SDP m-line) if no transcoding or media related functions are required.
For terminations supporting any combination of video, audio and messaging this IE shall contain separate resources per stream. |
+| | | ReserveValue | O | This information element indicates if multiple local resources are to be reserved.
This information element shall be included if a speech codec and auxiliary payload types are configured. |
+| | | Remote IP Resources | O | This information element indicates the resource(s) for which the IMS-AGW shall send data.
For terminations supporting any combination of video, audio and messaging this IE shall contain separate resources per stream.
May be excluded (i.e. "-" is used in SDP m-line) if no transcoding or media related functions are required. |
+| | | Local Connection Address Request | M | This information element requests an IP address and port number(s) on the IMS-AGW that the remote end can send user plane data to.
For terminations supporting any combination of video, audio and messaging this may contain multiple addresses. |
+
+| | | |
+|-------------------------------------|---|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Remote Connection Address | M | This information element indicates the remote IP address and port number(s) that the IMS-AGW can send user plane data to.
For terminations supporting any combination of video, audio and messaging this may contain multiple addresses. |
+| Notify termination heartbeat | M | This information element requests termination heartbeat indications. This information element shall be included when requesting a new bearer termination. Otherwise the information element is optional. |
+| Notify Released Bearer | O | This information element requests a notification of a released bearer. |
+| Latching Requirement | O | This information element indicates that the IMS-AGW should (re)latch onto the address of received media packets to determine the corresponding destination address. |
+| IP Realm Identifier | O | This information element indicates the IP realm of the bearer termination. |
+| Remote Source Address Filtering | O | This information element indicates that remote source address filtering is required. |
+| Remote Source Address Mask | C | This information element provides information on the valid remote source addresses. This is required if a range of remote source address filtering is required. |
+| Remote Source Port Filtering | O | This information element indicates that remote source port filtering is required. |
+| Remote Source Port | C | This information element identifies the valid remote source port. This may be included if remote source port filtering is included. (NOTE 1) |
+| Remote Source Port Range | C | This information element identifies a range of valid remote source ports. This may be included if remote source port filtering is included. (NOTE 1) |
+| Traffic Policing Required | O | This information element indicates that policing of the media flow is required. |
+| Peak Data Rate | O | This information element may be present if Policing is required and specifies the permissible peak data rate for a media stream. (NOTE 2).. |
+| Sustainable Data Rate | O | This information element may be present if Policing is required and specifies the permissible sustainable data rate for a media stream. (NOTE 2). |
+| Delay Variation Tolerance | O | This information element may be present if Policing on Peak Data Rate is required and specifies the maximum expected delay variation tolerance for the corresponding media stream. |
+| Maximum Burst Size | C | This information element shall be present if Policing on Sustainable Data Rate is required and specifies the maximum expected burst size for the corresponding media stream. |
+| DiffServ Code Point | O | This information element indicates a specific DiffServ code point to be used in the IP header in packets sent on the bearer termination. |
+| DiffServ Tagging Behaviour | O | This information element indicates whether the Diffserv code point in the IP header in packets sent on the bearer termination shall be copied from the received value or set to a specific value. |
+| Media Inactivity Detection Required | O | This information element indicates that detection of inactive media flows is required. |
+
+| | | | |
+|--|--------------------------------------|---|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | Media Inactivity Detection Time | C | This information element may be present if Inactive Media Detection is required and specifies the Inactivity Detection time. |
+| | Media Inactivity Detection Direction | C | This information element may be present if Inactive Media Detection is required and specifies the Inactivity Detection direction. |
+| | RTCP handling | O | This information element is present if IMS-ALG wants to explicitly control the reservation of RTCP resources (NOTE 4). |
+| | RTP/RTCP transport multiplexing | C | This information element requests the IMS-AGW to apply the RTP/RTCP transport multiplexing. This information element may only be present if RTCP handling is required. |
+| | Explicit RTCP transport address | C | This information element indicates the remote RTCP port and optionally the remote network address where to send RTCP packets. This information element may only be present if RTCP handling is required. |
+| | Local cryptographic SDES attribute | C | This information element is present if IMS-ALG wants that the media is encrypted and/or integrity protected by the IMS-AGW (NOTE 3). It indicates the SDES local cryptographic parameters such as key(s) |
+| | Remote cryptographic SDES attribute | C | This information element is present if IMS-ALG wants that the media is decrypted, and/or integrity checked by the IMS-AGW (NOTE 3). It indicates the SDES remote cryptographic parameters such as key(s) |
+| | ECN Enable | O | This information element requests the IMS-AGW to apply ECN procedures. |
+| | ECN Initiation Method | C | This information element specifies the ECN Initiation method and requests the IMS-AGW to perform IP header settings as an ECN endpoint, or indicates that ECN bits shall be passed transparently. It may be included only if ECN is enabled. |
+| | Notify ECN Failure Event | C | This information element requests a notification if a ECN failure occurs due to ECN. It may only be supplied if ECN is enabled and the IMS-AGW acts as ECN endpoint. |
+| | Extended RTP Header for CVO | O | This information element requests the IMS-AGW to pass on the CVO extended RTP header as defined by IETF RFC 5285 [23]. |
+| | Extended RTP Header for Sent ROI | O | This information element requests the IMS-AGW to pass on the ROI extended RTP header for carriage of predefined and/or arbitrary ROI information as defined by IETF RFC 5285 [23] and 3GPP TS 26.114 [21]. |
+| | Predefined ROI | O | This information element requests the IMS-AGW to support the RTCP feedback message capability for "Predefined ROI" type expressed by the parameter "3gpp-roi-predefined", as described in 3GPP TS 26.114 [21]. |
+| | Arbitrary ROI | O | This information element requests the IMS-AGW to support the RTCP feedback message capability for "Arbitrary ROI" type expressed by the parameter "3gpp-roi-arbitrary", as described in 3GPP TS 26.114 [21]. |
+| | Generic Image Attributes | O | This information element indicates image attributes (e.g. image size) as defined by IETF RFC 6236 [24]. |
+
+| | | |
+|------------------------------------------------------------------|---|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Local certificate fingerprint Request | O | This information element is present if the IMS-ALG wants that the media is decrypted, and/or integrity protected by the IMS-AGW (NOTE 3). It requests the IMS-AGW to provide a local certificate fingerprint. |
+| Remote certificate fingerprint | O | This information element is present if the IMS-ALG wants that the media is decrypted, and/or integrity checked by the IMS-AGW (NOTE 3). It indicates the remote certificate fingerprint. |
+| Establish (D)TLS session | O | This information element requests the IMS-AGW to take the (D)TLS client role and to initiate the establishment of the (D)TLS session. (NOTE 3) |
+| Notify (D)TLS session establishment Failure Event | O | This information element requests a notification if a (D)TLS session establishment failure occurs. (NOTE 3) |
+| TCP State-aware Handling Indicator and Setup Direction | C | This information element indicates that TCP state-aware handling is required and indicates the TCP setup direction. It may only be included if the IMS-AGW supports TCP state-aware handling. |
+| Discard Incoming TCP Connection Establishment Requests Indicator | C | This information element indicates whether incoming TCP connection establishment requests (TCP SYN) shall be discarded. It may only be included if the IMS-AGW supports TCP state-aware handling and discarding incoming TCP connection establishment requests. |
+| Forward Incoming TCP Connection Establishment Requests Indicator | C | This information element indicates for a given termination to use the incoming TCP connection establishment request (TCP SYN) at that termination as a trigger for sending a TCP connection establishment request at the interconnected termination in the same context. It may only be included if the IMS-AGW supports TCP state-aware handling and the Forward Incoming TCP Connection Establishment Requests Indicator. |
+| Notify TCP Connection Establishment Failure Event | C | This information element requests a notification if a TCP connection establishment failure occurs. It may only be included if the IMS-AGW supports TCP state-aware handling. |
+| STUN server request | O | This information element is present if IMS-ALG requests the IMS-AGW to answer STUN connectivity checks for ICE. |
+| ICE Connectivity Check | C | This information element requests the IMS-AGW to perform ICE connectivity check as defined by IETF RFC 5245 [39]. It is only applicable for full ICE. |
+| Notify ICE Connectivity Check Result | C | This information element requests a notification of ICE connectivity check result. It is only applicable for full ICE. |
+| Notify New Peer Reflexive Candidate | C | This information element requests a notification of new peer reflexive candidate was discovered during a connectivity check. It is only applicable for full ICE. |
+| ICE password request | O | This information element is present if IMS-ALG requests an ICE password. |
+| ICE Ufrag request | O | This information element is present if IMS-ALG requests an ICE ufrag. |
+| ICE host candidate request | O | This information element is present if IMS-ALG requests an ICE host candidate. |
+| ICE received candidate | O | This information element is present if IMS-ALG indicates a received candidate for ICE. |
+
+| | | |
+|--------------------------------------------------|---|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| ICE received password | O | This information element is present if IMS-ALG indicates a received password for ICE. |
+| ICE received Ufrag | O | This information element is present if IMS-ALG indicates a received Ufrag for ICE. |
+| MSRP Path | O | This information element is present for application-aware MSRP Interworking. It provides the path information that the IMS-AGW shall insert in the MSRP layer "To-Path" Information element. |
+| Application-aware MSRP interworking request | O | This information element is present if IMS-ALG requests the IMS-AGW to perform application-aware MSRP Interworking. |
+| Notify STUN consent freshness test failure Event | O | This information element requests a notification if a STUN consent freshness test failure occurs (full ICE only). |
+| STUN consent freshness test request | O | This information element is present if eP-CSCF requests the eIMS-AGW to perform a STUN consent freshness test (full ICE only). |
+| Local SCTP Port Request | O | This information element is present if the IMS-ALG requests the IMS-AGW to establish an SCTP association. It requests the IMS-AGW to provide a local SCTP Port. |
+| Remote SCTP Port | O | This information element is present if the IMS-ALG requests the IMS-AGW to establish an SCTP association. It indicates the remote SCTP port. |
+| Local SCTP maximum message size Request | O | This information element is present if the IMS-ALG requests the IMS-AGW to establish an SCTP association. It requests the IMS-AGW to provide a local max message size. |
+| Remote SCTP maximum message size | O | This information element is present if the IMS-ALG requests the IMS-AGW to establish an SCTP association. It indicates the remote max message size. |
+| SCTP Group Semantics | O | This information element is present if the IMS-ALG requests the IMS-AGW to establish an SCTP association. It indicates the H.248 component streams that are grouped in the same SCTP association. |
+| SCTP stream deaggregation | O | This information element is present if the IMS-ALG requests the IMS-AGW to establish an SCTP association. It indicates the H.248 component streams that transport media that are to be deaggregated from the H.248 deaggregation stream used to control the SCTP association. |
+| SCTP stream ID | O | This information element is present if the IMS-ALG requests the IMS-AGW to establish an WEBRTC data channel. It indicates the SCTP stream ID to be used for that data channel. |
+| Local Dcmmap | O | This information element is present if the IMS-ALG requests the IMS-AGW to establish the WEBRTC data channel. It indicates the information within an SDP "dcmmap" attribute sent towards the remote peer, including the Subprotocol to exchange via the data channel. |
+| Remote Dcmmap | O | This information element is present if the IMS-ALG requests the IMS-AGW to establish the WEBRTC data channel. It indicates the information within an SDP "dcmmap" attribute received from the remote peer, including the Subprotocol to exchange via the data channel. |
+
+| | | | | |
+|------------------------------------------------|---------|------------------------------------|---|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | Local Dcsa | O | This information element can be present if the IMS-ALG requests the IMS-AGW to establish the WEBRTC data channel and to handle its contents in an application-aware manner. It indicates the information within an SDP "dcsa" attribute sent towards the remote peer, encapsulating a subprotocol specific SDP attribute. |
+| | | Remote Dcsa | O | This information element can be present if the IMS-ALG requests the IMS-AGW to establish the WEBRTC data channel and to handle its contents in an application-aware manner. It indicates the information within an SDP "dcsa" attribute received from the remote peer, encapsulating a subprotocol specific SDP attribute. |
+| | | Received SCTP Stream Reset Request | O | This information element is present if the eP-CSCF (IMS-ALG) requests the eIMS-AGW to establish the WEBRTC data channel. It requests the eIMS-AGW to provide a notification when receiving an SCTP Stream reset request and to autonomously answer that SCTP Stream reset request |
+| | | Allowed RTCP APP message types | O | This information element is present if IMS-ALG allows the IMS-AGW to send RTCP APP packets of the indicated types. The IMS-AGW shall not send other RTCP APP packets. If the parameter is not supplied, the IMS-AGW shall not send any RTCP APP packets. |
+| | | SDPCapNeg configuration | O | This information element provides SDPCapNeg configuration(s) using as "a=acap", "a=tcap", "a=pcfg" and "a=acfg" SDP attributes. |
+| | | Additional Bandwidth Properties | O | This information element indicates additional bandwidth properties using "a=bw-info" SDP attribute(s) as defined by 3GPP TS 26.114 [21]. |
+| | | CCM BASE | O | This information element indicates that the IMS-AGW shall be prepared to receive and is allowed to send, respectively, the RTCP feedback "CCM FIR" and/or "CCM TMMBR" messages (defined in IETF RFC 5104 [78]). |
+| | | CCM pause-resume | O | This information element indicates to the IMS-AGW that RTCP feedback "CCM PAUSE-RESUME" messages shall be passed transparently. |
+| | | DBI | O | This information element indicates to the IMS-AGW that RTCP DBI feedback messages (as defined in 3GPP TS 26.114 [21] clause 7.3.8) shall be passed transparently. |
+| Reserve and Configure AGW Connection Point Ack | IMS-AGW | Context | M | This information element indicates the context where the command was executed. |
+| | | Bearer Termination | M | This information element indicates the bearer termination where the command was executed. |
+
+| | | | |
+|--|-------------------------------------|---|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | Local IP Resources | C | This information element indicates the resource(s) for which the IMS-AGW shall be prepared to receive user data. This IE shall be present if it was contained in the request. If the IE was not contained in the request, it may be present in the reply.
For terminations supporting any combination of video, audio and messaging this IE shall contain separate resources per stream. |
+| | Remote IP Resources | O | This information element indicates the resource(s) for which the IMS-AGW shall send data.
For terminations supporting any combination of video, audio and messaging this IE shall contain separate resources per stream. |
+| | Local Connection Address | M | This information element indicates the IP address and port number(s) the IMS-AGW shall receive user plane data from IMS.
For terminations supporting any combination of video, audio and messaging this may contain multiple addresses. |
+| | Remote Connection Address | O | This information element indicates the remote IP address and port number(s) that the IMS-AGW can send user plane data to.
For terminations supporting any combination of video, audio and messaging this may contain multiple addresses. |
+| | Local cryptographic SDES attribute | C | This information element may be present only if it was contained in the request. It indicates the SDES local cryptographic parameters such as key(s) |
+| | Remote cryptographic SDES attribute | C | This information element may be present only if it was contained in the request. It indicates the SDES remote cryptographic parameters such as key(s) |
+| | Local certificate fingerprint | C | This information element may be present only if the Local certificate fingerprint Request was contained in the request. It indicates the local certificate fingerprint. (NOTE 3) |
+| | ICE password | C | This information element shall be present only if it was contained in the request. It indicates the ICE password assigned by the IMS-AGW. |
+| | ICE Ufrag | C | This information element shall be present only if it was contained in the request. It indicates the ICE Ufrag assigned by the IMS-AGW. |
+| | ICE host candidate | C | This information element shall be present only if it was contained in the request. It indicates the ICE host candidate assigned by the IMS-AGW. |
+| | Local SCTP Port | C | This information element may be present only if the Local SCTP Port Request was contained in the request. It indicates the local SCTP Port. |
+
+| | | | | | |
+|----------------------------------------------------------------------------------|--|---------------------------------|---|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--|
+| | | Local SCTP maximum message size | C | This information element may be present only if the Local max message size Request was contained in the request. It indicates the local max message size. | |
+| | | ICE lite indication | C | This information element shall be present only if an ICE host candidate request was contained in the request, and the IMS-AGW supports ICE lite, but not full ICE. It indicates that the IMS-AGW only supports ICE lite. | |
+| | | SDPCapNeg configuration | C | This information element shall be present only if it was contained in the request. It provides SDPCapNeg configuration(s) using as "a=acap", "a=tcap", "a=pcfg" and "a=acfg" SDP attributes. | |
+| NOTE 1: Remote Source Port and Remote Source Port Range are mutually exclusive. | | | | | |
+| NOTE 2: One of those IEs shall at least be present when policing is required. | | | | | |
+| NOTE 3: This IE may only be present for access network terminations. | | | | | |
+| NOTE 4: The concerned RTCP resource component is related to the RTCP port value. | | | | | |
+
+## 8.3 Reserve AGW Connection Point Procedure
+
+This procedure is used to reserve local connection addresses and local resources in IMS-AGW.
+
+**Table 8.3.1: Procedures between IMS-ALG and IMS-AGW: Reserve AGW Connection Point**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|------------------------------|-----------|----------------------------------|------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Reserve AGW Connection Point | IMS-ALG | Context /Context Request | M | This information element indicates the existing context or requests a new context for the bearer termination. |
+| | | Emergency Call Indicator | O | This information element identifies the call as emergency call that requires a preferential handling. |
+| | | Priority information | O | This information element requests the IMS-AGW to apply priority treatment for the terminations and bearer connections in the specified context. |
+| | | Bearer Termination Request | M | This information element requests a new bearer termination |
+| | | Local IP Resources | O | This information element indicates the resource(s) for which the IMS-AGW shall be prepared to receive user data.
For terminations supporting any combination of video, audio and messaging this IE shall contain separate resources per stream.
May be excluded (i.e. "-" is used in SDP m-line) if no transcoding or media related functions are required. |
+| | | ReserveValue | O | This information element indicates if multiple local resources are to be reserved.
This information element shall be included if a speech codec and auxiliary payload types are configured. |
+| | | Local Connection Address Request | M | This information element requests an IP address and port number(s) on the IMS-AGW that the remote end can send user plane data to.
For terminations supporting any combination of video, audio and messaging this may contain multiple addresses. |
+| | | Notify termination heartbeat | M | This information element requests termination heartbeat indications. |
+| | | Notify Released Bearer | O | This information element requests a notification of a released bearer. |
+| | | Latching Requirement | O | This information element indicates that the IMS-AGW should (re)latch onto the address of received media packets to determine the corresponding destination address. |
+| | | IP Realm Identifier | O | This information element indicates the IP realm of the bearer termination. |
+| | | Remote Source Address Filtering | O | This information element indicates that remote source address filtering is required. |
+| | | Remote Source Address Mask | C | This information element provides information on the valid remote source addresses. This is required if a range of remote source address filtering is required. |
+
+| | | |
+|--------------------------------------|---|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Remote Source Port Filtering | O | This information element indicates that remote source port filtering is required. |
+| Remote Source Port | C | This information element identifies the valid remote source port. This may be included if remote source port filtering is included. (NOTE 1) |
+| Remote Source Port Range | C | This information element identifies a range of valid remote source ports. This may be included if remote source port filtering is included. (NOTE 1) |
+| Policing Required | O | This information element indicates that policing of the media flow is required. |
+| Peak Data Rate | O | This information element may be present if Policing is required and specifies the permissible peak data rate for a media stream. (NOTE 2). |
+| Sustainable Data Rate | O | This information element may be present if Policing is required and specifies the permissible sustainable data rate for a media stream. (NOTE 2). |
+| Delay Variation Tolerance | O | This information element may be present if Policing on Peak Data Rate is required and specifies the maximum expected delay variation tolerance for the corresponding media stream. |
+| Maximum Burst Size | C | This information element shall be present if Policing on Sustainable Data Rate is required and specifies the maximum expected burst size for the corresponding media stream. |
+| DiffServ Code Point | O | This information element indicates a specific DiffServ code point to be used in the IP header in packets sent on the bearer termination. |
+| DiffServ Tagging Behaviour | O | This information element indicates whether the Diffserv code point in the IP header in packets sent on the bearer termination should be copied from the received value or set to a specific value. |
+| Media Inactivity Detection Required | O | This information element indicates that detection of inactive media flows is required. |
+| Media Inactivity Detection Time | C | This information element may be present if Inactive Media Detection is required and specifies the Inactivity Detection time. |
+| Media Inactivity Detection Direction | C | This information element may be present if Inactive Media Detection is required and specifies the Inactivity Detection direction. |
+| RTCP handling | O | This information element is present if IMS-ALG wants explicitly control the reservation of RTCP resources by the IMS-AGW. |
+| RTP/RTCP transport multiplexing | C | This information element requests the IMS-AGW to apply the RTP/RTCP transport multiplexing. This information element may only be present if RTCP handling is required. |
+| Local cryptographic SDES attribute | C | This information element is present if IMS-ALG wants that the media is encrypted and/or integrity protected by the IMS-AGW (NOTE 3). It indicates the SDES local cryptographic parameters such as key(s). |
+| ECN Enable | O | This information element requests the IMS-AGW to apply ECN procedures. |
+| ECN Initiation Method | C | This information element specifies the ECN Initiation method and requests the IMS-AGW to perform IP header settings as an ECN endpoint, or indicates that ECN bits shall be passed transparently. It may be included only if ECN is enabled. |
+
+| | | | |
+|--|------------------------------------------------------------------|---|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | Notify ECN Failure Event | C | This information element requests a notification if a ECN failure occurs due to ECN. It may only be supplied if ECN is enabled and the IMS-AGW acts as ECN endpoint. |
+| | Extended RTP Header for CVO | O | This information element requests the IMS-AGW to pass on the CVO extended RTP header as defined by IETF RFC 5285 [23]. |
+| | Extended RTP Header for Sent ROI | O | This information element requests the IMS-AGW to pass on the ROI extended RTP header for carriage of predefined and/or arbitrary ROI information as defined by IETF RFC 5285 [23] and 3GPP TS 26.114 [21]. |
+| | Predefined ROI | O | This information element requests the IMS-AGW to support the RTCP feedback message capability for "Predefined ROI" type expressed by the parameter "3gpp-roi-predefined", as described in 3GPP TS 26.114 [21]. |
+| | Arbitrary ROI | O | This information element requests the IMS-AGW to support the RTCP feedback message capability for "Arbitrary ROI" type expressed by the parameter "3gpp-roi-arbitrary", as described in 3GPP TS 26.114 [21]. |
+| | Generic Image Attributes | O | This information element indicates image attributes (e.g. image size) as defined by IETF RFC 6236 [24]. |
+| | Local certificate fingerprint Request | O | This information element is present if the IMS-ALG wants that the media is decrypted, and/or integrity protected by the IMS-AGW (NOTE 4). It requests the IMS-AGW to provide a local certificate fingerprint. |
+| | Establish (D)TLS session | O | This information element requests the IMS-AGW to take the (D)TLS client role and to initiate the establishment of the (D)TLS session. (NOTE 4) |
+| | Notify (D)TLS session establishment Failure Event | O | This information element requests a notification if a (D)TLS session establishment failure occurs. (NOTE 4) |
+| | TCP State-aware Handling Indicator and Setup Direction | C | This information element indicates that TCP state-aware handling is required and indicates the TCP setup direction. It may only be included if the IMS-AGW supports TCP state-aware handling. |
+| | Discard Incoming TCP Connection Establishment Requests Indicator | C | This information element indicates whether incoming TCP connection establishment requests (TCP SYN) shall be discarded. It may only be included if the IMS-AGW supports TCP state-aware handling and discarding incoming TCP connection establishment requests. |
+| | Forward Incoming TCP Connection Establishment Requests Indicator | C | This information element indicates for a given termination to use the incoming TCP connection establishment request (TCP SYN) at that termination as a trigger for sending a TCP connection establishment request at the interconnected termination in the same context. It may only be included if the IMS-AGW supports TCP state-aware handling and the Forward Incoming TCP Connection Establishment Requests Indicator. |
+
+| | | |
+|---------------------------------------------------|---|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Notify TCP Connection Establishment Failure Event | C | This information element requests a notification if a TCP connection establishment failure occurs. It may only be included if the IMS-AGW supports TCP state-aware handling. |
+| ICE password request | O | This information element is present if IMS-ALG requests an ICE password. |
+| ICE Ufrag request | O | This information element is present if IMS-ALG requests an ICE ufrag. |
+| ICE host candidate request | O | This information element is present if IMS-ALG requests an ICE host candidate. |
+| STUN server request | O | This information element is present if IMS-ALG requests the IMS-AGW to answer STUN connectivity checks for ICE. |
+| Application-aware MSRP interworking request | O | This information element is present if IMS-ALG requests the IMS-AGW to perform application-aware MSRP Interworking. |
+| Notify STUN consent freshness test failure Event | O | This information element requests a notification if a STUN consent freshness test failure occurs (full ICE only). |
+| | | |
+| STUN consent freshness test request | O | This information element is present if eP-CSCF requests the eIMS-AGW to perform a STUN consent freshness test (full ICE only). |
+| Local SCTP Port Request | O | This information element is present if the IMS-ALG requests the IMS-AGW to establish an SCTP association. It requests the IMS-AGW to provide a local SCTP Port. |
+| Local SCTP maximum message size Request | O | This information element is present if the IMS-ALG requests the IMS-AGW to establish an SCTP association. It requests the IMS-AGW to provide a local max message size. |
+| Local Dcmap | O | This information element is present if the IMS-ALG requests the IMS-AGW to establish the WEBRTC data channel. It indicates the information within an SDP "dcmap" attribute sent towards the remote peer, including the Subprotocol to exchange via the data channel. |
+| Local Dcsa | O | This information element can be present if the IMS-ALG requests the IMS-AGW to establish the WEBRTC data channel and to handle its contents in an application-aware manner. It indicates the information within an SDP "dcsa" attribute sent towards the remote peer, encapsulating a subprotocol specific SDP attribute. |
+| SCTP Group Semantics | O | This information element is present if the IMS-ALG requests the IMS-AGW to establish an SCTP association. It indicates the H.248 component streams that are grouped in the same SCTP association. |
+| SCTP stream deaggregation | O | This information element is present if the IMS-ALG requests the IMS-AGW to establish an SCTP association. It indicates the H.248 component streams that transport media that are to be deaggregated from the H.248 deaggregation stream used to control the SCTP association. |
+| SCTP stream ID | O | This information element is present if the IMS-ALG requests the IMS-AGW to establish an WEBRTC data channel. It indicates the SCTP stream ID to be used for that data channel. |
+
+| | | | | |
+|----------------------------------|---------|------------------------------------|---|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | Received SCTP Stream Reset Request | O | This information element is present if the eP-CSCF (IMS-ALG) requests the eIMS-AGW to establish the WEBRTC data channel. It requests the eIMS-AGW to provide a notification when receiving an SCTP Stream reset request and to autonomously answer that SCTP Stream reset request |
+| | | SDPCapNeg configuration | O | This information element provides SDPCapNeg configuration(s) using as "a=acap", "a=tcap", "a=pcfg" and "a=acfg" SDP attributes. |
+| Reserve AGW Connection Point Ack | IMS-AGW | Context | M | This information element indicates the context where the command was executed. |
+| | | Bearer Termination | M | This information element indicates the bearer termination where the command was executed. |
+| | | Local IP Resources | C | This information element indicates the resource(s) for which the IMS-AGW shall be prepared to receive user data. This IE shall be present if it was contained in the request. If the IE was not contained in the request, it may be present in the reply.
For terminations supporting any combination of video, audio and messaging this IE shall contain separate resources per stream. |
+| | | Local Connection Address | M | This information element indicates the IP address and port number(s) the IMS-AGW shall receive user plane data from IMS.
For terminations supporting any combination of video, audio and messaging this may contain multiple addresses. |
+| | | Local cryptographic SDES attribute | C | This information element may be present only if it was contained in the request. It indicates the SDES local cryptographic parameters such as key(s) |
+| | | Local certificate fingerprint | C | This information element may be present only if the Local certificate fingerprint Request was contained in the request. It indicates the local certificate fingerprint. (NOTE 4) |
+| | | ICE password | C | This information element shall be present only if it was contained in the request. It indicates the ICE password assigned by the IMS-AGW. |
+| | | ICE Ufrag | C | This information element shall be present only if it was contained in the request. It indicates the ICE Ufrag assigned by the IMS-AGW. |
+| | | ICE host candidate | C | This information element shall be present only if it was contained in the request. It indicates the ICE host candidate assigned by the IMS-AGW. |
+| | | ICE lite indication | C | This information element shall be present only if an ICE host candidate request was contained in the request, and the IMS-AGW supports ICE lite, but not full ICE. It indicates that the IMS-AGW only supports ICE lite. |
+
+| | | | | |
+|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--|---------------------------------|---|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | Local SCTP Port | C | This information element may be present only if the Local SCTP Port Request was contained in the request. It indicates the local SCTP Port. |
+| | | Local SCTP maximum message size | C | This information element may be present only if the Local max message size Request was contained in the request. It indicates the local max message size. |
+| | | SDPCapNeg configuration | C | This information element shall be present only if it was contained in the request. It provides SDPCapNeg configuration(s) using as "a=acap", "a=tcap", "a=pcfg" and "a=acfg" SDP attributes. |
+| NOTE 1: Remote Source Port and Remote Source Port Range are mutually exclusive.
NOTE 2: One of those IEs shall at least be present when policing is required.
NOTE 3: This IE may only be present for access network terminations, and only if the IMS-ALG includes only one SDES crypto attribute in the SDP sent towards the served UE.
NOTE 4: This IE may only be present for access network terminations. | | | | |
+
+## 8.4 Configure AGW Connection Point Procedure
+
+This procedure is used to select or modify multimedia-processing resources for the Iq interface connection.
+
+**Table 8.4.1: Procedures between IMS-ALG and IMS-AGW: Configure AGW Connection Point**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|--------------------------------|-----------|---------------------------|------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Configure AGW Connection Point | IMS-ALG | Context | M | This information element indicates the context for the bearer termination. |
+| | | Priority information | O | This information element shall be present if the priority information needs to be modified, it may be present otherwise. |
+| | | Bearer Termination | M | This information element indicates the existing bearer termination. |
+| | | Local IP Resources | O | This information element indicates the resource(s) for which the IMS-AGW shall be prepared to receive user data.
For terminations supporting any combination of video, audio and messaging this IE shall contain separate resources per stream.
May be excluded (i.e. "-" is used in SDP m-line) if no transcoding or media related functions are required. |
+| | | Remote IP Resources | O | This information element indicates the resource(s) for which the IMS-AGW shall send data.
For terminations supporting any combination of video, audio and messaging this IE shall contain separate resources per stream.
May be excluded (i.e. "-" is used in SDP m-line) if no transcoding or media related functions are required. |
+| | | Local Connection Address | O | This information element indicates the IP address and port number(s) on the IMS-AGW that the IMS user can send user plane data to.
For terminations supporting video any combination of video, audio and messaging may contain multiple addresses. |
+| | | Remote Connection Address | O | This information element indicates the remote IP address and port number(s) that the IMS-AGW can send user plane data to.
For terminations supporting any combination of video, audio and messaging this may contain multiple addresses. |
+| | | Latching Requirement | O | This information element indicates that the IMS-AGW should (re)latch onto the address of received media packets to determine the corresponding destination address. |
+| | | IP Realm Identifier | O | This information element indicates the IP realm of the bearer termination. (NOTE 3) |
+
+| | | |
+|--------------------------------------|---|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Remote Source Address Filtering | O | This information element indicates that remote source address filtering is required. |
+| Remote Source Address Mask | C | This information element provides information on the valid remote source addresses. This is required if a range of remote source address filtering is required. |
+| Remote Source Port Filtering | O | This information element indicates that remote source port filtering is required. |
+| Remote Source Port | C | This information element identifies the valid remote source port. This may be included if remote source port filtering is included. (NOTE 1) |
+| Remote Source Port Range | C | This information element identifies a range of valid remote source ports. This may be included if remote source port filtering is included. (NOTE 1) |
+| Policing Required | O | This information element indicates that policing of the media flow is required. |
+| Peak Data Rate | O | This information element may be present if Policing is required and specifies the permissible peak data rate for a media stream. (NOTE 2). |
+| Sustainable Data Rate | O | This information element may be present if Policing is required and specifies the permissible sustainable data rate for a media stream. (NOTE 2). |
+| Delay Variation Tolerance | O | This information element may be present if Policing on Peak Data Rate is required and specifies the maximum expected delay variation tolerance for the corresponding media stream. |
+| Maximum Burst Size | C | This information element shall be present if Policing on Sustainable Data Rate is required and specifies the maximum expected burst size for the corresponding media stream. |
+| DiffServ Code Point | O | This information element indicates a specific DiffServ code point to be used in the IP header in packets sent on the bearer termination. |
+| DiffServ Tagging Behaviour | O | This information element indicates whether the Diffserv code point in the IP header in packets sent on the bearer termination should be copied from the received value or set to a specific value. |
+| Media Inactivity Detection Required | O | This information element indicates that detection of inactive media flows is required. |
+| Media Inactivity Detection Time | C | This information element may be present if Inactive Media Detection is required and specifies the Inactivity Detection time. |
+| Media Inactivity Detection Direction | C | This information element may be present if Inactive Media Detection is required and specifies the Inactivity Detection direction. |
+
+| | | | |
+|--|-------------------------------------|---|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | RTCP handling | O | This information element is present if IMS-ALG wants to explicitly control the reservation of RTCP resources (NOTE 5). |
+| | RTP/RTCP transport multiplexing | C | This information element requests the IMS-AGW to apply the RTP/RTCP transport multiplexing. This information element may only be present if RTCP handling is required. |
+| | Explicit RTCP transport address | C | This information element indicates the remote RTCP port and optionally the remote network address where to send RTCP packets. This information element may only be present if RTCP handling is required. |
+| | Local cryptographic SDES attribute | C | This information element is present if IMS-ALG wants that the media is encrypted and/or integrity protected by the IMS-AGW (NOTE 4). It indicates the SDES local cryptographic parameters such as key(s). |
+| | Remote cryptographic SDES attribute | C | This information element is present if IMS-ALG wants that the media is decrypted, and/or integrity checked by the IMS-AGW (NOTE 4). It indicates the SDES remote cryptographic parameters such as key(s). |
+| | ECN Enable | O | This information element requests the IMS-AGW to apply ECN procedures. |
+| | ECN Initiation Method | C | This information element specifies the ECN Initiation method and requests the IMS-AGW to perform IP header settings as an ECN endpoint, or indicates that ECN bits shall be passed transparently. It may be included only if ECN is enabled. |
+| | Notify ECN Failure Event | C | This information element requests a notification if a ECN failure occurs due to ECN. It may only be supplied if ECN is enabled and the IMS-AGW acts as ECN endpoint. |
+| | Extended RTP Header for CVO | O | This information element requests the IMS-AGW to pass on the CVO extended RTP header as defined by IETF RFC 5285 [23]. |
+| | Extended RTP Header for Sent ROI | O | This information element requests the IMS-AGW to pass on the ROI extended RTP header for carriage of predefined and/or arbitrary ROI information as defined by IETF RFC 5285 [23] and 3GPP TS 26.114 [21]. |
+| | Predefined ROI | O | This information element requests the IMS-AGW to support the RTCP feedback message capability for "Predefined ROI" type expressed by the parameter "3gpp-roipredefined", as described in 3GPP TS 26.114 [21]. |
+| | Arbitrary ROI | O | This information element requests the IMS-AGW to support the RTCP feedback message capability for "Arbitrary ROI" type expressed by the parameter "3gpp-roiarbitrary", as described in 3GPP TS 26.114 [21]. |
+
+| | | |
+|------------------------------------------------------------------|---|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Generic Image Attributes | O | This information element indicates image attributes (e.g. image size) as defined by IETF RFC 6236 [24]. |
+| Remote certificate fingerprint | O | This information element is present if the IMS-ALG wants that the media is decrypted, and/or integrity checked by the IMS-AGW (NOTE 4). It indicates the remote certificate fingerprint. |
+| Establish (D)TLS session | O | This information element requests the IMS-AGW to take the (D)TLS client role and to initiate the establishment of the (D)TLS session. (NOTE 4) |
+| Release (D)TLS session | O | This information element requests the IMS-AGW to release the (D)TLS session. (NOTE 4) |
+| Notify (D)TLS session establishment Failure Event | O | This information element requests a notification if a TLS session establishment failure occurs. (NOTE 4) |
+| TCP State-aware Handling Indicator and Setup Direction | C | This information element indicates that TCP state-aware handling is required and indicates the TCP setup direction. It may only be included if the IMS-AGW supports TCP state-aware handling. |
+| Discard Incoming TCP Connection Establishment Requests Indicator | C | This information element indicates whether incoming TCP connection establishment requests (TCP SYN) shall be discarded. It may only be included if the IMS-AGW supports TCP state-aware handling and discarding incoming TCP connection establishment requests. |
+| Forward Incoming TCP Connection Establishment Requests Indicator | C | This information element indicates for a given termination to use the incoming TCP connection establishment request (TCP SYN) at that termination as a trigger for sending a TCP connection establishment request at the interconnected termination in the same context. It may only be included if the IMS-AGW supports TCP state-aware handling and the Forward Incoming TCP Connection Establishment Requests Indicator. |
+| Send TCP Connection Establishment Requests Indicator | C | This information element indicates for a given termination to send a TCP connection establishment request (TCP SYN). It may only be included if the IMS-AGW supports TCP state-aware handling. |
+| Notify TCP Connection Establishment Failure Event | C | This information element requests a notification if a TCP connection establishment failure occurs. It may only be included if the IMS-AGW supports TCP state-aware handling. |
+| ICE Connectivity Check | C | This information element requests the IMS-AGW to perform ICE connectivity check as defined by IETF RFC 5245 [39]. It is only applicable for full ICE. |
+
+| | | |
+|--------------------------------------------------|---|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Notify ICE Connectivity Check Result | C | This information element requests a notification of ICE connectivity check result. It is only applicable for full ICE. |
+| Notify New Peer Reflexive Candidate | C | This information element requests a notification of new peer reflexive candidate was discovered during a connectivity check. It is only applicable for full ICE. |
+| Additional ICE Connectivity Check | C | This information element requests the IMS-AGW to perform additional ICE connectivity check as defined by IETF RFC 5245 [39]. It is only applicable for full ICE. |
+| ICE received candidate | O | This information element is present if IMS-ALG indicates a received candidate for ICE. |
+| ICE received password | O | This information element is present if IMS-ALG indicates a received password for ICE. |
+| ICE received Ufrag | O | This information element is present if IMS-ALG indicates a received Ufrag for ICE. |
+| MSRP Path | O | This information element is present for application-aware MSRP Interworking. It provides the path information that the IMS-AGW shall insert in the MSRP layer "To-Path" Information element. |
+| Notify STUN consent freshness test failure Event | O | This information element requests a notification if a STUN consent freshness test failure occurs (full ICE only). |
+| STUN consent freshness test request | O | This information element is present if eP-CSCF requests the eIMS-AGW to perform a STUN consent freshness test (full ICE only). |
+| Allowed RTCP APP message types | O | This information element is present if IMS-ALG allows the IMS-AGW to send RTCP APP packets of the indicated types. The IMS-AGW shall not send other RTCP APP packets. If the parameter is not supplied, the IMS-AGW shall not send any RTCP APP packets. |
+| Local Dcmap | O | This information element is present if the IMS-ALG requests the IMS-AGW to establish the WEBRTC data channel. It indicates the information within an SDP "dcmap" attribute sent towards the remote peer, including the Subprotocol to exchange via the data channel. |
+| Remote Dcmap | O | This information element is present if the IMS-ALG requests the IMS-AGW to establish the WEBRTC data channel. It indicates the information within an SDP "dcmap" attribute received from the remote peer, including the Subprotocol to exchange via the data channel. |
+| Local Dcsa | O | This information element can be present if the IMS-ALG requests the IMS-AGW to establish the WEBRTC data channel and to handle its contents in an application-aware manner. It indicates the information within an SDP "dcsa" attribute sent towards the remote peer, encapsulating a subprotocol specific SDP attribute. |
+
+| | | |
+|-------------------------------------------|---|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Remote Dcsa | O | This information element can be present if the IMS-ALG requests the IMS-AGW to establish the WEBRTC data channel and to handle its contents in an application-aware manner. It indicates the information within an SDP "dcsa" attribute received from the remote peer, encapsulating a subprotocol specific SDP attribute. |
+| Remote SCTP port | O | This information element is present if the IMS-ALG requests the IMS-AGW to establish an SCTP association. It indicates the remote SCTP port. |
+| Remote SCTP max message size | O | This information element is present if the IMS-ALG requests the IMS-AGW to establish an SCTP association. It indicates the remote max message size. |
+| SCTP Group Semantics | O | This information element is present if the IMS-ALG requests the IMS-AGW to modify an SCTP association. It indicates the H.248 component streams that are grouped in the same SCTP association. |
+| SCTP stream deaggregation | O | This information element is present if the IMS-ALG requests the IMS-AGW to modify an SCTP association. It indicates the H.248 component streams that transport media that are to be deaggregated from the H.248 deaggregation stream used to control the SCTP association. |
+| SCTP stream ID | O | This information element is present if the IMS-ALG requests the IMS-AGW to establish an WEBRTC data channel. It indicates the SCTP stream ID to be used for that data channel. |
+| Received SCTP Stream Reset Request | O | This information element is present if the eP-CSCF (IMS-ALG) requests the eIMS-AGW to establish the WEBRTC data channel. It requests the eIMS-AGW to provide a notification when receiving an SCTP Stream reset request and to autonomously answer that SCTP Stream reset request. |
+| Send SCTP Stream Reset Requests Indicator | O | This information element is present if the eP-CSCF (IMS-ALG) requests the eIMS-AGW to reset an SCTP Stream to release the WEBRTC data channel. It requests the eIMS-AGW to send an SCTP Stream reset request. |
+| Received SCTP Stream Reset Response | O | This information element may be present if the eP-CSCF (IMS-ALG) requests the eIMS-AGW to reset an SCTP Stream to release the WEBRTC data channel. It requests the eIMS-AGW to provide a notification when receiving a response to an SCTP Stream reset request. |
+| Initiate Outgoing SCTP Stream Reset | O | This information element is present if the IMS-ALG requests the IMS-AGW to close an individual WEBRTC data channel. |
+| Outgoing SCTP Stream Response | O | This information element is present if the IMS-ALG requests the IMS-AGW to acknowledge the request to close an individual WEBRTC data channel. |
+| Notify Detect Outgoing SCTP Stream Reset | O | This information element requests a notification of outgoing SCTP Stream reset requests from remote peers (here IMS WebRTC client). |
+| Notify Outgoing SCTP Stream Reset Result | O | This information element requests a notification of the result of an outgoing SCTP Stream reset sent to the remote peer (here IMS WebRTC client). |
+
+| | | | | |
+|------------------------------------|---------|------------------------------------|---|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | SDPCapNeg configuration | O | This information element provides SDPCapNeg configuration(s) using as "a=acap", "a=tcap", "a=pcfg" and "a=acfg" SDP attributes. |
+| | | Additional Bandwidth Properties | O | This information element indicates additional bandwidth properties using "a=bw-info" SDP attribute(s) as defined by 3GPP TS 26.114 [21]. |
+| | | CCM BASE | O | This information element indicates that the IMS-AGW shall be prepared to receive and is allowed to send, respectively, the RTCP feedback "CCM FIR" and/or "CCM TMMBR" messages (defined in IETF RFC 5104 [78]). |
+| | | CCM pause-resume | O | This information element indicates to the IMS-AGW that RTCP feedback "CCM PAUSE-RESUME" messages shall be passed transparently. |
+| | | DBI | O | This information element indicates to the IMS-AGW that RTCP DBI feedback messages (as defined in 3GPP TS 26.114 [21] clause 7.3.8) shall be passed transparently. |
+| Configure AGW Connection Point Ack | IMS-AGW | Context | M | This information element indicates the context where the command was executed. |
+| | | Bearer Termination | M | This information element indicates the bearer termination where the command was executed. |
+| | | Local IP Resources | O | This information element indicates the resource(s) for which the IMS-AGW shall be prepared to receive user data
For terminations supporting any combination of video, audio and messaging this IE shall contain separate resources per stream. |
+| | | Remote IP Resources | O | This information element indicates the resource(s) for which the IMS-AGW shall send data.
For terminations supporting any combination of video, audio and messaging this IE shall contain separate resources per stream. |
+| | | Local Connection Address | O | This information element indicates the IP address and port number(s) on the IMS-AGW that the IMS user can send user plane data to.
For terminations supporting any combination of video, audio and messaging this may contain multiple addresses. |
+| | | Remote Connection Address | O | This information element indicates the remote IP address and port number(s) that the IMS-AGW can send user plane data to.
For terminations supporting any combination of video, audio and messaging this may contain multiple addresses. |
+| | | Local cryptographic SDES attribute | C | This information element may be present only if it was contained in the request. It indicates the SDES local cryptographic parameters such as key(s) |
+
+| | | | | |
+|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--|-------------------------------------|---|-------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | Remote cryptographic SDES attribute | C | This information element may be present only if it was contained in the request. It indicates the SDES remote cryptographic parameters such as key(s) |
+| NOTE 1: Remote Source Port and Remote Source Port Range are mutually exclusive. | | | | |
+| NOTE 2: One of those IEs shall at least be present when policing is required. | | | | |
+| NOTE 3: Additional streams may be added by the Configure AGW Connection Point procedure. The additional streams shall then carry the same IP Realm Identifier as the very first Stream. | | | | |
+| NOTE 4: This IE may only be present for access network terminations. | | | | |
+| NOTE 5: The concerned RTCP resource component is related to the RTCP port value. | | | | |
+
+**Editor's Note :** The details of how the transparent indication included in ECN Control is subject of stage 3 specification. It also needs to be determined if this indication is needed on both incoming and outgoing terminations.
+
+## 8.5 Release AGW Termination
+
+This procedure is used to release a termination towards the IMS and free all related resources.
+
+**Table 8.5.1: Procedures between IMS-ALG and IMS-AGW: Release AGW Termination**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|-----------------------------|-----------|--------------------------|------------------------------|-------------------------------------------------------------------------------------------|
+| Release AGW Termination | IMS-ALG | Context | M | This information element indicates the existing context for the bearer termination. |
+| | | Bearer Termination | M | This information element indicates the bearer termination to be released. |
+| Release AGW Termination Ack | IMS-AGW | Context | M | This information element indicates the context where the command was executed. |
+| | | Bearer Termination | M | This information element indicates the bearer termination where the command was executed. |
+
+## 8.6 Termination heartbeat indication
+
+This procedure is used to report a termination heartbeat.
+
+**Table 8.6.1: Procedures between IMS-ALG and IMS-AGW: Termination heartbeat indication**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|--------------------------------------|-----------|--------------------------|------------------------------|------------------------------------------------------------------------------------------------------------|
+| Termination heartbeat indication | IMS-AGW | Context | M | This information element indicates the context for the bearer termination. |
+| | | Bearer Termination | M | This information element indicates the bearer termination for which the termination heartbeat is reported. |
+| | | Termination heartbeat | M | Hanging Termination event, as defined in 3GPP TS 29.334 [3]. |
+| Termination heartbeat indication Ack | IMS-ALG | Context | M | This information element indicates the context where the command was executed. |
+| | | Bearer Termination | M | This information element indicates the bearer termination where the command was executed. |
+
+## 8.7 IMS-AGW Out-of-Service
+
+This procedure is used to indicate that the IMS-AGW will go out of service or is maintenance locked.
+
+**Table 8.7.1: Procedures between IMS-ALG and IMS-AGW: IMS-AGW Out-of-Service**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|----------------------------|-----------|--------------------------|------------------------------|-----------------------------------------------------------------------------------------|
+| IMS-AGW Out-of-Service | IMS-AGW | Context | M | This information element indicates the context for the command. |
+| | | Root Termination | M | This information element indicates the root termination for the command. |
+| | | Reason | M | This information element indicates the reason for service change. |
+| | | Method | M | This information element indicates the method for service change. |
+| IMS-AGW Out-of-Service Ack | IMS-ALG | Context | M | This information element indicates the context where the command was executed. |
+| | | Root Termination | M | This information element indicates the root termination where the command was executed. |
+
+## 8.8 IMS-AGW Communication Up
+
+This procedure is used to indicate that the IMS-AGW is back in service using an existing control association.
+
+**Table 8.8.1: Procedures between IMS-ALG and IMS-AGW: IMS-AGW Communication Up**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|------------------------------|-----------|--------------------------|------------------------------|----------------------------------------------------------------------------------------------------------------------------------|
+| IMS-AGW Communication Up | IMS-AGW | Context | M | This information element indicates the context for the command. |
+| | | Root Termination | M | This information element indicates the root termination for the command. |
+| | | Reason | M | This information element indicates the reason for service change. |
+| | | Method | M | This information element indicates the method for service change. |
+| IMS-AGW Communication Up Ack | IMS-ALG | Context | M | This information element indicates the context where the command was executed. |
+| | | Root Termination | M | This information element indicates the root termination where the command was executed. |
+| | | IMS-ALG Address | O | This information element indicates the IMS-ALG signalling address to which the IMS-AGW should preferably attempt to re-register. |
+
+## 8.9 IMS-AGW Restoration
+
+This procedure is used to indicate the IMS-AGW has recovered from a failure.
+
+**Table 8.9.1: Procedures between IMS-ALG and IMS-AGW: IMS-AGW Restoration**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|-------------------------|-----------|--------------------------|------------------------------|----------------------------------------------------------------------------------------------------------------------------------|
+| IMS-AGW Restoration | IMS-AGW | Context | M | This information element indicates the context for the command. |
+| | | Root Termination | M | This information element indicates the root termination for the command. |
+| | | Reason | M | This information element indicates the reason for the service change. |
+| | | Method | M | This information element indicates the method for service change. |
+| IMS-AGW Restoration Ack | IMS-ALG | Context | M | This information element indicates the context where the command was executed. |
+| | | Root Termination | M | This information element indicates the root termination where the command was executed. |
+| | | IMS-ALG Address | O | This information element indicates the IMS-ALG signalling address to which the IMS-AGW should preferably attempt to re-register. |
+
+## 8.10 IMS-AGW Register
+
+This procedure is used to register the IMS-AGW after a cold/warm boot.
+
+**Table 8.10.1: Procedures between IMS-ALG and IMS-AGW: IMS-AGW Register**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|----------------------|-----------|--------------------------|------------------------------|----------------------------------------------------------------------------------------------------------------------------------|
+| IMS-AGW Register | IMS-AGW | Context | M | This information element indicates the context for the command. |
+| | | Root Termination | M | This information element indicates the root termination for the command. |
+| | | Reason | M | This information element indicates the reason for the service change. |
+| | | Method | M | This information element indicates the method for service change. |
+| | | Protocol Version | M | This information element indicates the protocol version for Iq interface requested by the IMS-AGW. |
+| | | Service Change Profile | M | This information element indicates the profile for the Iq interface requested by the IMS-AGW. |
+| IMS-AGW Register Ack | IMS-ALG | Context | M | This information element indicates the context where the command was executed. |
+| | | Root Termination | M | This information element indicates the root termination where the command was executed. |
+| | | Protocol Version | O | This information element indicates the protocol version for Iq interface supported by the IMS-ALG. |
+| | | Service Change Profile | O | This information element indicates the profile for the Iq interface supported by the IMS-ALG. |
+| | | IMS-ALG Address | O | This information element indicates the IMS-ALG signalling address to which the IMS-AGW should preferably attempt to re-register. |
+
+## 8.11 IMS-ALG Restoration
+
+This procedure is used to indicate the IMS-ALG has recovered from a failure.
+
+**Table 8.11.1: Procedures between IMS-ALG and IMS-AGW: IMS-ALG Restoration**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|-------------------------|-----------|--------------------------|------------------------------|-----------------------------------------------------------------------------------------|
+| IMS-ALG Restoration | IMS-ALG | Context | M | This information element indicates the context for the command. |
+| | | Root Termination | M | This information element indicates the root termination for the command. |
+| | | Reason | M | This information element indicates the reason for the service change. |
+| | | Method | M | This information element indicates the method for service change. |
+| IMS-ALG Restoration Ack | IMS-AGW | Context | M | This information element indicates the context where the command was executed. |
+| | | Root Termination | M | This information element indicates the root termination where the command was executed. |
+
+## 8.12 IMS-AGW Re-register
+
+This procedure is used to re-register the IMS-AGW (having been requested to do so by the IMS-ALG).
+
+**Table 8.12.1: Procedures between IMS-ALG and IMS-AGW: IMS-AGW Re-register**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|-------------------------|-----------|--------------------------|------------------------------|----------------------------------------------------------------------------------------------------------------------------------|
+| IMS-AGW Re-register | IMS-AGW | Context | M | This information element indicates the context for the command. |
+| | | Root Termination | M | This information element indicates the root termination for the command. |
+| | | Reason | M | This information element indicates the reason for the service change. |
+| | | Method | M | This information element indicates the method for service change. |
+| | | Protocol Version | M | This information element indicates the protocol version for Iq interface requested by the IMS-AGW. |
+| | | Service Change Profile | M | This information element indicates the profile for the Iq interface requested by the IMS-AGW. |
+| IMS-AGW Re-register Ack | IMS-ALG | Context | M | This information element indicates the context where the command was executed. |
+| | | Root Termination | M | This information element indicates the root termination where the command was executed. |
+| | | Protocol Version | O | This information element indicates the protocol version for Iq interface supported by the IMS-ALG. |
+| | | Service Change Profile | O | This information element indicates the profile for the Iq interface supported by the IMS-ALG. |
+| | | IMS-ALG Address | O | This information element indicates the IMS-ALG signalling address to which the IMS-AGW should preferably attempt to re-register. |
+
+## 8.13 IMS-ALG Ordered Re-registration
+
+This procedure is used by the IMS-ALG to request the IMS-AGW to re-register.
+
+**Table 8.13.1: Procedures between IMS-ALG and IMS-AGW: IMS-ALG Ordered Re-register**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|---------------------------------|-----------|--------------------------|------------------------------|-----------------------------------------------------------------------------------------|
+| IMS-ALG Ordered Re-register | IMS-ALG | Context | M | This information element indicates the context for the command. |
+| | | Root Termination | M | This information element indicates the root termination for the command. |
+| | | Reason | M | This information element indicates the reason for the service change. |
+| | | IMS-ALG Address | O | This information element indicates the IMS-ALG signalling address. |
+| IMS-ALG Ordered Re-register Ack | IMS-AGW | Context | M | This information element indicates the context where the command was executed. |
+| | | Root Termination | M | This information element indicates the root termination where the command was executed. |
+
+## 8.14 Audit Value
+
+This procedure is used to audit values of different object(s).
+
+**Table 8.14.1: Procedures between IMS-ALG and IMS-AGW: Audit Value**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|-----------------|-----------|--------------------------|------------------------------|-------------------------------------------------------------------------------------------|
+| Audit Value | IMS-ALG | Context | M | This information element indicates the context for the command. |
+| | | Bearer Termination | M | This information element indicates the bearer termination(s) for the command. |
+| | | Object(s) | M | This information element indicates the object(s) to be audited. |
+| Audit Value Ack | IMS-AGW | Context | M | This information element indicates the context where the command was executed. |
+| | | Bearer Termination | M | This information element indicates the bearer termination where the command was executed. |
+| | | Value(s) | M | This information element indicates the value(s) of the object(s). |
+
+## 8.15 Audit Capability
+
+This procedure is used to audit capabilities of different object(s).
+
+**Table 8.15.1: Procedures between IMS-ALG and IMS-AGW: Audit Capability**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|----------------------|-----------|--------------------------|------------------------------|-------------------------------------------------------------------------------------------|
+| Audit Capability | IMS-ALG | Context | M | This information element indicates the context for the command. |
+| | | Bearer Termination | M | This information element indicates the bearer termination(s) for the command. |
+| | | Object(s) | M | This information element indicates the object(s) which capability is requested. |
+| Audit Capability Ack | IMS-AGW | Context | M | This information element indicates the context where the command was executed. |
+| | | Bearer Termination | M | This information element indicates the bearer termination where the command was executed. |
+| | | Capabilities(s) | M | This information element indicates the capabilities of the object(s). |
+
+## 8.16 Capability Update
+
+This procedure is used to indicate update of an object capability.
+
+**Table 8.16.1: Procedures between IMS-ALG and IMS-AGW: Capability Update**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|-----------------------|-----------|--------------------------|------------------------------|-------------------------------------------------------------------------------------------|
+| Capability Update | IMS-AGW | Context | M | This information element indicates the context for the command. |
+| | | Bearer Termination | M | This information element indicates the bearer termination(s) for the command. |
+| | | Reason | M | This information element indicates the reason for service change. |
+| | | Method | M | This information element indicates the method for service change. |
+| Capability Update Ack | IMS-ALG | Context | M | This information element indicates the context where the command was executed. |
+| | | Bearer Termination | M | This information element indicates the bearer termination where the command was executed. |
+
+## 8.17 IMS-ALG Out of Service
+
+This procedure is used to indicate that IMS-ALG has gone out of service.
+
+**Table 8.17.1: Procedures between IMS-ALG and IMS-AGW: IMS-ALG Out of Service**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|----------------------------|-----------|--------------------------|------------------------------|-----------------------------------------------------------------------------------------|
+| IMS-ALG Out of Service | IMS-ALG | Context | M | This information element indicates the context for the command. |
+| | | Root Termination | M | This information element indicates the root termination for the command. |
+| | | Reason | M | This information element indicates the reason for the service change. |
+| | | Method | M | This information element indicates the method for service change. |
+| IMS-ALG Out of Service Ack | IMS-AGW | Context | M | This information element indicates the context where the command was executed. |
+| | | Root Termination | M | This information element indicates the root termination where the command was executed. |
+
+## 8.18 IMS-AGW Resource Congestion Handling - Activate
+
+This procedure is used to activate the congestion handling mechanism.
+
+**Table 8.18.1: Procedures between IMS-ALG and IMS-AGW: IMS-AGW Resource Congestion Handling - Activate**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|-----------------------------------------------------|-----------|--------------------------|------------------------------|----------------------------------------------------------------------------------------------------------|
+| IMS-AGW Resource Congestion Handling – Activate | IMS-ALG | Context | M | This information element indicates that all context are applicable for the root termination. |
+| | | Root Termination | M | This information element indicates that root termination is where the congestion mechanism is activated. |
+| | | Congestion Activate | M | This information element requests to activate the congestion mechanism. |
+| IMS-AGW Resource Congestion Handling - Activate Ack | IMS-AGW | Context | M | This information element indicates that all context are where the command was executed. |
+| | | Root Termination | M | This information element indicates that root termination is where the command was executed. |
+
+## 8.19 IMS-AGW Resource Congestion Handling - Indication
+
+This procedure is used to inform the IMS-ALG that traffic restriction is advised.
+
+**Table 8.19.1: Procedures between IMS-ALG and IMS-AGW: IMS-AGW Resource Congestion Handling -Indication**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|-------------------------------------------------------|-----------|--------------------------|------------------------------|-----------------------------------------------------------------------------------------------------------|
+| IMS-AGW Resource Congestion Handling - Indication | IMS-AGW | Context | M | This information element indicates all context are applicable for the root termination. |
+| | | Root Termination | M | This information element indicates that root termination is where the congestion mechanism was activated. |
+| | | Reduction | M | This information element indicates the load percentage to be reduced. |
+| IMS-AGW Resource Congestion Handling - Indication Ack | IMS-ALG | Context | M | This information element indicates all context are where the command was executed. |
+| | | Root Termination | M | This information element indicates that root termination is where the command was executed. |
+
+## 8.20 Inactivity Timeout Activate
+
+This procedure is used to activate the inactivity timeout mechanism.
+
+**Table 8.20.1: Procedures between IMS-ALG and IMS-AGW: Inactivity Timeout Activate**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|---------------------------------|-----------|-----------------------------|------------------------------|---------------------------------------------------------------------------------------------------------------|
+| Inactivity Timeout Activate | IMS-ALG | Context | M | This information element indicates all context are applicable for the root termination. |
+| | | Root Termination | M | This information element indicates that root termination is where inactivity timeout mechanism was activated. |
+| | | Inactivity Timeout Activate | M | This information element activates the Inactivity Timeout request. |
+| | | Inactivity Timeout | O | This information element indicates the maximum length of time before triggering the related notification. |
+| Inactivity Timeout Activate Ack | IMS-AGW | Context | M | This information element indicates all context are where the command was executed. |
+| | | Root Termination | M | This information element indicates that root termination is where the command was executed. |
+
+## 8.21 Inactivity Timeout Notification
+
+This command is used to notify the IMS-ALG of an inactive control association.
+
+**Table 8.21.1: Procedures between IMS-AGW and IMS-ALG: Inactivity Timeout Notification**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|-------------------------------------|-----------|---------------------------------|------------------------------|-------------------------------------------------------------------------------------------------------------------|
+| Inactivity Timeout Notification | IMS-AGW | Context | M | This information element indicates all context are applicable for the root termination. |
+| | | Root Termination | M | This information element indicates that root termination is where the inactivity timeout mechanism was activated. |
+| | | Inactivity Timeout Notification | M | This information element notifies the IMS-ALG of an inactivity time period. |
+| Inactivity Timeout Notification Ack | IMS-ALG | Context | M | This information element indicates all context are where the command was executed. |
+| | | Root Termination | M | This information element indicates that root termination is where the command was executed. |
+
+## 8.22 Command Reject
+
+This command is used to reject the received command request. It may be used as response to any of the procedures.
+
+**Table 8.22.1: Procedures between IMS-ALG and IMS-AGW: Command Reject**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|----------------|-----------|--------------------------|------------------------------|-------------------------------------------------------------------------------------------|
+| Command Reject | Both | Context | O | This information element indicates the context where the command was rejected. |
+| | | Bearer Termination | O | This information element indicates the bearer termination where the command was rejected. |
+| | | Error | M | This information element indicates the error that caused command rejection. |
+
+## 8.23 Realm Availability Activate
+
+This command is used to request the IMS-AGW to monitor the status of its IP Realms and to report any changes to the IMS-ALG.
+
+**Table 8.23.1: Procedures between IMS-ALG and IMS-AGW: Realm Availability Activate**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|---------------------------------|-----------|-----------------------------|------------------------------|--------------------------------------------------------------------------------------------------------------------|
+| Realm Availability Activate | IMS-ALG | Context | M | This information element indicates all context are applicable for the root termination. |
+| | | Root Termination | M | This information element indicates that root termination is where the realm availability monitoring was activated. |
+| | | Realm Availability Activate | M | This information element activates the monitoring of the availability of IP Realms on the IMS-AGW. |
+| Realm Availability Activate Ack | IMS-AGW | Context | M | This information element indicates all context are where the command was executed. |
+| | | Root Termination | M | This information element indicates that root termination is where the command was executed. |
+
+## 8.24 Realm Availability Notification
+
+This command is used to notify the IMS-ALG of any changes in the availability of IP Realms on the IMS-AGW.
+
+**Table 8.24.1: Procedures between IMS-ALG and IMS-AGW: Realm Availability Notification**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|-------------------------------------|-----------|----------------------------|------------------------------|--------------------------------------------------------------------------------------------------------------------|
+| Realm Availability Notification | IMS-AGW | Context | M | This information element indicates all context are applicable for the root termination. |
+| | | Root Termination | M | This information element indicates that root termination is where the realm availability monitoring was activated. |
+| | | Realm Availability Changes | M | This information element notifies the IMS-ALG of newly available/unavailable IP Realms. |
+| Realm Availability Notification Ack | IMS-ALG | Context | M | This information element indicates all context are where the command was executed. |
+| | | Root Termination | M | This information element indicates that root termination is where the command was executed. |
+
+## 8.25 IP Bearer Released
+
+**Table 8.25.1: Procedures between IMS-ALG and IMS-AGW: IP Bearer Released**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|------------------------|-----------|--------------------------|------------------------------|-----------------------------------------------------------------------------------------------|
+| IP Bearer Released | IMS-AGW | Context | M | This information element indicates the context for the bearer termination. |
+| | | Bearer Termination | M | This information element indicates the bearer termination where the bearer was released. |
+| | | Bearer Released | M | This information element notifies a bearer release. |
+| | | Release Cause | M | This information element indicates the cause of a bearer release. |
+| IP Bearer Released Ack | IMS-ALG | Context | M | This information element indicates all context are where the command was executed. |
+| | | Bearer Termination | M | This information element indicates that Bearer termination is where the command was executed. |
+
+## 8.26 Media Inactivity Notification
+
+This command is used to notify the IMS-ALG of media inactivity on the IMS-AGW.
+
+**Table 8.26.1: Procedures between IMS-ALG and IMS-AGW: Media Inactivity Notification**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|-----------------------------------|-----------|--------------------------|------------------------------|-------------------------------------------------------------------------------------------------------------------|
+| Media Inactivity Notification | IMS-AGW | Context | M | This information element indicates the existing context for the bearer termination. |
+| | | Bearer Termination | M | This information element indicates that bearer termination is where the media inactivity detection was activated. |
+| | | Media Inactivity | M | This information element notifies the IMS-ALG of Media inactivity detection on the bearer termination. |
+| Media Inactivity Notification Ack | IMS-ALG | Context | M | This information element indicates the context where the command was executed. |
+| | | Bearer Termination | M | This information element indicates the bearer termination where the command was executed. |
+
+## 8.27 Termination Out-of-Service
+
+This procedure is used to indicate that a termination on the IMS-AGW has gone out of service
+
+**Table 8.27.1: Procedures between IMS-ALG and IMS-AGW: Termination Out-of-Service**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|--------------------------------|-----------|--------------------------|------------------------------|----------------------------------------------------------------------------------------------|
+| Termination Out-of-Service | IMS-AGW | Context | M | This information element indicates the context for the command. |
+| | | Bearer Termination | M | This information element indicates the bearer termination(s) for the command. |
+| | | Reason | M | This information element indicates the reason for service change. |
+| | | Method | M | This information element indicates the method for service change. |
+| Termination Out-of-Service Ack | IMS-ALG | Context | M | This information element indicates the context where the command was executed. |
+| | | Bearer Termination | M | This information element indicates the bearer termination(s) where the command was executed. |
+
+## 8.28 Change Through-Connection
+
+This procedure is used to change the through-connection in the bearer termination
+
+**Table 8.28.1: Procedures between IMS-ALG and IMS-AGW: Change Through-Connection**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|-------------------------------|-----------|-----------------------------------------------|------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------|
+| Change Through-Connection | IMS-ALG | Context/Context Request | M | This information element indicates the existing context or requests a new context for the bearer termination. |
+| | | Bearer Termination/Bearer Termination Request | M | This information element indicates the existing bearer termination or requests a new bearer termination where the through-connection is changed. |
+| | | Through-Connection | M | This information element indicates the through-connection of the bearer termination |
+| Change Through-Connection Ack | IMS-AGW | Context | M | This information element indicates the context where the command was executed. |
+| | | Bearer Termination | M | This information element indicates the bearer termination where the command was executed. |
+
+NOTE: This procedure may be combined with Reserve and Configure AGW Connection Point, Reserve AGW Connection Point or Configure AGW Connection Point procedure. This list of procedures is not exhaustive.
+
+## 8.29 Change Flow Direction
+
+This procedure is used to change the flow direction between bearer terminations within the context.
+
+**Table 8.29: Procedures between IMS-ALG and IMS-AGW: Configure AGW Connection Point**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|---------------------------|-----------|----------------------------------------------------|------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------|
+| Change Flow Direction | IMS-ALG | Context/Context Request | M | This information element indicates the existing context or a new context where the flow direction is changed. |
+| | | Bearer Termination 1/ Bearer Termination 1 Request | M | This information element indicates the existing bearer termination or a new bearer termination from where the new flow direction is applied. |
+| | | Bearer Termination 2/ Bearer Termination 2 Request | M | This information element indicates the existing bearer termination or a new bearer termination where to the new flow direction is applied. |
+| | | Flow Direction | M | This information element indicates the flow direction from the bearer termination 1 to bearer termination 2 within the context. |
+| Change Flow Direction Ack | IMS-AGW | Context | M | This information element indicates the context where the command was executed. |
+
+## 8.30 ECN Failure Indication
+
+This procedure is used to report ECN related failures (see clause 6.2.13.4).
+
+**Table 8.30.1: Procedures between IMS-ALG and IMS-AGW: ECN Failure Indication**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|----------------------------|-----------|--------------------------|------------------------------|--------------------------------------------------------------------------------------------------|
+| ECN Failure Indication | IMS-AGW | Context | M | This information element indicates the context for the bearer termination. |
+| | | Bearer Termination | M | This information element indicates the bearer termination for which the ECN failure is reported. |
+| | | ECN Error Indication | M | This information element indicates an ECN failure event. |
+| ECN Failure Indication Ack | IMS-ALG | Context | M | This information element indicates the context where the command was executed. |
+| | | Bearer Termination | M | This information element indicates the bearer termination where the command was executed. |
+
+## 8.31 Notify (D)TLS session establishment Failure Indication
+
+This procedure is used to report (D)TLS session establishment failures.
+
+**Table 8.31.1: Procedures between IMS-ALG and IMS-AGW: (D)TLS session establishment Failure Indication**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|-----------------------------------------------------|-----------|-----------------------------------------------|------------------------------|---------------------------------------------------------------------------------------------------------------------------|
+| (D)TLS session establishment Failure Indication | IMS-AGW | Context | M | This information element indicates the context for the bearer termination. |
+| | | Bearer Termination | M | This information element indicates the bearer termination for which the (D)TLS session establishment failure is reported. |
+| | | (D)TLS session establishment Error Indication | M | This information element indicates a (D)TLS session establishment failure event. |
+| (D)TLS session establishment Failure Indication Ack | IMS-ALG | Context | M | This information element indicates the context where the command was executed. |
+| | | Bearer Termination | M | This information element indicates the bearer termination where the command was executed. |
+
+## 8.32 Notify TCP connection establishment Failure Indication
+
+This procedure is used to report TCP connection establishment failures.
+
+**Table 8.32.1: Procedures between IMS-ALG and IMS-AGW: TCP connection establishment Failure Indication**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|-----------------------------------------------------|-----------|-----------------------------------------------|------------------------------|---------------------------------------------------------------------------------------------------------------------------|
+| TCP connection establishment Failure Indication | IMS-AGW | Context | M | This information element indicates the context for the bearer termination. |
+| | | Bearer Termination | M | This information element indicates the bearer termination for which the TCP connection establishment failure is reported. |
+| | | TCP connection establishment Error Indication | M | This information element indicates a TCP connection establishment failure event. |
+| TCP connection establishment Failure Indication Ack | IMS-ALG | Context | M | This information element indicates the context where the command was executed. |
+| | | Bearer Termination | M | This information element indicates the bearer termination where the command was executed. |
+
+## 8.33 ICE Connectivity Check Result Notification
+
+This procedure is used to report ICE connectivity check result for Full ICE (see clause 6.2.17.3).
+
+**Table 8.33.1: Procedures between IMS-ALG and IMS-AGW: ICE Connectivity Check Result Notification**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|------------------------------------------------|-----------|-------------------------------|------------------------------|--------------------------------------------------------------------------------------------------------------------|
+| ICE Connectivity Check Result Notification | IMS-AGW | Context | M | This information element indicates the context for the bearer termination. |
+| | | Bearer Termination | M | This information element indicates the bearer termination for which the ICE Connectivity Check Result is reported. |
+| | | ICE Connectivity Check Result | M | This information element indicates an ICE Connectivity Check Result event. |
+| ICE Connectivity Check Result Notification Ack | IMS-ALG | Context | M | This information element indicates the context where the command was executed. |
+| | | Bearer Termination | M | This information element indicates the bearer termination where the command was executed. |
+
+## 8.34 ICE New Peer Reflexive Candidate Notification
+
+This procedure is used to report ICE new peer reflexive candidate for Full ICE (see clause 6.2.17.4).
+
+**Table 8.34.1: Procedures between IMS-ALG and IMS-AGW: ICE New Peer Reflexive Candidate Notification**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|---------------------------------------------------|-----------|----------------------------------|------------------------------|-----------------------------------------------------------------------------------------------------------------------|
+| ICE New Peer Reflexive Candidate Notification | IMS-AGW | Context | M | This information element indicates the context for the bearer termination. |
+| | | Bearer Termination | M | This information element indicates the bearer termination for which the ICE New Peer Reflexive Candidate is reported. |
+| | | ICE New Peer Reflexive Candidate | M | This information element indicates an ICE New Peer Reflexive Candidate event. |
+| ICE New Peer Reflexive Candidate Notification Ack | IMS-ALG | Context | M | This information element indicates the context where the command was executed. |
+| | | Bearer Termination | M | This information element indicates the bearer termination where the command was executed. |
+
+## 8.35 STUN Consent Freshness Test Failure Notification
+
+This procedure is used to report STUN consent freshness test failures.
+
+**Table 8.35.1: Procedures between eP-CSCF and eIMS-AGW: STUN Consent Freshness Test Failure Notification**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|--------------------------------------------------|-----------|-------------------------------------|------------------------------|--------------------------------------------------------------------------------------------------------------------------|
+| STUN consent freshness test Failure Notification | eIMS-AGW | Context | M | This information element indicates the context for the bearer termination. |
+| | | Bearer Termination | M | This information element indicates the bearer termination for which the STUN consent freshness test failure is reported. |
+| | | STUN consent freshness test failure | M | This information indicates a STUN consent freshness failure event. |
+| STUN consent freshness test Failure Notification | eP-CSCF | Context | M | This information element indicates the context where the command was executed. |
+| | | Bearer Termination | M | This information element indicates the bearer termination where the command was executed. |
+
+## 8.36 Notify SCTP Stream Reset
+
+**Table 8.36.1: Procedures between IMS-ALG and IMS-AGW: Notify SCTP Stream Reset**
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|------------------------------|-----------|------------------------------------|------------------------------|-----------------------------------------------------------------------------------------------|
+| Notify SCTP Stream Reset | IMS-AGW | Context | M | This information element indicates the context for the bearer termination. |
+| | | Bearer Termination | M | This information element indicates the bearer termination where the bearer was released. |
+| | | Received SCTP Stream Reset Request | M | This information element indicates that an SCTP Stream reset request has been received |
+| | | SCTP Stream ID | M | This information element indicates the SCTP Stream ID of the related SCTP Stream. |
+| Notify SCTP Stream Reset Ack | IMS-ALG | Context | M | This information element indicates all context are where the command was executed. |
+| | | Bearer Termination | M | This information element indicates that Bearer termination is where the command was executed. |
+
+## 8.37 Notify SCTP Stream Reset Result
+
+Table 8.37.1: Procedures between IMS-ALG and IMS-AGW: Notify SCTP Stream Reset Result
+
+| Procedure | Initiated | Information element name | Information element required | Information element description |
+|-------------------------------------|-----------|-----------------------------------|------------------------------|----------------------------------------------------------------------------------------------------------------|
+| Notify SCTP Stream Reset Result | IMS-AGW | Context | M | This information element indicates the context for the bearer termination. |
+| | | Bearer Termination | M | This information element indicates the bearer termination where the bearer was released. |
+| | | Received SCTP Stream Reset Result | M | This information element indicates that an SCTP Stream reset result has been received and the received result. |
+| | | SCTP Stream ID | M | This information element indicates the SCTP Stream ID of the related SCTP Stream. |
+| Notify SCTP Stream Reset Result Ack | IMS-ALG | Context | M | This information element indicates all context are where the command was executed. |
+| | | Bearer Termination | M | This information element indicates that Bearer termination is where the command was executed. |
+
+## Annex A (informative): Change history
+
+| Date | TSG # | TSG Doc. | CR | Rev | Subject/Comment | New |
+|---------|-------|-----------|------|-----|------------------------------------------------------------------------------------------------|--------|
+| 2009-12 | CT#46 | CP-090822 | | | 3GPP TS Presented for approval in CT#46 | 9.0.0 |
+| 2009-12 | | | | | Editorial clean up | 9.0.1 |
+| 2010-03 | CT#47 | CP-100050 | 0001 | 2 | IMS media plane security stage 2 | 9.1.0 |
+| 2010-06 | CT#48 | CP-100289 | 0003 | 1 | Transport protocol to be indicated to gateway for end-to-end media security | 9.2.0 |
+| 2010-06 | CT#48 | CP-100284 | 0004 | 1 | Handling of Through Connection | 9.2.0 |
+| 2010-06 | CT#48 | | 0005 | - | Handling of RTCP streams requirement update | 9.2.0 |
+| 2010-09 | CT#49 | CP-100461 | 0006 | 1 | Procedures for Emergency call | 9.3.0 |
+| 2010-09 | CT#49 | | 0007 | 1 | Local IP Resources IE: changing of property | 9.3.0 |
+| 2010-12 | CT#50 | CP-100685 | 0008 | - | Support of ECN | 10.0.0 |
+| 2011-03 | CT#51 | CP-110058 | 0009 | 2 | Handling of ICE Initialisation method for ECN | 10.1.0 |
+| 2011-03 | CT#51 | | 0010 | 2 | ECN Support in Iq Interface | 10.1.0 |
+| 2011-09 | CT#53 | CP-110573 | 0011 | 2 | Transcoding at ATCF/ATGW during eSRVCC | 10.2.0 |
+| 2011-12 | CT#54 | CP-110798 | 0012 | 1 | Explicit Congestion Notification | 10.3.0 |
+| 2011-12 | CT#54 | CP-110798 | 0013 | 1 | Corrections to Stage 2 Procedures for Access Transfer Function | 10.3.0 |
+| 2012-03 | CT#55 | CP-120046 | 0014 | 2 | Functional Requirements for eMPS MGW control | 11.0.0 |
+| 2012-06 | CT#56 | CP-120239 | 0015 | 3 | Multimedia Priority Control of Media Gateway resources | 11.1.0 |
+| 2012-06 | CT#56 | CP-120226 | 0018 | 1 | Reference update: draft-ietf-avtcore-ecn-for-rtp | 11.1.0 |
+| 2012-11 | | | | | Version in the header corrected | 11.1.1 |
+| 2012-12 | CT#58 | CP-120723 | 0025 | - | Reference update: RFC 6679 | 11.2.0 |
+| 2012-12 | CT#58 | CP-120734 | 0026 | 3 | Support of Multimedia Priority Service (MPS) in Modify over Iq Interface | 11.2.0 |
+| 2013-06 | CT#60 | CP-130299 | 0029 | 3 | Introduction of support for Coordination of Video Orientation (CVO) | 12.0.0 |
+| 2013-09 | CT#61 | CP-130471 | 0030 | 3 | Introduction of support for Generic Image Attribute/signalling of image size | 12.1.0 |
+| 2013-09 | CT#61 | CP-130452 | 0034 | 2 | CVO Procedural Clarifications | 12.1.0 |
+| 2013-12 | CT#62 | CP-130636 | 0035 | 1 | Usage of generic image attributes | 12.2.0 |
+| 2013-12 | CT#62 | CP-130636 | 0038 | 1 | Correction of Image Size description | 12.2.0 |
+| 2013-12 | CT#62 | CP-130619 | 0037 | 1 | Correction of CVO description | 12.2.0 |
+| 2014-03 | CT#63 | CP-140025 | 0040 | - | Alignment of IE name for CVO | 12.3.0 |
+| 2014-06 | CT#64 | CP-140245 | 0041 | 1 | e2e media security for TCP-based media using TLS – Functional requirements | 12.4.0 |
+| 2014-06 | CT#64 | CP-140245 | 0042 | 4 | e2ae media security for TCP based media using TLS – Functional requirements | 12.4.0 |
+| 2014-06 | CT#64 | CP-140245 | 0043 | 2 | e2ae media security for UDP-based media using DTLS – Functional requirements | 12.4.0 |
+| 2014-06 | CT#64 | CP-140245 | 0054 | 1 | e2e media security for TCP-based media using TLS - Procedures | 12.4.0 |
+| 2014-06 | CT#64 | CP-140245 | 0055 | 2 | e2ae media security for TCP-based media using TLS - Procedures | 12.4.0 |
+| 2014-06 | CT#64 | CP-140245 | 0056 | 1 | e2ae media security for UDP-based media using DTLS – procedures | 12.4.0 |
+| 2014-06 | CT#64 | CP-140245 | 0057 | 3 | Iq requirements for end-to-end TCP bearer connection control and related NAT traversal support | 12.4.0 |
+| 2014-06 | CT#64 | CP-140256 | 0045 | 1 | Functional requirements – clarification of "stage 2" convention | 12.4.0 |
+| 2014-06 | CT#64 | CP-140248 | 0046 | 3 | Support for Interactive Connectivity Establishment (ICE) | 12.4.0 |
+| 2014-06 | CT#64 | CP-140249 | 0052 | 2 | WebRTC media security using DTLS-SRTP | 12.4.0 |
+| 2014-06 | CT#64 | CP-140249 | 0053 | 2 | WebRTC support for Iq | 12.4.0 |
+| 2014-09 | CT#65 | CP-140504 | 0058 | 1 | Procedures for TCP bearer connection control | 12.5.0 |
+| 2014-09 | CT#65 | CP-140504 | 0060 | 1 | Bandwidth adjustment due to e2ae media security | 12.5.0 |
+| 2014-09 | CT#65 | CP-140504 | 0061 | - | MSRP handling | 12.5.0 |
+| 2014-12 | CT#66 | CP-140798 | 0047 | 3 | RTCP port allocation rules – Semantical clarification | 12.6.0 |
+| 2014-12 | CT#66 | CP-140786 | 0062 | 2 | E2e media security for TCP-based media – terminals behind NAT | 12.6.0 |
+| 2014-12 | CT#66 | CP-140786 | 0066 | - | Reference update: RFC 7345 (draft-ietf-mmusic-udptl-dtls) | 12.6.0 |
+| 2014-12 | CT#66 | CP-140786 | 0074 | - | Reference update: draft-schwarz-mmusic-sdp-for-gw | 12.6.0 |
+| 2014-12 | CT#66 | CP-140786 | 0075 | 2 | Client-initiated TLS session renegotiation not supported on the Iq interface | 12.6.0 |
+| 2014-12 | CT#66 | CP-140777 | 0063 | 1 | WebRTC Architecture Update | 12.6.0 |
+| 2014-12 | CT#66 | CP-140777 | 0064 | 4 | Consent Refreshness in WebRTC | 12.6.0 |
+| 2014-12 | CT#66 | CP-140777 | 0067 | 4 | H.248 requirements for WebRTC | 12.6.0 |
+| 2014-12 | CT#66 | CP-140777 | 0068 | 3 | Iq requirements for OPUS codec in WebRTC | 12.6.0 |
+| 2014-12 | CT#66 | CP-140777 | 0069 | 3 | Iq requirements for ICE-TCP | 12.6.0 |
+| 2014-12 | CT#66 | CP-140777 | 0072 | 5 | End-to-access-edge security for DTLS over TCP | 12.6.0 |
+| 2014-12 | CT#66 | CP-140788 | 0070 | 3 | Iq requirements for EVS | 12.6.0 |
+| 2014-12 | CT#66 | CP-140791 | 0071 | 3 | Alternative connection (ALTC) addresses management | 12.6.0 |
+
+| | | | | | | |
+|---------|--------|-----------|------|---|--------------------------------------------------------------------------------------------------------------------------------------|--------|
+| 2014-12 | CT#66 | CP-140799 | 0039 | 7 | Support of RTP transport multiplexing (lq, stage 2) | 13.0.0 |
+| 2015-03 | CT#67 | CP-150027 | 0077 | 1 | IMS WebRTC reference updates | 13.1.0 |
+| 2015-03 | CT#67 | CP-150030 | 0079 | 1 | DTLS roles and cross-reference correction | 13.1.0 |
+| 2015-06 | CT#68 | CP-150258 | 0085 | - | 3GPP TLS profile reference | 13.2.0 |
+| 2015-06 | CT#68 | CP-150260 | 0083 | 1 | Bearer Termination in Acknowledgements | 13.2.0 |
+| 2015-06 | CT#68 | CP-150259 | 0081 | 1 | EVS corrections | 13.2.0 |
+| 2015-09 | CT#69 | CP-150457 | 0088 | 2 | MSRP and WebRTC data channels | 13.3.0 |
+| 2015-09 | CT#69 | CP-150452 | 0091 | 4 | Support for Video Enhancements by Region-of-Interest Information Signalling | 13.3.0 |
+| 2015-12 | CT#70 | CP-150786 | 0092 | 7 | Support of SDP capability negotiation | 13.4.0 |
+| 2015-12 | CT#70 | CP-150779 | 0093 | 4 | WebRTC Data Channel Call flows | 13.4.0 |
+| 2015-12 | CT#70 | CP-150779 | 0095 | 3 | Update of WebRTC data channel references | 13.4.0 |
+| 2015-12 | CT#70 | CP-150779 | 0100 | 2 | Support of WebRTC data channels (stage 2) | 13.4.0 |
+| 2015-12 | CT#70 | CP-150779 | 0101 | 1 | WebRTC Data Channel Procedures | 13.4.0 |
+| 2015-12 | CT#70 | CP-150779 | 0102 | 1 | WebRTC Data Channel Information Elements | 13.4.0 |
+| 2015-12 | CT#70 | CP-150779 | 0094 | 4 | Support for Video Enhancements by Region-of-Interest Information Signalling | 13.4.0 |
+| 2015-12 | CT#70 | CP-150779 | 0097 | 1 | Update of media security references | 13.4.0 |
+| 2015-12 | CT#70 | CP-150779 | 0099 | 2 | Update of IMS WebRTC references | 13.4.0 |
+| 2016-03 | CT#71 | CP-160015 | 0109 | 1 | Corrections to EVS AMR-WB IO mode-change-capability MIME parameter handling | 13.5.0 |
+| 2016-03 | CT#71 | CP-160028 | 0104 | 2 | Release of WebRTC Data Channels | 13.5.0 |
+| 2016-03 | CT#71 | CP-160034 | 0106 | 2 | Support of enhanced bandwidth negotiation mechanism for MTSI sessions | 13.5.0 |
+| 2016-03 | CT#71 | CP-160032 | 0107 | 2 | WebRTC media plane optimization procedure | 13.5.0 |
+| 2016-09 | CT#73 | CP-160429 | 0112 | 1 | Mandatory support of RTP/RTCP multiplexing | 14.0.0 |
+| 2016-09 | CT#73 | CP-160429 | 0114 | 1 | Transport of T.140 and BFCP within data channels | 14.0.0 |
+| 2016-12 | CT#74 | CP-160684 | 0115 | 1 | Support of RTP-level pause and resume functionality | 14.1.0 |
+| 2016-12 | CT#74 | CP-160648 | 0116 | 4 | SDP offer/answer for TLS and DTLS protected media | 14.1.0 |
+| 2016-12 | CT#74 | CP-160671 | 0118 | 2 | WebRTC Media plane optimization with DTLS termination | 14.1.0 |
+| 2016-12 | CT#74 | CP-160671 | 0119 | 1 | TCP transport for WebRTC data channels | 14.1.0 |
+| 2016-12 | CT#74 | CP-160647 | 0125 | 1 | Corrections to handling of the DTX related EVS MIME parameter | 14.1.0 |
+| 2016-12 | CT#74 | CP-160661 | 0127 | 2 | Reference update for draft-ietf-mmusic-data-channel-sdpneg | 14.1.0 |
+| 2017-03 | CT#75 | CP-170023 | 0129 | - | Reference update: draft-ietf-mmusic-dtls-sdp | 14.2.0 |
+| 2017-03 | CT#75 | CP-170023 | 0131 | - | RFC 4572 obsoleted by draft-ietf-mmusic-4572-update | 14.2.0 |
+| 2017-03 | CT#75 | CP-170030 | 0135 | 1 | Updates for WebRTC media plane optimization procedures related to the usage of the "dtls-id" SDP attribute and multiple fingerprints | 14.2.0 |
+| 2017-03 | CT#75 | CP-170033 | 0132 | - | Reference update: RFC 8035 | 14.2.0 |
+| 2017-03 | CT#75 | CP-170051 | 0133 | 2 | RTCP Codec Control Commands and Indications | 14.2.0 |
+| 2017-06 | CT#76 | CP-171015 | 0137 | - | Reference update: RFC 8122 | 14.3.0 |
+| 2017-06 | CT#76 | CP-171027 | 0138 | - | Reference update: draft-ietf-mmusic-mux-exclusive | 14.3.0 |
+| 2017-06 | CT#76 | CP-171024 | 0140 | - | Reference update: draft-ietf-mmusic-sctp-sdp | 14.3.0 |
+| 2017-06 | CT#76 | CP-171015 | 0142 | - | Reference update: draft-ietf-mmusic-dtls-sdp | 14.3.0 |
+| 2017-12 | CT#78 | CP-173014 | 0144 | - | Reference update: draft-ietf-mmusic-dtls-sdp | 14.4.0 |
+| 2018-03 | CT#79 | CP-180014 | 0145 | 1 | Removal of IETF draft for transport BFCP within data channels | 14.5.0 |
+| 2018-06 | CT#80 | - | - | - | Update to Rel-15 version (MCC) | 15.0.0 |
+| 2019-06 | CT#84 | CP-191053 | 0149 | 2 | Update IMS-ALG/IMS-AGW procedures for DBI support | 16.0.0 |
+| 2019-12 | CT#86 | CP-193019 | 0156 | - | Reference update: draft-ietf-mmusic-msrp-usage-data-channel | 16.1.0 |
+| 2019-12 | CT#86 | CP-193021 | 0152 | 1 | Reference update: draft-ietf-mmusic-t140-usage-data-channel | 16.1.0 |
+| 2020-12 | CT#90e | CP-203024 | 0164 | - | Update on draft references | 16.2.0 |
+| 2020-12 | CT#90e | CP-203025 | 0159 | - | Reference update: draft-ietf-mmusic-t140-usage-data-channel | 16.2.0 |
+| 2021-03 | CT#91e | CP-210065 | 0168 | - | Reference update: RFC 8842 | 16.3.0 |
+| 2021-03 | CT#91e | CP-210066 | 0172 | - | Reference update: RFC 8831, RFC 8841, RFC 8864 and RFC 8873 | 16.3.0 |
+| 2021-03 | CT#91e | CP-210068 | 0175 | - | Reference update: RFC 8858 and RFC 8865 | 16.3.0 |
\ No newline at end of file
diff --git a/marked/Rel-16/23_series/23732/00504fc688ebcf131ccbeff94dfc9939_img.jpg b/marked/Rel-16/23_series/23732/00504fc688ebcf131ccbeff94dfc9939_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..fed681b233f163021d06863e46d2d76cd5053f85
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/00504fc688ebcf131ccbeff94dfc9939_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:03bd2b824d49eed4453efef7a7b1462ac7728021ef21911ec858536c0788c2f3
+size 59003
diff --git a/marked/Rel-16/23_series/23732/04cfca33e3fc26513abe649d7474f733_img.jpg b/marked/Rel-16/23_series/23732/04cfca33e3fc26513abe649d7474f733_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d92c1bebc5de553dc5920b696cd59fce6950521f
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/04cfca33e3fc26513abe649d7474f733_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9794613afcf49a384a8d2580ad7536765616081c3ccaff74744706659d2b358c
+size 95461
diff --git a/marked/Rel-16/23_series/23732/05eb72d372e4bf78e3d6a64949d77bcc_img.jpg b/marked/Rel-16/23_series/23732/05eb72d372e4bf78e3d6a64949d77bcc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e8ccf9f319ecc2563bfabf80bd66d30dfb6f7841
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/05eb72d372e4bf78e3d6a64949d77bcc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d8d6e91fd506a964ee39bb182f22933df6666bf288dc2d50bc4bdd07edd98f96
+size 32823
diff --git a/marked/Rel-16/23_series/23732/080a7af02bc47cf21ebfae4e0be39745_img.jpg b/marked/Rel-16/23_series/23732/080a7af02bc47cf21ebfae4e0be39745_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..28ef7d8e08266507014b7a2bcc9da60a7079843d
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/080a7af02bc47cf21ebfae4e0be39745_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:84e6a9694027c21a1157234a7991e615fd5cb0eb76b1661c50290fecf8a5a184
+size 24997
diff --git a/marked/Rel-16/23_series/23732/0997dbaa9dfecedd60029d70b53327b8_img.jpg b/marked/Rel-16/23_series/23732/0997dbaa9dfecedd60029d70b53327b8_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..5e1eb9e663276e7216ce88c88dc31ba7e881a41a
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/0997dbaa9dfecedd60029d70b53327b8_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f9c699a872d27f86aa8a199a30272839967fe6bb7fe7d6edfe8b1634989253d7
+size 36402
diff --git a/marked/Rel-16/23_series/23732/0b3d9fe35da3ee0c88f1420bb9ed7a03_img.jpg b/marked/Rel-16/23_series/23732/0b3d9fe35da3ee0c88f1420bb9ed7a03_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e76323221913ea9cf9be754a75ecf8ace216d412
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/0b3d9fe35da3ee0c88f1420bb9ed7a03_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e8b8ecca27c8beec0bd39c57656517de360eb57ebdea592becdde3629d879722
+size 57413
diff --git a/marked/Rel-16/23_series/23732/0ea87c5f55e5857d0969bc5ca36dccba_img.jpg b/marked/Rel-16/23_series/23732/0ea87c5f55e5857d0969bc5ca36dccba_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..bbd8c677b2175e834c9c5f0e5b194ae41c7b72ea
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/0ea87c5f55e5857d0969bc5ca36dccba_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2c253cd00bdc661b551b9aec7afac4328619511a11a183f4d55cbcb8438f86e0
+size 52031
diff --git a/marked/Rel-16/23_series/23732/0f1767577a073167eb9628d72034e083_img.jpg b/marked/Rel-16/23_series/23732/0f1767577a073167eb9628d72034e083_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..ad288ebf8d4ce890392a6230451a9a8e14cfc8fe
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/0f1767577a073167eb9628d72034e083_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9b208ef3305f822dd60af768d683d4974c25281c38126b5243480d75dac95b30
+size 42125
diff --git a/marked/Rel-16/23_series/23732/13fde41de77bf026013a0b81684d1fc9_img.jpg b/marked/Rel-16/23_series/23732/13fde41de77bf026013a0b81684d1fc9_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7823822c382062b578294f199603f502d60a15d1
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/13fde41de77bf026013a0b81684d1fc9_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1c29ce15471b774f84f88830c60ad74350044786aa4ba518cc4ea5349a3f2cf8
+size 55985
diff --git a/marked/Rel-16/23_series/23732/18291be12b470a557e8c9f3a74e021be_img.jpg b/marked/Rel-16/23_series/23732/18291be12b470a557e8c9f3a74e021be_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6ec88d2ecc945d3de98e8e6b98d9b65d3bb6dd21
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/18291be12b470a557e8c9f3a74e021be_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cab9919b4936eedc344c54d9c1d77e42ece199bd1a2abda160ebda183de2f962
+size 33349
diff --git a/marked/Rel-16/23_series/23732/1a827b10290f33d4fec04d0e8ef7a897_img.jpg b/marked/Rel-16/23_series/23732/1a827b10290f33d4fec04d0e8ef7a897_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..eb4753c3233663f7dc3c8f1a649463456ebd0956
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/1a827b10290f33d4fec04d0e8ef7a897_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bd8f8c9853c68c74abf6ea49e0fcef91df78bc6ba335c98d8f0b9a34941b881f
+size 51201
diff --git a/marked/Rel-16/23_series/23732/21ad58fee90f2be50708ff541d225507_img.jpg b/marked/Rel-16/23_series/23732/21ad58fee90f2be50708ff541d225507_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e8d3f785e3885accf44f62a76bb64aa43f7dd13e
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/21ad58fee90f2be50708ff541d225507_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4c0ad04d91ad44459f3068bdcfef579ba814686050ba9216d7b880676b8e83f2
+size 42558
diff --git a/marked/Rel-16/23_series/23732/23cb65390082ab306c15bd3d8196135e_img.jpg b/marked/Rel-16/23_series/23732/23cb65390082ab306c15bd3d8196135e_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..781a6cee2e71168203b22f9ad00cbc15af03af1e
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/23cb65390082ab306c15bd3d8196135e_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6814fbb5bd94c841473efb3e47b07970258fce71c4af18999a5887d4c1d0f802
+size 47927
diff --git a/marked/Rel-16/23_series/23732/26d664119ad25250780f554633444e54_img.jpg b/marked/Rel-16/23_series/23732/26d664119ad25250780f554633444e54_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..21403f2dbbee552199fc4eb457e730964337ad97
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/26d664119ad25250780f554633444e54_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:57e276dbfa989cc7af797cb96a4051b3b6c84751c680ff5f9aacf204fec8c374
+size 56960
diff --git a/marked/Rel-16/23_series/23732/27b06ec9f42b5d727a2630f61a5f1861_img.jpg b/marked/Rel-16/23_series/23732/27b06ec9f42b5d727a2630f61a5f1861_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a6b048ddaeefdb66480725f7e70e71bd3fb1c471
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/27b06ec9f42b5d727a2630f61a5f1861_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:33faaadd871eabf8d6f76df8e40417ce56f933f17815d05a0e4c570bb1c99bee
+size 95509
diff --git a/marked/Rel-16/23_series/23732/2837ffdadcdb1e5bababa56b564e56ed_img.jpg b/marked/Rel-16/23_series/23732/2837ffdadcdb1e5bababa56b564e56ed_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c7a18991c9a7722fb06761cc048a9b89f988da4f
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/2837ffdadcdb1e5bababa56b564e56ed_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7a87f0ce02567709f4470394fb9bb9f7f09b0202bdfb0432724a2571e93ce0b2
+size 37250
diff --git a/marked/Rel-16/23_series/23732/28d75f39a24203712ee907b32cf0bbe5_img.jpg b/marked/Rel-16/23_series/23732/28d75f39a24203712ee907b32cf0bbe5_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..70357b694b720c0bb5d263f50fc0b30eddd90476
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/28d75f39a24203712ee907b32cf0bbe5_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0f7524e630ab1fa2b2d7830960d416791340dc5dc26294db02edb65c723662b7
+size 60942
diff --git a/marked/Rel-16/23_series/23732/2dc649aff45a8a0924db45fc3bd6aabb_img.jpg b/marked/Rel-16/23_series/23732/2dc649aff45a8a0924db45fc3bd6aabb_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..f043194460fea148fb5b75412c269a14f6c81b8b
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/2dc649aff45a8a0924db45fc3bd6aabb_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d662b8b4fedc8aed7991804c72c4d3997727883f920ca22062db1c1356252b46
+size 53411
diff --git a/marked/Rel-16/23_series/23732/3263a25e110201638bda790456af2909_img.jpg b/marked/Rel-16/23_series/23732/3263a25e110201638bda790456af2909_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6574468b61391abbcfd0f583ab5a3e635c123098
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/3263a25e110201638bda790456af2909_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:fe7120bee0885cead9d63c9d89fe7ddd4ed8a9660aae42df4bab7b36065cc5db
+size 30387
diff --git a/marked/Rel-16/23_series/23732/3442f31a562d1ef45bfa18b18a6a1ddc_img.jpg b/marked/Rel-16/23_series/23732/3442f31a562d1ef45bfa18b18a6a1ddc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..42c6fabc3578d75458bfc754a9eae6ac28f10b31
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/3442f31a562d1ef45bfa18b18a6a1ddc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4cd11dc9f00057867c97a1472d0b43e348c73dac3a1fc9fb13d7b189fd5aca2a
+size 44845
diff --git a/marked/Rel-16/23_series/23732/367378559e35017a5e1a6f5c30798c5a_img.jpg b/marked/Rel-16/23_series/23732/367378559e35017a5e1a6f5c30798c5a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..cb6b0c7b68ee1a88e73157692cc0c00cfbf2d55c
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/367378559e35017a5e1a6f5c30798c5a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3f3c67bd45072c14dea6f9b769092af5c40498980714d77329dea4b13c207191
+size 28316
diff --git a/marked/Rel-16/23_series/23732/36fd537a1e39baa2471ecfaaf869751a_img.jpg b/marked/Rel-16/23_series/23732/36fd537a1e39baa2471ecfaaf869751a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..f4a3ae57ec72928b887423b507c8954017a04e7c
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/36fd537a1e39baa2471ecfaaf869751a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f3b8bc0adb0bc24020d214febc6c814c084d8f5886d197092ef01c65e4033fd1
+size 58703
diff --git a/marked/Rel-16/23_series/23732/376f80eb8a41369e87da63a0210d173e_img.jpg b/marked/Rel-16/23_series/23732/376f80eb8a41369e87da63a0210d173e_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7bf77b16ceca1c6da3ff6ba4f4eac9d1398e1fa8
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/376f80eb8a41369e87da63a0210d173e_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cca416aa060cba149d78ed0143d21b315f4d278e1138e568d6f3ad4f4fe87b6f
+size 48027
diff --git a/marked/Rel-16/23_series/23732/3ad00ce93ad9dea9ee0f47535e5355e6_img.jpg b/marked/Rel-16/23_series/23732/3ad00ce93ad9dea9ee0f47535e5355e6_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..f9cbaba64a9f78ac885161abe663241222e08ba6
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/3ad00ce93ad9dea9ee0f47535e5355e6_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6c7be7039d2dbef4c69dd103fc7c524584c2560a41604f9559abd18a42659336
+size 67123
diff --git a/marked/Rel-16/23_series/23732/3da1a07cb87051bf616c9876db958cf0_img.jpg b/marked/Rel-16/23_series/23732/3da1a07cb87051bf616c9876db958cf0_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..04c1454b76c5200eee2d350eee7ec9e24141b541
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/3da1a07cb87051bf616c9876db958cf0_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:fba5f457064ea9cdf47017b621dc2867addbafabde13fdba03d7ed471195d35c
+size 65400
diff --git a/marked/Rel-16/23_series/23732/3db5d62ad46e33647ec2b1ad6d2703bb_img.jpg b/marked/Rel-16/23_series/23732/3db5d62ad46e33647ec2b1ad6d2703bb_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..01ce84cba45fafce1c33a18c5f775dada24f9918
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/3db5d62ad46e33647ec2b1ad6d2703bb_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8234e64f8bed5512bed5fac44bc379476f83070b69704748846eee76dce9f80f
+size 33098
diff --git a/marked/Rel-16/23_series/23732/40a8c30f7ea5ecea4912e040c97c5b9c_img.jpg b/marked/Rel-16/23_series/23732/40a8c30f7ea5ecea4912e040c97c5b9c_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..45bac7e644c8c819b500f720f0c5006afff07383
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/40a8c30f7ea5ecea4912e040c97c5b9c_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ed83265f9d366d7b69aff5e3ccbf951b741eddc37cccfc336921a3ec2632b2d6
+size 47883
diff --git a/marked/Rel-16/23_series/23732/42e18c25bfd455a5a57f207bacfcb970_img.jpg b/marked/Rel-16/23_series/23732/42e18c25bfd455a5a57f207bacfcb970_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..2fbb63c4d40422b5084e3e1888de491c319036cf
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/42e18c25bfd455a5a57f207bacfcb970_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bbb8e8bad50304558611d277f856781608cd2f7811ac30cf020743c7a8880bd4
+size 54171
diff --git a/marked/Rel-16/23_series/23732/43979979715bb3304389a0cb18f34444_img.jpg b/marked/Rel-16/23_series/23732/43979979715bb3304389a0cb18f34444_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7357aa831c5a06e1b1a03fcdf586e1b4ef24c60c
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/43979979715bb3304389a0cb18f34444_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4a7ec29b6fb078ba24f7c8238b08fefddf1f9f2984a0cb2bfc5682f44a87ba3e
+size 47089
diff --git a/marked/Rel-16/23_series/23732/48f209b7c0c1f91af40cfc3466dbd534_img.jpg b/marked/Rel-16/23_series/23732/48f209b7c0c1f91af40cfc3466dbd534_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0e9ee212dadd954c8ac52edfd16ff0d1476ba758
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/48f209b7c0c1f91af40cfc3466dbd534_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9d1f641694631a891aa30a2dd3419ad00ed2d1196dd7808f8434dc7f93c066ac
+size 26740
diff --git a/marked/Rel-16/23_series/23732/4cc7cdce3d498d8b0ba033a9be24ade5_img.jpg b/marked/Rel-16/23_series/23732/4cc7cdce3d498d8b0ba033a9be24ade5_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..005e8d2fad9f0283220b7091e59825ff39beef80
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/4cc7cdce3d498d8b0ba033a9be24ade5_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a7cf3740304d01a34d992a5ec10047f751e0027212d65d1860382225357a7290
+size 57229
diff --git a/marked/Rel-16/23_series/23732/4cde160bcc69b7b6c81b648dd0e4252e_img.jpg b/marked/Rel-16/23_series/23732/4cde160bcc69b7b6c81b648dd0e4252e_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..83d3579fcd898872f89d30209b0121bcd8fc2059
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/4cde160bcc69b7b6c81b648dd0e4252e_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d08a5f6b95e8718b739158528695fb0701b022319dfa47cb3450977d28d9b808
+size 56913
diff --git a/marked/Rel-16/23_series/23732/4e85fe330de2c4f5eea6de4b2a53c77f_img.jpg b/marked/Rel-16/23_series/23732/4e85fe330de2c4f5eea6de4b2a53c77f_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7bcd51c0c1849dde5a74cc68b13233161e927c2a
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/4e85fe330de2c4f5eea6de4b2a53c77f_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0b789132b0cdec97c6613d22f1bc3c3c6e7acef646aa1f6c3f84f43be6c3d554
+size 28461
diff --git a/marked/Rel-16/23_series/23732/5e9af8986a5845504f251d3079da8078_img.jpg b/marked/Rel-16/23_series/23732/5e9af8986a5845504f251d3079da8078_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e2ae7f4d54b868322c6fa331bcd3b58127781240
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/5e9af8986a5845504f251d3079da8078_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:939c108a8db30e03808f3abab654075d8b961ac675a0dc36ab2f148bd1421bc0
+size 39251
diff --git a/marked/Rel-16/23_series/23732/68a5a1a1a761c652b4b4c56da7cf9914_img.jpg b/marked/Rel-16/23_series/23732/68a5a1a1a761c652b4b4c56da7cf9914_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..8e87f9427d1c28e0212fc28871fca0b6d8eed201
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/68a5a1a1a761c652b4b4c56da7cf9914_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:18e4ab1d763677a6aca0316595d78efcf3ebf8ea41cad5988d0d6cdddc5ab7d7
+size 42378
diff --git a/marked/Rel-16/23_series/23732/6e15fc9ea763541c5913d26f85072ae1_img.jpg b/marked/Rel-16/23_series/23732/6e15fc9ea763541c5913d26f85072ae1_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7234f99039dd90bc7e1533b70d45e4569c2f6d31
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/6e15fc9ea763541c5913d26f85072ae1_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f86858ed0090711eef93458f384c8774490e7a3ac3d8ebc0769a2e2a2edbc4ef
+size 31711
diff --git a/marked/Rel-16/23_series/23732/7d3d5fb5d09c0cd35a9d637be241651e_img.jpg b/marked/Rel-16/23_series/23732/7d3d5fb5d09c0cd35a9d637be241651e_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..f35c354b047464c427b693730148a47aa9a3eec1
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/7d3d5fb5d09c0cd35a9d637be241651e_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:05266be9fd131e1327e71d36b5bbb104002fca1e461cfb3e67c098e6b01cc51e
+size 44324
diff --git a/marked/Rel-16/23_series/23732/7dfd8dd318dcfc36eaf4c967ddfb94c1_img.jpg b/marked/Rel-16/23_series/23732/7dfd8dd318dcfc36eaf4c967ddfb94c1_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..845660c7b887edd84e4c9fad8f809fab09d36160
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/7dfd8dd318dcfc36eaf4c967ddfb94c1_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6ba0d8de4a9a0bd0a8f6db73b9cd8cf4e3e682a1a32c7961aa16d5f048e73686
+size 65467
diff --git a/marked/Rel-16/23_series/23732/7e670a2b556b53ea9002dfff3a420e08_img.jpg b/marked/Rel-16/23_series/23732/7e670a2b556b53ea9002dfff3a420e08_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..65ad57d596e32295aa10cf7fad4c169a2186992c
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/7e670a2b556b53ea9002dfff3a420e08_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7c111abbc5fb32842531c6a1fc4e60a98443e414fff269db0cbf06928ef22aa8
+size 45041
diff --git a/marked/Rel-16/23_series/23732/7ed5d5770331f31ade15439a21c31425_img.jpg b/marked/Rel-16/23_series/23732/7ed5d5770331f31ade15439a21c31425_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..dccf558c22d730e95e6286bb09d171a985872211
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/7ed5d5770331f31ade15439a21c31425_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:38946e1a308df6d5328afb33e5d06abacb69ca85d5c8835e914d5d8bc3ebe2e9
+size 40195
diff --git a/marked/Rel-16/23_series/23732/7efae06af3af43ffe5d4b956a679cf54_img.jpg b/marked/Rel-16/23_series/23732/7efae06af3af43ffe5d4b956a679cf54_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a0d8f8a28b2aa5bec9978ee27369cb33227c378c
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/7efae06af3af43ffe5d4b956a679cf54_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ba26846808ed01491695774f611a39a72f776178bec55e520d0f4051aa5885dd
+size 68672
diff --git a/marked/Rel-16/23_series/23732/81a4cbf0b3c4cbc065efdf8f800dadde_img.jpg b/marked/Rel-16/23_series/23732/81a4cbf0b3c4cbc065efdf8f800dadde_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..27fe34a6e1006fb3b3a605b03c226afcf991700f
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/81a4cbf0b3c4cbc065efdf8f800dadde_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:04854388a9c85f2f3ad9894859d75ee6add90321d19e0ff450e197cb2968e385
+size 49465
diff --git a/marked/Rel-16/23_series/23732/844077b3034f0030b404207db0ad76b4_img.jpg b/marked/Rel-16/23_series/23732/844077b3034f0030b404207db0ad76b4_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a0c59c7581d5eaabc149a82f44bb5ac6afe5a858
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/844077b3034f0030b404207db0ad76b4_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7068ebe772ba30d8f99fec9d201aa6f8a382b4cb721ace4efa16b9a79adcfbdc
+size 67159
diff --git a/marked/Rel-16/23_series/23732/90ddb84c323b956e2d50a54d3f870566_img.jpg b/marked/Rel-16/23_series/23732/90ddb84c323b956e2d50a54d3f870566_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..926e88f359da44cc8243a4e9b0c65d2065cd0d75
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/90ddb84c323b956e2d50a54d3f870566_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3d71182b5a456f8f5aa2ad0581d0d6fc756380fb604bb2a54ab440aa5882dc2f
+size 56460
diff --git a/marked/Rel-16/23_series/23732/9c1d3678db4a12d5864cb2a4def1135d_img.jpg b/marked/Rel-16/23_series/23732/9c1d3678db4a12d5864cb2a4def1135d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..bcb7a58ba0d88b7acff936a3d276e8214ad71b21
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/9c1d3678db4a12d5864cb2a4def1135d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:634f3c1f65c58fe5bdf40ce5870e957ee48bca4c5a89adf44a989c1e8bb5d44f
+size 56850
diff --git a/marked/Rel-16/23_series/23732/a26e142d3df5bef41a84a9dd099d7825_img.jpg b/marked/Rel-16/23_series/23732/a26e142d3df5bef41a84a9dd099d7825_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..3640b78f36c3bdb156508db6e36282d1bb6e102f
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/a26e142d3df5bef41a84a9dd099d7825_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:859a469ac7a25ccb313fecb416dbafba26275d8398f9678be12c13ec7aec57b6
+size 54345
diff --git a/marked/Rel-16/23_series/23732/ae53f90bb87d6d09e2d6b5278d7c338f_img.jpg b/marked/Rel-16/23_series/23732/ae53f90bb87d6d09e2d6b5278d7c338f_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..577f186027145c9fdfff98ce1a95fffc5ac75f16
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/ae53f90bb87d6d09e2d6b5278d7c338f_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:289a3bbbb0ff380169c1cbebc546706bd40cb5bf08de1c533fddaabd67eb6e4c
+size 55517
diff --git a/marked/Rel-16/23_series/23732/b34c69e1ec326b01c3a485b27b1df5f6_img.jpg b/marked/Rel-16/23_series/23732/b34c69e1ec326b01c3a485b27b1df5f6_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6bf213c09dfc9efd400203ecfc70a95fe4d1cf1f
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/b34c69e1ec326b01c3a485b27b1df5f6_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cf7f6addfc6524e41a5fc60e1ae74904b73d72b188210ec77389587406f52017
+size 54892
diff --git a/marked/Rel-16/23_series/23732/b4f6d3668f7e851eaff07ccf26001623_img.jpg b/marked/Rel-16/23_series/23732/b4f6d3668f7e851eaff07ccf26001623_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c173777c03d0782e2d89c0d9e8ce6dad3ab84d87
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/b4f6d3668f7e851eaff07ccf26001623_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3d8c7b0afdfa16fe824b6d5830830d05b29d8e900fa5f79ea5c8900cf95c5599
+size 45504
diff --git a/marked/Rel-16/23_series/23732/b5335262987c819d7f71ce40f99cb71b_img.jpg b/marked/Rel-16/23_series/23732/b5335262987c819d7f71ce40f99cb71b_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b43c68f5f4e0f171fcc6be9b7622b4a684950b8c
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/b5335262987c819d7f71ce40f99cb71b_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c725c25a332dcc6237898ea16b11c3f7cce42e46b65f80520f4a493656e81477
+size 26035
diff --git a/marked/Rel-16/23_series/23732/b5987d63203a5fa601921039922ac520_img.jpg b/marked/Rel-16/23_series/23732/b5987d63203a5fa601921039922ac520_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..214508851100ff5051b5d347de8cd7ac676c66bd
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/b5987d63203a5fa601921039922ac520_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3225ff7f8c1e78417e366ec84c7b656cab2862af219a1723650f7d398d936e72
+size 47447
diff --git a/marked/Rel-16/23_series/23732/b6ad8b32179842fca5ad086cf22b03eb_img.jpg b/marked/Rel-16/23_series/23732/b6ad8b32179842fca5ad086cf22b03eb_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..2c151a6d9f8630590177c8ef4e013048e5506922
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/b6ad8b32179842fca5ad086cf22b03eb_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2549e23fac687eaa1f441b42806bb69b743abaa943c3f04536666f92b64f97f1
+size 62987
diff --git a/marked/Rel-16/23_series/23732/db39acbd11df5eb7e79ab84562fb8f74_img.jpg b/marked/Rel-16/23_series/23732/db39acbd11df5eb7e79ab84562fb8f74_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..47a0d07089527bc822fffe96e95c4b718e8fecfc
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/db39acbd11df5eb7e79ab84562fb8f74_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0d2360abe91e6ce395ca5885717d748b126db315ffad4b9951ef12aa047eb923
+size 50117
diff --git a/marked/Rel-16/23_series/23732/dd5771673aececa53d42ece89218299d_img.jpg b/marked/Rel-16/23_series/23732/dd5771673aececa53d42ece89218299d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..70cc89642e1cf8b8085045cd61480a897459e57c
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/dd5771673aececa53d42ece89218299d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cac39e4b010d7e49626e2c50dfb58868c6a0faba920d5aa151d392ee5cfa085c
+size 63860
diff --git a/marked/Rel-16/23_series/23732/e2c120be98ede6deb60dd341f5a9803b_img.jpg b/marked/Rel-16/23_series/23732/e2c120be98ede6deb60dd341f5a9803b_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d99377fca75df985a752b4e824257c1d184652d9
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/e2c120be98ede6deb60dd341f5a9803b_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e51a11859b232efc175756084e26bb8ab27e910aa98051770738c2b7717e587b
+size 47989
diff --git a/marked/Rel-16/23_series/23732/e94cbc0895c6914a2bb53f150ab7495e_img.jpg b/marked/Rel-16/23_series/23732/e94cbc0895c6914a2bb53f150ab7495e_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..4e09ca8e535a27fb6133403c1d7a437a959acbf0
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/e94cbc0895c6914a2bb53f150ab7495e_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:29e14221f5aba04c8385a917ef4cd9b7ca8105be6f936a433738ac3ef83c0122
+size 77115
diff --git a/marked/Rel-16/23_series/23732/fb18a83d10ebdad8e3e5ea2e86b36136_img.jpg b/marked/Rel-16/23_series/23732/fb18a83d10ebdad8e3e5ea2e86b36136_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..5f2392e94a81e42ef9e8200b68b1858eb51ebf48
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/fb18a83d10ebdad8e3e5ea2e86b36136_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5bdd119a189f53555be271b4f966d7a568bce75f824be2c4e6881d624355a9e9
+size 63313
diff --git a/marked/Rel-16/23_series/23732/raw.md b/marked/Rel-16/23_series/23732/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..6d4f81271335dbdbe17107d3c61865bb094795b2
--- /dev/null
+++ b/marked/Rel-16/23_series/23732/raw.md
@@ -0,0 +1,2990 @@
+
+
+# **3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; Study on User data interworking, coexistence and migration (Release 16)** ---
+
+## --- **Keywords**
+
+3GPP, 5G, Architecture, Coexistence,
+Interworking, Migration, Study
+
+## **3GPP**
+
+## --- **Postal address**
+
+## --- **3GPP support office address**
+
+650 Route des Lucioles - Sophia Antipolis
+Valbonne - FRANCE
+Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16
+
+## --- **Internet**
+
+
+
+## --- **Copyright Notification**
+
+No part may be reproduced except as authorized by written permission.
+The copyright and the foregoing restriction extend to reproduction in all media.
+
+© 2019, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).
+All rights reserved.
+
+UMTSTM is a Trade Mark of ETSI registered for the benefit of its members
+3GPP™ is a Trade Mark of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners
+LTE™ is a Trade Mark of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners
+GSM® and the GSM logo are registered and owned by the GSM Association
+
+# Contents
+
+| | |
+|------------------------------------------------------------------------------------------------------------------------------------------------------------|----|
+| Foreword ..... | 6 |
+| 1 Scope..... | 7 |
+| 2 References..... | 7 |
+| 3 Definitions and abbreviations ..... | 8 |
+| 3.1 Definitions..... | 8 |
+| 3.2 Abbreviations ..... | 8 |
+| 4 Architectural Assumptions and Principles..... | 8 |
+| 4.1 Architectural Assumptions..... | 8 |
+| 4.2 Architectural Principles..... | 9 |
+| 5 Key Issues ..... | 9 |
+| 5.1 Key Issue 1: Interaction between UDM and HSS with separate repositories..... | 9 |
+| 5.1.1 Description ..... | 9 |
+| 5.2 Key Issue 2: Supporting a common repository for both HSS and UDM..... | 10 |
+| 5.2.1 Description ..... | 10 |
+| 6 Solutions..... | 10 |
+| 6.1 Solution #1: Retrieving subscription data from separate UDR repositories for EPS and 5GS subscription data using a UDR Translation Function (UTF)..... | 10 |
+| 6.1.1 Introduction ..... | 10 |
+| 6.1.2 High-level Description ..... | 10 |
+| 6.1.3 Services and Illustrated Procedures..... | 11 |
+| 6.1.3.1 General..... | 11 |
+| 6.1.3.2 5GS to EPS Interworking when N26 is not supported ..... | 13 |
+| 6.1.3.2.1 5GS to EPS handover..... | 13 |
+| 6.1.3.2.2 EPS to 5GS handover..... | 14 |
+| 6.1.3.3 Terminating Access Domain Selection (T-ADS) ..... | 16 |
+| 6.1.3.3.1 Alternative 1 ..... | 16 |
+| 6.1.3.3.2 Alternative 2..... | 18 |
+| 6.1.3.4 P-CSCF restoration..... | 18 |
+| 6.1.4 Impacts on existing services and interfaces..... | 18 |
+| 6.1.5 Evaluation..... | 19 |
+| 6.2 Solution #2: Direct SBA UDM-HSS Interworking..... | 19 |
+| 6.2.1 Introduction ..... | 19 |
+| 6.2.2 High-level Description ..... | 19 |
+| 6.2.3 Services and Illustrated Procedures..... | 21 |
+| 6.2.3.1 General..... | 21 |
+| 6.2.3.2 Subscriber Profile Indications..... | 22 |
+| 6.2.3.3 Authentication..... | 22 |
+| 6.2.3.3.1 Single AV Generation Engine in HSS(AuC) and Credentials stored in EPC-UDR ..... | 22 |
+| 6.2.3.3.2 Single AV Generation Engine in UDM and Credentials stored in UDR ..... | 23 |
+| 6.2.3.4 Mobility Scenarios..... | 24 |
+| 6.2.3.4.1 Mobility from 5GC to EPC, single registration, with N26 Interface ..... | 24 |
+| 6.2.3.4.2 Mobility from EPC to 5GC, single registration, with N26 Interface ..... | 25 |
+| 6.2.3.4.3 Interworking without N26 Interface..... | 26 |
+| 6.2.3.5 T-ADS..... | 27 |
+| 6.2.3.6 P-CSCF Restoration..... | 27 |
+| 6.2.3.7 SMS support ..... | 28 |
+| 6.2.3.7.1 Terminating SMS location query ..... | 28 |
+| 6.2.3.7.2 Terminating SMS delivery failure..... | 29 |
+| 6.2.3.7.3 SMS Alerting..... | 30 |
+| 6.2.4 Impacts on existing services and interfaces..... | 31 |
+| 6.2.5 Evaluation..... | 32 |
+| 6.3 Solution #3: UDM/HSS FE interaction reusing legacy protocol ..... | 32 |
+| 6.3.1 Introduction ..... | 32 |
+
+| | | |
+|-----------|-----------------------------------------------------------------------------------------------------------------|----|
+| 6.3.2 | High-level Description ..... | 32 |
+| 6.3.2.1 | Authentication..... | 32 |
+| 6.3.2.2 | IP address continuity of interworking without N26 from 5GS to EPS..... | 33 |
+| 6.3.2.3 | T-ADS for IMS voice ..... | 34 |
+| 6.3.2.4 | Supporting IMS related procedures ..... | 35 |
+| 6.3.2.5 | SMS over NAS ..... | 36 |
+| 6.3.3 | Services and Illustrated Procedures..... | 37 |
+| 6.3.3.1 | Authentication..... | 37 |
+| 6.3.3.2 | IP address continuity of interworking without N26 from 5GS to EPS..... | 39 |
+| 6.3.3.3 | T-ADS for IMS voice ..... | 40 |
+| 6.3.3.4 | Supporting IMS related procedures ..... | 41 |
+| 6.3.3.5 | SMSF address storage and retrieval..... | 42 |
+| 6.3.4 | Impacts on existing services and interfaces..... | 43 |
+| 6.3.4.1 | Authentication impacts ..... | 43 |
+| 6.3.4.2 | IP address continuity impacts ..... | 43 |
+| 6.3.4.3 | T-ADS for voice impacts..... | 43 |
+| 6.3.4.4 | Supporting IMS related procedures ..... | 43 |
+| 6.3.5 | Evaluation..... | 44 |
+| 6.4 | Solution #4: Use of a Data Access Layer for interaction between HSS FE and UDM with common repository..... | 44 |
+| 6.4.1 | Introduction ..... | 44 |
+| 6.4.2 | High-level Description ..... | 44 |
+| 6.4.2.1 | Assumptions..... | 44 |
+| 6.4.2.2 | Architectural proposal..... | 45 |
+| 6.4.3 | Services and Illustrated Procedures..... | 46 |
+| 6.4.3.1 | General description ..... | 46 |
+| 6.4.3.2 | 5GS procedures..... | 46 |
+| 6.4.3.3 | EPS procedures ..... | 47 |
+| 6.4.3.4 | Handover procedures ..... | 47 |
+| 6.4.3.4.0 | General ..... | 47 |
+| 6.4.3.4.1 | 5GS to EPS with N26..... | 49 |
+| 6.4.3.4.2 | EPS to 5GS with N26..... | 49 |
+| 6.4.3.4.3 | 5GS to EPS without N26 - single registration..... | 50 |
+| 6.4.3.4.4 | EPS to 5GS without N26 - single registration..... | 50 |
+| 6.4.3.4.5 | Handovers without N26 - dual registration ..... | 50 |
+| 6.4.3.5 | IMS interaction ..... | 50 |
+| 6.4.3.5.1 | Access to IMS data..... | 50 |
+| 6.4.3.5.2 | P-CSCF Restoration procedures..... | 51 |
+| 6.4.3.5.3 | Terminating domain selection information for IMS voice..... | 52 |
+| 6.4.4 | Impacts on existing services and interfaces..... | 53 |
+| 6.4.4.1 | General ..... | 53 |
+| 6.4.4.2 | Summary of impacts on UDM..... | 54 |
+| 6.4.4.3 | Summary of impacts on HSS FE ..... | 54 |
+| 6.4.4.4 | Summary of impacts on EPS UDR..... | 54 |
+| 6.4.5 | Evaluation..... | 54 |
+| 6.5 | Solution #5: Use of a Data Access Layer for interaction between HSS FE and UDM with separate repositories ..... | 55 |
+| 6.5.1 | Introduction ..... | 55 |
+| 6.5.2 | High-level Description ..... | 55 |
+| 6.5.2.1 | Assumptions..... | 55 |
+| 6.5.2.2 | Architectural proposal..... | 56 |
+| 6.5.3 | Services and Illustrated Procedures..... | 57 |
+| 6.5.3.1 | General description ..... | 57 |
+| 6.5.3.2 | 5GS procedures..... | 58 |
+| 6.5.3.3 | EPS procedures ..... | 58 |
+| 6.5.3.4 | Handover procedures ..... | 58 |
+| 6.5.3.4.0 | General ..... | 58 |
+| 6.5.3.4.1 | 5GS to EPS with N26..... | 60 |
+| 6.5.3.4.2 | EPS to 5GS with N26..... | 61 |
+| 6.5.3.4.3 | 5GS to EPS without N26 - single registration..... | 61 |
+| 6.5.3.4.4 | EPS to 5GS without N26 - single registration..... | 61 |
+| 6.5.3.4.5 | Handovers without N26 - dual registration ..... | 62 |
+
+| | | |
+|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------|-----------|
+| 6.5.3.5 | IMS interaction ..... | 62 |
+| 6.5.3.5.1 | Access to IMS data..... | 62 |
+| 6.5.3.5.2 | P-CSCF Restoration procedures..... | 62 |
+| 6.5.3.5.3 | Terminating domain selection information for IMS voice..... | 63 |
+| 6.5.4 | Impacts on existing services and interfaces..... | 64 |
+| 6.5.4.1 | General..... | 64 |
+| 6.5.4.2 | Summary of impacts on UDM..... | 65 |
+| 6.5.4.3 | Summary of impacts on HSS FE ..... | 65 |
+| 6.5.4.4 | Summary of impacts on EPS UDR or 5G repository ..... | 65 |
+| 6.5.5 | Evaluation..... | 65 |
+| 6.6 | Solution #6: Deployment and coexistence without interworking between UDM and existing HSS..... | 66 |
+| 6.6.1 | Introduction ..... | 66 |
+| 6.6.2 | High-level Description ..... | 66 |
+| 6.6.3 | Services and Illustrated Procedures..... | 70 |
+| 6.6.4 | Impacts on existing services and interfaces..... | 70 |
+| 6.6.5 | Evaluation..... | 70 |
+| 7 | Evaluation ..... | 70 |
+| 7.1 | Evaluation of solutions..... | 70 |
+| 7.1.1 | Evaluation of solutions with separation of FEs and repositories ..... | 71 |
+| 7.1.2 | Evaluation of solutions with separation of FEs with common repository..... | 72 |
+| 7.1.3 | Evaluation of solutions with common FEs with separate repositories..... | 72 |
+| 7.1.4 | Evaluation of solutions with common FEs with common repository ..... | 73 |
+| 8 | Conclusions..... | 73 |
+| 8.1 | For EPS and 5GS interworking required for mobility cases from EPS to 5GS and from 5GS to EPS,
including the impacts on SMS handling ..... | 73 |
+| 8.2 | For IMS and 5GS interworking required for T-ADS, P-CSCF restoration and NPLI retrieval ..... | 73 |
+| Annex A: | Change history ..... | 75 |
+
+# --- Foreword
+
+This Technical Report has been produced by the 3rd Generation Partnership Project (3GPP).
+
+The contents of the present document are subject to continuing work within the TSG and may change following formal TSG approval. Should the TSG modify the contents of the present document, it will be re-released by the TSG with an identifying change of release date and an increase in version number as follows:
+
+Version x.y.z
+
+where:
+
+- x the first digit:
+ - 1 presented to TSG for information;
+ - 2 presented to TSG for approval;
+ - 3 or greater indicates TSG approved document under change control.
+- y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections, updates, etc.
+- z the third digit is incremented when editorial only changes have been incorporated in the document.
+
+# --- 1 Scope
+
+The objective of this Technical Report is to investigate scenarios for co-existence of subscription data pertaining to legacy system (EPS) with data pertaining to the 5G system, when the HSS+UDM defined in Rel-15 is separated and both UDM and HSS are independent, and will propose solutions to support this deployment where necessary.
+
+NOTE 1: The subscription data referred to by this Technical Report comprises both static as well as dynamic data, including IMS, LCS, SMS data.
+
+- study diverse scenarios related to the storage of subscription data including, but not limited to, those of common repository for subscription data from EPS and 5GS, as well as separate repositories for EPS and 5GS subscription data,
+- investigate the relevant procedures in TS 23.502 [2] (for e.g. authentication, mobility, handover and procedures for IMS and SMS handling in interworking between 5G system and EPS),
+- determine if there is a need for interaction between the consumers of EPS and 5GS data, in the different interworking cases and deployment scenarios.
+
+Existing procedures in TS 23.502 [2] shall not be impacted.
+
+Provisioning aspects are outside this study.
+
+Direct interactions between the EPS UDR and the 5GS UDR are out of the scope of this TR (i.e. it is assumed that there is no direct interaction between these two repositories).
+
+# --- 2 References
+
+The following documents contain provisions which, through reference in this text, constitute provisions of the present document.
+
+- References are either specific (identified by date of publication, edition number, version number, etc.) or non-specific.
+- For a specific reference, subsequent revisions do not apply.
+- For a non-specific reference, the latest version applies. In the case of a reference to a 3GPP document (including a GSM document), a non-specific reference implicitly refers to the latest version of that document *in the same Release as the present document*.
+
+- [1] 3GPP TR 21.905: "Vocabulary for 3GPP Specifications".
+- [2] 3GPP TS 23.502: "Procedures for the 5G System".
+- [3] 3GPP TS 23.335: "User Data Convergence (UDC); Technical realization and information flows; Stage 2".
+- [4] 3GPP TS 29.335: "User Data Convergence (UDC); User data repository access protocol over the Ud interface; Stage 3".
+- [5] 3GPP TS 23.002: "Network architecture".
+- [6] 3GPP TS 23.501: "System Architecture for the 5G System".
+- [7] 3GPP TS 23.228: "IP Multimedia Subsystem".
+- [8] 3GPP TS 23.380: "IMS Restoration Procedures".
+- [9] 3GPP TS 29.505: "5G System; Usage of the Unified Data Repository services for Subscription Data".
+
+- [10] 3GPP TS 29.228: "IP Multimedia (IM) Subsystem Cx and Dx Interfaces; Signalling flows and message contents".
+- [11] 3GPP TS 29.328: "IP Multimedia (IM) Subsystem Sh interface; Signalling flows and message contents".
+- [12] 3GPP TS 33.501: "Security architecture and procedures for 5G System".
+- [13] 3GPP TS 33.401: "System Architecture Evolution (SAE) - Security architecture".
+- [14] 3GPP TS 23.794: "Study on Enhanced IMS to 5GC Integration".
+- [15] 3GPP TS 23.060: "General Packet Radio Service (GPRS); Service description; Stage 2".
+- [16] 3GPP TS 23.401: "General Packet Radio Service (GPRS) enhancements for Evolved Universal Terrestrial Radio Access Network (E-UTRAN) access".
+- [17] 3GPP TS 24.229: "IP multimedia call control protocol based on Session Initiation Protocol (SIP) and Session Description Protocol (SDP); Stage 3".
+- [18] 3GPP TS 29.214: "Policy and charging control over Rx reference point".
+
+# --- 3 Definitions and abbreviations
+
+## 3.1 Definitions
+
+For the purposes of the present document, the terms and definitions given in TR 21.905 [1] and the following apply. A term defined in the present document takes precedence over the definition of the same term, if any, in TR 21.905 [1].
+
+**5G Repository:** Repository hosting subscription data for 5G UEs.
+
+**5GS UDR:** term used to identify the Unified Data Repository defined in TS 23.501 [6] (clause 4.2.5).
+
+**EPS UDR:** term used to identify the User Data Repository defined in TS 23.335 [3] (clause 4.2.3).
+
+## 3.2 Abbreviations
+
+For the purposes of the present document, the abbreviations given in TR 21.905 [1] and the following apply. An abbreviation defined in the present document takes precedence over the definition of the same abbreviation, if any, in TR 21.905 [1].
+
+| | |
+|---------|-------------------------------------------------------------------------------------|
+| 5GC | 5G Core |
+| 5GS | 5G System |
+| 5GS UDR | 5G Unified Data Repository |
+| HSS FE | Home Subscriber Server Front End |
+| EPS | Enhanced Packet core System |
+| EPS UDR | EPS User Data Repository |
+| E-UTRAN | Evolved Universal mobile telecommunications system Terrestrial Radio Access Network |
+| UDM | Unified Data Management |
+
+# --- 4 Architectural Assumptions and Principles
+
+## 4.1 Architectural Assumptions
+
+The 5GS data storage architecture defined in TS 23.501 [6], for structured data, is used as the baseline network architecture.
+
+The User Data Convergence concept specified in TS 23.335 [3], is used for reference to EPS/legacy system architecture for data storage, when layered architecture is deployed (i.e. application front-end decoupled from data repository using the standard interface Ud defined in TS 29.335 [4]).
+
+The Home Subscriber Server (HSS) architecture specified in clause 4.1.1 of TS 23.002 [5], is used for reference to EPS/legacy system architecture for data storage, when non-layered HSS architecture is deployed (i.e. monolithic deployment where user data are stored within the entity itself (or in an external entity via non-standard interfaces)).
+
+## 4.2 Architectural Principles
+
+In the UDC concept used for reference, HSS FE and EPS UDR defined in TS 23.335 [3] are assumed to interact for any data required by the study: no standardization will be considered for the interface between HSS FE and EPS UDR.
+
+# --- 5 Key Issues
+
+## 5.1 Key Issue 1: Interaction between UDM and HSS with separate repositories
+
+### 5.1.1 Description
+
+This key issue, which assumes the HSS is deployed using the UDC architecture in TS 23.335 [3], is to study how the UDM and HSS with separate repositories interact in the scenario that the HSS FE and UDM are separately deployed and the user data of 5G and 4G/3G/2G are also stored separately in different repositories (i.e. EPS UDR storing user data for 4G/3G/2G and IMS domains and 5GS UDR storing user data for 5G domain).
+
+The interaction between UDM and HSS FE with separate repositories should be based on specific procedures that require data from one to the other.
+
+The solutions to this key issue need to:
+
+- Clarify what user data is involved for the interaction between UDM and HSS FE with separate repositories;
+- Study the scenarios of interaction between UDM and HSS FE with separate repositories, specifically:
+ - IMS and 5GS interworking required for the following cases:
+ - Terminating Access Domain Selection (T-ADS).
+
+When requested by IMS, the HSS+UDM shall be able to query the serving AMF for T-ADS related information (see clause 5.16.3.6 in TS 23.501 [6]).
+
+- P-CSCF Restoration
+ - As defined in clause 5.8.4 in TS 23.380 [8], upon request by IMS when P-CSCF failure is detected, the HSS+UDM shall send a P-CSCF restoration indication to either the SMF serving the IMS PDU session for the UE or to the AMF serving the UE.
+ - Network Provided Location Information (NPLI).
+ - As defined in clause Y.6 in TS 23.228 [7], an IMS AS can trigger the retrieval of the user location and/or UE Time Zone information from the AMF via the HSS+UDM.
+- EPS and 5GS interworking required for mobility cases from EPS to 5GS and from 5GS to EPS, including the impacts on SMS handling.
+- Avoid the impact on existing procedures between HSS/UDM and the rest of the network.
+
+## 5.2 Key Issue 2: Supporting a common repository for both HSS and UDM
+
+### 5.2.1 Description
+
+This key issue studies network deployments where a common repository (acting as EPS UDR and 5GS UDR) is shared between HSS and UDM, analyses the interactions between the HSS, UDM, & common repository, and examines the potential of shared data fields in the repository.
+
+The solutions to this key issue need to:
+
+- Study the scenarios of interaction between UDM and HSS FE with common repository, specifically:
+
+- IMS and 5GS interworking required for the following cases:
+
+- Terminating Access Domain Selection (T-ADS).
+
+When requested by IMS, the HSS+UDM shall be able to query the serving AMF for T-ADS related information (see clause 5.16.3.6 in TS 23.501 [6]).
+
+- P-CSCF Restoration
+
+As defined in clause 5.8.4 in TS 23.380 [8], upon request by IMS when P-CSCF failure is detected, the HSS+UDM shall send a P-CSCF restoration indication to either the SMF serving the IMS PDU session for the UE or to the AMF serving the UE.
+
+- Network Provided Location Information (NPLI).
+
+As defined in clause Y.6 in TS 23.228 [7], an IMS AS can trigger the retrieval of the user location and/or UE Time Zone information from the AMF via the HSS+UDM.
+
+- EPS and 5GS interworking required for mobility cases from EPS to 5GS and from 5GS to EPS, including the impacts on SMS handling.
+
+# --- 6 Solutions
+
+## 6.1 Solution #1: Retrieving subscription data from separate UDR repositories for EPS and 5GS subscription data using a UDR Translation Function (UTF)
+
+### 6.1.1 Introduction
+
+Solution #1 addresses Key Issue 1.
+
+### 6.1.2 High-level Description
+
+It is proposed to introduce a UTF (UDR Translation Function) to allow subscription data exchange between the HSS FE and the UDM when each function has a separate UDR repository. The UTF is a logical function that can be standalone or collocated with the UDM or HSS FE. The assumption with the proposed architecture is that the UDR database of the UDM contains the related 5G subscription data, whereas the UDR of the HSS FE contains the related EPS and IMS subscription data.
+
+The UTF function contains a translation table that allows conversion of an Nudr to a Ud request and vice versa. If the UDM requires information from the EPS UDR, the UTF allows facilitating translation of an Nudr request to Ud request. If the HSS FE requires information from the UDM UDR the UTF is responsible to convert the Ud request to an Nudr request targeting specific subscription data based on the semantics defined in TS 29.505 [9].
+
+NOTE: The UTF would require to implement a translation table supporting the HSS FE vendor specific Ud implementation.
+
+The architecture is illustrated below:
+
+
+
+The diagram illustrates the interworking architecture between 5G and EPS systems. At the top, the 5GS UDR is connected to the PCF and UDM via Nudr interfaces. The EPS UDR is connected to the HSS FE via a Ud interface. The PCF and UDM are connected to the 5G Core via Npcf/Namf and Nudm interfaces respectively. The UDM is connected to the UDR Translation Function via a Nudr interface. The UDR Translation Function is connected to the HSS FE via a Ud interface. The HSS FE is connected to the IMS core via a Cx interface, to the SMS via a MAP interface, to the MSC/legacy core via a MAP interface, and to the 4G Core via an S6a interface.
+
+Figure 6.1.2-1: UDM/HSS FE interworking architecture diagram
+
+Figure 6.1.2-1: UDM/HSS FE interworking architecture
+
+### 6.1.3 Services and Illustrated Procedures
+
+#### 6.1.3.1 General
+
+When the HSS FE or UDM determine that subscription data needs to be fetched from a different UDR an Ud or Nudr message requesting subscription details is sent to UTF. The UTF translates the message into the corresponding message towards the HSS FE (Ud message) or UDM (Nudr message) that is proxied towards the UDR (Option 1). The UTF may also provide the translated message directly to the target UDR repository bypassing the target HSS FE or UDM (Option 2).
+
+An example procedure is illustrated below:
+
+
+
+```
+
+sequenceDiagram
+ participant External
+ participant HSS_FE as HSS FE
+ participant UDR_EPS as UDR (EPS)
+ participant UTF
+ participant UDM
+ participant UDR_5G as UDR (5G)
+
+ External->>HSS_FE: 1. Subscription request
+ HSS_FE->>HSS_FE: 2. Identify subscription data on external UDR
+ HSS_FE->>HSS_FE: 3. Construct Ud message to fetch subscription data
+ HSS_FE->>UTF: 4. Ud message
+ UTF->>UTF: 5. Translate Ud to Nudr
+ Note right of UTF: Option 1
+ UTF->>UDM: 6. Nudr message
+ UDM->>UDM: 7. Proxy Nudr message
+ UDM->>UDR_5G: 8. Nudr message
+ UDR_5G->>UDR_5G: Fetch subscription data
+ UDR_5G->>UDM: 9. Nudr response
+ UDM->>UTF: 10. Nudr response
+ Note right of UTF: Option 2
+ UTF->>UDR_5G: Nudr message
+ UDR_5G->>UTF: Nudr response
+ UTF->>UTF: 11. Translate Nudr to Ud
+ UTF->>HSS_FE: 12. Ud response
+ HSS_FE->>External: 13. Subscription Request Response/Update location ack
+
+```
+
+Sequence diagram showing the procedure to retrieve subscription data from a separate UDR repository. The diagram involves five lifelines: HSS FE, UDR (EPS), UTF, UDM, and UDR (5G). The process starts with a Subscription request to HSS FE. HSS FE identifies subscription data on external UDR and constructs a Ud message. UTF translates Ud to Nudr. The diagram then branches into two options: Option 1 (UDM proxies Nudr message to UDR (5G) to fetch data) and Option 2 (UTF sends Nudr message directly to UDR (5G)). Both options result in a Nudr response back to UTF, which translates it to Ud response. Finally, HSS FE sends a Subscription Request Response/Update location ack.
+
+**Figure 6.1.3.1-1: Procedure to retrieve subscription data from separate UDR repository**
+
+The following cases have been identified where subscription data are retrieved from different UDR:
+
+- 5GS to EPS interworking when no N26 is supported: In 5GS to EPS handover, the HSS FE retrieves from the 5GS UDR the PGW-C+SMF ID in order to establish a UE requested PDN connection. In EPS to 5GS handover the UDM retrieves from the EPS UDR the PGW-C+SMF ID in order to establish a PDU session.
+
+- Support of T-ADS: When IMS core interfaces with the HSS FE and the UE is camped on a 5G network the HSS FE retrieves from the 5GS UDR the IMS over PS support and current RAT type.
+
+#### 6.1.3.2 5GS to EPS Interworking when N26 is not supported
+
+##### 6.1.3.2.1 5GS to EPS handover
+
+During 5GS to EPS handover when the HSS FE receives the Update Location Request from the MME (as described in step 8 of Figure 4.11.2.2-1 of TS 23.502 [2]) the HSS FE needs to retrieve the address of the combo PGW-C+SMF. The HSS FE is aware that the information is located at the 5G UDR as the UPDATE LOCATION REQUEST includes information that registration of an AMF shall not be cancelled. The HSS FE sends a vendor specific Ud request towards the UTF. The UTF must translate the vendor specific Ud request from the HSS FE to an Nudr\_DM\_Query service request including a Data Subset "UE Context in SMF data" towards the 5GS UDR (the Nudr request may be proxied via the UDM to the 5GS UDR).
+
+
+
+```
+
+sequenceDiagram
+ participant External
+ participant HSS_FE as HSS FE
+ participant UDR_EPS as UDR (EPS)
+ participant UTF
+ participant UDM
+ participant UDR_5G as UDR (5G)
+
+ External->>HSS_FE: 1. Update Location Request
+(step 8 of Figure 4.11.2.2-1
+of 3GPP TS 23.502)
+ HSS_FE->>HSS_FE: 2. Identify subscription data on external UDR
+ HSS_FE->>HSS_FE: 3. Construct Ud message to fetch subscription data
+ HSS_FE->>UTF: 4. Ud message
+ Note right of UTF: 5. Translate Ud to Nudr
+ UTF->>UDR_5G: 6. Nudr_DM_Query ("UE Context in SMF Data")
+ Note right of UDR_5G: Fetch subscription data
+ UDR_5G->>UDM: 8. Nudr response
+ Note right of UTF: 9. Translate Nudr to Ud
+ UTF->>HSS_FE: 10. Ud response
+ HSS_FE->>External: 11. Update Location Ack
+
+```
+
+Sequence diagram showing the interaction between HSS FE, UDR (EPS), UTF, UDM, and UDR (5G) for 5GS to EPS handover. The HSS FE receives an Update Location Request and needs to retrieve the PGW-C+SMF ID from the 5G UDR. It constructs a Ud message, which the UTF translates to an Nudr\_DM\_Query. The UDR (5G) fetches the subscription data and returns an Nudr response. The UTF translates this back to a Ud response, which the HSS FE uses to send an Update Location Ack.
+
+Figure 6.1.3.2.1-1: HSS FE retrieves PGW-C + SMF ID from 5G UDR
+
+If during 5GS to EPS interworking the UE indicates that dual registration is not supported the HSS needs to notify the UDM to deregister the UE from the 5G network. Such notification can be supported indirectly via the UDR. The steps required are:
+
+- The HSS FE creates a vendor specific Ud request to delete the 5G subscription data of the UE from the 5G UDR
+- The UTF translates the request into an Nudr\_DM\_Update message including information to remove all related 5G subscription data for the UE from the 5G UDR
+- The 5G UDR deletes the subscription data and notify the UDM of the result using an Nudr\_DM\_Notify service operation
+- The UDM notifies the AMF of the deregistration by invoking the Nudm\_UECM\_DeregistrationNotify service operation
+
+The steps are shown in the Figure below:
+
+
+
+```
+
+sequenceDiagram
+ participant MME
+ participant HSS_FE as HSS FE
+ participant UDR_EPS as UDR (EPS)
+ participant UTF
+ participant AMF
+ participant UDM
+ participant UDR_5G as UDR (5G)
+
+ MME->>HSS_FE: 1. Update Location Request (step 8 of Figure 4.11.2.2-1 of 3GPP TS 23.502)
+ Note over HSS_FE: 2. Identify dual registration is not supported
+ Note over HSS_FE: 3. Construct Ud message to delete subscription data in 5G UDR
+ HSS_FE->>UTF: 4. Ud message(delete UE context)
+ Note over UTF: 5. Translate Ud to Nudr
+ UTF->>UDR_5G: 6. Nudr_DM_Update(UE subscription5G data)
+ UDR_5G-->>UTF: Nudr response
+ UDR_5G->>UDM: 7. Nudr_DM_Notify
+ UDM-->>UDR_5G: Nudr response
+ UDM->>AMF: 8. Nudm_UECM_DeregistrationNotify
+ AMF-->>UDM: Nud response
+ AMF->>UDM: 9. Nudm_SDM_Unsubscribe
+ UDM-->>AMF: Nudr response
+
+```
+
+Sequence diagram showing the indirect procedure for the HSS to notify the UDM to deregister the UE from the 5G network. The diagram involves seven lifelines: MME, HSS FE, UDR (EPS), UTF, AMF, UDM, and UDR (5G). The process starts with the MME sending an Update Location Request to the HSS FE. The HSS FE identifies that dual registration is not supported and constructs a Ud message to delete subscription data in the 5G UDR. This message is sent to the UTF, which translates it into an Nudr\_DM\_Update message for the UDR (5G). The UDR (5G) responds with an Nudr response, then sends an Nudr\_DM\_Notify to the UDM, which in turn sends an Nudm\_UECM\_DeregistrationNotify to the AMF. The AMF responds with a Nud response, then sends an Nudm\_SDM\_Unsubscribe to the UDM, which finally responds with an Nudr response.
+
+**Figure 6.1.3.2.1-1: Indirect procedure for the HSS to notify the UDM to deregister the UE from the 5G network**
+
+##### 6.1.3.2.2 EPS to 5GS handover
+
+When the UDM requires the PGW-C+SMF ID the UDM sends an Nudr\_DM\_Query service request including a Data Subset "UE Context in SMF data" towards the UTF to retrieve the address. The UTF translates the Nudr request into a vendor specific Ud request in order to retrieve the same information from the EPS UDR. The UDM knows that the information required is located at the EPS UDR as the AMF sends an Update Location Request message to the UDM including the ULR-Flags indicating that registration of an MME shall not be cancelled.
+
+
+
+```
+
+sequenceDiagram
+ participant External
+ participant UDM
+ participant UDR_5G as UDR (5G)
+ participant UTF
+ participant HSS_FE as HSS FE
+ participant UDR_EPS as UDR (EPS)
+
+ External->>UDM: 1. Update Location Request (step 5 of Figure 4.11.2.3-1 of 3GPP TS 23.502)
+ Note right of UDM: 2. Identify subscription data on external UDR
+ Note right of UDM: 3. Construct Nudr message to fetch subscription data
+ UDM->>UTF: 4. Nudr_DM_Query Request("UE Context in SMF Data")
+ Note right of UTF: 5. Translate Nudr to Ud
+ UTF->>UDR_EPS: 6. Ud message
+ Note right of UDR_EPS: Fetch subscription data
+ UDR_EPS->>UTF: 8. Ud response
+ Note right of UTF: 9. Translate Ud to Nudr
+ UTF->>UDM: 10. Nudr_DM_Query response( PGW-C + SMF ID)
+ UDM->>External: 11. Update Location Ack
+
+```
+
+Sequence diagram showing the interaction between UDM, UDR (5G), UTF, HSS FE, and UDR (EPS) to retrieve PGW-C + SMF ID from EPS UDR.
+
+**Figure 6.1.3.2.2-1: UDM retrieves PGW-C + SMF ID from EPS UDR**
+
+If during EPS to 5G interworking the UE indicates that dual registration is not supported the UDM needs to notify the HSS to deregister the UE from the EPS network. The steps required are:
+
+- The UDM creates an Nudr\_DM\_Update request to delete the EPS subscription data
+- The UTF translates the request into a vendor specific Ud request
+- The EPS UDR deletes the subscription data and notify the HSS of the result
+- The HSS notifies the MME of the deregistration by invoking a Cancel Location request.
+
+The steps are shown in the Figure below:
+
+
+
+```
+
+sequenceDiagram
+ participant AMF
+ participant UDM
+ participant UDR5G as UDR(5G)
+ participant UTF
+ participant MME
+ participant HSS
+ participant UDREPS as UDR(EPS)
+
+ AMF->>UDM: 1. Update Location Request (step 5 of Figure 4.1.1.2.3-1 of 3GPP TS23.502)
+ UDM->>UDM: 2. Identify dual registration is not supported
+ UDM->>UDM: 3. Construct Ud message to delete subscription data in 5G UDR
+ UDM->>UTF: 4. Nudr_DM_Update(delete UE context)
+ UTF->>UTF: 5. Translate Nudr to Ud
+ UTF->>UDREPS: 6. Ud message
+ UDREPS->>HSS: 7. Ud notify
+ HSS->>MME: 8. Cancel Location
+ Note right of MME: Deletes UE context
+ MME->>HSS: 9. Cancel Location Ack
+
+```
+
+Sequence diagram illustrating the indirect procedure for the UDM to notify the HSS to deregister the UE from the EPS network. The diagram shows interactions between AMF, UDM, UDR(5G), UTF, MME, HSS, and UDR(EPS).
+
+**Figure 6.1.3.2.2-2: Indirect procedure for the UDM to notify the HSS to deregister the UE from the EPS network**
+
+#### 6.1.3.3 Terminating Access Domain Selection (T-ADS)
+
+##### 6.1.3.3.1 Alternative 1
+
+This alternative assumes the IMS network interfaces only with the HSS FE over Sh interface.
+
+When the HSS FE requires the homogeneous IMS voice over PS supporting indication and the UE is camped on 5G network, the HSS FE constructs a Ud request to retrieve the subscription information from the 5G UDR
+
+NOTE 1: It is assumed that the HSS FE first sends a request to retrieve the related information from the 4G UDR. When the 4G UDR responds that there is no 4G related subscription content the HSS FE determines that the user is camped on 5G access and re-sends the Ud message towards the UTF.
+
+The UTF must translate the vendor specific Ud request from the HSS FE to an Nudr\_DR\_Get service request including a Data Subset "Amf3GPPAccessRegistration" towards the 5GS UDR (the Nudr request may be proxied via the UDM to the UDR).
+
+NOTE 2: For T-ADS it is not possible to obtain the most recent access network capabilities for domain selection. The T-ADS makes the decision based on whether IMS over PS session is supported homogeneously over all TAs served by the AMF.
+
+If the network does not support N26 then the UE may operate in Dual Registration mode. In that case a UE may have an PDN connection for IMS over EPS core or an PDU session for IMS over 5G core. When the IMS AS requires the most recent access network capabilities for domain selection the IMS AS interrogates the HSS.
+
+One method to support the case of UEs in Dual Registration mode is for the IMS AS to derive from the P-Access-Network-Info header the core network access path (i.e. via EPS or 5G core) via which the UE has established an IMS session. When the IMS AS requires T-ADS information, the IMS AS includes in the Sh request the information on the network node (MME or AMF) that needs to be triggered.
+
+The IMS AS can derive the path (EPS or 5G core) via which a UE has established an IMS session from the "P-Access-Network-Info" header when the following take place:
+
+- P-CSCF adds within the PANI header the "access-class" field corresponding to the IP-CAN type provided by the PCRF as described in TS 24.229 [17]
+- P-CSCF obtains from the PCRF via Rx the IP-CAN type when the PCRF subscribes to be informed of the IP-CAN type as described in TS 29.214 [18]
+
+NOTE 3: The above procedure may require further normative work in stage 3
+
+This is illustrated schematically below taking into account that the IMS AS supports an Sh interface only towards the HSS.
+
+
+
+```
+
+sequenceDiagram
+ participant UE
+ participant UDR_5G as UDR (5G)
+ participant UTF
+ participant HSS
+ participant IMS_AS as IMS AS
+
+ Note right of IMS_AS: 2. Identifies that the user is on 5G core access
+ Note right of HSS: 4. Identifies that the user is on 5G core access
+ Note right of UTF: 6 Translate Ud to Nudr message
+ Note right of UDR_5G: 8. Obtain T-ADS info
+
+ UE->>IMS_AS: 1. SIP Registration 5G core access (PANI includes Access Class 3GPP-NR)
+ IMS_AS->>HSS: 3. Request T-ADS information (Requested Node=AMF)
+ HSS->>UTF: 5. Ud message (T-ADS info)
+ UTF->>UDR_5G: 7. Nudr message (T-ADS info)
+ UDR_5G->>UTF: 9. Nudr response
+ UTF->>HSS: 10. Ud response
+ HSS->>IMS_AS: 11. Sh message (T-ADS info)
+
+```
+
+Sequence diagram illustrating the support of T-ADS when the UE operates in Dual Registration mode (example of UE accessing IMS via 5G core).
+
+**Figure 6.1.3.3.1-1: Support of T-ADS when the UE operates in Dual Registration mode (example of UE accessing IMS via 5G core)**
+
+1. UE registers with IMS including the PANI header as specified in TS 24.229 [17] via the 5G core network
+2. IMS AS identifies from the PANI header that the UE is accessing the 5G core network access
+3. When the IMS AS requires T-ADS information the IMS AS includes in the Sh request information on the node that contain the information
+4. The HSS identifies from the Sh request that T-ADS information is available from the 5G UDR
+5. HSS constructs a Ud message towards the UTF
+6. UTF converts the Ud to a Nudr message
+7. UTF sends the Nudr message to the UDR of the UDM
+8. The UDR obtains the T-ADS info
+9. The UDR provides the T-ADS info within the Nudr response to the UTF
+10. The UTF translates Nudr response to a Ud response and sends to HSS
+11. HSS provides the T-ADS info within the Sh response to the IMS AS.
+
+##### 6.1.3.3.2 Alternative 2
+
+This alternative assumes that the IMS AS can interface to both HSS and UDM over Sh interface. In such a case the IMS AS can obtain the most recent access network capabilities for domain selection by interrogating the HSS and UDM.
+
+When the UE is in dual registration the IMS AS can derive from the P-Access-Network-Info header the core network access path for IMS (i.e. via EPS or 5G core) via which the UE has established an IMS session. When the IMS AS requires T-ADS information the IMS AS interrogates the HSS or the UDM based on the derived core network access path for IMS.
+
+It is important to note that additional enhancements to UDM - IMS core network interaction will be defined by FS\_eIMS5G study where an SBI interface between the UDM and IMS AS will be supported. In such case support of lite Sh interface at the UDM will not be required and an SBI interface can be used instead.
+
+#### 6.1.3.4 P-CSCF restoration
+
+The P-CSCF restoration is an optional feature allowing the IMS network to notify the HSS or UDM to re-establish the IMS related PDU session in case of P-CSCF failure.
+
+One approach to support this feature is the S-CSCF to support a Cx interface to both HSS and UDM. In case of P-CSCF failure, the S-CSCF reports failure to the UDM or HSS.
+
+For networks that do not support N26, when the UE is in dual registration mode the S-CSCF can derive from the P-Access-Network-Info header the core network access path for IMS (i.e. via EPS or 5G core) via which the UE has established an IMS session. When the S-CSCF initiates P-CSCF restoration procedure the S-CSCF triggers the HSS or the UDM based on the derived core network access path for IMS.
+
+The UDM would support limited Cx functionality to be notified by the S-CSCF of a P-CSCF failure. Once notified the UDF invokes the procedures described in clause 5.8 of TS 23.380 [8].
+
+NOTE: The IMS network interfaces with the HSS (i.e. via Cx/Sh interfaces) for any IMS related subscription information.
+
+It is important to note that additional enhancements to UDM - IMS core network interaction will be defined by FS\_eIMS5G study where an SBI interface between the UDM and S-CSCF will be supported. In such case support of lite Cx interface at the UDM will not be required and an SBI interface can be used instead.
+
+### 6.1.4 Impacts on existing services and interfaces
+
+The impacts are as follows:
+
+- HSS FE
+ - Identifies that subscription information is stored on a UDR repository containing 5GS subscription data
+ - For option 1: proxies a Ud request/answer from the UTF/UDR respectively
+- UDM
+ - Identifies that subscription information is stored on a UDR repository containing EPS subscription data
+ - For Option 1: proxies an Nudr request/answer from the UTF/UDR respectively.
+- S-CSCF
+ - When the network uses the P-CSCF restoration procedure via the AMF, the S-CSCF interrogates the HSS FE and the UDM in order to identify the serving network and report the P-CSCF failure
+ - For networks supporting no N26, where the UE operates in Dual Registration case, the S-CSCF uses the P-Access-Network-Info header to identify if the UE is accessing IMS via 5G or EPS access
+- IMS AS
+ - For networks supporting no N26, where the UE operates in Dual Registration case, the IMS AS uses the P-Access-Network-Info header to identify if the UE is accessing IMS via 5G or EPS access
+
+### 6.1.5 Evaluation
+
+Solution 1 proposes an architecture that does not require direct interaction between the UDM and the HSS FE. The solution requires a new function (UTF) that translate subscription data exchange between the HSS FE and the UDM where each have a separate UDR repository. The solution assumes that the UDR of the HSS contains EPS and IMS subscription details whereas the UDR of the UDM contain 5G subscription details only. It is also assumed that the HSS contain all IMS subscription related information. The solution requires the standalone HSS to support the functionality to retrieve information from the UDR of the UDM in certain scenarios (e.g. T-ADS for IMS) as described in clause 6.1.3 of the present TR. The advantages of this solution is that:
+
+- It avoids defining a new interface between the HSS and UDM which would require both legacy HSS and UDM to support a new interface.
+- It is possible to introduce only UDM and 5G UDR when deploying a 5GS system, without having to update/upgrade either HSS FE or the EPS UDR, or having to introduce these functionalities in deployments with single core networks.
+- Standardisation is minimised and restricted to potential incorporation of lite Sh/Cx interfaces for the UDM, or even not needed in case the FS\_eIMS5G study incorporates the needed interactions of UDM with IMS
+- Introduction of a UTF does not affect other network functions that may be accessing the different repositories, while it provides the means to further split other network functions defined in Rel-15 (i.e. PCF/PCRF).
+
+The disadvantage is that a new UTF is deployed in an operator's network that requires to support a vendor specific Ud implementation of the deployed HSS.
+
+Limitations of the solution are as follows:
+
+- Support of T-ADS: When the UE is camped on 5G core network the IMS AS can obtain T-ADS information only if there is homogeneous IMS voice over PS support.
+- Support of P-CSCF restoration via HSS: When the UE is camped on 5G core network P-CSCF restoration is not possible via the HSS as the HSS cannot directly trigger the UDM to trigger P-CSCF restoration.
+
+The limitations can be solved with the following additions:
+
+- Support of T-ADS: UDM implements a lite Sh implementation. IMS AS triggers UDM directly for any T-ADS information. Requires the IMS AS to be aware of the core network access path for IMS sessions by inspecting the P-Access-Network-Identifier header.
+- Support of P-CSCF restoration: Support of P-CSCF restoration is also supported via the PCRF/PCF which has no impacts on HSS/UDM. Alternatively, the UDM can implement a lite Cx implementation. S-CSCF triggers UDM directly for P-CSCF restoration. Requires the S-CSCF to be aware of the core network access path for IMS sessions by inspecting the P-Access-Network-Identifier header.
+
+## 6.2 Solution #2: Direct SBA UDM-HSS Interworking
+
+### 6.2.1 Introduction
+
+This solution is applicable to key issues 1 and 2.
+
+This solution proposes a new Service Based Interface between UDM and HSS.
+
+### 6.2.2 High-level Description
+
+This contribution proposes a service based interface between HSS and UDM. The architecture for this solution is outlined in the following figure:
+
+
+
+This diagram illustrates the architecture for direct UDM-HSS interworking with independent UDRs. At the top, two separate User Data Repositories are shown: 'UDR (5G)' and 'UDR (4G/IMS)'. The 'UDR (5G)' is connected to a 'UDM' (Unified Data Management) via the 'Nudr' interface. The 'UDR (4G/IMS)' is connected to an 'HSS' (Home Subscriber Server) via the 'Ud' interface. The 'UDM' and 'HSS' are grouped together in a dashed box labeled 'Combined HSS/UDM' and are interconnected by a red line labeled 'Nxx'. Below this box, the 'UDM' connects to a '5GC' (5G Core) via the 'N8/N10/N21' interface. The 'HSS' connects to an 'EPC' (PDN Gateway) via the 'S6a' interface and to an 'IMS' (IP Multimedia Subsystem) via the 'Cx/Sh' interface. The '5GC' and 'EPC' are connected to each other via the 'N26' interface. A common horizontal line at the bottom connects the '5GC', 'EPC', and 'IMS'.
+
+Figure 6.2.2-1: Architecture for Direct UDM-HSS Interworking with independent UDRs
+
+Figure 6.2.2-1: Architecture for Direct UDM-HSS Interworking with independent UDRs
+
+
+
+This diagram illustrates the architecture for direct UDM-HSS interworking with a common repository. At the top, a 'Common repository (4G/IMS/5G)' is shown, which contains two sub-data sections: '5G subs data' and '4G/IMS subs data'. The '5G subs data' is connected to a 'UDM' (Unified Data Management) via the 'Nudr' interface. The '4G/IMS subs data' is connected to an 'HSS' (Home Subscriber Server) via the 'Ud' interface. The 'UDM' and 'HSS' are grouped together in a dashed box labeled 'Combined HSS/UDM' and are interconnected by a red line labeled 'Nxx'. Below this box, the 'UDM' connects to a '5GC' (5G Core) via the 'N8/N10/N21' interface. The 'HSS' connects to an 'EPC' (PDN Gateway) via the 'S6a' interface and to an 'IMS' (IP Multimedia Subsystem) via the 'Cx/Sh' interface. The '5GC' and 'EPC' are connected to each other via the 'N26' interface. A common horizontal line at the bottom connects the '5GC', 'EPC', and 'IMS'.
+
+Figure 6.2.2-2: Architecture for Direct UDM-HSS Interworking with a common repository
+
+Figure 6.2.2-2: Architecture for Direct UDM-HSS Interworking with a common repository
+
+A new reference point between UDM and HSS within the combined HSS/UDM (i.e. Nxx as depicted in Figures 6.2.2-1 and 6.2.2-2) is proposed. The new interface for interworking between HSS and UDM is proposed to be based on SBI principles.
+
+NOTE: The UDM and the HSS may be deployed in a stand-alone manner and could be from different vendors.
+
+### 6.2.3 Services and Illustrated Procedures
+
+Figure 6.2.3-1 shows a high-level illustration of the EPS/IMS and 5GS interworking procedures that requires interworking via HSS/UDM for procedures triggered from the EPS/IMS.
+
+#### 6.2.3.1 General
+
+
+
+```
+
+sequenceDiagram
+ participant 5GC
+ participant UDM
+ participant HSS
+ participant IMS Core EPC
+
+ IMS Core EPC->>HSS: 1. Cx/Sh/S6a Request (e.g. P-CSCF Resto, TADS, NPLI, ULR)
+ HSS->>UDM: 2. Nudm_newservice_Req (e.g. P-CSCF Resto, TADS, NPLI, AMF deReg)
+ UDM->>5GC: 3. Nudm/Namf Service Req (e.g. P-CSCF Resto, TADS, NPLI, AMF deReg)
+ 5GC->>UDM: 4. Nudm/Namf Service Resp (e.g. TADS, NPLI)
+ UDM->>HSS: 5. Nudm_newservice_Resp (e.g. P-CSCF Resto, TADS, NPLI, AMF deReg)
+ HSS->>IMS Core EPC: 6. Cx/Sh/S6a Response (e.g. P-CSCF Resto, TADS, NPLI, ULA)
+
+```
+
+Sequence diagram illustrating HSS-UDM Interworking between 5GC, UDM, HSS, and IMS Core EPC. Steps 2 and 5 are highlighted in red as new service operations.
+
+**Figure 6.2.3-1: High Level Illustration of HSS-UDM Interworking**
+
+1. IMS/EPC interacts with HSS over existing interfaces for the purpose of e.g. Updating Location of an MME in HSS, and/or requesting HSS to execute some actions in the access network (e.g. P-CSCF restoration) or retrieve some information from the access network (e.g. TADS or NPLI information).
+2. Depending on the type of request, the HSS may be able to serve the request and reply to the request with no interaction with UDM (e.g. for ULR from MME or P-CSCF restoration request from S-CSCF). In this case, the HSS replies the request as in step 6.
+
+ Otherwise, the HSS interacts with UDM over the new Nxx reference point proposed in this solution using new service operations under the Nudm service set. The definition of these new service operations is out of the scope of the description of this solution.
+
+ In either case, in a layered architecture, the HSS interacts with the 4G/IMS UDR (using Ud). The HSS does not need to retrieve any subscription data belonging to the 5G subscription profile.
+3. UDM receives the request from HSS over the new Nxx reference point and interacts with the 5GC as needed using existing defined procedures. UDM interacts with the 5G UDR (using Nudr). The UDM does not need to retrieve any subscription data belonging to the 4G/IMS subscription profile.
+
+**Editor's note:** Analysis on the existing defined procedures in UDM that are used is FFS.
+
+ Depending on the request, UDM may omit the request to the 5GC and reply to HSS as in step 5 based on information stored under the 5GC subscription profile (e.g. in case of a TADS requests for which the AMF has already informed UDM that "Homogeneous support for Voice over IP" is supported).
+
+ In case of P-CSCF restoration or AMF deregistration, the UDM does not wait for the acknowledgement from 5GC, it sends the response back like in step 5.
+4. 5GC replies the request from UDM including the requested information (e.g. TADS, NPLI) or confirming the execution of the requested action (e.g. P-CSCF restoration, deregistration of the UE from the AMF).
+5. UDM responds to HSS including the requested information (e.g. TADS, NPLI) or confirming the execution of the requested action (e.g. for the P-CSCF restoration request, it confirms the deregistration of the UE from the AMF).
+
+6. HSS responds to EPC/IMS. Depending on the request, the response from HSS will include information received from 5GC via UDM (e.g. TADS, NPLI).
+
+Figure 6.2.3-2 shows a high-level illustration of the 5GS and EPS/IMS interworking procedures that requires interworking via HSS/UDM for procedures triggered from the 5GC.
+
+
+
+```
+
+sequenceDiagram
+ participant 5GC
+ participant UDM
+ participant HSS
+ participant EPC
+ Note right of UDM: (UDM and HSS are in a single box)
+ 5GC->>UDM: 1. Nudm Service Req (e.g. AMF registration in UDM)
+ UDM->>HSS: 2. Nhss_newservice Req (e.g. Cancel MME location if any)
+ HSS->>EPC: 3. S6a Request (e.g. CLR)
+ EPC->>HSS: 4. S6a Response (e.g. CLA)
+ HSS->>UDM: 5. Nhss_newservice Resp
+ UDM->>5GC: 6. Nudm Service Resp
+
+```
+
+Sequence diagram illustrating UDM-HSS Interworking. The diagram shows four lifelines: 5GC, UDM, HSS, and EPC. The sequence of messages is: 1. Nudm Service Req (e.g. AMF registration in UDM) from 5GC to UDM; 2. Nhss\_newservice Req (e.g. Cancel MME location if any) from UDM to HSS; 3. S6a Request (e.g. CLR) from HSS to EPC; 4. S6a Response (e.g. CLA) from EPC to HSS; 5. Nhss\_newservice Resp from HSS to UDM; 6. Nudm Service Resp from UDM to 5GC.
+
+**Figure 6.2.3-2: High Level Illustration of UDM-HSS Interworking**
+
+In this case, an interaction between the 5GC and the UDM (e.g. an AMF registration in UDM in the context of a mobility scenario from EPC to 5GC using interworking with N26 procedures) triggers a request from UDM to HSS over the new Nxx reference point proposed in this solution using new service operations under a new service set offered by the HSS, e.g. Nhss service set.
+
+Similar interactions as described for the HSS-UDM interworking for procedures triggered from the EPC/IMS apply here too. Depending on the procedure, the interactions between the UDM and the 5GC, the UDM and HSS and HSS and the EPS, may be executed asynchronously (e.g. the UDM may not wait to the response from HSS, not even to trigger the request to HSS to send a response to the 5GC).
+
+#### 6.2.3.2 Subscriber Profile Indications
+
+Different subscriber types may exist in a network with Nxx interface. For example, some subscribers will use the full network, i.e. 5GC, the EPC and the IMS, while others might use 5G and IMS but no EPC, and legacy subscribers might just remain limited to EPC and IMS services without subscription to the 5GC. The different subscription types determine, whether the use of the Nxx interface is required for a subscriber. Thus, a "5GC subscription indication" is part of the HSS subscription data as well as a "SMS via 5G NAS support" indication. Similarly, an "EPC subscription indication" and an "IMS subscription" indication are stored in the UDM subscription data.
+
+**Editor's note:** Requirement for "IMS subscription indication" to be confirmed.
+
+#### 6.2.3.3 Authentication
+
+If security credentials are stored in one single place in the system, there are multiple options for this storage. Some possibilities are analysed in this clause.
+
+##### 6.2.3.3.1 Single AV Generation Engine in HSS(AuC) and Credentials stored in EPC-UDR
+
+As an option, 5G and EPC users'credentials may be stored in the EPC-UDR, (i.e. credentials for existing and users with a 2/3/4G/5G subscriptions and also credentials for users with only 5G subscription) and the authentication vectors are generated in HSS(AuC). In this case, the UDM needs to retrieve the authentication vectors from the HSS. The collocation of the 5G and 4G/3G/2G credentials is required to avoid distributed vectors generation lacking coordinated Sequence numbers.
+
+Figure 6.2.3.3.1-1 shows the interaction in an interworking scenario with N26 interface, when the UE attaches to the 5GC, but authentication data are stored in the EPC-UDR and authentication vectors are generated in HSS(AuC).
+
+
+
+```
+
+sequenceDiagram
+ participant AUSF
+ participant UDR
+ participant UDM
+ subgraph HSS_EPC_UDR [ ]
+ participant HSS
+ participant EPC-UDR
+ end
+ Note right of HSS: 6. generate authentication vectors in AuC
+ UDM->>AUSF: 1. Nudm_UE_Authentication_Get Req (SUPI)
+ UDM->>UDR: 2. Nudr_DM_Query Req (SUPI)
+ UDR-->>UDM: 3. Nudr_DM_Query Resp (IMSI, auth.method)
+ UDM->>HSS: 4. Nhss_UEAuthentication_Get Req (IMSI, auth.method)
+ HSS->>EPC-UDR: 5. Read (IMSI, SQN, ...)
+ Note right of HSS: 6. generate authentication vectors in AuC
+ HSS->>EPC-UDR: 7. Update (SQN)
+ HSS-->>UDM: 8. Nhss_UEAuthentication_Get Resp (authentication vectors)
+ UDM-->>AUSF: 9. Nudm_UE_Authentication_Get Resp (authentication vectors)
+
+```
+
+Sequence diagram showing authentication in 5GC with generation of AV in HSS. Lifelines: AUSF, UDR, UDM, HSS, EPC-UDR. The HSS and EPC-UDR are grouped together in a dashed box. The sequence of messages is: 1. UDM sends Nudm\_UE\_Authentication\_Get Req (SUPI) to AUSF; 2. UDM sends Nudr\_DM\_Query Req (SUPI) to UDR; 3. UDR sends Nudr\_DM\_Query Resp (IMSI, auth.method) to UDM; 4. UDM sends Nhss\_UEAuthentication\_Get Req (IMSI, auth.method) to HSS; 5. HSS sends Read (IMSI, SQN, ...) to EPC-UDR; 6. HSS generates authentication vectors in AuC; 7. HSS sends Update (SQN) to EPC-UDR; 8. HSS sends Nhss\_UEAuthentication\_Get Resp (authentication vectors) to UDM; 9. UDM sends Nudm\_UE\_Authentication\_Get Resp (authentication vectors) to AUSF.
+
+**Figure 6.2.3.3.1-1: Authentication in 5GC with generation of AV in HSS**
+
+1. The UDM receives a Nudm\_UEAuthentication\_Get Request, containing the SUPI of the user.
+2. The UDM queries the UDR for the user profile belonging to the SUPI.
+3. The UDM receives the user profile, which includes the IMSI, the authentication method, an EPC subscription indication, but no authentication data.
+4. The UDM sends a Nhss\_UEAuthentication\_Get request to the HSS, containing the IMSI, Serving network information, and the Authentication Method (which specifies whether the 5G AKA or the EAP-AKA authentication methods is used)
+5. If the EPC UDR is used, the HSS reads the IMSI, SQN and other data from the EPC-UDR.
+6. The AuC as part of the HSS generates the 5G AKA or EAP-AKA authentication vectors.
+7. If the EPC UDR is used, the HSS updates the SQN in the EPC-UDR.
+8. The HSS provides the authentication vectors to the UDM in the Nhss\_UEAuthentication Response.
+9. The UDM proceeds with the authentication.
+
+##### 6.2.3.3.2 Single AV Generation Engine in UDM and Credentials stored in UDR
+
+As an option, 5G and EPC users' credentials may be stored in the UDR (i.e. credentials for users with a 4G subscription and credentials for users with a 5G subscription) and the authentication vectors are generated in UDM(ARPF). In this case, the HSS needs to retrieve the authentication vectors from the UDM.
+
+Figure 6.2.3.3.2-1 shows the interaction in an interworking scenario, when the UE attaches to EPC, but authentication data is stored in the UDR.
+
+
+
+```
+
+sequenceDiagram
+ participant MME
+ participant HSS
+ participant UDM
+ participant UDR
+ Note right of UDM: 5. Generate AV in ARPF/AuC
+ MME->>HSS: 1. Authentication-Information-Request
+ HSS->>UDM: 2. Nudm_UEAuthentication_Get Req (IMSI, auth method)
+ UDM->>UDR: 3. Nudr_DM_Query req
+ UDR-->>UDM: 4. Nudr_DM_Query resp
+ UDM->>UDR: 6. Nudr_DM_Update req
+ UDR-->>UDM: 7. Nudr_DM_Update resp
+ UDM-->>HSS: 8. Nudm_UEAuthentication_Get Resp (authentication vectors)
+ HSS-->>MME: 9. Authentication-Information-Response
+
+```
+
+Sequence diagram for Authentication in EPC with generation of AV in UDM. The diagram shows interactions between MME, HSS, UDM, and UDR. The HSS sends a Nudm\_UEAuthentication\_Get Req to the UDM. The UDM sends a Nudr\_DM\_Query req to the UDR. The UDR returns a Nudr\_DM\_Query resp to the UDM. The UDM generates AV in ARPF/AuC. The UDM sends a Nudr\_DM\_Update req to the UDR. The UDR returns a Nudr\_DM\_Update resp to the UDM. The UDM sends a Nudm\_UEAuthentication\_Get Resp to the HSS. The HSS sends an Authentication-Information-Response to the MME.
+
+**Figure 6.2.3.3.2-1: Authentication in EPC with generation of AV in UDM**
+
+1. The HSS receives an Authentication-Information-Request, containing the identification of the user.
+2. The HSS sends a Nudm\_UEAuthentication\_Get request to the UDM, containing the user identification, Service Network Id (SNI) and the Authentication Method (e.g. EPS-AKA).
+
+NOTE: Whether one or multiple services are required, and specific naming for the operation, could be taken during normative phase.
+
+- 3,4. If the UDR is deployed, the UDM reads the credentials and related authentication data stored in the UDR.
+5. The AuC/ARPF as part of the UDM generates the authentication vectors as requested.
+- 6,7. If the UDR is used, the UDM updates the SQN in the UDR.
+8. The UDM provides the authentication vectors to the HSS in the Nudm\_UEAuthentication\_Get response.
+9. The HSS proceeds with the authentication.
+
+#### 6.2.3.4 Mobility Scenarios
+
+##### 6.2.3.4.1 Mobility from 5GC to EPC, single registration, with N26 Interface
+
+In a single registration scenario, the attachment in an MME triggers a cancellation of the AMF address in the UDM/UDR.
+
+Figure 6.2.3.4.1-1 shows the interaction in an interworking scenario with N26 interface, when the UE attaches to the EPC.
+
+
+
+```
+
+sequenceDiagram
+ participant AMF
+ participant UDR
+ participant UDM
+ participant HSS
+ participant EPC-UDR
+ participant MME
+
+ Note right of HSS: [HSS and EPC-UDR group]
+
+ MME->>HSS: 1. S6a-ULR (IMSI)
+ HSS->>EPC-UDR: 2. Read (IMSI)
+ HSS->>EPC-UDR: 3. Update (MME address)
+ HSS->>MME: 4. S6a-ULA
+ UDM->>HSS: 5. Nudm_UECM_Deregister* (IMSI)
+ HSS->>UDM: 6. Nudm_UECM_Deregister* resp
+ UDM->>UDR: 7. Nudr_DM_Query (IMSI)
+ UDM->>AMF: 8. Nudm_UECM_DeregistrationNotification
+ UDM->>UDR: 9. Nudr_DM_Update (Cancel AME address)
+
+```
+
+Sequence diagram for Mobility from 5GC to EPC. Lifelines: AMF, UDR, UDM, HSS, EPC-UDR, MME. The HSS and EPC-UDR are grouped together in a dashed box. The sequence of messages is: 1. S6a-ULR (IMSI) from MME to HSS; 2. Read (IMSI) from HSS to EPC-UDR; 3. Update (MME address) from HSS to EPC-UDR; 4. S6a-ULA from HSS to MME; 5. Nudm\_UECM\_Deregister\* (IMSI) from UDM to HSS; 6. Nudm\_UECM\_Deregister\* resp from HSS to UDM; 7. Nudr\_DM\_Query (IMSI) from UDM to UDR; 8. Nudm\_UECM\_DeregistrationNotification from UDM to AMF; 9. Nudr\_DM\_Update (Cancel AME address) from UDM to UDR.
+
+Figure 6.2.3.4.1-1: Mobility from 5GC to EPC
+
+1. The HSS receives an S6a ULR request containing the IMSI of the subscriber.
+2. If the EPC UDR is used, the HSS reads the subscription information related to the IMSI from the EPC-UDR. In particular, it receives the 5GC subscription information.
+3. If the EPC-UDR is used, the HSS updates the EPC-UDR with the new MME address.
+4. The HSS responds to the MME with an S6a-ULA.
+5. If the 5GC subscription indication is received in step 2, i.e. if there is an 5GC subscription for the user, then the HSS uses the Nudm\_UECM\_Deregister service of the HSS for the IMSI of the user. This does not include the AMF address as when a AMF triggers that hence this is marked with a \*.
+6. The UDM responds to the HSS.
+7. The UDM uses the Nudr\_DM\_Query service to retrieve the AMF address previously assigned to the UE, if any. If the UE is registered at an AMF, steps 8 and 9 are executed.
+8. If there is an AMF address found for the user, the UDM cancels the attachment by sending a Nudm\_UECM\_DeregistrationNotification to the AMF.
+9. In this case, the UDM also updates the UDR entry using the Nudr\_DM\_Update service.
+
+##### 6.2.3.4.2 Mobility from EPC to 5GC, single registration, with N26 Interface
+
+In a single registration scenario, the attachment in an AMF triggers a cancellation of the MME address in the HSS.
+
+Figure 6.2.3.4.2-1 shows the interaction in an interworking scenario with N26 interface, when the UE attaches to the 5GC.
+
+
+
+```
+
+sequenceDiagram
+ participant AMF
+ participant UDR
+ participant UDM
+ participant HSS
+ participant EPC-UDR
+ participant MME
+
+ Note right of HSS: [HSS and EPC-UDR Group]
+
+ AMF->>UDM: 1. Nudm_UECM_Registration (SUPI)
+ UDM->>UDR: 2. Nudr_DM_Query (SUPI)
+ UDR-->>UDM: 3. Nudr_DM_Query Resp (IMSI, EPC subscription, ...)
+ UDM->>UDR: 4. Nudr_DM_Update (AMF address)
+ UDM->>HSS: 5. Nhss_UECM_Deregister (IMSI)
+ HSS-->>UDM: 6. Nhss_UECM_Deregister resp
+ HSS->>EPC-UDR: 7. Read (IMSI, ...)
+ HSS->>MME: 8. CLR
+ HSS-->>EPC-UDR: 9. Update (MME address)
+
+```
+
+Sequence diagram illustrating Mobility from EPC to 5GC. The diagram shows interactions between AMF, UDR, UDM, HSS, EPC-UDR, and MME. The HSS and EPC-UDR are grouped together in a dashed box. The sequence of messages is: 1. Nudm\_UECM\_Registration (SUPI) from AMF to UDM; 2. Nudr\_DM\_Query (SUPI) from UDM to UDR; 3. Nudr\_DM\_Query Resp (IMSI, EPC subscription, ...) from UDR to UDM; 4. Nudr\_DM\_Update (AMF address) from UDM to UDR; 5. Nhss\_UECM\_Deregister (IMSI) from UDM to HSS; 6. Nhss\_UECM\_Deregister resp from HSS to UDM; 7. Read (IMSI, ...) from HSS to EPC-UDR; 8. CLR from HSS to MME; 9. Update (MME address) from HSS to EPC-UDR.
+
+Figure 6.2.3.4.2-1: Mobility from EPC to 5GC
+
+1. The UDM receives an Nudm\_UECM\_Registration request containing the SUPI of the subscriber.
+2. The UDM queries the UDR with an Nudr\_DM\_query for the old AMF address and the EPC subscription indication belonging to the SUPI.
+3. The UDR provides the requested data to the UDM.
+4. The UDM updates the UDR with the new AMF registration data using the Nudr\_DM\_Update service.
+5. If the EPC subscription indication is received in step 3, i.e. if there is an EPC subscription for the user, then the UDM uses the Nhss\_UECM\_Deregister service of the HSS for the IMSI of the user.
+6. The HSS responds to the UDM.
+7. If the EPC UDR is used, The HSS reads the MME mobility information in the EPC-UDR. If the UE is registered at an MME, steps 8 and 9 are executed.
+8. If there is an MME address found for the user, the HSS cancels the attachment of the IMSI in the MME by sending a CLR via the S6a interface.
+9. IF step 8 was executed, and EPC UDR is used, the HSS also updates the EPC-UDR entry to remove the MME assignment.
+
+##### 6.2.3.4.3 Interworking without N26 Interface
+
+For interworking without the N26 interface in Rel-15, IP address preservation is provided to UEs on inter-system mobility by storing and fetching PGW-C+SMF and corresponding APN/DDN information via the HSS+UDM, see TS 23.501 [6] clause 5.17.2.3.1. In an architecture with Nxx interface between HSS and UDM, this information must be exchanged via the Nxx interface.
+
+For mobility from 5GC to EPC, the HSS can use the Nudm\_SubscriberDataManagement (SDM) service for "UE context in SMF" data.
+
+For mobility from EPC to 5GC, the HSS Nhss\_SubscriberDataManagement service for the "UE context in PGW" provides the PDN-GW address per subscriber and APN. The UDM can use this service.
+
+This service is also applicable for interworking with non-3GPP access if IP address preservation is requested.
+
+#### 6.2.3.5 T-ADS
+
+Figure 6.2.3.5-1 shows the interaction when the SCC-AS sends a T-ADS query to the HSS, and the user is subscribed to 5GC as well.
+
+
+
+```
+
+sequenceDiagram
+ participant AMF
+ participant UDR
+ participant UDM
+ participant HSS
+ participant EPC-UDR
+ participant TAS
+ participant EPC_MSC as EPC / MSC
+
+ Note right of HSS: [HSS and EPC-UDR group]
+
+ TAS->>HSS: 1. Sh-UDR (T-ADS)
+ HSS->>EPC-UDR: 2. Read
+ HSS->>EPC_MSC: 3. S6a/d-IDR (TADS) and/or MAP-PSI
+ EPC_MSC-->>HSS: 3. S6a/d-IDR (TADS) and/or MAP-PSI
+ HSS->>UDM: 4. Nudm_MTProvideDomainSelectionInfo
+ UDM->>UDR: 5. Nudr_DM_Query
+ UDM-->>AMF: 6. Namf_ProvideDomainSelectionInfo
+ AMF-->>UDM: 7. Namf_ProvideDomainSelectionInfo resp (T-ADS info)
+ UDM-->>HSS: 8. Nudm_MT_ProvideDomainSelectionInfo resp (T-ADS info)
+ HSS->>TAS: 9. Sh-UDA (T-ADS info)
+
+```
+
+Sequence diagram for Terminating Access Domain Selection (T-ADS) showing interactions between AMF, UDR, UDM, HSS, EPC-UDR, TAS, and EPC/MSC.
+
+Figure 6.2.3.5-1: Terminating Access Domain Selection
+
+1. The HSS receives a UDR T-ADS query from the SCC-AS over the Sh interface.
+2. If EPC-UDR is used, the HSS reads the MME, SGSN, T-ADS related information and the 5G subscription indication from the EPC-UDR.
+3. Depending on registration state, the HSS queries the MME and/or SGSN for IMS over PS session support.
+4. If the user has a 5G subscription, the HSS requests 5GC-related T-ADS information from the UDM, using the Nudm\_MT\_ProvideDomainSelectionInfo service provided by the UDM. The HSS includes an indication, whether a time stamp of last attachment is required.
+5. On receipt of the request, the UDM queries the UDR for the AMF registration state and the stored T-ADS related information (e.g. homogenous support).
+6. If the user is registered in an AMF and there is no information regarding homogenous support or non-support, or if a time stamp has been requested by the HSS, the UDM sends an Namf\_MT\_ProvideDomainSelectionInfo service request to the AMF.
+7. The AMF responds with the T-ADS information.
+8. The UDM passes the T-ADS information to the HSS - in the response to the Nudm\_MT\_ProvideDomainSelectionInfo request.
+9. The HSS combines the information related to SGSN, MME and AMF and provides it to the SCC-AS in the Sh-UDA message.
+
+#### 6.2.3.6 P-CSCF Restoration
+
+Figure 6.2.3.6-1 shows the interaction when the S-CSCF initiates a P-CSCF restoration at the HSS, and the user is attached to 5GC. In this example the AMF based restoration is shown. The procedure for the SMF follows the same approach and same method across the Nxx interface.
+
+
+
+```
+
+sequenceDiagram
+ participant S-CSCF
+ subgraph EPS
+ participant HSS
+ participant EPC-UDR
+ end
+ participant UDM
+ participant UDR
+ participant AMF
+
+ Note right of S-CSCF: 1. Cx-SAR (P-CSCF restoration)
+ S-CSCF->>HSS: 1. Cx-SAR (P-CSCF restoration)
+ Note right of HSS: 2. Read
+ HSS->>EPC-UDR: 2. Read
+ Note right of HSS: 3. IMS deregistration; restoration in EPC
+ HSS->>HSS: 3. IMS deregistration; restoration in EPC
+ Note right of HSS: 4. Cx-SAA
+ HSS->>S-CSCF: 4. Cx-SAA
+ Note right of HSS: 5. Nudm_UECM_PscfRestoration
+ HSS->>UDM: 5. Nudm_UECM_PscfRestoration
+ Note right of UDM: 6. Nudr_DM_Query
+ UDM->>UDR: 6. Nudr_DM_Query
+ Note right of UDM: 7. Nudm_UECM_PscfRestoration notification
+ UDM->>AMF: 7. Nudm_UECM_PscfRestoration notification
+ Note right of UDM: 8. Nudm_UECM_PscfRestoration resp
+ UDM->>HSS: 8. Nudm_UECM_PscfRestoration resp
+
+```
+
+Sequence diagram for P-CSCF Restoration showing interactions between AMF, UDR, UDM, HSS, EPC-UDR, and S-CSCF.
+
+Figure 6.2.3.6-1: P-CSCF Restoration
+
+1. The HSS receives a Cx-SAR (Server Assignment Request) message from the S-CSCF, which includes the P-CSCF restoration indication.
+2. If the EPC-UDR is used, the HSS reads the subscriber data from the EPC-UDR.
+3. If applicable, the HSS sends a P-CSCF restoration information towards the supporting nodes (SGSN, MME) and performs the unregistration/deregistration of the UE in IMS, as described in step 5 of TS 23.380 [8], clause 5.4.2.1. This includes the necessary updates in the EPC-UDR.
+4. The HSS replies with a Cx SAA (Server Assignment Answer) to the S-CSCF.
+5. In case of 5GC subscription indication, the HSS uses the enhanced Nudm\_UECM\_PscfRestoration service of the UDM to trigger the P-CSCF restoration indication in the 5GC.
+6. The UDM reads the subscriber profile in the UDR to retrieve the relevant AMF address and callback-URI.
+7. (copy of step 6 in TS 23.380 [8], clause 5.8.4.3) The UDM sends Nudm\_UECM\_PscfRestoration notification to the AMF serving the UE, using the received callback URI for P-CSCF restoration notifications. The AMF accepts the Nudm message and sends a response message to the UDM.
+8. The UDM responds to the HSS. Note: Message 8 may be sent at the same time like message 7 and need not wait for the response to message 7.
+
+#### 6.2.3.7 SMS support
+
+The interworking between EPS and 5GC, as described in clause 6.2.3.4, also has an impact on SMS handling. For example, if an SMS cannot be delivered to a subscriber which is not attached to the mobile network at all, it cannot be predicted how the subscriber will be reachable for SMS next. The subscriber may attach in 2G/3G only, in LTE/EPC or in 5G via NR - the network must be prepared to deliver the SMS anyway. In the following clauses we focus on the SMS message flows initiated towards the HSS. Similar flows apply for the SMS delivery described in TS 23.502 [2].
+
+##### 6.2.3.7.1 Terminating SMS location query
+
+Figure 6.2.3.7-1 shows the interaction when the SMSC or IP-SM-GW queries the HSS for SMS routing information.
+
+
+
+```
+
+sequenceDiagram
+ participant SMSC
+ participant HSS
+ participant EPC-UDR
+ participant UDM
+ participant UDR
+
+ Note right of HSS: (HSS and EPC-UDR are grouped)
+
+ SMSC->>HSS: 1. MAP-SRI_SM or S6c-SRR
+ HSS->>EPC-UDR: 2. Read
+ HSS->>UDM: 3. Nudm_UEContextManagement_Get (SMSF address)
+ UDM->>UDR: 4. Nudr_DM_Query (SMSF address)
+ UDR-->>UDM: 5. Nudr_DM_Query resp (SMSF address)
+ UDM->>HSS: 6. Nudm_UEContextManagement resp (SMSF address)
+ HSS->>SMSC: 7. MAP-SRI_SM response or S6c-SRA (serving nodes)
+
+```
+
+The diagram illustrates the sequence of messages for an SMS Location Query. It starts with the SMSC sending a MAP-SRI\_SM or S6c-SRR message to the HSS. The HSS then sends a Read message to the EPC-UDR. Next, the HSS sends a Nudm\_UEContextManagement\_Get request to the UDM, specifying the SMSF address. The UDM responds with a Nudr\_DM\_Query to the UDR, which returns the SMSF address(es) in a Nudr\_DM\_Query resp. The UDM then sends a Nudm\_UEContextManagement resp to the HSS, providing the SMSF address. Finally, the HSS sends a MAP-SRI\_SM response or S6c-SRA to the SMSC, indicating the serving nodes.
+
+Sequence diagram for SMS Location Query showing interactions between UDR, UDM, HSS, EPC-UDR, and SMSC.
+
+Figure 6.2.3.7-1: SMS Location Query
+
+1. The SMSC queries the HSS for routing information for SMS.
+2. If the EPC-UDR is used, the HSS reads the necessary information from the EPC-UDR.
+3. The HSS uses the Nudm\_UECM\_Get request to query the UDM for the serving SMSF address(es).
+4. The UDM queries the UDR with an Nudr\_DM\_query for the SMSF address(es).
+5. The UDR provides the SMSF address(es) to the UDM.
+6. The UDM passes the SMSF address(es) to the HSS in the Nudm\_UECM response.
+7. The HSS replies to the SMSC with a list of supporting nodes.
+
+##### 6.2.3.7.2 Terminating SMS delivery failure
+
+After delivery of an SMS failed, the HSS stores message waiting information. In order to enable message delivery via 5G NAS, the HSS subscribes to the UDM (and indirectly AMF) for UE availability. Figure 6.2.3.7-2 shows the related interaction; it is assumed that there was no previously waiting message before.
+
+
+
+```
+
+sequenceDiagram
+ participant SMSC
+ participant HSS
+ participant EPC-UDR
+ participant UDM
+ participant UDR
+ participant AMF
+
+ Note right of HSS: [EPC subsystem]
+
+ SMSC->>HSS: 1. MAP/S6c-Report-SM-Delivery-Status (failure)
+ HSS->>EPC-UDR: 2. Read
+ HSS->>EPC-UDR: 3. Update
+ HSS->>SMSC: 4. MAP/S6c-Report-SM-Delivery-Status result
+ HSS->>UDM: 5. Nudm_EventExposure_Subscribe (UEReachability)
+ UDM->>UDR: 6. Nudr_DM_Query
+ UDR->>UDM: 7. Nudr_DM_Query resp
+ UDM->>AMF: 8. Namf_EventExposure_Subscribe (UEReachability)
+ AMF->>UDM: 9. Namf_EventExposure_Subscribe resp
+ UDM->>UDR: 10. Nudr_DM_Update
+ UDR->>UDM: 11. Nudr_DM_Update resp
+ UDM->>HSS: 12. Nudm_EventExposure_Subscribe resp
+
+```
+
+Sequence diagram for SMS Delivery Failure. Lifelines: AMF, UDR, UDM, HSS, EPC-UDR, SMSC. The diagram shows the interaction between these components when an SMS delivery fails. The SMSC sends a failure report to the HSS. The HSS interacts with the EPC-UDR to read and update information. The HSS then subscribes to UE reachability at the UDM. The UDM queries the UDR, receives information, subscribes to the AMF, updates the UDR, and finally acknowledges the subscription to the AMF.
+
+**Figure 6.2.3.7-2: SMS Delivery Failure**
+
+1. The SMSC informs the HSS about the delivery failure.
+2. The HSS reads the necessary information from the EPC-UDR.
+3. The HSS updates the Message Waiting status in UDR.
+4. The HSS acknowledges the receipt of the delivery status to the SMSC.
+5. The HSS subscribes for UE reachability information at the UDM, using the Nudm\_EventExposure service.
+6. The UDM requests the relevant subscriber information from the UDR.
+7. The UDR provides the requested information.
+8. The UDM subscribes for UE reachability information at the AMF, using the Namf\_EventExposure service.
+9. The AMF acknowledges the subscription by the UDM.
+10. UDM updates the subscriber specific event subscription information in the UDR.
+11. The UDR acknowledges the update to the UDM.
+12. The UDM acknowledges the subscription by the AMF.
+
+##### 6.2.3.7.3 SMS Alerting
+
+Once the UE becomes available again, the SMSC(s) will be informed about the availability. Figure 6.2.3.7-3 shows the related interaction if the UE becomes reachable in 5G. This assumes the existence of a subscription as described in clause 6.2.3.7.2.
+
+
+
+```
+
+sequenceDiagram
+ participant AMF
+ participant UDR
+ participant UDM
+ participant HSS
+ participant EPC-UDR
+ participant SMSC
+
+ Note left of AMF: UE becomes available
+ AMF->>UDM: 1. Namf_EventExposure_Notify
+ UDM->>UDR: 2. Nudr_DM_Query
+ UDR-->>AMF: 3. Namf_EventExposure_Notify resp
+ UDM->>UDR: 4. Nudr_DM_Update
+ UDM->>HSS: 5. Nudm_EventExposure_Notify (Reachability)
+ HSS->>EPC-UDR: 6. Read
+ HSS-->>UDM: 7. Nudm_EventExposure_Notify resp
+ HSS->>SMSC: 8. MAP-AlertSC or S6c-ALR
+ HSS->>EPC-UDR: 9. Update
+ SMSC-->>HSS: 10. MAP-AlertSC resp or S6c-ALA
+
+```
+
+Sequence diagram for SMS Alerting showing interactions between AMF, UDR, UDM, HSS, EPC-UDR, and SMSC.
+
+Figure 6.2.3.7-3: SMS Alerting
+
+1. The AMF informs the UDM about the UE reachability.
+2. The UDM reads the necessary information from the UDR.
+3. The UDM acknowledges the receipt of the Notification to the AMF.
+4. The UDM updates the AMF-URRP flag in the UDR.
+5. The UDM informs the HSS about the UE availability.
+6. The HSS may read the subscriber related information in the EPC-UDR.
+7. The HSS acknowledges the receipt of the notification to the UDM.
+8. The HSS alerts all relevant SMSCs regarding the UE availability. Only one such SMSC is shown in the figure for simplicity.
+9. The HSS may update the subscriber information in the EPC-UDR.
+10. The SMSC replies to the alerting.
+
+### 6.2.4 Impacts on existing services and interfaces
+
+Following impacts are identified:
+
+#### a) Impacts in HSS:
+
+New SBA service at least with one operation Request/Response, at described in figure 6.2.3-2.
+
+This SBA service has to follow registration/discovery/selection procedures (by means of interaction with NRF or by configuration) as defined for Rel-15 or its evolution/adaptation to Rel-16.
+
+No impacts to existing interfaces or procedures.
+
+#### b) Impacts in UDM
+
+New SBA service at least with one operation Request/Response, at described in figure 6.2.3-1.
+
+### 6.2.5 Evaluation
+
+This solution identifies an approach that can work for both layered and not layered architectures of HSS.
+
+In addition, it supports all the procedures that have been defined on EPS and 5GS without any impact on any other interface than the one between HSS and UDM this solution defines.
+
+If this solution is adopted, it requires standardisation of the interface between HSS and UDM.
+
+## 6.3 Solution #3: UDM/HSS FE interaction reusing legacy protocol
+
+### 6.3.1 Introduction
+
+This solution addresses Key Issue #1: Interaction between UDM and HSS with separate repositories.
+
+The assumption of this solution is that 5GS UDR and EPS UDR are separate, between which there is no interface for direct interactions. The EPS and IMS profiles are stored in EPS UDR and the 5GS profile is stored in 5GS UDR.
+
+UDM and HSS FE interacts to retrieve or update the required user data for the following procedures:
+
+- Authentication procedure, i.e. initial attach/registration.
+- Network Provided Location Information (NPLI).
+- Procedure on IP address continuity of interworking without N26 from 5GS to EPS.
+- T-ADS query for IMS voice.
+- IMS related procedures related to Cx/Dx and Sh interfaces.
+- SMS over NAS.
+
+To avoid the impact on legacy HSS, the interactions for retrieving or updating user data are initiated by UDM through reusing existing HSS supported protocol and procedures, i.e. this solution only requires UDM to retrieve or update user data stored in EPS UDR via HSS FE. The interface between HSS FE and EPS UDR is also not impacted.
+
+### 6.3.2 High-level Description
+
+#### 6.3.2.1 Authentication
+
+A new interface, Shu, between UDM and HSS FE is introduced, by which UDM initiates interactions with HSS FE to retrieve or update user data stored in EPS UDR. Shu is a Point-to-Point reference point.
+
+UDM is the only access point both to 5GC and EPC.
+
+
+
+```
+
+graph TD
+ EPS_UDR[EPS UDR] --- HSS_FE[HSS FE]
+ 5GS_UDR[5GS UDR] --- UDM[UDM]
+ HSS_FE ---|Shu| UDM
+ UDM ---|Nudm| AUSF
+ AUSF --- AMF[AMF]
+ UDM ---|S6a| MME[MME]
+
+```
+
+The diagram illustrates the solution architecture for interworking between EPS and 5GS. It features several network functions: EPS UDR, 5GS UDR, HSS FE, UDM, AUSF, AMF, and MME. The EPS UDR is connected to the HSS FE. The 5GS UDR is connected to the UDM. The HSS FE and UDM are connected via the Shu interface. The UDM is connected to the AUSF via the Nudm interface. The AUSF is connected to the AMF. The UDM is also connected to the MME via the S6a interface.
+
+Figure 6.3.2.1.1: Solution architecture diagram showing the interconnection of EPS UDR, 5GS UDR, HSS FE, UDM, AUSF, AMF, and MME.
+
+**Figure 6.3.2.1.1: Solution architecture**
+
+In some 5G deployment, when a 4G subscriber is updated to 5G subscriber, the 4G subscription profile keeps stored in EPS UDR while the new 5G subscription data is provisioned in 5GS UDR. In this case it is assumed that the authentication data is only stored in EPS UDR and is reused by 5GS authentication.
+
+For new 5G subscriber, all the subscription data is stored in 5GS UDR. Therefore, the solution described in this clause does not apply.
+
+In this scenario, when a UE with 5GS subscription registers on 5GS, the UDM needs to interact with HSS FE to retrieve authentication information data stored in EPS UDR.
+
+NOTE: The UDM is a combo node which simultaneously supports UDM and HSS FE functionality.
+
+In case of single registration in 5G, in order to cancel the registration in the other RAT, the UDM supports to perform a fake 4G registration in the HSS, as shown in Figure 6.3.3.1-2. This trigger the HSS to cancel the 4G registration. When the UE moves back to 4G, the HSS sends cancel location to UDM which trigger the UDM to deregister the UE in 5G.
+
+#### 6.3.2.2 IP address continuity of interworking without N26 from 5GS to EPS
+
+Shu interface defined in clause 6.3.2.1 is reused.
+
+UDM is the only access point both to 5GC and EPC.
+
+
+
+```
+graph TD; EPS_UDR[EPS UDR] --- HSS_FE[HSS FE]; 5GS_UDR[5GS UDR] --- UDM[UDM]; HSS_FE ---|Shu| UDM; UDM ---|Nudm| AMF[AMF]; UDM ---|S6a| MME[MME]; UDM ---|Nudm| PGW_C_SMF[PGW-C+SMF];
+```
+
+The diagram illustrates the solution architecture centered around the Unified Data Management (UDM) function. The UDM is connected to the EPS UDR via the HSS FE (with a Shu interface), to the 5GS UDR directly, to the AMF via a Nudm interface, to the MME via an S6a interface, and to the PGW-C+SMF via another Nudm interface.
+
+Figure 6.3.2.2-1: Solution architecture diagram showing the central role of the UDM connected to various network functions.
+
+**Figure 6.3.2.2-1: Solution architecture**
+
+When a UE initially registers in 5GC, the FQDN for the S5/S8 interface of the PGW-C+SMF is registered into UDM via Nudm as specified in clause 4.11.2 of TS 23.502 [2].
+
+When UE attaches in EPS due to interworking without N26, the procedure specified in clause 4.11.2 of TS 23.502 [2] applies. When MME sends Update Location Request to UDM, after forwarding the request to HSS FE, UDM needs to retrieve the stored PGW-C+SMF FQDN and add it into the Update Location Ack message returned from HSS FE.
+
+The MME use PGW-C+SMF FQDN received from the Update Location Ack message to determine the address of PGW-C+SMF.
+
+#### 6.3.2.3 T-ADS for IMS voice
+
+Shu interface defined in clause 6.3.2.1 is reused.
+
+UDM is the only access point both to 5GC, EPC and IMS, i.e. UDM supports S6a and Sh interfaces along with Nudm.
+
+
+
+```
+graph TD; EPS_UDR[EPS UDR] --- HSS_FE[HSS FE]; 5GS_UDR[5GS UDR] --- UDM[UDM]; HSS_FE ---|Shu| UDM; UDM ---|Nudm| AMF[AMF]; UDM ---|S6a| MME[MME]; UDM ---|Sh| SCC_AS[SCC AS];
+```
+
+Figure 6.3.2.3-1: Solution architecture diagram showing the UDM connected to EPS UDR, 5GS UDR, HSS FE, AMF, MME, and SCC AS via various interfaces.
+
+**Figure 6.3.2.3-1: Solution architecture**
+
+SCC AS initiates T-ADS query towards UDM via Sh interface as specified in TS 29.328 [11].
+
+To handle T-ADS query, the UDM queries T-ADS information towards HSS FE to get T-ADS information related to EPS and UMTS. HSS FE may query MME and SGSN to get information as specified in TS 23.401 [16] and TS 23.060 [15].
+
+After receiving response of T-ADS query from HSS FE, UDM responds T-ADS query to SCC AS based on the T-ADS information received from HSS FE and T-ADS information in UDM. UDM may query AMF to get necessary information as specified in TS 23.501 [6].
+
+#### 6.3.2.4 Supporting IMS related procedures
+
+Shu interface defined in clause 6.3.2.1 is reused.
+
+UDM, which is a combo node supporting UDM and HSS functionalities, is the only access point both to 5GC, EPC and IMS.
+
+
+
+```
+
+graph LR
+ EPS_UDR[EPS UDR] --- HSS_FE[HSS FE]
+ 5GS_UDR[5GS UDR] --- UDM[UDM]
+ HSS_FE ---|Shu| UDM
+ UDM ---|Nudm| AMF[AMF]
+ UDM ---|S6a| MME[MME]
+ UDM ---|Sh| IMS_AS[IMS AS]
+ UDM ---|Cx/Dx| I_S_CSCF[I/S-CSCF]
+ UDM ---|Nudm| PGW_C_SMF[PGW-C+SMF]
+ AUSF[AUSF] --- AMF
+ AUSF --- MME
+ AUSF --- IMS_AS
+ AUSF --- I_S_CSCF
+ AUSF --- PGW_C_SMF
+ AUSF ---|Nudr| UDM
+
+```
+
+The diagram illustrates the solution architecture for IMS. At the center is the UDM (Unified Data Management). To its left, the EPS UDR (EPS User Data Repository) is connected to the HSS FE (Home Subscriber Server Front End), which in turn connects to the UDM via the Shu interface. Above the UDM, the 5GS UDR connects to it via the Nudr interface. To the right of the UDM, several network functions are connected: AMF (Access and Management Function) via Nudm, MME (Mobility Management Entity) via S6a, IMS AS (IMS Application Server) via Sh, I/S-CSCF (Interrogating/Serving CSCF) via Cx/Dx, and PGW-C+SMF (PDN Gateway-Cornerstone + SMF) via Nudm. An AUSF (Authentication Server Function) is also shown, connected to the AMF, MME, IMS AS, I/S-CSCF, and PGW-C+SMF, and to the UDM via the Nudr interface.
+
+Figure 6.3.2.4-1: Solution architecture diagram showing the UDM as a central hub connected to various network functions.
+
+Figure 6.3.2.4-1: Solution architecture
+
+Since IMS profile is stored in EPS UDR, the UDM needs to forward all the requests received from IMS via Cx/Dx or Sh interfaces to HSS FE to handle, and further forwards all the responses from HSS FE to IMS.
+
+For some scenarios that HSS FE and EPS UDR may generate requests to IMS, the UDM needs to forward all the requests received from HSS FE to IMS via Cx/Dx or Sh interfaces to handle, and further forwards all the responses from IMS to HSS FE.
+
+#### 6.3.2.5 SMS over NAS
+
+Shu interface defined in clause 6.3.2.1 is reused.
+
+UDM is the only access point both to SMSF, SMS router and SMSC/SM GMSC.
+
+
+
+```
+
+graph LR
+ EPS_UDR[EPS UDR] --- HSS_FE[HSS FE]
+ 5GS_UDR[5GS UDR] --- UDM[UDM]
+ HSS_FE ---|Shu| UDM
+ UDM ---|Nudr| 5GS_UDR
+ UDM ---|Nudm| SMSF[SMSF]
+ UDM ---|Sh| SMS_router[SMS router]
+ UDM ---|C/S6c| SMSC_SM_GMSC[SMSC/SM GMSC]
+
+```
+
+The diagram illustrates the solution architecture for SMS over NAS. The UDM (Unified Data Management) is the central component. It is connected to the EPS UDR via the HSS FE and the Shu interface. The 5GS UDR is connected to the UDM via the Nudr interface. To the right of the UDM, three network functions are connected: SMSF (SMS Function) via Nudm, SMS router via Sh, and SMSC/SM GMSC (SMSC/SM Gateway Mobile Switching Center) via the C/S6c interface.
+
+Figure 6.3.2.5-1: Solution architecture diagram for SMS over NAS.
+
+Figure 6.3.2.5-1: Solution architecture
+
+### 6.3.3 Services and Illustrated Procedures
+
+#### 6.3.3.1 Authentication
+
+The procedure of the interaction between UDM and HSS FE for Authentication Information Retrieval is shown in Figure 6.3.3.1-1.
+
+
+
+```
+
+sequenceDiagram
+ participant AMF
+ participant AUSF
+ participant MME
+ participant UDM
+ participant HSS FE
+ participant HSS BE
+
+ Note right of HSS FE: 3. authentication information retrieval
+
+ MME->>UDM: 1a. Authentication-Information-Request
+ AMF->>AUSF: 1b. Nausf_UEAuthentication_authenticate
+ AUSF->>UDM: 1b'. Nudm_UEAuthentication_Get invocation
+ UDM->>HSS FE: 2. Authentication-Information-Request
+ HSS FE->>UDM: 4. Authentication-Information-Answer (authentication vectors)
+ UDM->>MME: 5a. Authentication-Information-Answer (authentication vectors)
+ UDM->>AUSF: 5b'. Nudm_UEAuthentication_Get response
+ AUSF->>AMF: 5b. Nausf_UEAuthentication_authenticate response
+
+```
+
+Sequence diagram illustrating the Authentication Info Retrieval Procedure between UDM and HSS FE. The diagram shows interactions between AMF, AUSF, MME, UDM, HSS FE, and HSS BE. The sequence starts with MME sending an Authentication-Information-Request to UDM (1a) or AMF invoking Nausf\_UEAuthentication\_authenticate to AUSF (1b). AUSF then invokes Nudm\_UEAuthentication\_Get to UDM (1b'). UDM sends an Authentication-Information-Request to HSS FE (2). HSS FE performs authentication information retrieval (3) and returns an Authentication-Information-Answer to UDM (4). UDM then forwards the answer to MME (5a) or AUSF (5b'). Finally, AUSF responds to AMF (5b).
+
+**Figure 6.3.3.1-1: Authentication Info Retrieval Procedure between UDM and HSS FE**
+
+- 1a. When the UE attaches from EPS, MME sends Authentication-Information-Request to UDM to get authentication information for the UE. The MME message is sent to UDM by DRA routing (i.e., based on IMSI range).
+- 1b. When the UE registers from 5GS, AMF invokes Nausf\_UEAuthentication\_authenticate service operation to AUSF to get authentication information for the UE.
+- 1b'. AUSF invokes Nudm\_UEAuthentication\_Get service operation.
+2. When UDM receives Nudm\_UEAuthentication\_Get, it determines to generate and send S6a Authentication-Information-Request message to HSS-FE based on local configuration, if the authentication information is stored in EPS UDR due to operator's deployment.
+3. HSS FE interacts with EPS UDR to retrieve authentication information of the UE via legacy UDC architecture.
+4. HSS FE returns Authentication-Information-Answer with authentication vectors to UDM.
+- 5a. UDM forwards Authentication-Information-Answer with authentication vectors to MME.
+- 5b'. UDM generates the respond to Nudm\_UEAuthentication\_Get service operation invocation with authentication vectors received in Authentication-Information-Answer, and sends the respond to AUSF.
+- 5b. AUSF response the AMF invoked Nausf\_UEAuthentication\_authenticate service.
+
+**Editor's note:** This procedure may be modified based on SA WG3 LS response.
+
+The procedure of the interaction between UDM and HSS FE for single Registration is shown in Figure 6.3.3.1-1.
+
+
+
+```
+
+sequenceDiagram
+ participant AMF
+ participant MME
+ participant UDM
+ participant 5GS UDR
+ participant HSS
+ participant EPS UDR
+
+ Note over AMF, 5GS UDR: 1. UE Registration in 5G
+ Note over UDM: 2. Single Registration?
+ UDM->>HSS: 3. Update Location Request
+ Note over HSS, EPS UDR: 4. Store information in EPS UDR
+ HSS->>UDM: 5. Update Location Ack
+ HSS-->>MME: 6. Cancel Location Request
+ MME-->>HSS: 7. Cancel Location Response
+ MME->>UDM: 8. Update Location Request
+ Note over HSS, EPS UDR: 9. Store information in EPS UDR
+ HSS->>UDM: 10. Update Location Ack
+ HSS->>UDM: 11. Cancel Location Request
+ UDM->>HSS: 12. Cancel Location Response
+ Note over AMF, UDM: 13. UDM initiated UE deregistration procedure
+
+```
+
+Sequence diagram illustrating the Single Registration Procedure between UDM and HSS FE. The diagram shows interactions between AMF, MME, UDM, 5GS UDR, HSS, and EPS UDR. The process starts with UE Registration in 5G, followed by a check for single registration, then Update Location Request to HSS, storing info in EPS UDR, and subsequent cancellation and update requests.
+
+**Figure 6.3.3.1-2: Single Registration Procedure between UDM and HSS FE**
+
+1. The UE is registered in 5G. The AMF perform UE registration in UDM. The AMF indicates whether it requires single registration or dual registration.
+2. If the AMF requires single registration then the following steps are performed. Otherwise the procedure stops.
+3. The UDM selects the HSS FE based on the SUPI and sends Update Location Request to HSS FE. In this message a dedicated MME Identity is included. This dedicated MME Identity is pointing to the UDM. From HSS FE point of view, the UDM is now acted as a MME. This message also includes an indication to indicate single registration and an indication to indicate the skip of subscription data so the HSS FE will not send the UE 4G subscription data.
+4. The HSS FE stores the dedicated MME Identity into EPS UDR via Ud interface.
+5. The HSS FE sends Update Location Response to UDM.
+6. If the UE has been registered in an old MME, the HSS FE sends Cancel Location Request towards this old MME. This message will be routed to MME directly based on the old MME Identity.
+7. The old MME deregisters the UE and sends Cancel Location Response to the HSS FE.
+
+8. After the UE reselects 4G and performs Tracking Area Update procedure in 4G, the new MME sends Update Location Request towards the HSS FE. As the UDM is the only access point both to 5GC and EPC, this message is sent to UDM and the UDM relays this message to HSS FE.
+9. The HSS stores the new MME information into EPS UDR via Ud interface.
+10. The HSS sends Update Location Response to new MME via UDM including the UE 4G subscription.
+11. Because the UE has been registered in 5G and a dedicated MME Identity pointing to the UDM is stored in the EPS UDR, the EPS UDR triggers the HSS FE to send Cancel Location Request towards the UDM. This message will be routed to UDM based on the dedicated MME Identity.
+12. UDM sends Cancel Location Response to HSS FE.
+13. Upon receiving Cancel Location Request from HSS FE targeting to deregister the UE in 5G, the UDM initiated Deregistration procedure to deregister the UE in 5G.
+
+#### 6.3.3.2 IP address continuity of interworking without N26 from 5GS to EPS
+
+The procedure of the interaction between UDM and HSS FE is shown in Figure 6.3.3.2-1.
+
+
+
+```
+
+sequenceDiagram
+ participant PGW-C+SMF
+ participant MME
+ participant UDM
+ participant 5GS UDR
+ participant HSS FE
+ participant EPS UDR
+
+ Note over PGW-C+SMF, UDM: 0. PGW-C+SMF registers its FQDN in UDM during registration procedure
+ MME->>UDM: 1. Update Location Request
+ UDM->>HSS FE: 2. Update Location Request
+ Note over HSS FE, EPS UDR: 3. Update Location Request handling
+ HSS FE->>UDM: 4. Update Location Ack
+ Note over UDM, 5GS UDR: 5. PGW-C+SMF FQDN retrieval
+ UDM->>MME: 6. Update Location Ack (PGW-C+SMF FQDN)
+
+```
+
+Sequence diagram illustrating the IP continuity procedure for interworking without N26 from 5GS to EPS. The diagram shows interactions between PGW-C+SMF, MME, UDM, 5GS UDR, HSS FE, and EPS UDR. The steps are: 0. PGW-C+SMF registers its FQDN in UDM during registration procedure; 1. MME sends Update Location Request to UDM; 2. UDM forwards Update Location Request to HSS FE; 3. HSS FE handles Update Location Request with EPS UDR; 4. HSS FE returns Update Location Ack to UDM; 5. UDM retrieves PGW-C+SMF FQDN from 5GS UDR; 6. UDM sends Update Location Ack (with PGW-C+SMF FQDN) to MME.
+
+**Figure 6.3.3.2-1: IP continuity procedure for interworking without N26 from 5GS to EPS**
+
+0. PGW-C+SMF registers its FQDN in UDM during registration procedure. UDM stores the FQDN in 5GS UDR.
+1. When the UE attaches in EPS due to interworking without N26 from 5GS to EPS, during the procedure, MME sends Update Location Request to UDM.
+2. UDM forwards Update Location Request to HSS FE for further handling.
+3. HSS FE interacts with EPS UDR to handle Update Location Request.
+4. HSS FE returns Update Location Ack to UDM.
+5. after receiving Update Location Ack, UDM retrieve PGW-C+SMF FQDN from 5GS UDR.
+6. UDM generates a new Update Location Ack to add PGW-C+SMF FQDN into the message and forwards the message to MME.
+
+NOTE: the other signalling interactions not related to the solution are not present in this figure for simplification.
+
+#### 6.3.3.3 T-ADS for IMS voice
+
+The procedure of the interaction between UDM and HSS FE is shown in Figure 6.3.3.3-1.
+
+
+
+```
+
+sequenceDiagram
+ participant SCC AS
+ participant AMF
+ participant UDM
+ participant 5GS UDR
+ participant HSS FE
+ participant EPS UDR
+ participant MME
+ participant SGSN
+
+ Note right of HSS FE: 3. T-ADS query as specified in 23.401.
+ Note right of HSS FE: 4. T-ADS query as specified in 23.060.
+ Note right of UDM: 6. T-ADS query as specified in 23.501.
+
+ SCC AS->>UDM: 1. User-Data-Request (T-ADS query)
+ UDM->>HSS FE: 2. User-Data-Request (T-ADS query)
+ HSS FE-->>MME: 3. T-ADS query as specified in 23.401.
+ HSS FE-->>SGSN: 4. T-ADS query as specified in 23.060.
+ HSS FE->>UDM: 5. User-Data-Answer (T-ADS information)
+ UDM-->>AMF: 6. T-ADS query as specified in 23.501.
+ UDM->>SCC AS: 7. User-Data-Answer (T-ADS information)
+
+```
+
+Sequence diagram illustrating the T-ADS Procedure between UDM and HSS FE. The diagram shows interactions between SCC AS, AMF, UDM, 5GS UDR, HSS FE, EPS UDR, MME, and SGSN. The process starts with SCC AS sending a User-Data-Request (T-ADS query) to UDM. UDM forwards this to HSS FE. HSS FE then queries MME and SGSN for additional information. HSS FE returns the information to UDM. UDM then queries AMF for more information. Finally, UDM sends a User-Data-Answer (T-ADS information) back to SCC AS.
+
+**Figure 6.3.3.3-1: T-ADS Procedure between UDM and HSS FE**
+
+1. SCC AS initiates T-ADS query towards UDM by sending a User-Data-Request message via Sh interface.
+2. UDM forwards this User-Data-Request message to get T-ADS information related to EPS and UMTS.
+3. HSS FE may query MME to get more T-ADS information as specified in TS 23.401 [16].
+4. HSS FE may query SGSN to get more T-ADS information as specified in TS 23.060 [15].
+5. HSS FE returns T-ADS information based on the information it derives by sending a User-Data-Answer message.
+6. after receiving T-ADS information from HSS FE, UDM may query AMF for more T-ADS information as specified in TS 23.501 [6].
+7. UDM determines T-ADS result based on T-ADS information received from HSS FE and AMF and responds to SCC AS with the T-ADS information by sending a User-Data-Answer message.
+
+NOTE: the other signalling interactions not related to the solution are not present in this figure for simplification.
+
+For the single registration case the following message flow in figure 6.3.3.3-2 applies:
+
+
+
+```
+
+sequenceDiagram
+ participant SCC-AS
+ participant AMF
+ participant UDM
+ participant 5GS UDR
+ participant HSS FE
+ participant EPS UDR
+ participant SGSN
+
+ SCC-AS->>UDM: 1. User-Data-Request (T-ADS query)
+ UDM->>HSS FE: 2. User-Data-Request (T-ADS query)
+ HSS FE->>EPS UDR: Read data
+ HSS FE->>SGSN: 3a. T-ADS request as per 23.060
+ SGSN->>HSS FE: 4a. T-ADS response as per 23.060
+ HSS FE->>5GS UDR: Read data
+ 5GS UDR->>UDM: 3b. IDR (T-ADS)
+ UDM->>AMF: 4b. IDR (T-ADS)
+ AMF->>UDM: 5b. IDA
+ UDM->>HSS FE: 6b. IDA
+ HSS FE->>UDM: Combine T-ADS response
+ UDM->>SCC-AS: 8. User-Data-Answer
+
+```
+
+Sequence diagram for T-ADS Procedure with Single registration and UE is 5GS registered. Lifelines: SCC-AS, AMF, UDM, 5GS UDR, HSS FE, EPS UDR, SGSN. The process involves a User-Data-Request (T-ADS query) from SCC-AS to UDM, which is then forwarded to HSS FE. HSS FE reads data from EPS UDR and SGSN, then returns a T-ADS response. UDM combines this with data from 5GS UDR and returns a User-Data-Answer to SCC-AS.
+
+Figure 6.3.3.3-2: T-ADS Procedure with Single registration and UE is 5GS registered
+
+In Figure 6.3.3.3-2 it is clear that due to the fake registration concept, the HSS is the entity that is in charge of taking T-ADS decisions, and not the UDM, even when the UE is registered in the 5GS with the UDM.
+
+#### 6.3.3.4 Supporting IMS related procedures
+
+The procedure of the interaction between UDM and HSS FE is shown in Figure 6.3.3.4-1.
+
+
+
+```
+
+sequenceDiagram
+ participant I/S-CSCF
+ participant IMS AS
+ participant UDM
+ participant HSS FE
+ participant EPS UDR
+
+ IMS AS->>UDM: 1a. Cx/Dx requests (MAR, SAR, LIR, etc.)
+ IMS AS->>UDM: 1b. Sh requests (UDR, PUR, SNR etc.)
+ UDM->>HSS FE: 2. Requests forwarding
+ HSS FE->>EPS UDR: 3. Requests handling
+ HSS FE->>UDM: 4. Responses forwarding
+ UDM->>I/S-CSCF: 5a. Cx/Dx Request responses
+ UDM->>IMS AS: 5b. Sh Request response
+ HSS FE->>EPS UDR: 6. Generating requests
+ HSS FE->>UDM: 7. Requests forwarding
+ UDM->>IMS AS: 8a. Sh Notification requests
+ UDM->>I/S-CSCF: 8b. Cx request (PNR) (RTR)
+ IMS AS->>UDM: 9a. Sh Notification response (PNA)
+ I/S-CSCF->>UDM: 9b. Cx request response (RTA)
+ UDM->>HSS FE: 10. Response forwarding
+
+```
+
+Sequence diagram for IMS procedures between UDM and HSS FE. Lifelines: I/S-CSCF, IMS AS, UDM, HSS FE, EPS UDR. The process starts with Cx/Dx and Sh requests from IMS AS to UDM, which are forwarded to HSS FE. HSS FE handles these and returns responses. UDM then generates its own requests to HSS FE, which are forwarded back to IMS AS and I/S-CSCF.
+
+Figure 6.3.3.4-1: IMS procedures between UDM and HSS FE
+
+- 1a or 1b. UDM receives Cx/Dx requests or Sh requests from IMS.
+2. UDM identifies these requests are for IMS procedures, and forwards the requests to HSS FE.
+3. HSS FE interacts with EPS UDR to handle the requests.
+4. HSS FE sends responses to the requests to UDM.
+- 5a or 5b. UDM forwards the received responses to IMS accordingly.
+6. EPS UDR and HSS FE may generates requests to IMS, e.g. PNR to IMS AS or RTR to S-CSCF.
+7. HSS FE sends the requests to UDM.
+- 8a or 8b. UDM forwards the requests to IMS accordingly.
+- 9a or 9b. IMS sends responses to the requests to UDM.
+10. UDM forwards the responses to HSS FE.
+
+NOTE: the other signalling interactions not related to the solution are not present in this figure for simplification.
+
+#### 6.3.3.5 SMSF address storage and retrieval
+
+The procedure of the interaction between UDM and HSS FE is shown in Figure 6.3.3.5-1.
+
+
+
+```
+
+sequenceDiagram
+ participant SMSF
+ participant SMS-SC/SMS GMSC
+ participant UDM
+ participant 5GS UDR
+
+ Note right of UDM: 2. SMSF address storage
+ Note right of UDM: 4. SMSF address retrieval
+
+ SMSF->>UDM: 1. NUDM_UECM_registration (SMSF address)
+ UDM->>5GS UDR: 2. SMSF address storage
+ SMS-SC/SMS GMSC->>UDM: 3. Send Routing Information for SM Request
+ UDM->>5GS UDR: 4. SMSF address retrieval
+ UDM->>SMS-SC/SMS GMSC: 5. Send Routing Information for SM Response (SMSF address)
+
+```
+
+Sequence diagram showing SMSF address storage and retrieval between UDM and HSS FE. The diagram involves four lifelines: SMSF, SMS-SC/SMS GMSC, UDM, and 5GS UDR. The sequence of messages is: 1. SMSF sends NUDM\_UECM\_registration (SMSF address) to UDM; 2. UDM performs SMSF address storage with 5GS UDR; 3. SMS-SC/SMS GMSC sends Send Routing Information for SM Request to UDM; 4. UDM performs SMSF address retrieval with 5GS UDR; 5. UDM sends Send Routing Information for SM Response (SMSF address) to SMS-SC/SMS GMSC.
+
+Figure 6.3.3.5-1: SMSF address storage and retrieval between UDM and HSS FE
+
+1. SMSF invokes Nudm\_UECM\_Registration service operation to register its address in UDM.
+2. UDM interacts with 5GS UDR to store the SMSF address.
+3. When SMS-SC or SMS GMSC initiates MT SMS delivery procedure, SMS-SC or SMS GMSC send MAP request i.e. Send Routing Information for SM request, to UDM.
+4. UDM interacts with 5GS UDR to retrieve stored SMSF address.
+5. UDM responds with SMSF address.
+
+Editor's note: How other procedures is supported, e.g. UDM and HSS support MT SMS domain selection to provide other available SMS delivery addresses, is FFS.
+
+### 6.3.4 Impacts on existing services and interfaces
+
+#### 6.3.4.1 Authentication impacts
+
+UDM supports:
+
+- generating Diameter S6a Authentication-Information-Request message based on Nudm\_UEAuthentication\_Get service operation;
+- forwarding Diameter S6a Authentication-Information-Answer message with authentication vectors to MME;
+- generating the respond to Nudm\_UEAuthentication\_Get service operation invocation with authentication vectors received in Authentication-Information-Answer, and sends the respond to AMF;
+- generating and sending Location Update Request message to perform fake 4G registration in HSS FE when the UE is registered in 5G;
+- de-registering the UE in 5G when it receives Cancel Location request with dedicated MME Identity from the HSS FE.
+
+HSS FE: No impact.
+
+5GS UDR: No impact.
+
+EPS UDR: No impact.
+
+#### 6.3.4.2 IP address continuity impacts
+
+UDM supports:
+
+- forwarding Diameter S6a Update Location Request message to HSS FE;
+- retrieving PGW-C+SMF FQDN from 5GS UDR after receiving Update Location Ack from HSS FE;
+- generating new Update Location Ack to add PGW-C+SMF FQDN into the message and forwarding the message to MME.
+
+HSS FE: No impact.
+
+5GS UDR: No impact.
+
+EPS UDR: No impact.
+
+#### 6.3.4.3 T-ADS for voice impacts
+
+UDM supports:
+
+- forwarding User-Data-Answer message to HSS FE;
+- determine T-ADS result based on T-ADS information received from HSS FE and AMF.
+
+HSS FE: No impact.
+
+5GS UDR: No impact.
+
+EPS UDR: No impact.
+
+#### 6.3.4.4 Supporting IMS related procedures
+
+UDM supports:
+
+- forwarding requests for IMS procedures received from IMS to HSS FE and further forwarding responses from HSS FE to IMS;
+
+- forwarding requests for IMS procedures received from HSS FE to IMS and further forwarding responses from IMS to HSS FE.
+
+HSS FE: No impact.
+
+5GS UDR: No impact.
+
+EPS UDR: No impact.
+
+### 6.3.5 Evaluation
+
+The Solution does not provide the possibility to deploy a pure UDM without HSS functionality.
+
+The EPS and 5GS UDRs both need to keep up to date registration status for the UE, i.e. the EPS UDR has to know the registration status of the UE also when the UE is in the 5GS (due to the fake registration concept). This means that there is duplication of registration data in EPS and 5GS UDR, which is adding load and storage requirement to the system
+
+Due to the fake registration concept, the T-ADS master node is always the legacy HSS, not the UDM, even when the UE is 5GS registered. So, the functional allocation between 5GS and EPS specific entities is blurred for as long as there are combined 4G/5G subscribers.
+
+S6a specification impact where the 5G authentication vectors need to be carried and also 5G vectors need to be requested.
+
+NOTE: The above authentication related issue should be evaluated by SA WG3.
+
+## 6.4 Solution #4: Use of a Data Access Layer for interaction between HSS FE and UDM with common repository
+
+### 6.4.1 Introduction
+
+This solution applies to Key Issue 2 and describes how HSS FE and UDM interact when data repositories are common.
+
+### 6.4.2 High-level Description
+
+#### 6.4.2.1 Assumptions
+
+It is assumed that:
+
+- UE 4G and 5G profiles in the common repository may be a common record for the UE or be split into different records.
+- The solution leverages EPS UDR to become the common repository for 4G and 5G subscription profiles to be accessed by means of the Ud reference point.
+- Technologies and protocols to access the data stored in the common repository are assumed to be database specific or proprietary, but exposing Ud operations to query, create, delete and update of data, as well as subscriptions/notifications to modifications of such data.
+- 5G UEs are assumed to be provisioned in the repository and able to use 4G networks (with the corresponding limitations). 4G UEs are provisioned in the repository, as of today, but not assumed to be able to use 5G core services.
+- From an authentication perspective, this proposal assumes ARPF to be a separate entity from UDM, collocated with or incorporated to the HE/AuC specified in TS 33.401 [13], and it does not specifically address separation of ARPF logic from ARPF storage, in which case the interface would remain unspecified as it is for HE(AuC). This implies that each system will retrieve authentication data from the same subscriber credentials storage and vectors generation will be performed without SQN reuse. For handovers security with and without N26 for single and dual registration modes, the same procedures as described in TS 33.501 [12] clause 8 are assumed. - The IMS data for the UEs is assumed to be stored in the same common repository.
+
+- From an IMS interaction perspective, it is assumed that IMS HSS/SLF is a logical entity that can act as an application front end making use of the common repository, following the specification TS 23.335 [3] and implementing Cx/Dx and Sh/Dh interfaces that remain untouched. The colocation of IMS HSS/SLF and HSS FE is an operator option.
+
+NOTE: This is considered as a temporary solution in order to cope with the transition of legacy IMS towards a service based IMS, work in progress in TR 23.794 [14].
+
+#### 6.4.2.2 Architectural proposal
+
+This solution makes use of a layer that separates the applications front end logic from the database technology/protocol used, leveraging the authorisation and policing capabilities from Rel-15 data storage architecture, and incorporating additional features to serve interworking with legacy systems.
+
+Hence, in addition to access control for application front ends, policing and offering a common view of the information irrespective of where it is stored, the solution adds protocol conversion between application front ends and the repository, as well as a notifications engine to mimic the relevant notifications that will trigger specific procedures at the different front end applications and related to handovers between one system and the other.
+
+The solution facilitates keeping existing deployments of application front ends and their repositories without modification, and provides a flexible model to introduce new application front ends without having to impact existing deployments and procedures.
+
+With few updates compared to what is reflected in the next clauses, the solution also facilitates migration of 4G users to be able to receive services from the 5G core, with the limitations imposed by 4G subscriptions, as when e.g. accessing the 5GC from a E-UTRAN radio access (option 5 type of deployment).
+
+
+
+The diagram illustrates a high-level architecture for the interaction of HSS FE and UDM with a common repository. At the top, two curved lines represent the EPC (Evolved Packet Core) and 5GC (5G Core). Below the EPC is a rectangular box labeled 'HSS FE'. Below the 5GC is a rectangular box labeled 'UDM'. Both 'HSS FE' and 'UDM' have vertical lines connecting them to a central horizontal grey bar labeled 'Data Access Layer'. The connection from 'HSS FE' is labeled 'Ud', and the connection from 'UDM' is labeled 'Nudr'. A dashed line runs horizontally within the 'Data Access Layer' bar. Below the 'Data Access Layer' bar, a vertical line connects to a cylinder icon labeled 'UE subscriptions'.
+
+High level architecture diagram showing EPC and 5GC connected to HSS FE and UDM respectively, which both connect to a common Data Access Layer, which in turn connects to UE subscriptions.
+
+Figure 6.4.2.2-1: High level architecture for interaction of HSS FE and UDM with common repository
+
+
+
+This diagram illustrates the high-level architecture for the interaction of HSS FE, IMS HSS/SLF, and UDM with a common repository. At the top, three network elements are shown: EPC, IMS, and 5GC. Below EPC is the HSS FE, which connects to the IMS HSS/SLF (under IMS) and the UDM (under 5GC). The HSS FE, IMS HSS/SLF, and UDM all connect to a central 'Data Access Layer' (represented by a grey box). The HSS FE and IMS HSS/SLF use the 'Ud' interface, while the UDM uses the 'Nudr' interface. Below the Data Access Layer is a 'UE subscriptions' repository (represented by a cylinder). A dashed line within the Data Access Layer indicates a logical separation or boundary.
+
+Figure 6.4.2.2-2: High level architecture for interaction of HSS FE, IMS HSS/SLF and UDM with common repository
+
+Figure 6.4.2.2-2: High level architecture for interaction of HSS FE, IMS HSS/SLF and UDM with common repository
+
+### 6.4.3 Services and Illustrated Procedures
+
+#### 6.4.3.1 General description
+
+The proposed data access layer will subscribe to changes performed in the repository, issuing some notifications towards the UDM or the HSS FE for specific UEs that may maintain profiles for 4G and 5G.
+
+
+
+This diagram illustrates the general procedure for notifications via the Data Access Layer. It shows the HSS FE and UDM connected to the Data Access Layer (grey box) via 'Ud' and 'Nudr' interfaces respectively. Below the Data Access Layer is the 'UE subscriptions' repository. Notifications are shown as curved arrows originating from the repository and pointing to the HSS FE and UDM. Red arrows represent notifications for '4G UEs' to the HSS FE and '5G UEs' to the UDM. Blue arrows represent notifications for '5G UEs' to the HSS FE and '4G UEs' to the UDM. The Data Access Layer acts as an intermediary, receiving information from the repository and distributing it to the appropriate network element based on the UE type.
+
+Figure 6.4.3.1-1: General procedure for notifications via the Data Access Layer
+
+Figure 6.4.3.1-1: General procedure for notifications via the Data Access Layer
+
+#### 6.4.3.2 5GS procedures
+
+The procedures specified in TS 23.502 [2] for Registration (clause 4.2.2.2), Deregistration (clause 4.2.2.3), UE Configuration Update (clause 4.2.4), Reachability procedures (clause 4.2.5), Session Management (clause 4.3), and User profile Management (clause 4.2.5) do not change when introducing this solution.
+
+Authentication procedures at registration (step 9 in clause 4.2.2.2 of TS 23.502 [2]) does not change either when introducing this solution.
+
+Any potential query of information related to the 4G subscription profile of the UE, would imply a mapping/translation of the NUdr\_DM\_Query in the Data Access Layer to be converted into a Ud query.
+
+#### 6.4.3.3 EPS procedures
+
+EPS procedures, including authentication ones, are not expected to be affected from the point of view of network signalling.
+
+The Data Access Layer will subscribe to changes in the common repository related to 5G subscribers having also 4G profiles. When any action is performed at the level of 4G data for the particular UE (like attachment, detachment, etc), the Data Access Layer will issue a notification towards the UDM. UDM will perform any action needed depending on the status of the UE, interworking needed, etc.
+
+This is intended to facilitate the tracking of the subscriber in either system, in order to execute the relevant deregistration in case the subscriber moves from one to the other.
+
+
+
+```
+
+sequenceDiagram
+ participant HSS FE
+ participant DAL as Data Access Layer
+ participant CR as Common Repository
+ participant UDM
+
+ Note left of HSS FE: Network procedure
+ HSS FE->>DAL:
+ Note left of HSS FE: Network procedure ack
+ DAL->>CR: 1. Ud Request
+ CR-->>DAL: 2. Ud Response
+ Note right of CR: UE marked in 4G network
+ CR->>DAL: 3. Ud Notification
+ DAL->>UDM: 4. Nudr_DM_Notify
+
+```
+
+Sequence diagram showing notification to UDM when UE attaches to EPS. The diagram involves four lifelines: HSS FE, Data Access Layer, Common Repository, and UDM. The sequence of messages is: 1. Ud Request from Data Access Layer to Common Repository; 2. Ud Response from Common Repository to Data Access Layer; 3. Ud Notification from Common Repository to Data Access Layer (with a note 'UE marked in 4G network'); 4. Nudr\_DM\_Notify from Data Access Layer to UDM. The HSS FE initiates a 'Network procedure' and receives a 'Network procedure ack' from the Data Access Layer.
+
+**Figure 6.4.3.3-1: Notification to UDM when UE attaches to EPS**
+
+The Ud Request expected to trigger a notification is Update Data as specified by TS 23.335 [3]. There is no need to notify any query of data performed by HSS FE.
+
+Any potential query of information related to the 5G subscription profile of the UE, would imply a mapping/translation of the Ud Query in the Data Access Layer to be converted into a query to the common repository.
+
+As the technologies and protocols used to access the data stored in the common repository are operator deployment choices, the mapping of the response depicted in the previous chart to the Nudr\_DM\_Notify operation towards the UDM is left as an operator deployment choice in agreement with its vendors.
+
+#### 6.4.3.4 Handover procedures
+
+##### 6.4.3.4.0 General
+
+For handover procedures, three cases are differentiated according to TS 23.501 [6] and TS 23.502 [2]:
+
+- Single registration mode with N26 support.
+- Single registration mode without N26 support.
+- Dual registration.
+
+For single registration mode with N26 support, any registration/attachment shall convey a cancellation of the location in the source system.
+
+For single registration without N26 support, registration/attachment shall also convey a cancelation of the location in the source system if simultaneous registration of both MME and AMF is not supported, according to TS 23.501 [6] clause 5.17.2.3.1.
+
+NOTE 1: Since UDM and HSS FE are split but common repository exists, the support of simultaneous registration of MME and AMF should be configurable in UDM, HSS FE and in the proposed Access Data Layer
+
+This solution proposes that, in single registration modes with and without N26, the PGW-C+SMF with corresponding APN/DNN is stored in the common repository, either in a single record or separate ones, and updated/query by either party in the different handover scenarios.
+
+NOTE 2: Storing of PGW-C+SMF and APN/DNN information in the same EPS UDR record will preclude the possibility of proper behaviour of dual registration procedures.
+
+This can be achieved as follows:
+
+
+
+```
+sequenceDiagram
+ participant HSS FE
+ participant EPS UDR
+ participant DAL as Data Access Layer
+ participant UDM
+
+ Note left of HSS FE: Network procedure: Update Location/Notify
+ HSS FE->>EPS UDR: 1. Ud Request
+ EPS UDR-->>HSS FE: 2. Ud Response
+ Note right of EPS UDR: PGW-C+SMF & APN/DNN Stored in repository
+ EPS UDR->>DAL: 3. Ud Notify
+ DAL->>UDM: 4. Nudm_DM_Notify (intersystem info)
+ Note left of HSS FE: Network procedure ack
+```
+
+Sequence diagram showing the storage of PGW-C+SMF and APN/DNN with UE camping in EPS in single registration mode. The diagram involves four lifelines: HSS FE, EPS UDR, Data Access Layer, and UDM. The process starts with a 'Network procedure: Update Location/Notify' at the HSS FE. Step 1: 'Ud Request' is sent from HSS FE to EPS UDR. Step 2: 'Ud Response' is sent from EPS UDR to HSS FE. Step 3: 'Ud Notify' is sent from EPS UDR to Data Access Layer, with a note 'PGW-C+SMF & APN/DNN Stored in repository'. Step 4: 'Nudm\_DM\_Notify (intersystem info)' is sent from Data Access Layer to UDM. The process ends with a 'Network procedure ack' at the HSS FE.
+
+Figure 6.4.3.4.0-1: Storage of PGW-C+SMF and APN/DNN with UE camping in EPS in single registration mode
+
+While for 5GS, it is stored as following:
+
+
+
+Sequence diagram for Figure 6.4.3.4.0-2: Storage of PGW-C+SMF and APN/DNN with UE camping in 5GS in single registration mode. The diagram shows interactions between EPS UDR, Data Access Layer, and UDM. The process starts with a '1. Nudm\_DM\_Update' from UDM to Data Access Layer, labeled 'Network procedure: PDU session initiation'. The Data Access Layer sends a '2. Ud Request (Intersystem info)' to EPS UDR, with a note 'PGW-C+SMF & APN/DNN Stored in repository'. EPS UDR returns a '3. Ud Response' to the Data Access Layer. Finally, the Data Access Layer sends a '4. Ack' to the UDM, labeled 'Network procedure ack'.
+
+**Figure 6.4.3.4.0-2: Storage of PGW-C+SMF and APN/DNN with UE camping in 5GS in single registration mode**
+
+For handover procedures in dual registration mode, the information needs to be stored in different records of the EPS UDR. The UE will remain registered/attached to the two system simultaneously with valid subscription data for both systems at the same time. Moving sessions between systems remains a UE implementation option.
+
+##### 6.4.3.4.1 5GS to EPS with N26
+
+In 5GS to EPS handovers, the attach in the EPS will generate a Ud Request to modify data by HSS FE followed by a Response by the repository and a notification to the Data Access Layer. This will trigger a notification to the UDM to indicate the UE is now under EPS control. UDM should in turn modify the location data in the 5G profile and will proceed to deregister the AMF the UE moved from.
+
+
+
+Sequence diagram for Figure 6.4.3.4.1-1: Notification to the UDM at UE attachment to EPS. The diagram shows interactions between HSS FE, Common Repository, Data Access Layer, and UDM. The process starts with a '1. Ud Request' from HSS FE to Common Repository, labeled 'Network procedure'. Common Repository returns a '2. Ud Response' to HSS FE, labeled 'Network procedure ack'. Common Repository sends a '3. Ud Notification' to Data Access Layer, with a note 'UE marked in 4G network'. Data Access Layer sends a '4. Nudr\_DM\_Notify' to UDM. UDM returns a '5. Nudr\_DM\_Update' to Data Access Layer, labeled 'Network procedure to deregister UE from AMF'. Data Access Layer sends a '6. Ud Request' to Common Repository, with a note 'UE in 5G mark removed'.
+
+**Figure 6.4.3.4.1-1: Notification to the UDM at UE attachment to EPS**
+
+No other action is expected to be performed by the UDM, and the control by the EPS will proceed as specified in the TS 23.502 [2], clause 4.11.1.2.1, with the difference that the HSS FE will not cancel the location of the AMF during the TAU procedure. Instead, the HSS FE will acknowledge the location update to the new MME and proceed as normal.
+
+##### 6.4.3.4.2 EPS to 5GS with N26
+
+In EPS to 5GS handovers, the registration in the 5GS will generate a Nudr request and subsequent notification when data is stored in the common repository. The Data Access Layer will capture that and generate a notification towards the HSS FE indicating the UE has left the EPS.
+
+
+
+```
+
+sequenceDiagram
+ participant HSS FE
+ participant CR as Common Repository
+ participant DAL as Data Access Layer
+ participant UDM
+
+ Note right of UDM: Network procedure
+ UDM->>DAL: 1. Nudr_DM_Update
+ DAL->>CR: 2. Ud Request
+ CR-->>DAL: 3. Ud Response
+ DAL->>UDM: 4. Nudr_DM_Notify
+ Note right of UDM: Network procedure
+ UDM->>HSS FE: 5. Ud Notification (Note)
+ HSS FE->>CR: 6. Ud Request
+ Note left of HSS FE: Network procedure: Cancel Location to MME
+ Note right of CR: UE marked in 5G network
+ Note right of CR: UE in 4G mark removed
+
+```
+
+Sequence diagram showing notification to the HSS FE at UE registration in 5GS. The diagram involves four main entities: HSS FE, Common Repository, Data Access Layer, and UDM. The sequence starts with the UDM sending a '1. Nudr\_DM\_Update' to the Data Access Layer. The Data Access Layer then sends a '2. Ud Request' to the Common Repository, which responds with '3. Ud Response'. The Data Access Layer then sends a '4. Nudr\_DM\_Notify' to the UDM. The UDM then sends a '5. Ud Notification (Note)' to the HSS FE. The HSS FE then sends a '6. Ud Request' to the Common Repository. The Common Repository responds with 'UE marked in 5G network' and 'UE in 4G mark removed'. The HSS FE then initiates a 'Network procedure: Cancel Location to MME'. The UDM also initiates a 'Network procedure'.
+
+**Figure 6.4.3.4.2-1: Notification to the HSS FE at UE registration in 5GS**
+
+NOTE: HSS FE subscribed to changes in the common repository when UE data was stored.
+
+The procedure follows the specification in TS 23.502 [2] clause 4.11.1.2.2 with the modification that it is the HSS FE the one initiating the relevant cancel location towards the MME node the UE has moved from.
+
+##### 6.4.3.4.3 5GS to EPS without N26 - single registration
+
+For single registration without N26, HSS FE will be configured as not supporting dual registration. Thus, the attach to the EPS when UE moves from 5GS to EPS, will imply a cancellation of location in the AMF from where the UE moved.
+
+This procedure is aligned with what is described in clause 6.4.3.4.1 of this solution.
+
+The EPS attach is expected to trigger a Ud Update operation towards the EPS UDR, and a response to HSS FE including the PGW-C+SMF address (together with APN/DNN information) being used.
+
+##### 6.4.3.4.4 EPS to 5GS without N26 - single registration
+
+For single registration without N26, UDM will be configured as not supporting dual registration. Thus, the registration to the 5GS when UE moves from EPS to 5GS, will imply a cancellation of location in the MME from where the UE moved.
+
+The registration in the 5GS, would trigger a notification to the Access Data Layer that, in turn, would imply a Ud notification to the HSS FE to cancel the location in the MME. This procedure is aligned with what is described in clause 6.4.3.4.2 of this solution.
+
+##### 6.4.3.4.5 Handovers without N26 - dual registration
+
+For handover procedures in dual registration mode, the UE will remain registered/attached to the two system simultaneously with valid subscription data for both systems at the same time, including valid session information for both systems. Moving sessions between systems remains as a UE implementation option.
+
+Attachment/Registration of the UE in either system does not convey any cancellation in the source system. This is achieved by analysing the UDM and HSS FE configuration to support or not dual registrations.
+
+#### 6.4.3.5 IMS interaction
+
+##### 6.4.3.5.1 Access to IMS data
+
+Access to IMS data for creation, deletion, query and modification follows the specification in TS 23.228 [7] and TS 23.335 [3] by IMS making use of the IMS HSS/SLF functionality (either as a stand-alone application front end or collocated with HSS FE).
+
+It is not expected that any of the IMS entities need to interact with UDM, with the exception of the P-CSCF restoration mechanism invoked by S-CSCF, and the T-ADS information retrieval by the IMS AS.
+
+For these specific cases, it is proposed to use the SLF functionality for UE identity to UDM identity or HSS FE identity resolution, according to TS 23.228 [7] clause 5.8.
+
+NOTE 1: It is proposed to introduce SLF functionality since the split of UDM and HSS FE will imply multiple addressable location servers for the 5G UEs and these IMS procedures.
+
+NOTE 2: Since the I-CSCF, S-CSCF and IMS AS will always interrogate the SLF to find the location server serving the UE, the SLF needs to be configured to return the IMS HSS address in first place since it is the front end able to return the IMS profile for the UE.
+
+Any Cx or Sh operation triggered by CSCF or IMS AS, except restoration and T-ADS information retrieval, will be handled by the IMS HSS front end (either stand alone or collocated with the HSS FE).
+
+When UE is registered to IMS, the common repository will contain the indication regarding the UE being served by 5GS or EPS. This is proposed to be done as per the description in the common procedures, regardless the UE re-registers or not to IMS when moving between the systems (according to clause 5.2.2.4 of TS 23.228 [7]). This indication is proposed to be checked when either P-CSCF restoration or T-ADS information retrieval is received by UDM or HSS FE (see next clauses).
+
+In principle, both UDM and HSS FE would not require any additional action than what is described before for the general procedures.
+
+##### 6.4.3.5.2 P-CSCF Restoration procedures
+
+The P-CSCF restoration procedure via UDM is an optional mechanism according to TS 23.380 [8].
+
+The following two options are considered regardless the support of N26 and UE mode of operation (single or dual registration).
+
+- **Option 1:** When UDM and HSS FE are split, the preferred P-CSCF restoration procedure would be that performed by detection of the failure by SMF/UPF according to TS 23.380 [8] clause 5.8.3, or using the PCF based P-CSCF restoration as specified in clause 5.8.5 of TS 23.380 [8].
+
+NOTE 1: The adaptation of IMS to service based architecture, making use of proper virtualisation/cloud mechanisms for e.g. self-healing, high availability, redundancy, etc, would most likely make unnecessary the use of the current restoration procedures.
+
+- **Option 2:** To enable the P-CSCF restoration via either the UDM or the HSS FE, the SLF functionality is invoked in order to perform a user identity to HSS FE identity or UDM identity resolution.
+
+The SLF will return the list of different servers (UDMs and HSS FEs) that may be in charge of the UE at that point in time, for the S-CSCF to request the relevant P-CSCF restoration mechanism to the relevant entity. This procedure is according to TS 29.228 [10] clause 6.4.
+
+
+
+```
+
+sequenceDiagram
+ participant S-CSCF
+ participant IMS HSS/SLF
+ participant HSS FE
+ participant UDM
+ Note left of S-CSCF: Network procedure: P-CSCF restoration
+ S-CSCF->>IMS HSS/SLF: 1. Dx/Cx request
+ IMS HSS/SLF->>IMS HSS/SLF: location server lookup
+ IMS HSS/SLF-->>S-CSCF: 2. Redirect info
+ S-CSCF->>HSS FE: 3. Cx request
+ HSS FE-->>S-CSCF: 4. Cx answer
+ IMS HSS/SLF->>UDM: 3a. Cx request (Note 2)
+ UDM-->>IMS HSS/SLF: 4a. Cx answer (Note 2)
+
+```
+
+Sequence diagram for User identity to HSS FE identity or UDM identity resolution for S-CSCF. The diagram shows the interaction between S-CSCF, IMS HSS/SLF, HSS FE, and UDM. The process starts with a 'Dx/Cx request' from S-CSCF to IMS HSS/SLF. IMS HSS/SLF performs a 'location server lookup' and returns 'Redirect info' to S-CSCF. S-CSCF then sends a 'Cx request' to HSS FE. HSS FE returns a 'Cx answer' to S-CSCF. Additionally, IMS HSS/SLF sends a 'Cx request (Note 2)' to UDM, which returns a 'Cx answer (Note 2)' to IMS HSS/SLF. A note on the left indicates the network procedure is 'P-CSCF restoration'.
+
+**Figure 6.4.3.5.2-1: User identity to HSS FE identity or UDM identity resolution for S-CSCF**
+
+NOTE 2: This assumes that UDM implements the Cx operations SAR/SAA to trigger the P-CSCF restoration. Potential conversion of Diameter Cx operation to an Nudm service operation is out of the scope of this study.
+
+NOTE 3: It is assumed that S-CSCF is aware of the IMS registration status of the UE prior to request P-CSCF restoration.
+
+Both HSS FE and UDM will check the UE registration status in the corresponding network (either 5GS or EPS) in order to either execute the procedure (according to TS 23.380 [8]) or reject it.
+
+No other impact is expected for restoration.
+
+##### 6.4.3.5.3 Terminating domain selection information for IMS voice
+
+According to TS 23.501 [6], clause 5.16.3.6, the UDM/HSS shall be able to query the serving AMF for T-ADS related information, and AMF shall respond to the query with the relevant information unless the UE is detached:
+
+- whether or not IMS voice over PS Session is supported in the registration area(s) where the UE is currently registered;
+- whether or not IMS voice over PS Session Supported Indication over non-3GPP access is supported in the WLAN where the UE is currently registered;
+- the time of the last radio contact with the UE; and
+- the current Access Type and RAT type.
+
+Retrieval of T-ADS information is initiated by the IMS AS.
+
+To retrieve the T-ADS information from either the UDM or the HSS FE, the SLF functionality is invoked in order to perform a user identity to HSS FE identity or UDM identity resolution.
+
+The SLF will return the list of different servers (UDMs and HSS FEs) that may be in charge of the UE at that point in time, for the IMS AS to request the information for access domain selection. This procedure is according to TS 29.328 [11] clause 6.5.
+
+If the UE is attached to IMS via 5GS, the T-ADS information request to the IMS HSS/SLF will end up in a Sh request (UDR/UDA) to UDM, which in turn will invoke the AMF service Namf\_MT\_ProvideDomainSelectionInfo as specified in TS 23.501 [6] clause 5.16.3.6 and TS 23.228 [7] annex Y.
+
+To translate IMPU to SUPI, for the cases in which the Sh request is based on IMPU, the 5G UDR can incorporate a new data key (=IMPU) for the Subscription Data data set to be used for the Nudr\_DM\_Query operation, in order to request identifier translation from IMPU to SUPI.
+
+The query to the 5G UDR is simply converted by the Access Data Layer into a Ud request to the EPS UDR repository hosting the IMS data, in order to retrieve the IMSI that is associated with the IMPU received in the Sh request.
+
+The request from IMS AS, when the UE is attached to the EPS, should follow the same procedures as defined in TS 23.228 [7] clause 4.2.4a.
+
+NOTE 1: It is assumed that IMS AS is aware of the IMS registration status of the UE prior to request T-ADS information.
+
+Both UDM and HSS FE will check the registration status in the corresponding network in order to either execute the procedure (according to TS 23.228 [7]) or reject it.
+
+In case of dual registration, and according to annex D of TS 29.328 [11], the IMS AS will expect the T-ADS information containing 0 or 1 RAT types, depending on whether IMS Voice over PS is supported or not. So, in order to avoid impacts on the IMS AS, this solution proposes that UDM and HSS FE are configured with indication regarding being the default system for IMS voice. Both will inspect this default indication, in order to execute the T-ADS information retrieval procedure, or reject it.
+
+
+
+```
+
+sequenceDiagram
+ participant IMS AS
+ participant IMS HSS/SLF
+ participant HSS FE
+ participant UDM
+
+ Note left of IMS AS: Network procedure: T-ADS
+ IMS AS->>IMS HSS/SLF: 1. Dh/Sh request
+ IMS HSS/SLF->>IMS HSS/SLF: location server lookup
+ IMS HSS/SLF-->>IMS AS: 2. Redirect info
+ IMS AS->>HSS FE: 3. Sh request
+ Note right of HSS FE: Network Procedure: NPLI request over S6a
+ HSS FE-->>IMS AS: 4. Sh answer
+ HSS FE->>UDM: 3a. Sh request (Note)
+ Note right of UDM: Network Procedure: Namf_MT_ProvideDomainSelectionInfo
+ UDM-->>HSS FE: 4a. Sh answer (Note)
+
+```
+
+Sequence diagram showing user identity resolution for IMS AS. Lifelines: IMS AS, IMS HSS/SLF, HSS FE, UDM. The process involves a Dh/Sh request from IMS AS to IMS HSS/SLF, a location server lookup, a Redirect info response, a Sh request from IMS AS to HSS FE, a Sh answer from HSS FE to IMS AS, a Sh request from HSS FE to UDM (Note 3a), and a Sh answer from UDM to HSS FE (Note 4a). Network procedures T-ADS, NPLI request over S6a, and Namf\_MT\_ProvideDomainSelectionInfo are indicated.
+
+Figure 6.4.3.5.3-1: User identity to HSS FE identity or UDM identity resolution for IMS AS
+
+NOTE 2: This assumes that UDM implements the Sh operations UDR/UDA to trigger the T-ADS retrieval procedure. Potential conversion of Diameter Sh operation to an Nudm service operation is out of the scope of this study.
+
+### 6.4.4 Impacts on existing services and interfaces
+
+#### 6.4.4.1 General
+
+This solution addresses scenarios in which the operator deployment is already a layered architecture according to TS 23.335 [3] or when user data are stored in an external entity via non-standard interfaces, according to TS 23.002 [5], clause 4.1.1. Purely monolithic scenarios, in which the user data are stored within the HSS itself, would need to migrate towards a layered architecture.
+
+The solution is basically an operator choice restricted to the introduction of a Data Access Layer with the capabilities described in clauses 6.4.3.1 to 6.4.3.4, and does not impact the specified interfaces with new operations.
+
+The solution is also based on network configuration, by including SLF functionality for every IMS operation directed towards a location server (either HSS FE, IMS HSS or UDM). The SLF is configured as the contact point for I-CSCF, S-CSCF and IMS AS, and needs to be provisioned with the list of location servers serving the UEs in the network.
+
+The solution proposes to add information regarding the system registration status, i.e. the system serving the UE:
+
+- For 5G profile, this extension can be handled as the resources Amf3GppAccessRegistration and AmfNon3GppAccessRegistration in the Nudr\_DM\_Update service operation as specified in TS 29.505 [9].
+- For 4G profile, this extension can be mapped to the repository field where MME reference is held. Since the organisation of data in the EPS UDR is not standardised, this mapping would be left for implementation.
+
+Finally, the solution proposes adding the Sh pair UDR/UDA (Diameter) to UDM as a temporary solution until IMS is adapted to service based architecture or any other solution is specified for T-ADS information retrieval by IMS.
+
+It also proposes to add a new data key (=IMPU) to the Subscription Data data set in the Nudr\_DM\_Query operation.
+
+#### 6.4.4.2 Summary of impacts on UDM
+
+- For handovers without N26 support:
+ - Add configuration indication regarding support or not of dual registrations
+- For T-ADS information retrieval: Add Sh pair UDR/UDA in case of single and dual registrations:
+ - Add indication regarding default system for IMS Voice over PS for dual registration mode of operation.
+- For P-CSCF restoration:
+ - For Option 1, no impact (i.e. make use of PCF based restoration or detection of failure by SMF/UPF)
+ - For Option 2: Add Cx pair SAR/SAA for P-CSCF restoration
+
+#### 6.4.4.3 Summary of impacts on HSS FE
+
+No impact for procedures with N26 support.
+
+For handovers without N26 support:
+
+- Add configuration indication regarding support or not of dual registrations.
+
+For T-ADS information retrieval in dual registration mode of operation:
+
+- Add indication regarding default system for IMS Voice over PS.
+
+#### 6.4.4.4 Summary of impacts on EPS UDR
+
+The impacts on the EPS UDR are left for implementation, since the protocols to access and the organisation of data is implementation specific.
+
+### 6.4.5 Evaluation
+
+Solution 4 proposes an architecture that does not require direct interaction between the UDM and the HSS FE.
+
+The solution makes use of an adaptation layer, named Access Data Layer, that separates the applications front end logic from database technology/protocol in the back end repositories.
+
+The solution addresses all interworking scenarios depicted in TS 23.501 [6] and TS 23.502 [2], including support for IMS procedures.
+
+The advantages of this solution is that:
+
+- It addresses effective separation of HSS FE and UDM to enable multivendor deployments
+- It avoids new interface and new operations specification between the HSS and UDM
+
+- It is possible to introduce only UDM when deploying a 5GS system, without having to update/upgrade the HSS FE, or having to introduce this functionality in deployments with single core network.
+- Standardisation effort is minimised and restricted to potential incorporation of Sh/Cx operations for UDM, in case FS\_eIMS5G study (TS 23.794 [14]) does not incorporate the changes needed for P-CSCF restoration and T-ADS information retrieval.
+- Introduction of this solution does not impact other network functions that may be accessing the different repositories, while it provides the means to further split other network functions defined in Rel-15 (i.e. PCF/PCRF).
+
+The disadvantage of this solution is to making use of SLF functionality for IMS when some deployments may not be using it.
+
+This solution would not be possible if a monolithic HSS is deployed, unless this monolithic HSS becomes the shared subscriptions repository that interfaces to the Data access layer.
+
+In a scenario where a layered architecture is used, taking into account that Ud data model is not standardised, this would require that the Data Access Layer is aware of the structure of the Ud notifications deployed by the operator, i.e. the Data Access Layer needs to be implemented in alignment with the existing EPS UDR implementations.
+
+## 6.5 Solution #5: Use of a Data Access Layer for interaction between HSS FE and UDM with separate repositories
+
+### 6.5.1 Introduction
+
+This solution applies to Key Issue 1 and describes how HSS FE and UDM interact when data repositories are separate.
+
+### 6.5.2 High-level Description
+
+#### 6.5.2.1 Assumptions
+
+It is assumed that:
+
+- Technologies and protocols to access the data stored in the 5G repository are assumed to be database specific or proprietary, but exposing operations to query, create, delete and update of data, as well as subscriptions/notifications to modifications of such data..
+- 5G UEs are assumed to be provisioned in the 5G repository and able to use 4G networks (with the corresponding limitations). 4G UEs are provisioned in the EPS UDR, as of today, but not assumed to be able to use 5G core services.
+- From an authentication perspective, this proposal assumes ARPF to be a separate entity from UDM, collocated with or incorporated to the HE/AuC specified in TS 33.401 [13], and it does not specifically address separation of ARPF logic from ARPF storage, in which case the interface would remain unspecified as it is for HE(AuC). This implies that each system will retrieve authentication data from the same subscriber credentials storage and vectors generation will be performed without SQN reuse. For handovers security with and without N26 for single and dual registration modes, the same procedures as described in TS 33.501 [12] clause 8 are assumed.
+- The IMS data for the UEs is assumed to be stored in the EPS UDR.
+- From an IMS interaction perspective, it is assumed that IMS HSS/SLF is a logical entity that can act as an application front end making use of the EPS UDR, following the specification TS 23.335 [3] and implementing Cx/Dx and Sh/Dh interfaces that remain untouched. The colocation of IMS HSS/SLF and HSS FE is an operator option.
+
+NOTE: This is considered as a temporary solution in order to cope with the transition of legacy IMS towards a service based IMS, work in progress in TR 23.794 [14].
+
+#### 6.5.2.2 Architectural proposal
+
+This solution makes use of a layer that separates the applications front end logic from the database technology/protocol used, leveraging the authorisation and policing capabilities from Rel-15 data storage architecture, and incorporating additional features to serve interworking with legacy systems.
+
+Hence, in addition to access control for application front ends, policing and offering a common view of the information irrespective of where it is stored, the solution adds protocol conversion between application front ends and the repository, as well as a notifications engine to mimic the relevant notifications that will trigger specific procedures at the different front end applications and related to handovers between one system and the other.
+
+The solution uses similar concepts as the current Solution #1 ("Retrieving subscription data from separate UDR repositories for EPS and 5GS subscription data using a UDR Translation Function (UTF)"), but makes use of different procedures for IMS interactions.
+
+
+
+The diagram illustrates a high-level architecture for the interaction of HSS FE and UDM with separate repositories. At the top, two network functions, EPC and 5GC, are shown. EPC is connected to an HSS FE, and 5GC is connected to a UDM. Both HSS FE and UDM have interfaces labeled 'Ud' and 'Nudr' respectively, which connect to a central 'Data Access Layer' represented by a horizontal grey bar. Below the Data Access Layer, there are two database repositories: 'EPS UDR' containing '4G subscriptions' and '5GS UDR' containing '5G subscriptions'. The Data Access Layer is connected to both repositories. A dashed line indicates a logical or data flow connection between the HSS FE and the 5GS UDR, passing through the Data Access Layer.
+
+High level architecture diagram showing EPC and 5GC connected to HSS FE and UDM respectively, which then connect to a Data Access Layer. The Data Access Layer connects to EPS UDR (4G subscriptions) and 5GS UDR (5G subscriptions).
+
+Figure 6.5.2.2-1: High level architecture for interaction of HSS FE and UDM with separate repositories
+
+
+
+Figure 6.5.2.2-2: High level architecture for interaction of HSS FE, IMS HSS/SLF and UDM with separate repositories. The diagram shows three network functions (EPC, IMS, 5GC) connected to a central 'Data Access Layer'. EPC connects to HSS FE, which connects to the Data Access Layer via a 'Ud' interface. IMS connects to IMS HSS/SLF, which also connects to the Data Access Layer via a 'Ud' interface. 5GC connects to UDM, which connects to the Data Access Layer via a 'Nudr' interface. Below the Data Access Layer are two repositories: EPS UDR (containing 4G subscriptions) and 5GS UDR (containing 5G subscriptions). The Data Access Layer is shown interacting with both repositories.
+
+Figure 6.5.2.2-2: High level architecture for interaction of HSS FE, IMS HSS/SLF and UDM with separate repositories
+
+### 6.5.3 Services and Illustrated Procedures
+
+#### 6.5.3.1 General description
+
+The proposed data access layer will subscribe to changes performed in the EPS UDR and 5G repository, issuing some notifications towards the UDM or the HSS FE for specific UEs that may maintain profiles for 4G and 5G. When needed, the Data Access layer translates Nudr operations issued by UDM into Ud requests towards the EPS UDR and vice-versa.
+
+
+
+Figure 6.5.3.1-1: General procedure for notifications via a Data Access Layer. The diagram shows HSS FE and UDM connected to a central 'Data Access Layer'. HSS FE sends a 'Ud' request to the Data Access Layer, which then sends a notification (red arrow) to the '4G subscriptions' repository. UDM sends a 'Nudr' request to the Data Access Layer, which then sends a notification (blue arrow) to the '5G subscriptions' repository. The Data Access Layer also sends notifications (dashed arrows) to the HSS FE and UDM regarding '4G UEs' and '5G UEs'.
+
+Figure 6.5.3.1-1: General procedure for notifications via a Data Access Layer
+
+#### 6.5.3.2 5GS procedures
+
+The procedures specified in TS 23.502 [2] for Registration (clause 4.2.2.2), Deregistration (clause 4.2.2.3), UE Configuration Update (clause 4.2.4), Reachability procedures (clause 4.2.5), Session Management (clause 4.3), and User profile Management (clause 4.2.5) do not change when introducing this solution.
+
+Authentication procedures at registration (step 9 in clause 4.2.2.2 of TS 23.502 [2]) does not change either when introducing this solution.
+
+Any potential query of information related to the 4G subscription profile of the UE, would imply a mapping/translation of the NUdr\_DM\_Query in the Data Access Layer to be converted into a Ud query to the EPS UDR.
+
+#### 6.5.3.3 EPS procedures
+
+EPS procedures, including authentication ones, are not expected to be affected from the point of view of network signalling.
+
+The Data Access Layer will subscribe to changes in the EPS UDR related to 5G subscribers having also 4G profiles in the EPS UDR. When any action is performed at the level of 4G data for the particular UE (like attachment, detachment, etc), the Data Access Layer will issue a notification towards the UDM. UDM will perform any action needed depending on the status of the UE, interworking needed, etc.
+
+This is intended to facilitate the tracking of the subscriber in either system, in order to execute the relevant deregistration in case the subscriber moves from one to the other.
+
+
+
+```
+
+sequenceDiagram
+ participant HSS FE
+ participant EPS UDR
+ participant DAL as Data Access Layer
+ participant UDM
+
+ Note left of HSS FE: Network procedure
+ HSS FE->>EPS UDR: 1. Ud Request
+ EPS UDR-->>HSS FE: 2. Ud Response
+ Note right of EPS UDR: UE marked in 4G network
+ EPS UDR->>DAL: 3. Ud Notify
+ Note left of DAL: Network procedure ack
+ DAL->>UDM: 4. Nudr_DM_Notify
+
+```
+
+Sequence diagram showing notification to UDM when UE attaches to EPS. The diagram involves four entities: HSS FE, EPS UDR, Data Access Layer, and UDM. The sequence starts with a '1. Ud Request' from HSS FE to EPS UDR, marked as a 'Network procedure'. The EPS UDR responds with '2. Ud Response', marked as 'UE marked in 4G network'. The EPS UDR then sends a '3. Ud Notify' to the Data Access Layer. Finally, the Data Access Layer sends a '4. Nudr\_DM\_Notify' to the UDM, marked as a 'Network procedure ack'.
+
+**Figure 6.5.3.3-1: Notification to UDM when UE attaches to EPS**
+
+The Ud Request expected to trigger a notification is Update Data as specified by TS 23.335 [3]. There is no need to notify any query of data performed by HSS FE.
+
+Any potential query of information related to the 5G subscription profile of the UE, would imply a mapping/translation of the Ud Query in the Data Access Layer to be converted into a query to the 5G repository.
+
+As the technologies and protocols used to access the data stored in the repositories are operator deployment choices, the mapping of the Ud Notify depicted in the previous chart to the Nudr\_DM\_Notify operation towards the UDM is left as an operator deployment choice in agreement with its vendors.
+
+#### 6.5.3.4 Handover procedures
+
+##### 6.5.3.4.0 General
+
+For handover procedures, three cases are differentiated according to TS 23.501 [6] and TS 23.502 [2]:
+
+- Single registration mode with N26 support.
+- Single registration mode without N26 support.
+
+- Dual registration.
+
+For single registration mode with N26 support, any registration/attachment shall convey a cancelation of the location in the source system. The UE subscription data, with the exception of the Intersystem Continuity Data, will be valid in only one of the systems at a time.
+
+For single registration without N26 support, registration/attachment shall also convey a cancelation of the location in the source system if simultaneous registration of both MME and AMF is not supported, according to TS 23.501 [6] clause 5.17.2.3.1.
+
+NOTE 1: Since UDM and HSS FE are split and separate repositories exist, simultaneous registration of MME and AMF should always be possible, unless it is disabled by configuration in UDM, HSS FE and in the proposed Access Data Layer.
+
+This solution proposes that, in single registration modes with and without N26, the PGW-C+SMF with corresponding APN/DNN is replicated in both repositories and updated/queried by either party from their associated back-end repository. I.e. at handover 5GS-EPS, HSS FE will query from EPS UDR and at EPS-5GS, UDM will query the 5G UDR.
+
+This replication, together with an indication regarding the UE being served by 5GC or EPC facilitates all handover scenarios with single registration.
+
+This can be achieved as follows:
+
+
+
+```
+
+sequenceDiagram
+ participant HSS FE
+ participant EPS UDR
+ participant DAL as Data Access Layer
+ participant 5G Repository
+ participant UDM
+
+ Note left of HSS FE: Network procedure: Update Location/Notify
+ HSS FE->>EPS UDR: 1. Ud Request
+ EPS UDR-->>HSS FE: 2. Ud Response
+ Note right of EPS UDR: PGW-C+SMF & APN/DNN Stored in repository
+ EPS UDR->>DAL: 3. Ud Notify
+ DAL->>UDM: 4. Nudm_DM_Notify(intersystem info)
+ Note right of UDM: Dual reg = NO
+ UDM->>DAL: 5. Nudm_DM_Update
+ DAL->>5G Repository: 6. Write
+ Note right of 5G Repository: PGW-C+SMF & APN/DNN Stored in repository
+ 5G Repository-->>DAL: 7. Ack
+ DAL-->>UDM: 8. Ack
+ Note left of HSS FE: Network procedure ack
+
+```
+
+Sequence diagram illustrating the storage of PGW-C+SMF and APN/DNN with UE camping in EPS in single registration mode. The diagram shows interactions between HSS FE, EPS UDR, Data Access Layer, 5G Repository, and UDM.
+
+**Figure 6.5.3.4.0-1: Storage of PGW-C+SMF and APN/DNN with UE camping in EPS in single registration mode**
+
+While for 5GS, it is stored as following:
+
+
+
+```
+
+sequenceDiagram
+ participant EPS UDR
+ participant DAL as Data Access Layer
+ participant 5G Repository
+ participant UDM
+ Note right of UDM: Network procedure: PDU session initiation
+ UDM->>DAL: 1. Nudm_DM_Update
+ DAL->>5G Repository: 2. Request to 5G Repository
+ 5G Repository-->>DAL: 3. Ack
+ Note right of 5G Repository: PGW-C+SMF & APN/DNN Stored in repository
+ DAL->>UDM: 4. Ack
+ DAL->>EPS UDR: 5. U Request (Intersystem info)
+ Note right of EPS UDR: PGW-C+SMF & APN/DNN Stored in repository
+ EPS UDR-->>DAL: 6. U Response
+ Note right of DAL: Dual reg = NO
+ Note right of UDM: Network procedure ack
+
+```
+
+Sequence diagram for Figure 6.5.3.4.0-2: Storage of PGW-C+SMF and APN/DNN with UE camping in 5GS in single registration mode. The diagram shows interactions between EPS UDR, Data Access Layer, 5G Repository, and UDM. The process starts with a network procedure (PDU session initiation) at the UDM, followed by Nudm\_DM\_Update, Request to 5G Repository, Ack, and Ack. The Data Access Layer then sends a U Request (Intersystem info) to the EPS UDR, which responds with U Response. The EPS UDR also stores PGW-C+SMF & APN/DNN in the repository. A 'Dual reg = NO' flag is shown. The process ends with a network procedure ack at the UDM.
+
+**Figure 6.5.3.4.0-2: Storage of PGW-C+SMF and APN/DNN with UE camping in 5GS in single registration mode**
+
+NOTE 2: To avoid impacts on HSS FE and its related procedures, the data is written directly by the Data Access Layer. HSS FE will find the information available when UE camps back in EPS and requests continuity for single registration without N26
+
+For handover procedures in dual registration mode, the UE will remain registered/attached to the two system simultaneously with valid subscription data in both systems at the same time. Moving sessions between systems remains as a UE implementation option.
+
+##### 6.5.3.4.1 5GS to EPS with N26
+
+In 5GS to EPS handovers, the attach in the EPS will generate a Ud Request to modify data by HSS FE followed by a Ud Response by the EPS UDR and a Ud notification to the Data Access Layer. This will trigger a Nudr\_DM\_Notify to the UDM to indicate the UE is now under EPS control. UDM should in turn modify the location data in the 5G profile and will proceed to deregister the AMF the UE moved from.
+
+
+
+```
+
+sequenceDiagram
+ participant HSS FE
+ participant EPS UDR
+ participant DAL as Data Access Layer
+ participant UDM
+ participant 5G Repository
+ Note left of HSS FE: Network procedure
+ HSS FE->>EPS UDR: 1. Ud Request
+ EPS UDR-->>HSS FE: 2. Ud Response
+ Note right of EPS UDR: UE marked in 4G network
+ EPS UDR->>DAL: 3. Ud Notify
+ DAL->>UDM: 4. Nudr_DM_Notify
+ UDM-->>DAL: 5. Nudr_DM_Update
+ Note right of UDM: Network procedure to deregister UE from AMF
+ DAL->>5G Repository: 6. Request to 5G repository
+ Note right of 5G Repository: UE in 5G mark removed
+ Note left of HSS FE: Network procedure ack
+
+```
+
+Sequence diagram for Figure 6.5.3.4.1-1: Notification to UDM at UE attachment to EPS. The diagram shows interactions between HSS FE, EPS UDR, Data Access Layer, UDM, and 5G Repository. The process starts with a network procedure at the HSS FE, followed by Ud Request, Ud Response, and Ud Notify. The Data Access Layer then sends Nudr\_DM\_Notify to the UDM, which responds with Nudr\_DM\_Update. The Data Access Layer also sends a Request to 5G Repository. The UDM performs a network procedure to deregister the UE from the AMF. The process ends with the UE marked in the 5G repository.
+
+**Figure 6.5.3.4.1-1: Notification to UDM at UE attachment to EPS**
+
+No other action is expected to be performed by the UDM, and the control by the EPS will proceed as specified in the TS 23.502 [2], clause 4.11.1.2.1, with the difference that the HSS FE will not cancel the location of the AMF during the TAU procedure.
+
+Instead, the HSS FE will acknowledge the location update to the new MME and proceed as normal and it will be the UDM the one deregistering the AMF following the flow shown before.
+
+##### 6.5.3.4.2 EPS to 5GS with N26
+
+In EPS to 5GS handovers, the registration in the 5GS will generate a Nudr request and subsequent notification when data is stored in the 5G repository. The Data Access Layer will capture that and generate a notification towards the HSS FE indicating the UE has left the EPS.
+
+
+
+```
+
+sequenceDiagram
+ participant HSS FE
+ participant EPS UDR
+ participant DAL as Data Access Layer
+ participant UDM
+ participant 5G Repository
+
+ Note right of 5G Repository: UE in 5G
+ DAL->>UDM: 1. Nudr_DM_Update
+ Note right of UDM: Network procedure
+ UDM->>5G Repository: 2. Request to 5G repository
+ 5G Repository-->>UDM: 3. Ack
+ DAL->>HSS FE: 4. Ud Notify (Note 1)
+ HSS FE->>EPS UDR: 5. Ud Request
+ Note left of HSS FE: Network procedure : Cancel Location to MME
+ EPS UDR-->>HSS FE: 6. Ud Response
+
+```
+
+Sequence diagram for EPS to 5GS with N26 registration notification. Lifelines: HSS FE, EPS UDR, Data Access Layer, UDM, 5G Repository. The sequence shows the Data Access Layer sending a Nudr\_DM\_Update to the UDM, which then sends a Request to the 5G Repository. The 5G Repository responds with an Ack. The Data Access Layer then sends a Ud Notify to the HSS FE. The HSS FE sends a Ud Request to the EPS UDR, which responds with a Ud Response. A note indicates a network procedure to cancel location in the MME is initiated by the HSS FE.
+
+Figure 6.5.3.4.2-1: Notification to HSS FE at UE registration in 5GS
+
+NOTE 1: HSS FE subscribed to changes regarding UEs having 4G and 5G profiles.
+
+The procedure follows the specification in TS 23.502 [2] clause 4.11.1.2.2 with the modification that it is the HSS FE the one initiating the relevant cancel location towards the MME node the UE has moved from.
+
+NOTE 2: The mapping of the acknowledgement from the 5G repository to the Ud Notify towards the HSS FE depicted in the previous chart is left for implementation based on operator deployment.
+
+As an alternative to the previous flow, the Data Access Layer can modify the UE data in the EPS UDR, which in turn would trigger a notification towards the HSS FE (HSS FE would have subscribed to changes in the EPS UDR). This alternative would save impacts in the HSS FE that would only need to subscribe to changes in the EPS UDR and be notified when the data is updated.
+
+##### 6.5.3.4.3 5GS to EPS without N26 - single registration
+
+For single registration without N26, HSS FE will be configured as not supporting dual registration. Thus, the attach to the EPS when UE moves from 5GS to EPS, will imply a cancellation of location in the AMF from where the UE moved.
+
+This procedure is aligned with what is described in clause 6.5.3.4.1 of this solution.
+
+The EPS attach is expected to trigger a Ud Update operation towards the EPS UDR, and a response to HSS FE including the PGW-C+SMF address (together with APN/DNN information) being used.
+
+The proposal with this solution is to replicate the information in both repositories. This way EPS UDR will contain the information about PGW-C+SMF needed for the handover cases and will return it to the MME in the Update Location Response. See general clause 6.5.3.4.0 of this solution.
+
+##### 6.5.3.4.4 EPS to 5GS without N26 - single registration
+
+For single registration without N26, UDM will be configured as not supporting dual registration. Thus, the registration to the 5GS when UE moves from EPS to 5GS, will imply a cancellation of location in the MME from where the UE moved.
+
+The registration in the 5GS, would trigger a notification to the Access Data Layer that, in turn, would imply a Ud notification to the HSS FE to cancel the location in the MME. This procedure is aligned with what is described in clause 6.5.3.4.2 of this solution.
+
+##### 6.5.3.4.5 Handovers without N26 - dual registration
+
+For handover procedures in dual registration mode, the UE will remain registered/attached to the two system simultaneously with valid subscription data in both systems at the same time. Moving sessions between systems remains as a UE implementation option.
+
+Attachment/Registration of the UE in either system does not convey any cancellation in the source system. This is achieved by analysing the UDM and HSS FE configuration to support or not dual registrations.
+
+#### 6.5.3.5 IMS interaction
+
+##### 6.5.3.5.1 Access to IMS data
+
+Access to IMS data for creation, deletion, query and modification follows the specification in TS 23.228 [7] and TS 23.335 [3] by IMS making use of the IMS HSS/SLF functionality (either as a stand alone application front end or collocated with HSS FE).
+
+It is not expected that any of the IMS entities need to interact with UDM, with the exception of the P-CSCF restoration mechanism invoked by S-CSCF, and the T-ADS information retrieval by the IMS AS.
+
+For these specific cases, it is proposed to use the SLF functionality for UE identity to UDM identity or HSS FE identity resolution, according to TS 23.228 [7] clause 5.8.
+
+NOTE 1: It is proposed to introduce SLF functionality since the split of UDM and HSS FE will imply multiple addressable location servers for the 5G UEs and these IMS procedures.
+
+NOTE 2: Since the I-CSCF, S-CSCF and IMS AS will always interrogate the SLF to find the location server serving the UE, the SLF needs to be configured to return the IMS HSS address in first place since it is the front end able to return the IMS profile for the UE.
+
+NOTE 3: The evolution of IMS can also imply the IMS profile of the 5G UEs to be moved into the 5G repository. This can impact the way some procedures are executed for the different UEs.
+
+Any Cx or Sh operation triggered by CSCF or IMS AS, except restoration and T-ADS information retrieval, will be handled by the IMS HSS front end (either stand alone or collocated with the HSS FE).
+
+When UE is registered to IMS, EPS UDR will contain the indication regarding the UE being served or not by EPS, and 5G repository will contain the indication regarding the UE being served by 5GS. This is proposed to be done as per the description in the common procedures, regardless the UE re-registers or not to IMS when moving between the systems (according to clause 5.2.2.4 of TS 23.228 [7]).
+
+These indications are proposed to be checked when either P-CSCF restoration or T-ADS information retrieval is received by UDM or HSS FE (see next clauses).
+
+In principle, both UDM and HSS FE would not require any additional action than what is described before for the general procedures.
+
+##### 6.5.3.5.2 P-CSCF Restoration procedures
+
+The P-CSCF restoration procedure via UDM is an optional mechanism according to TS 23.380 [8].
+
+The following two options are considered regardless the support of N26 and UE mode of operation (single or dual registration).
+
+- **Option 1:** When UDM and HSS FE are split, the preferred P-CSCF restoration procedure would be that performed by detection of the failure by SMF/UPF according to TS 23.380 [8] clause 5.8.3, or using the PCF based P-CSCF restoration as specified in clause 5.8.5 of TS 23.380 [8].
+
+NOTE 1: The adaptation of IMS to service based architecture, making use of proper virtualisation/cloud mechanisms for e.g. self-healing, high availability, redundancy, etc, would most likely make unnecessary the use of the current restoration procedures.
+
+- **Option 2:** To enable the P-CSCF restoration via either the UDM or the HSS FE, the SLF functionality is invoked in order to perform a user identity to HSS FE identity or UDM identity resolution.
+
+The SLF will return the list of different servers (UDMs and HSS FEs) that may be in charge of the UE at that point in time, for the S-CSCF to request the relevant P-CSCF restoration mechanism to the relevant entity. This procedure is according to TS 29.228 [10] clause 6.4.
+
+
+
+```
+
+sequenceDiagram
+ participant S-CSCF
+ participant IMS HSS/SLF
+ participant HSS FE
+ participant UDM
+
+ Note left of S-CSCF: Network procedure: P-CSCF restoration
+ S-CSCF->>IMS HSS/SLF: 1. Dx/Cx request
+ IMS HSS/SLF->>IMS HSS/SLF: location server lookup
+ IMS HSS/SLF->>S-CSCF: 2. Redirect info
+ S-CSCF->>HSS FE: 3. Cx request
+ HSS FE->>S-CSCF: 4. Cx answer
+ S-CSCF->>UDM: 3a. Cx request (Note 2)
+ UDM->>S-CSCF: 4a. Cx answer (Note 2)
+
+```
+
+Sequence diagram for User identity to HSS FE identity or UDM identity resolution for S-CSCF. The diagram shows four lifelines: S-CSCF, IMS HSS/SLF, HSS FE, and UDM. The process starts with a 'Dx/Cx request' from S-CSCF to IMS HSS/SLF. The IMS HSS/SLF performs a 'location server lookup' and returns 'Redirect info' to S-CSCF. S-CSCF then sends a 'Cx request' to HSS FE, which returns a 'Cx answer'. S-CSCF also sends a 'Cx request (Note 2)' to UDM, which returns a 'Cx answer (Note 2)'. A note on the left indicates this is part of the 'Network procedure: P-CSCF restoration'.
+
+**Figure 6.5.3.5.2-1: User identity to HSS FE identity or UDM identity resolution for S-CSCF**
+
+NOTE 2: This assumes that UDM implements the Cx operations SAR/SAA to trigger the P-CSCF restoration. Potential conversion of Diameter Cx operation to an Nudm service operation is out of the scope of this study.
+
+NOTE 3: It is assumed that S-CSCF is aware of the IMS registration status of the UE prior to request P-CSCF restoration.
+
+Both HSS FE and UDM will check the UE registration status in the corresponding network in order to either execute the procedure (according to TS 23.380 [8]) or reject it.
+
+No other impact is expected for restoration.
+
+##### 6.5.3.5.3 Terminating domain selection information for IMS voice
+
+According to TS 23.501 [6], clause 5.16.3.6, the UDM/HSS shall be able to query the serving AMF for T-ADS related information, and AMF shall respond to the query with the relevant information unless the UE is detached:
+
+- whether or not IMS voice over PS Session is supported in the registration area(s) where the UE is currently registered;
+- whether or not IMS voice over PS Session Supported Indication over non-3GPP access is supported in the WLAN where the UE is currently registered;
+- the time of the last radio contact with the UE; and
+- the current Access Type and RAT type.
+
+Retrieval of T-ADS information is initiated by the IMS AS.
+
+To retrieve the T-ADS information from either the UDM or the HSS FE, the SLF functionality is invoked in order to perform a user identity to HSS FE identity or UDM identity resolution.
+
+The SLF will return the list of different servers (UDMs and HSS FEs) that may be in charge of the UE at that point in time, for the IMS AS to request the information for access domain selection. This procedure is according to TS 29.328 [11] clause 6.5.
+
+If the UE is attached to IMS via 5GS, the T-ADS information request to the IMS HSS/SLF will end up in a Sh request (UDR/UDA) to UDM, which in turn will invoke the AMF service Namf\_MT\_ProvideDomainSelectionInfo as specified in TS 23.501 [6] clause 5.16.3.6 and TS 23.228 [7] Annex Y.
+
+To translate IMPU to SUPI, for the cases in which the Sh request is based on IMPU, the 5G UDR can incorporate a new data key (=IMPU) for the Subscription Data data set to be used for the Nudr\_DM\_Query operation, in order to request identifier translation from IMPU to SUPI.
+
+The query to the 5G UDR is simply converted by the Access Data Layer into a Ud request to the IMS data repository, in order to retrieve the IMSI that is associated with the IMPU received in the Sh request.
+
+The request from IMS AS, when the UE is attached to the EPS, should follow the same procedures as defined in TS 23.228 [7] clause 4.2.4a.
+
+NOTE 1: It is assumed that IMS AS is aware of the IMS registration status of the UE prior to request T-ADS information.
+
+Both UDM and HSS FE will check the registration status in the corresponding network in order to either execute the procedure (according to TS 23.228 [7]) or reject it.
+
+In case of dual registration, and according to annex D of TS 29.328 [11], the IMS AS will expect the T-ADS information containing 0 or 1 RAT types, depending on whether IMS Voice over PS is supported or not. So, in order to avoid impacts on the IMS AS, this solution proposes that UDM and HSS FE are configured with indication regarding being the default system for IMS voice. Both will inspect this default indication, in order to execute the T-ADS information retrieval procedure, or reject it.
+
+
+
+```
+
+sequenceDiagram
+ participant IMS AS
+ participant IMS HSS/SLF
+ participant HSS FE
+ participant UDM
+
+ Note left of IMS AS: Network procedure: T-ADS
+ IMS AS->>IMS HSS/SLF: 1. Dh/Sh request
+ Note right of IMS HSS/SLF: location server lookup
+ IMS HSS/SLF-->>IMS AS: 2. Redirect info
+ IMS AS->>HSS FE: 3. Sh request
+ Note right of HSS FE: Network Procedure: NPLI request over S6a
+ HSS FE-->>IMS AS: 4. Sh answer
+ Note right of HSS FE: 3a. Sh request (Note)
+ HSS FE->>UDM: 3a. Sh request (Note)
+ Note right of UDM: Network Procedure: Namf_MT_ProvideDomainSelectionInfo
+ UDM-->>HSS FE: 4a. Sh answer (Note)
+
+```
+
+Sequence diagram illustrating User identity to HSS FE identity or UDM identity resolution for IMS AS. The diagram shows four lifelines: IMS AS, IMS HSS/SLF, HSS FE, and UDM. The sequence of messages is: 1. Dh/Sh request (Network procedure: T-ADS) from IMS AS to IMS HSS/SLF; 2. Redirect info from IMS HSS/SLF to IMS AS; 3. Sh request from IMS AS to HSS FE; 4. Sh answer from HSS FE to IMS AS; 3a. Sh request (Note) from HSS FE to UDM; 4a. Sh answer (Note) from UDM to HSS FE. Annotations include 'location server lookup' for step 2, 'Network Procedure: NPLI request over S6a' for step 4, and 'Network Procedure: Namf\_MT\_ProvideDomainSelectionInfo' for step 4a.
+
+Figure 6.5.3.5.3-1: User identity to HSS FE identity or UDM identity resolution for IMS AS
+
+NOTE 2: This assumes that UDM implements the Sh operations UDR/UDA to trigger the T-ADS information retrieval procedure. Potential conversion of Diameter Sh operation to an Nudm service operation is out of the scope of this study.
+
+### 6.5.4 Impacts on existing services and interfaces
+
+#### 6.5.4.1 General
+
+This solution addresses scenarios in which the operator deployment is already a layered architecture according to TS 23.335 [3]. Non-layered scenarios would need to migrate towards a layered architecture prior to deploying this solution.
+
+The solution is basically an operator choice restricted to the introduction of a Data Access Layer with the capabilities described in clauses 6.5.3.1 to 6.5.3.4, and does not impact the specified interfaces with new operations.
+
+The solution is also based on network configuration, by including SLF functionality for every IMS operation directed towards a location server (either HSS FE, IMS HSS or UDM). The SLF is configured as the contact point for I-CSCF, S-CSCF and IMS AS, and needs to be provisioned with the list of location servers serving the UEs in the network.
+
+The solution proposes to add information regarding the system registration status, i.e. the system serving the UE:
+
+- For 5G profile, this extension can be handled as the resources Amf3GppAccessRegistration and AmfNon3GppAccessRegistration in the Nudr\_DM\_Update service operation as specified in TS 29.505 [9].
+- For 4G profile, this extension can be mapped to the repository field where MME reference is held. Since the organisation of data in the EPS UDR is not standardised, this mapping would be left for implementation.
+
+Finally, the solution proposes adding the Sh pair UDR/UDA (Diameter) to UDM as a temporary solution until IMS is adapted to service based architecture or any other solution is specified for T-ADS information retrieval by IMS.
+
+#### 6.5.4.2 Summary of impacts on UDM
+
+- For handovers without N26 support:
+ - Add configuration indication regarding support or not of dual registrations.
+- For T-ADS information retrieval: Add Sh pair UDR/UDA in case of single and dual registrations:
+ - Add indication regarding default system for IMS Voice over PS for dual registration mode of operation.
+- For P-CSCF restoration:
+ - For Option 1, no impact (i.e. make use of PCF based restoration or detection of failure by SMF/UPF).
+ - For Option 2: Add Cx pair SAR/SAA for P-CSCF restoration.
+
+#### 6.5.4.3 Summary of impacts on HSS FE
+
+No impact on network procedures.
+
+For handovers without N26 support:
+
+- Add configuration indication regarding support or not of dual registrations
+
+For T-ADS information retrieval in dual registration mode of operation:
+
+- Add indication regarding default system for IMS Voice over PS.
+
+Depending on operator choice either:
+
+- A new subscription/notification interaction between HSS FE and the Data Access Layer in order to be informed when a 5G UE that camped in the EPS has moved back to 5GS system (in order to trigger a cancel location procedure), or
+- No impact expected, if alternative depicted in clause 6.5.3.4.2 is decided.
+
+#### 6.5.4.4 Summary of impacts on EPS UDR or 5G repository
+
+The impacts on the EPS UDR or 5G repository are left for implementation, since the protocols and technologies to access their data is implementation specific.
+
+### 6.5.5 Evaluation
+
+Solution 5 proposes an architecture that does not require direct interaction between the UDM and the HSS FE or interaction between EPS UDR and 5G UDR.
+
+The solution makes use of an adaptation layer, named Access Data Layer, that separates the applications front end logic from database technology/protocol in the back end repositories.
+
+The solution addresses all interworking scenarios depicted in TS 23.501 [6] and TS 23.502 [2], including support for IMS procedures.
+
+The advantages of this solution is that:
+
+- It addresses effective separation of HSS FE and UDM and EPS UDR from 5G UDR to enable multivendor deployments
+- It avoids new interface and new operations specification between the HSS and UDM
+- It is possible to introduce only UDM and 5G UDR when deploying a 5GS system, without having to update/upgrade either HSS FE or the EPS UDR, or having to introduce these functionalities in deployments with single core network.
+- Standardisation effort is minimised and restricted to potential incorporation of Sh/Cx operations for UDM, in case FS\_eIMS5G study (TS 23.794 [14]) does not incorporate the changes needed for P-CSCF restoration and T-ADS information retrieval.
+- Introduction of this solution does not impact other network functions that may be accessing the different repositories, while it provides the means to further split other network functions defined in Rel-15 (i.e. PCF/PCRF).
+
+The disadvantage of this solution is to making use of SLF functionality for IMS when some deployments may not be using it.
+
+Additionally, the Ud interaction which terminates on the 5GS UDR means that the structure of the notifications carried in Ud for this particular case remains proprietary, implying that the Data Access Layer needs to be implemented in alignment with the existing HSS FE and EPS UDR implementations.
+
+## 6.6 Solution #6: Deployment and coexistence without interworking between UDM and existing HSS
+
+### 6.6.1 Introduction
+
+This solution is applicable to Key Issue 1 and Key Issue 2.
+
+This solution proposes a deployment and coexistence alternative which avoids the need of specification of interworking procedures between UDM and the existing HSS.
+
+### 6.6.2 High-level Description
+
+This solution proposes an alternative for coexistence between UDM and HSS based on:
+
+- Deploying HSS and UDM in a single network entity, referred as Combined HSS/UDM, supporting interfaces and procedures specified for 5GC, EPC and IMS.
+- UDM and HSS deployed in the Combined network entity may interact with a 5GS UDR that stores 4G/IMS/5G subscription data for 5G enabled users (when using a common repository). Alternatively, the Combined HSS/UDM may also use separate repositories for subscription data of 5G enabled users.
+- The functions of the Combined HSS/UDM are provided by a single network entity, so that the interactions between HSS and UDM within the Combined entity are performed internally and therefore it is not required to define such interworking.
+- The existing HSS and EPS UDR keep serving only 4G users.
+- A routing solution routes Diameter EPC/IMS requests to either the Combined HSS/UDM for 5G enabled users or the existing HSS for 4G only users. This kind of solution can be achieved e.g. by using a network entity that provides SLF/DRA functionality and/or by local configuration in network entities interacting with HSS (e.g.
+
+configuring IMSI ranges in MME), and other alternatives may be possible. The routing solution includes redundancy mechanisms to prevent single point of failure issues.
+
+- There is no need of interworking between UDM and existing HSS out of the Combined network entity.
+- The different options regarding deployment of subscription data repository are described below, gathering the considerations described previously.
+- **Option 1:** A common repository is used for the Combined HSS/UDM. Subscription data of new 5G enabled users is directly provisioned in 5GS UDR. Subscription data of existing 4G users that becomes 5G enabled is relocated from existing EPS UDR to 5GS UDR. When and how the subscription data relocation is performed depends on the overall migration plan and the procedure designed for that purpose, and it is out of scope of the description of this solution.
+
+This option may be considered the most appropriate for a multivendor deployment, while providing centralization of subscription data, allowing consolidation of user profiles for a given user in a single repository. This consolidation simplifies provisioning process, providing a single point of provisioning and ensuring data consistency.
+
+It minimizes deployment impacts, providing a flexible network evolution to 5G while users become 5G enabled through subscription relocation according to plans and speed chosen by the operator.
+
+Additionally, this option may be considered to follow a smooth evolution of the subscription data repository used for 5G enabled users to a cloud native deployment.
+
+The figure 6.6.1-1 shows the network architecture using a common repository for the Combined HSS/UDM:
+
+
+
+Figure 6.6.1-1: Coexistence of existing HSS and Combined HSS/UDM with common repository used by the Combined entity. The diagram shows a 'Common repository (4G/IMS/5G)' containing '5G subs data' and '4G/IMS subs data for 5G enabled users'. This repository is connected to a 'Combined HSS/UDM' via 'Nudr' and 'Ud' interfaces. The 'Combined HSS/UDM' is connected to a '5GC' via 'N8/N10/N21' and to a 'Routing function' via 'S6a/Cx/Sh'. The 'Routing function' is connected to an 'EPC' via 'S6a' and to an 'IMS' via 'Cx/Sh'. The 'EPC' is connected to the '5GC' via 'N26'. A separate 'EPS UDR (4G/IMS)' containing '4G/IMS subs data' is connected to an 'HSS' via 'Ud'. The 'HSS' is connected to the 'Routing function' via 'S6a/Cx/Sh'.
+
+**Figure 6.6.1-1: Coexistence of existing HSS and Combined HSS/UDM with common repository used by the Combined entity**
+
+- **Option 2:** Separate repositories are deployed for subscription data of 5G enabled users accessed by the Combined HSS/UDM. In this case, provisioning and/or subscription relocation to EPS UDR used by the Combined HSS/UDM is also needed.
+
+This option allows multivendor deployment for 5G enabled users and legacy users, as well as keeping open the way for the evolution of the subscription data repository used for 5G enabled users to a cloud native deployment. However, subscription data centralization is not achieved, and deployment, management and provisioning of subscription repositories becomes not optimal and complex.
+
+The figure 6.6.1-2 shows the network architecture using separate repositories for the Combined HSS/UDM:
+
+
+
+```
+
+graph TD
+ subgraph TopRow [User Data Repositories]
+ UDR1[5GS UDR (5G)
+5G subs data]
+ UDR2[EPS UDR (4G/IMS)
+4G/IMS subs data for 5G enabled users]
+ UDR3[EPS UDR (4G/IMS)
+4G/IMS subs data]
+ end
+
+ UDR1 -- Nudr --> CHUDM[Combined HSS/UDM]
+ UDR2 -- Ud --> CHUDM
+ UDR3 -- Ud --> HSS
+
+ CHUDM -- N8/N10/N21 --> 5GC
+ CHUDM -- S6a/Cx/Sh --> RF[Routing function]
+ HSS -- S6a/Cx/Sh --> RF
+
+ 5GC -- N26 --> EPC
+ EPC -- S6a --> IMS
+ IMS -- Cx/Sh --> RF
+
+```
+
+Diagram illustrating the coexistence of existing HSS and Combined HSS/UDM with separate repositories. The diagram shows three user data repositories at the top: 5GS UDR (5G) with 5G subs data, EPS UDR (4G/IMS) with 4G/IMS subs data for 5G enabled users, and EPS UDR (4G/IMS) with 4G/IMS subs data. The 5GS UDR connects to a Combined HSS/UDM via the Nudr interface. The first EPS UDR connects to the Combined HSS/UDM via the Ud interface. The second EPS UDR connects to an HSS via the Ud interface. The Combined HSS/UDM connects to a 5GC via the N8/N10/N21 interface and to a Routing function via the S6a/Cx/Sh interface. The HSS connects to the Routing function via the S6a/Cx/Sh interface. The 5GC connects to the EPC via the N26 interface. The EPC connects to the IMS via the S6a interface. The IMS connects to the Routing function via the Cx/Sh interface.
+
+**Figure 6.6.1-2: Coexistence of existing HSS and Combined HSS/UDM with separate repositories deployed for the Combined entity**
+
+- **Option 3:** Separate repositories are used and the existing EPS UDR keeps storing 4G/IMS subscription data for 5G enabled users as well as 4G only users, as shown in figure 6.6.1-3. Subscription relocation is not required in this option.
+
+Both the existing HSS and the HSS within the Combined entity interact with the EPS UDR using the same proprietary Ud interface, implying that a multivendor deployment will require integration of the non-standard Ud interface with the HSS in the Combined HSS/UDM.
+
+This option does not allow centralization of user profiles for a given user in a single repository, making provisioning more complex as multiple subscription repositories are required to be populated for the same user.
+
+It enables evolution of subscription repository to cloud native technology only for the 5G profiles. EPC and IMS profiles are assumed to be kept in the existing EPS UDR using legacy repository technology.
+
+
+
+Figure 6.6.1-3: Coexistence of existing HSS and Combined HSS/UDM with separate repositories using existing EPS UDR for 4G/IMS subscription data. The diagram shows two separate User Data Repositories (UDRs) at the top. The left one is the 5GS UDR (5G) containing 5G subs data. The right one is the EPS UDR (4G/IMS) containing 4G/IMS subs data for 5G enabled users and 4G/IMS subs data. Below the 5GS UDR is the Combined HSS/UDM, which connects to it via the Nudr interface. Below the EPS UDR is the HSS, which connects to it via the Ud interface. Both the Combined HSS/UDM and the HSS connect to a central Routing function via S6a/Cx/Sh interfaces. The Combined HSS/UDM also connects to the 5GC via N8/N10/N21 interfaces. The 5GC connects to the EPC via the N26 interface. The EPC and IMS both connect to the Routing function via S6a and Cx/Sh interfaces respectively.
+
+**Figure 6.6.1-3: Coexistence of existing HSS and Combined HSS/UDM with separate repositories using existing EPS UDR for 4G/IMS subscription data**
+
+- **Option 4:** Another option is to deploy a single repository to store subscription data for all domains used by the Combined HSS/UDM and the existing HSS, as depicted in figure 6.6.1-4. This option may not require subscription relocation either.
+
+This alternative allows user profiles centralization, although in a multivendor deployment it will require integration of the non-standard Ud interface with the HSS in the Combined HSS/UDM.
+
+
+
+Figure 6.6.1-4: Coexistence of existing HSS and Combined HSS/UDM using a common repository. The diagram shows a single Common repository (4G/IMS/5G) at the top, containing 5G subs data, 4G/IMS subs data for 5G enabled users, and 4G/IMS subs data. Below this repository, the Combined HSS/UDM connects via the Nudr interface for 5G data and the Ud interface for 4G/IMS data. The HSS also connects to the repository via the Ud interface. Both the Combined HSS/UDM and the HSS connect to a central Routing function via S6a/Cx/Sh interfaces. The Combined HSS/UDM connects to the 5GC via N8/N10/N21 interfaces. The 5GC connects to the EPC via the N26 interface. The EPC and IMS both connect to the Routing function via S6a and Cx/Sh interfaces respectively.
+
+**Figure 6.6.1-4: Coexistence of existing HSS and Combined HSS/UDM using a common repository**
+
+### 6.6.3 Services and Illustrated Procedures
+
+The interactions between UDM and HSS within the Combined network entity are internal, so it is not required to define such interworking.
+
+### 6.6.4 Impacts on existing services and interfaces
+
+This solution has no impact on existing services and interfaces.
+
+### 6.6.5 Evaluation
+
+Solution 6 proposes a coexistence scenario where a Combined HSS/UDM network entity serving 5G enabled users can coexist without interaction with any existing HSS supporting EPC and IMS for 4G only users. Since there is no interaction needed between UDM and the existing HSS out of the Combined entity, this solution does not require any standardization effort. Additionally, this solution avoids any impact on existing nodes (HSS, EPS UDR), services, protocols and interfaces. Some options require migration of subscriber data.
+
+For IMS and EPC services, the solution requires the use of a routing solution which can be based on standard functions (e.g. DRA/SLF) and it is normally deployed in the operator's network for different purposes. Impacts are limited to provisioning/configuration updates for the routing function to route Diameter EPC/IMS requests to either the Combined HSS/UDM for 5G enabled users or the existing HSS for 4G only users. Supporting SMS and the relevant routing capabilities during normative phase
+
+This solution offers different UDR deployment alternatives, from which option 1 as described previously is considered the option providing the most future proof benefits in terms of centralization/consolidation of subscription data for 5G enabled users, management of subscription data, multivendor support and network evolution.
+
+However, an operator may find among the different alternatives proposed the option that fits better its network evolution plans, based on the current deployment and evaluation of the aspects the operator considers as most relevant.
+
+# --- 7 Evaluation
+
+## 7.1 Evaluation of solutions
+
+This study has emerged from the need of a multivendor approach for UDM and HSS nodes, currently not allowed by Release 15 specifications for 5GS, and facilitate scenarios in which introducing only UDM and UDR is an effective way to introduce 5GS.
+
+According to the Study Item objectives, this technical report has focused on scenarios involving co-existence of EPS subscriber data and 5GS subscriber data with common or separate storages, determining whether interaction between UDM and HSS is needed in the different interworking cases and deployment scenarios.
+
+Thus, the evaluation of the solutions focus on the following technical and deployment requirements:
+
+- Decoupling of UDM and HSS - with common/separate repository.
+- Interworking scenarios fulfilment.
+- Impacts (standardisation, deployment, etc.
+- Limitations.
+
+In addition, and considering that specific scenarios exist in which UDM and/or HSS provide support to IMS procedures, the evaluation should as well take into account these interactions, considering that the evolution of IMS work in progress is independent from this study, but may incorporate additions to specific solutions addressed in this document.
+
+The following graph shows how the different solutions address the different key issues:
+
+
+
+| | | |
+|-----------------------------------|-------------------------------------------|----------------------------|
+| | Split UDM and HSS | Combo UDM/HSS |
+| KI #2
Common
Repository | Solution #2
Solution #4 | Solution #6 |
+| KI #1
Separate
Repositories | Solution #1
Solution #2
Solution #5 | Solution #3
Solution #6 |
+
+Figure 7.1-1: Solutions vs Key Issues. A 2x2 matrix diagram showing solutions for two key issues across two architectural models.
+
+**Figure 7.1-1: Solutions vs Key Issues**
+
+### 7.1.1 Evaluation of solutions with separation of FEs and repositories
+
+Solutions 1, 2 and 5 address key issue #1 for separation of repositories and front ends.
+
+- Solution #1 provides an implementation option not requiring standardisation for separating the front ends and to access the back end repositories independently. The implementation is based on a translation function used to access data from the different repositories in order to execute different network procedures in EPS or 5GS.
+
+For IMS procedures, it proposes implementing a lite Sh interface by UDM in order to support T-ADS information retrieval when UE is camped in the 5GS and, as an alternative for P-CSCF restoration via UDM, a lite Cx interface by UDM.
+
+**EVALUATION:** the solution can be considered an option for deployments with separate 5GS UDR and EPS UDR, accessed by UDM and HSS respectively. It can be suitable for scenarios of interworking in which full separation of front ends exist; however, for IMS interaction, the AS and S-CSCF impacts may not be feasible/acceptable in some deployments and a different solution may be selected.
+
+- Solution #2 implies standardisation of a service based interface between HSS and UDM, for separation of front ends, that access the back end repositories independently.
+
+The solution addresses separation of UDM from HSS, where HSS contains as well IMS logic.
+
+For IMS procedures, the solution proposes operations Cx/Sh-like as part of the service based interface to support T-ADS information retrieval and P-CSCF restoration via UDM.
+
+**EVALUATION:** the solution can be considered an option for deployments using EPS UDR and 5GS UDR separate repositories, accessed by an HSS containing several applications front end logic (i.e. IMS HSS, AuC, EPS HSS) via Ud and by UDM via Nudr respectively, and when converting HSS into an SBA entity is a suitable/feasible operator option.
+
+**OPEN POINTS** if conclusion is to progress during normative work:
+
+- The solution does not address cases in which the applications front end logic is split
+- The solution does not address the case of IMS requests based on IMPU (e.g. T-ADS information retrieval) that need to be translated into SUPI in order to obtain the right information, either from the 5GS UDR or from the AMF.
+- Solution #5 provides, similarly to solution #1, an implementation option for separating the front ends and accessing the back end repositories, with the difference that this solution is based on using notifications triggered by the repositories, at data modification related to a particular 5G enabled subscriber, in order to execute different network procedures in EPS or 5GS.
+
+The solution assumes full separation of all front ends, i.e. UDM, IMS HSS, EPC HSS, and AuC/ARPF.
+
+For IMS procedures, the solution proposes making use of the IMS SLF functionality and implementation of a lite Sh interface by UDM in order to support T-ADS information retrieval when UE is camped in the 5GS and, as an alternative for P-CSCF restoration via UDM, a lite Cx interface by UDM.
+
+**EVALUATION:** the solution can be considered an implementation option for deployments with separate 5GS UDR and EPS UDR, accessed by UDM and HSS or IMS HSS respectively. It can be suitable for scenarios of interworking in which full separation of front ends and repositories exist; however, for IMS interaction, the introduction of SLF functionality and use of Diameter interfaces in the UDM may not be feasible/acceptable in some deployments and a different solution may be preferred. In order to reduce the number of options to address during normative phase, this solution is proposed to not be pursued during the normative stage 2 work in Rel-16.
+
+### 7.1.2 Evaluation of solutions with separation of FEs with common repository
+
+Solutions 2 and 4 address key issue #1 for common repository with separation of front ends.
+
+- Solution #2 implies standardisation of a service based interface between HSS and UDM, for separation of front ends, that access the back end repository independently.
+
+The access to the common repository is performed by both Nudr and Ud interfaces.
+
+The solution addresses separation of UDM from HSS, where HSS contains as well IMS logic.
+
+For IMS procedures, the solution proposes lite Cx/Sh operations as part of the service based interface to support T-ADS information retrieval and P-CSCF restoration via UDM.
+
+**EVALUATION:** the solution can be considered an option for deployments reusing EPS UDR as common repository, accessed by an HSS containing all applications front end logic (i.e. IMS HSS, AuC, EPS HSS) via Ud, and by UDM via Nudr, and when converting HSS into an SBA entity is a suitable/feasible option for the operator.
+
+**OPEN POINTS** if conclusion is to progress during normative work:
+
+- The solution does not address cases in which the applications front end logic is split
+- The solution does not address conversion of Nudr to Ud when the common repository is based on EPS UDR.
+- The solution does not address the case of IMS requests based on IMPU (e.g. T-ADS retrieval) that need to be translated into SUPI in order to obtain the right information, either from the 5GS UDR or from the AMF.
+- Solution #4 provides an implementation option for separating the front ends and accessing the common back end repository, i.e. the EPS UDR. The implementation is based of using notifications triggered by the repository in order to execute different network procedures in EPS or 5GS.
+
+The solution assumes full separation of all front ends, i.e. UDM, IMS HSS, EPC HSS, and AuC/ARPF.
+
+For IMS procedures, the solution proposes making use of the IMS SLF functionality and implementation of a lite Sh interface by UDM in order to support T-ADS information retrieval when UE is camped in the 5GS and, as an alternative for P-CSCF restoration via UDM, a lite Cx interface by UDM.
+
+**EVALUATION:** the solution can be considered an implementation option for deployments reusing EPS UDR as common repository, accessed by UDM, HSS or IMS HSS independently. It can be suitable for scenarios of interworking in which full separation of front ends exist; however, for IMS interaction, the introduction of SLF functionality and use of Diameter interfaces in the UDM may not be feasible/acceptable in some deployments and a different solution may be preferred.
+
+### 7.1.3 Evaluation of solutions with common FEs with separate repositories
+
+Solutions 3 and 6 address key issue #2 for separate repositories, with no separation of front ends.
+
+- Solution #3 implies no standardisation of interfaces between UDM and HSS FE, as UDM acts as a combo node that is the single point of contact for IMS, SMS, 5GC and EPC.
+
+The solution assumes UDM incorporates HSS FE interfaces (i.e. S6a, Sh, Cx/Dx, C/S6c), with no impact on legacy HSS.
+
+The EPC repository holds both 4G and IMS data, whilst 5GS UDR holds 5G data. The combo node UDM/HSS FE interfaces both 5GS UDR, via Nudr, and EPS UDR via legacy interface.
+
+**EVALUATION:** This solution can be considered a suitable solution in order to introduce 5G subscription data without impacting or migrating legacy subscription data already provisioned, or impacting legacy HSS.
+
+**OPEN POINTS** if conclusion is to progress during normative work:
+
+- The solution does not address the case of IMS requests based on IMPU (e.g. T-ADS retrieval) that need to be translated into SUPI in order to obtain the right information, either from the 5GS UDR or from the AMF.
+- Solution #6 implies another combo node UDM/HSS FE, interfacing separate 5GS UDR and EPS UDR holding 5G and 4G/IMS data, respectively.
+
+The solution assumes coexistence of the combo UDM/HSS FE with legacy HSS/UDR (monolithic or layered) that keeps serving legacy 4G subscribers.
+
+The solution assumes impacts for migration of 4G/IMS profiles when separate repositories are used and requires the introduction of a Routing Function based on subscriber IMSI.
+
+**EVALUATION:** This solution can be considered as addressing the goals of the study as long as migration of legacy 4G data is acceptable for the 5G enabled subscribers. It does not require standardisation so normative work will not be pursued.
+
+### 7.1.4 Evaluation of solutions with common FEs with common repository
+
+Solutions 6 addresses the case of common repository and no separation of front ends. However, this solution does not address any of the goals of the study and thus it is not intended to be progressed as standardisation work.
+
+# --- 8 Conclusions
+
+## 8.1 For EPS and 5GS interworking required for mobility cases from EPS to 5GS and from 5GS to EPS, including the impacts on SMS handling
+
+Solution #2 is considered to progress as normative optional feature, both stage 2 and stage 3 for deployments in which upgrading legacy systems to service based architectures is a feasible/acceptable option for the network operator. A number of open issues listed in clause 7 need to be addressed during normative phase.
+
+CT WG4 is expected to take the responsibility of the normative specification work while SA WG2 will add relevant references in affected 5G specifications (TS 23.501 [6], TS 23.502 [2]).
+
+Solutions #3 and #6 are feasible alternatives in different scenarios where migration of subscription data or upgrades of legacy systems are not possible/feasible, and conclusion is to document them as implementation/deployment options, addressing the open issues in the relevant evaluation clauses.
+
+**Editor's note:** A 900 series TR will be created from this TR, to clearly document these solutions with reference to the CT WG4 TS for what relates to solution #2.
+
+## 8.2 For IMS and 5GS interworking required for T-ADS, P-CSCF restoration and NPLI retrieval
+
+Three different scenarios are addressed by the proposed solutions:
+
+- HSS as single point of contact for IMS (diameter based).
+
+- An UDM/HSS combo as single point of contact for IMS (diameter based).
+- IMS HSS/SLF as single point of contact for IMS (diameter based).
+
+To facilitate this, conclusion is to progress normative work for new service(s) with new service Request-Response operation(s) produced by UDM: for T-ADS (i.e. IMS over PS support) and NPLI (i.e. time stamp and RAT type), and for P-CSCF restoration. The decision about the number of operations is left for normative work.
+
+The operations can be consumed by HSS (as in solution #2) for scenarios in which HSS is the single point of contact for IMS (diameter based) interactions and adapted to SBA.
+
+The operations can be consumed by an IMS HSS when in stand-alone mode and acting as a single point of contact for a diameter-based IMS. This case would correspond to solution #2 when the HSS referred acts as IMS HSS and is adapted to SBA.
+
+NOTE 1: These new operations require coordination with the normative work derived from FS\_eIMS5G (TS 23.794 [14]).
+
+NOTE 2: Any Modification of TS 23.228 [7] to clarify the interactions between HSS, UDM and IMS will be coordinated with any normative work arising from FS\_eIMS5G (TS 23.794 [14]).
+
+Solutions #3 and #6 are feasible alternatives and concluded to be documented as implementation/deployment options.
+
+**Editor's note:** A 900 series TR will be created from this TR, to clearly document these solutions with reference to the CT WG4 TS for what relates to solution #2.
+
+# --- Annex A: Change history
+
+| Change history | | | | | | | | |
+|----------------|---------|-----------|----|-----|-----|-----------------------------------------------------------------|--|-------------|
+| Date | Meeting | TDoc | CR | Rev | Cat | Subject/Comment | | New version |
+| 2018-12 | SP#82 | SP-181099 | - | - | - | MCC editorial update for presentation to TSG SA#82 | | 1.0.0 |
+| 2019-03 | SP#83 | SP-181099 | - | - | - | MCC editorial update for presentation to TSG SA#83 for approval | | 2.0.0 |
+| 2019-03 | SP#83 | - | - | - | - | MCC editorial update for publication (Rel-16) | | 16.0.0 |
\ No newline at end of file
diff --git a/marked/Rel-16/23_series/23735/raw.md b/marked/Rel-16/23_series/23735/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..afba79fb806ff9ed386782ed42b333aaac94c01e
--- /dev/null
+++ b/marked/Rel-16/23_series/23735/raw.md
@@ -0,0 +1,613 @@
+
+
+
+
+
+
+# Contents
+
+| | |
+|-------------------------------------------------------------------------------------------------------------------------------|----|
+| Foreword ..... | 5 |
+| 1 Scope..... | 5 |
+| 2 References..... | 5 |
+| 3 Definitions and abbreviations ..... | 6 |
+| 3.1 Definitions..... | 6 |
+| 3.2 Abbreviations ..... | 6 |
+| 4 Stage 2 Requirements for enhancements of Public Warning System..... | 6 |
+| 5 Key issues ..... | 7 |
+| 5.1 Key Issue 1: Support of language-independent content mapped to an event or a disaster in a warning message ..... | 7 |
+| 5.1.1 General description..... | 7 |
+| 5.1.2 Open issues..... | 7 |
+| 5.2 Key Issue 2: Identification of characteristics of an event or a disaster for UEs with no user interface..... | 8 |
+| 5.2.1 General description..... | 8 |
+| 5.2.2 Open issues..... | 8 |
+| 5.3 Key Issue 3: Support of the relay of Warning Notification ..... | 8 |
+| 5.3.1 General description..... | 8 |
+| 5.3.2 Open issues..... | 8 |
+| 6 Solutions..... | 9 |
+| 6.1 Solution 1: Support of language-independent content mapped to an event or a disaster in a warning message ..... | 9 |
+| 6.1.1 Description ..... | 9 |
+| 6.1.2 Procedure..... | 9 |
+| 6.1.3 Impacts on existing nodes and functionality ..... | 9 |
+| 6.1.4 Solution Evaluation ..... | 9 |
+| 6.2 Solution 2: Identification of characteristics of an event or a disaster for UEs with no user interface ..... | 10 |
+| 6.2.1 Description ..... | 10 |
+| 6.2.2 Procedure..... | 11 |
+| 6.2.3 Impacts on existing nodes and functionality ..... | 11 |
+| 6.2.4 Solution Evaluation ..... | 11 |
+| 6.3 Solution 3: Support of the relay of Warning Notification..... | 11 |
+| 6.3.1 Description ..... | 11 |
+| 6.3.2 Procedure..... | 12 |
+| 6.3.3 Impacts on existing nodes and functionality ..... | 12 |
+| 6.3.4 Solution Evaluation ..... | 12 |
+| 6.4 Solution 4: Support of a stored language-independent content referenced by a warning message ..... | 12 |
+| 6.4.1 Description ..... | 12 |
+| 6.4.2 Procedure..... | 12 |
+| 6.4.3 Impacts on existing nodes and functionality ..... | 12 |
+| 6.4.4 Solution Evaluation ..... | 13 |
+| 6.5 Solution 5: Carrying characteristics of an event or a disaster for UEs with no user interface in the message payload..... | 13 |
+| 6.5.1 Description ..... | 13 |
+| 6.5.2 Procedure..... | 13 |
+| 6.5.3 Impacts on existing nodes and functionality ..... | 13 |
+| 6.5.4 Solution Evaluation ..... | 14 |
+| 7 Conclusions and recommendations..... | 14 |
+| 7.1 Conclusions ..... | 14 |
+| 7.1.1 Key issue 1: Support of language-independent content mapped to an event or a disaster in a warning message..... | 14 |
+| 7.1.2 Key issue 2: Identification of characteristics of an event or a disaster for UEs with no user interface ..... | 14 |
+| 7.1.3 Key issue 3: Support of the relay of Warning Notification..... | 14 |
+| 7.2 Recommendations..... | 14 |
+
+**Annex A: Classification of disasters..... 15**
+A.1 Statistic data per disaster type..... 15
+A.2 Classification of disaster group..... 16
+Annex B: Change history..... 19
+
+# --- Foreword
+
+This Technical Report has been produced by the 3rd Generation Partnership Project (3GPP).
+
+The contents of the present document are subject to continuing work within the TSG and may change following formal TSG approval. Should the TSG modify the contents of the present document, it will be re-released by the TSG with an identifying change of release date and an increase in version number as follows:
+
+Version x.y.z
+
+where:
+
+- x the first digit:
+ - 1 presented to TSG for information;
+ - 2 presented to TSG for approval;
+ - 3 or greater indicates TSG approved document under change control.
+- y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections, updates, etc.
+- z the third digit is incremented when editorial only changes have been incorporated in the document.
+
+# --- 1 Scope
+
+The present document studies and evaluates possible enhancements of Public Warning System(ePWS) to address the following objectives:
+
+- to develop stage 2 specifications to support stage 1 requirements on ePWS as follows
+ - 1) Specify how to support the language-independent contents (e.g. non-text based icon or image mapping to a disaster). In detail, this is to specify how to map the disaster by using symbols or images so that users can recognize the disaster in their screens. (It is a useful scenario for foreigners who do not know languages.)
+ - 2) Specify how to support UEs with no user interface or UEs with a user interface that is incapable of displaying text based warning notification. In detail, there is a specific requirement on UEs with no user interface or UEs with a user interface that can not display a text based warning notification. UEs with no user interface can be IoT device and it was intended that the device performs some dedicated actions when the warning notification is received.
+ - 3) Specify how to support relay functionality for providing warning notification.
+- to develop stage 3 specifications to support stage 1 requirements on ePWS.
+
+No new functionality for US WEA and Japan ETWS will be introduced.
+
+# --- 2 References
+
+The following documents contain provisions which, through reference in this text, constitute provisions of the present document.
+
+- References are either specific (identified by date of publication, edition number, version number, etc.) or non-specific.
+- For a specific reference, subsequent revisions do not apply.
+- For a non-specific reference, the latest version applies. In the case of a reference to a 3GPP document (including a GSM document), a non-specific reference implicitly refers to the latest version of that document *in the same Release as the present document*.
+
+- [1] 3GPP TR 21.905: "Vocabulary for 3GPP Specifications".
+
+- [2] 3GPP TS 22.268: "Public Warning System (PWS) requirements".
+ - [3] 3GPP TS 23.041: "Technical realization of Cell Broadcast Service (CBS)".
+ - [4] 3GPP TS 23.038: "Alphabets and language-specific information".
+ - [5] ECONOMIC LOSSES, POVERTY & DISASTERS 1998-2017, CRED and UNISDR
+ - [6] [www.emdat.be/classification](http://www.emdat.be/classification) (as of 27th August 2019)
+ - [7] CAP v1.2: "Common Alerting Protocol, version 1.2"
+-
+
+# 3 Definitions and abbreviations
+
+## 3.1 Definitions
+
+For the purposes of the present document, the terms and definitions given in 3GPP TR 21.905 [1] and the following apply. A term defined in the present document takes precedence over the definition of the same term, if any, in 3GPP TR 21.905 [1].
+
+## 3.2 Abbreviations
+
+For the purposes of the present document, the abbreviations given in 3GPP TR 21.905 [1] and the following apply. An abbreviation defined in the present document takes precedence over the definition of the same abbreviation, if any, in 3GPP TR 21.905 [1].
+
+---
+
+# 4 Stage 2 Requirements for enhancements of Public Warning System
+
+It is recognised that UEs with different or no user interface or with different roles (e.g. devices implemented as wrist bands with a tiny screen and a limited or no user interface, sensors that support a simple functionality such as the control for power on/off, or UEs with relay functionality) are on the market. In addition, as 5G brings the connected society with the application of the 3GPP system to non-ICT industry businesses, the number of such UEs in the market is expected to increase in the near future.
+
+In addition, the number of mobile users who internationally travel or live in other countries than their mother country without knowledge of the local language is increasing. So, other means than texts (e.g. globally standardised graphical symbols or images that are mapped to disasters or any event triggering to disseminate a Warning Notification) might be much more powerful and efficient to let such mobile users recognise what is happening from the Warning Notification they receive. UEs may have accessibility capabilities that help mobile users with disabilities (e.g. people with vision impairment) understand text-based and language-dependent Warning Notifications. Warning Notifications may also supplement current content of Warning Notification with additional content tailored to the needs of users with disabilities.
+
+Requirements described in clause 9 of 3GPP TS 22.268 [2] are specified to define behaviours suitable for UEs with no user interface (e.g. things with no display screen) or with a user interface incapable of displaying text-based Warning Notifications and to improve the comprehension of Warning Notification for UEs of users who are not fluent in the language of the Warning Notifications and UEs of users with disabilities who have UEs supporting assistive technologies beyond text assistive technologies.
+
+The relay functionality of UEs is specified to extend the coverage supported by 3GPP system. Requirements described in clause 10 of 3GPP TS 22.268 [2] are specified to define behaviors of UEs that play the role of a relay UE or a remote UE when receiving a Warning Notification via the relay functionality.
+
+In order to support requirements specified in clause 9 and clause 10 of 3GPP TS 22.268, the following requirements shall be addressed to enhance Public Warning System for UEs described above.
+
+- A Warning Notification shall be capable of supporting the inclusion of the information mapped to an event or a disaster that enables a UE with ePWS functionality to identify a warning message and render such information to the user.
+
+NOTE 1: How the information mapped to an event or a disaster included in a Warning Notification is rendered or displayed to a user depends on UE implementation unless the content to be displayed is provided from Warning Notification.
+
+NOTE 2: In case of a UE of a user who is not fluent about the language used in texts described in a Warning Notification, a language-independent content such as pictogram or Unicode symbol can be the information included in a Warning Notification.
+
+NOTE 3: In case of a UE of a user with disabilities that has a user interface providing accessibility extensions for such a user, the information mapped to an event or a disaster can be same as legacy texts that can be displayed in a better comprehensive way to such a user depending on UE implementation.
+
+- A Warning Notification shall be capable of supporting the inclusion of the information that enables UEs with no user interface (e.g. IoT devices such as an elevator, an automotive or a robot with no user interface that are connected to 3GPP networks) and with ePWS functionality to identify a warning message.
+
+NOTE 4: How a UE with no user interface and with ePWS functionality behaves depends on UE implementation when such a UE receives a Warning Notification.
+
+- A UE with ePWS functionality and the remote UE functionality shall be capable of receiving a Warning Notification transmitted from UEs with the relay functionality.
+- A UE with ePWS functionality and with the relay functionality shall be capable of unconditionally forwarding a Warning Notification broadcast received from the network.
+
+# --- 5 Key issues
+
+## 5.1 Key Issue 1: Support of language-independent content mapped to an event or a disaster in a warning message
+
+### 5.1.1 General description
+
+A text-based warning message can be understood by mobile users who know the language used in a text-based warning message. For users such as foreigners who are not fluent about the language used in a warning message, it is necessary to enable a language-independent content (e.g. a unicode symbol) mapped to an event or a disaster to be included in or referenced by a warning message in order to improve the comprehension of a warning message by such users.
+
+### 5.1.2 Open issues
+
+The following aspect should be studied and considered in proposed solutions.
+
+- How to enable a language-independent content (e.g. a unicode symbol) mapped to an event or a disaster to be included in a warning message or referenced by a warning message to a stored language-independent content, e.g. the warning message might contain an identifier of an image of a disaster (e.g. typhoon or hurricane) that is stored on the device
+
+## 5.2 Key Issue 2: Identification of characteristics of an event or a disaster for UEs with no user interface
+
+### 5.2.1 General description
+
+A UE with no user interface (e.g. elevator) is not able to take specific actions by reading a text-based warning message. In addition, characteristics of an event or a disaster (e.g. water in case of flooding, wind in case of hurricane or water and wind in case of typhoon) could be more appropriate to be notified to a UE with no user interface as well as the severity of an event or a disaster than a name of a disaster from the perspective of a UE with no user interface, i.e. things.
+
+In addition, each country has different kind of disasters that are critical to each country for public safety so it is desirable to describe characteristics of an event or a disaster rather than the kind of an event or a disaster in a message identifier dedicated to UEs with no user interface.
+
+### 5.2.2 Open issues
+
+The following aspects should be studied and considered in proposed solutions.
+
+- How to enable UEs with no user interface and with ePWS functionality to identify characteristics of an event or a disaster from a Warning Notification
+- How to describe characteristics of an event or a disaster in a Warning Notification in order to make UEs with no user interface and with ePWS functionality take specific actions based on the information of characteristics of an event or a disaster
+
+## 5.3 Key Issue 3: Support of the relay of Warning Notification
+
+### 5.3.1 General description
+
+The relay functionality is specified to extend coverage supported by 3GPP system. The relay of Warning Notification can be useful for users who are not able to receive warning messages and who are near the place where an event or a disaster is occurring. In addition, it is of critical importance to keep warning messages transmitted by authorities for a reasonable period of time in order to be able to relay them to other users who possibly have not had an opportunity to receive those warning messages.
+
+### 5.3.2 Open issues
+
+The following aspects should be studied and considered in proposed solutions.
+
+- How to enable remote UEs which support ePWS functionality and the reception of relayed Warning Notifications to receive Warning Notifications transmitted by a UE which supports the relay functionality
+- How to enable a UE with the relay functionality and ePWS functionality to forward a Warning Notification that is received from a 3GPP network
+- How to enable a UE which support ePWS functionality and the reception of relayed Warning Notifications that is out of network coverage to inquire of other UEs which support ePWS functionality as well as the relay functionality whether any Warning Notification messages have been received by the other UEs and to connect to such UE to receive those messages.
+
+# --- 6 Solutions
+
+## 6.1 Solution 1: Support of language-independent content mapped to an event or a disaster in a warning message
+
+### 6.1.1 Description
+
+This solution applies to Key Issue 1 – Support of language-independent content mapped to an event or a disaster in a warning message.
+
+Message identifiers related to additional languages (i.e. 4383 to 4395 and 4397) are specified for foreigners who do not know a local language in 3GPP TS 23.041 [3]. However, most countries do not support additional languages or they support or prepare for supporting only the English language. In some countries, a warning message with a message identifier related to a local language includes texts written in both the local language and an additional language (e.g. English).
+
+Considering conventional use of warning messages by authorities in different countries, it is necessary to enable language-independent content (e.g. a unicode symbol) to be included in a warning message for devices that have a conventional display screen that was assumed when legacy procedures of broadcasting warning messages were specified in 3GPP.
+
+### 6.1.2 Procedure
+
+The inclusion of the language-independent content mapped to an event or a disaster in a warning message should be supported over the legacy architecture of broadcasting warning messages.
+
+**NOTE:** Language-independent contents mapped to disasters need to be formatted to be suitable to be included in a warning message like texts. It may be a unicode symbol that are standardised in other standardisation bodies. It is desirable that standardised symbols mapped to disasters are applied in all countries that provides warning messages for public safety. This will make it possible for foreigners to intuitively understand the meaning of language-independent contents displayed to their devices.
+
+In order to include language-independent content such as unicode symbol, ISO is requested to define new characters mapping to specific pictograms that intuitively remind users of disasters. In addition, UEs with ePWS functionality should be capable of identifying such new characters if they are included in a warning message and displaying them to users.
+
+### 6.1.3 Impacts on existing nodes and functionality
+
+This solution is assumed to be applied over the legacy procedure and architecture and the language-independent content is assumed to be a compatible format as texts to be included in a warning message.
+
+So there is no impact on existing nodes and functionality in terms of the network architecture and network procedure of broadcasting warning messages.
+
+And this solution requires UEs with ePWS functionality to be capable of identifying new characters mapped to specific pictograms that represent disasters and displaying them to users.
+
+### 6.1.4 Solution Evaluation
+
+This solution solves Key Issue 1 based on legacy procedure and architecture of broadcasting warning messages over the 3GPP system.
+
+## 6.2 Solution 2: Identification of characteristics of an event or a disaster for UEs with no user interface
+
+### 6.2.1 Description
+
+This solution applies to Key Issue 2 – Identification of characteristics of an event or a disaster for UEs with no user interface.
+
+Things as devices capable of receiving warning messages, i.e. UEs with no user interface, were not assumed when the legacy procedure and architecture of broadcasting warning messages was specified in 3GPP. In near future, diverse forms of things as devices capable of receiving warning messages are expected to be launched in markets.
+
+However, legacy text-based warning messages can not be understood by UEs with no user interface and may be useless to make UEs with no user interface properly take actions for damage reduction or public safety when a legacy text-based warning message is received.
+
+So it is necessary to address how to make UEs with no user interface take actions for damage reduction or public safety when they receive the legacy form of a warning message broadcast over the legacy architecture of broadcasting warning messages.
+
+Disasters that may cause severe damages are different in countries (for example, hurricane causes severe damage in the east of the United State of America but there is no severe damage caused by hurricanes in Korea), which means that the finite set of disasters may not be possible to be listed. In addition, characteristics of disasters could be more useful information to be notified to things than the type of disaster.
+
+So it is desirable to define new message identifiers of warning messages targeted for things so that things can directly extract information on characteristics of a disaster from message identifiers.
+
+Legacy message identifiers specified in 3GPP TS 23.041 [3] are classified by following categories and support the indication of the risk level about a disaster to be alerted.
+
+- 4370 for a local language and 4383 for additional language: a warning message shall be always displayed.
+- 4371 to 4379 for a local language and 4384 to 4392 for additional language: a warning message shall be displayed when a user selects opt-in option.
+
+- 1) In case of CMAS CBS messages, 4371 to 4379 and 4384 to 4392 are classified by severity, urgency and certainty.
+ - 2) In case of EU-Alert messages, 4371 to 4379 and 4384 to 4392 are classified by level 1, level 2 and level 3.
+- 4352 for earthquake warning, 4353 for tsunami warning and 4354 for earthquake and tsunami warning by ETWS messages
+
+However, in most countries a single message identifier (e.g. 4371 in case of a local language) is conventionally used because authorities select high level of risk indications regardless of the risk level specified in 3GPP when a warning message is broadcast to users. Considering the conventional use of message identifiers, it might be good to simplify the risk level of disasters to be notified to things from authority's perspective as a user of public warning system.
+
+Therefore, it is desirable to define new message identifiers classified by following categories to inform things of characteristics of disasters.
+
+- one message identifier to make UEs with no user interface and with ePWS functionality always take action when a warning message is received
+- A group of message identifiers (e.g. the group of three message identifiers) per the characteristic (e.g. water) of disasters to indicate the risk level of characteristics of a disaster to be alerted. For example, three message identifiers per the characteristic of disasters can be defined to mean:
+ - a) both severity and urgency are high;
+ - b) severity is high but urgency is not high;
+ - c) severity is not high but urgency is high.
+
+Considering the conventional use of message identifiers and the important information about a disaster from things' perspective to decide whether proper action shall be taken immediately when receiving a warning message, the definition of new message identifiers targeted for things, i.e. UEs with no user interface and with ePWS functionality, should be described to take into account all aspects addressed above.
+
+### 6.2.2 Procedure
+
+Message identifiers from 4400 to 6399 are reserved for future PWS versions. A single new message identifier should be defined to make UEs with no user interface and with ePWS functionality always take pre-defined actions when a warning message is received like 4370 and 4383 regardless of the type of disasters and characteristics of a disaster.
+
+Example of characteristics of disasters or events that may cause serious damage to things is water, fire, pressure, wind, dust, chemical material and electricity. New message identifiers should be defined per the characteristic of disasters. A group of a few (e.g. three) message identifiers may need to be defined per the characteristic of disasters and a few message identifiers among a group may need to be defined to indicate the risk level of the characteristics of a disaster.
+
+NOTE 1: What number of reserved message identifiers are allocated is to be decided when the normative work starts.
+
+NOTE 2: How many characteristics of disasters are classified will be studied and reviewed by a few countries if possible and is to be decided when the normative work starts.
+
+NOTE 3: How many message identifiers among a group of message identifiers mapped to one of combined characteristics of disasters will be studied (e.g. three message identifiers to indicate the risk level are sufficient or not) and reviewed by a few countries if possible. Then, it will be decided when the normative work starts.
+
+### 6.2.3 Impacts on existing nodes and functionality
+
+This solution is assumed to be applied over the legacy procedure and architecture, so there is no impact on existing nodes and functionality in terms of network architecture and network procedure of broadcasting warning messages except for defining new message identifiers from 4400 to 6399 reserved for future PWS versions.
+
+### 6.2.4 Solution Evaluation
+
+This solution solves Key Issue 2 based on legacy procedure and architecture of broadcasting warning messages over the 3GPP system.
+
+## 6.3 Solution 3: Support of the relay of Warning Notification
+
+### 6.3.1 Description
+
+This solution applies to Key Issue 3 – Support of the relay of Warning Notification.
+
+The relay functionality was initially specified in 3GPP from the demand of public safety domain and then, other 5G vertical domains also have such demands to address their issues over 5G system. In order to satisfy such demands from diverse vertical domains including public safety domain over 5G system, studies related to the relay functionality supported over 5G system are ongoing in 3GPP to be targeted to start a normative work in 3GPP Release 17 as follows.
+
+- FS\_REFEC (Study on enhanced Relays for Energy eFficiency and Extensive Coverage) for Stage 1 study in SA WG1
+- FS\_5G\_ProSe (Study on System enhancement for Proximity based Services in 5GS) for Stage 2 study in SA WG2
+
+Considering current progress in 3GPP, devices with relay functionality and devices receiving relayed messages from devices with relay functionality are expected to be on market from 3GPP Release 17 onwards. So it is desirable not to specify solution 3 for support of the relay of Warning Notification in 3GPP Release 16 specification.
+
+### 6.3.2 Procedure
+
+NOTE: There is no specified procedure in 3GPP Release 16 because devices with relay functionality are expected to be on markets from 3GPP Release 17 onwards.
+
+### 6.3.3 Impacts on existing nodes and functionality
+
+There is no impact on existing nodes and functionality
+
+### 6.3.4 Solution Evaluation
+
+This solution solves Key Issue 3 based on legacy procedure and architecture of broadcasting warning messages over the 3GPP system.
+
+## 6.4 Solution 4: Support of a stored language-independent content referenced by a warning message
+
+### 6.4.1 Description
+
+This solution applies to Key Issue 1 – Support of language-independent content mapped to an event or a disaster in a warning message.
+
+It is recently recognised that devices incapable of displaying text-based warning messages (e.g. devices with an augmented reality-based user interface or devices with a hologram-based user interface) are expected to be launched. Considering the limited capacity of a warning message broadcast from authorities, legacy procedures for broadcasting warning messages do not allow contents to be properly displayed to such devices.
+
+Assuming that users have several devices capable of receiving warning messages broadcast from authorities, it is desirable to alert users by displaying a stored language-independent content referenced by a warning message. In such case, there might be the limit of the number of language-independent contents stored in devices incapable of displaying text-based warning messages because of the restriction of those devices (e.g. memory size).
+
+Devices incapable of displaying text-based warning messages, such as devices with a augmented reality-based user interface or devices with a hologram-based user interface, were not assumed when the legacy procedure and architecture of broadcasting warning messages was specified in 3GPP. In addition, legacy warning messages are broadcast with the single message identifier (e.g. 4371) in most countries that currently provide warning messages,
+
+regardless of the type and severity of disasters. So it is desirable to make a stored language-independent content of such device be referenced in order to be displayed to a user of such device when a warning message is received.
+
+### 6.4.2 Procedure
+
+Message identifiers specified for legacy UEs with the conventional display method (i.e. display screen to be able to present text-based warning messages) should be able to make UEs with ePWS functionality incapable of displaying text-based warning messages reference a stored language-independent content from such UEs when warning messages are received.
+
+UEs with ePWS functionality incapable of displaying text-based warning messages shall be capable of mapping message identifiers of received warning messages to contents stored in UEs with ePWS functionality.
+
+### 6.4.3 Impacts on existing nodes and functionality
+
+This solution is assumed to be applied over the legacy procedure and architecture by using legacy message identifiers to reference a stored language-independent content to be displayed to users.
+
+So there is no impact on existing nodes and functionality in terms of the network architecture and network procedure of broadcasting warning messages.
+
+And this solution requires UEs with ePWS functionality to be capable of mapping message identifiers of warning messages to contents stored in UEs with ePWS functionality.
+
+This solution does not require any changes of information sent over radio interface.
+
+How to manage a stored language-independent content is out of the scope of this solution and depends on the manufacturers' implementation.
+
+### 6.4.4 Solution Evaluation
+
+This solution solves Key Issue 1 based on legacy procedure and architecture of broadcasting warning messages over the 3GPP system.
+
+## 6.5 Solution 5: Carrying characteristics of an event or a disaster for UEs with no user interface in the message payload
+
+### 6.5.1 Description
+
+This solution applies to Key Issue 2 – Identification of characteristics of an event or a disaster for UEs with no user interface.
+
+Things as devices capable of receiving warning messages, i.e. UEs with no user interface, were not assumed when the legacy procedure and architecture of broadcasting warning messages was specified in 3GPP. In the near future, diverse forms of things as devices capable of receiving warning messages are expected to be launched in markets.
+
+However, legacy text-based warning messages cannot be understood by UEs with no user interface and may be useless to make UEs with no user interface properly take appropriate action when a legacy text-based warning message is received.
+
+Therefore, it is necessary to address how to make UEs with no user interface take appropriate actions when they receive the legacy form of a warning message broadcast over the legacy architecture of broadcasting warning messages.
+
+Disasters have different characteristics in different countries, which means that it may not be possible to list an exhaustive list of disasters, but characteristics of disasters could be more useful information to be notified to things than the type of disaster.
+
+The content of the message could be a CAP message, which would make the characteristics independent of 3GPP specifications.
+
+The CAP v1.2 [7] protocol provides a generic format to relay warning messages, but the format is in XML which needs to be compressed (economized) in order to relay it in a CB message. The message identifier would relate to the device class (e.g. a device that understands a CAP payload) and not to an event.
+
+### 6.5.2 Procedure
+
+Legacy Warning Message Delivery as specified in TS 23.041 [3] would be used but a specific message identifier would need to be allocated to identify messages that have a CAP payload.
+
+The CB Data element (payload of CB message) is populated with a compressed version of a CAP message. The compression format is out of scope of the present study.
+
+Alternatively, the CB Data element could consist of one or more numbers which could be the same as the message identifiers that would be allocated in solution 2 to identify event characteristics.
+
+### 6.5.3 Impacts on existing nodes and functionality
+
+There is no impact on existing nodes and functionality in terms of the network architecture and network procedure of broadcasting warning messages.
+
+This solution requires UEs with ePWS functionality to be capable of parsing the compressed CAP message in the CB Data element in order to take appropriate action.
+
+### 6.5.4 Solution Evaluation
+
+This solution is an alternative to solution 2. The information about the disaster is carried in the payload (i.e. CB Data element) rather than in the value of the message identifier. The CAP elements allow characterizing the disaster and also the action that needs to be taken.
+
+Adding new characteristics of events is done in the CAP payload and is flexible and independent of 3GPP specifications.
+
+# --- 7 Conclusions and recommendations
+
+## 7.1 Conclusions
+
+### 7.1.1 Key issue 1: Support of language-independent content mapped to an event or a disaster in a warning message
+
+Solution 1 and solution 4 are recommended for normative work to support language-independent content mapped to an event or a disaster in a warning message.
+
+### 7.1.2 Key issue 2: Identification of characteristics of an event or a disaster for UEs with no user interface
+
+Solution 2 is recommended for normative work to address the identification of characteristics of an event or a disaster for UEs with no user interface based on legacy procedure and architecture of broadcasting warning message over the 3GPP system.
+
+### 7.1.3 Key issue 3: Support of the relay of Warning Notification
+
+For key issue 3, it is recommended that no solution be specified for normative work in 3GPP Release 16 specification.
+
+## 7.2 Recommendations
+
+It is recommended to start the normative work based on the conclusions described in clause 7.1 to address key issues described in chapter 4.
+
+# Annex A: Classification of disasters
+
+## A.1 Statistic data per disaster type
+
+UNISDR (United Nations Office for Disaster Risk Reduction) which is now renamed as UNDRR (UN Office for Disaster Risk Reduction) published the report [5] by the collaboration with CRED (Centre for Research on the Epidemiology of Disasters) and its report describes the statistic data on what kind of disasters cause economic loss as well as human death in the world from 1998 to 2017.
+
+According to the report [5], the number of disasters per type from 1998 to 2017 is as follows.
+
+**Table A.1-1: Number of disasters per type from 1998 to 1997**
+
+| Disaster | Flood | Storm | Earthquake | Extreme temperature | Landslide | Drought | Wildfire | Volcanic activity | Mass movement (dry) |
+|------------|-------|-------|------------|---------------------|-----------|---------|----------|-------------------|---------------------|
+| Number | 3,148 | 2,049 | 563 | 405 | 378 | 347 | 254 | 99 | 12 |
+| Percentage | 43.4% | 28.2% | 7.8% | 5.6% | 5.2% | 4.8% | 3.5% | 1.4% | 0.2% |
+
+In addition, pictograms mapped to disasters described in Table A.1-1 are described in the report [5].
+
+Disaster type responsible for the majority losses in top 10 countries or territories is also provided in its report [5] as follows.
+
+**Table A.1-2: Disaster type responsible for the majority losses in top 10 countries or territories from 1998 to 1997**
+
+| Disaster | Earthquake | Earthquake & Tsunami | Storm | Extreme temperature | Flood | Drought |
+|----------|------------|----------------------|-------|---------------------|-------|---------|
+|----------|------------|----------------------|-------|---------------------|-------|---------|
+
+In addition, the number of people affected and the number of deaths per disaster type from 1998 to 2017 are also provided in its report [5] as follows.
+
+- The number of people affected per disaster type from 1998 to 2017
+ - 1) Flood: 2.0 billion (45% of all disaster types)
+ - 2) Drought: 1.5 billion (33% of all disaster types)
+ - 3) Storm: 726 million (16% of all disaster types)
+ - 4) Earthquake: 125 million (3% of all disaster types)
+ - 5) Extreme temperature: 97 million (2% of all disaster types)
+ - 6) Wildfire, volcanic activity, mass movement (dry): 6.2 million (0.1% of all disaster types)
+ - 7) Landslide: 4.8 million (0.1% of all disaster types)
+- The number of deaths per disaster type from 1998 to 2017
+ - 1) Earthquake: 747,234 deaths (56% of all disaster types)
+ - 2) Storm: 232,680 deaths (17% of all disaster types)
+ - 3) Extreme temperature: 166,346 deaths (13% of all disaster types)
+ - 4) Flood: 142,088 deaths (11% of all disaster types)
+ - 5) Drought: 21,563 deaths (2% of all disaster types)
+
+- 6) Landslide: 18,414 deaths (1% of all disaster types)
+- 7) Wildfire, volcanic activity, mass movement (dry): 2,398 deaths (0.2% of all disaster types)
+
+Based on the reported economic losses per climate-related disaster type and per geophysical disaster type, following list is also provided in its report [5] as follows.
+
+- Reporting of economic losses per disaster type (climate-related)
+ - 1) Storm: 55% reported
+ - 2) Wildfire: 41% reported
+ - 3) Flood: 32%
+ - 4) Drought: 29%
+ - 5) Landslide: 13%
+ - 6) Extreme temperature: 11%
+- Reporting of economic losses per disaster type (geophysical)
+ - 1) Earthquake: 43% reported
+ - 2) Volcanic activity: 11% reported
+ - 3) Mass movement (dry): 8%
+
+## A.2 Classification of disaster group
+
+The classification of disaster group is defined in EM-DAT website by CRED website [6] as follows.
+
+The disaster group is classified into the group of natural disaster and the group of technological disaster. The group of natural disaster is classified as disaster subgroups described in Table A.2-1 and the group of technological disaster is classified as disaster subgroups described in Table A.2-2.
+
+**Table A.2-1: General classification of natural disaster group**
+
+| Disaster Subgroup | Definition | Disaster Main Type |
+|-------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------|
+| Geophysical | A hazard originating from solid earth. This term is used interchangeably with the term geological hazard. | Earthquake |
+| | | Mass Movement (dry) |
+| | | Volcanic activity |
+| Meteorological | A hazard caused by short-lived, micro- to meso-scale extreme weather and atmospheric conditions that last from minutes to days | Extreme Temperature |
+| | | Fog |
+| | | Storm |
+| Hydrological | A hazard caused by the occurrence, movement, and distribution of surface and subsurface freshwater and saltwater. | Flood |
+| | | Landslide |
+| | | Wave action |
+| Climatological | A hazard caused by long-lived, meso- to macro-scale atmospheric processes ranging from intra-seasonal to multi-decadal climate variability | Drought |
+| | | Glacial Lake Outburst |
+| | | Wildfire |
+| Biological | A hazard caused by the exposure to living organisms and their toxic substances (e.g. venom, mold) or vector-borne diseases that they may carry. Examples are venomous wildlife and insects, poisonous plants, and mosquitoes carrying disease-causing agents such as parasites, bacteria or viruses (e.g. malaria). | Epidemic |
+| | | Insect infestation |
+| | | Animal Accident |
+| Extraterrestrial | A hazard caused by asteroids, meteoroids, and comets as they pass near-earth, enter the Earth's atmosphere, and/or strike the Earth, and by changes in interplanetary conditions that affect the Earth's magnetosphere, ionosphere, and thermosphere. | Impact |
+| | | Space weather |
+
+**Table A.2-2: General classification of technological disaster**
+
+| Disaster Subgroup | Disaster Main Type |
+|------------------------|--------------------|
+| Industrial accident | Chemical spill |
+| | Collapse |
+| | Explosion |
+| | Fire |
+| | Gas leak |
+| | Poisoning |
+| | Radiation |
+| | Oil spill |
+| | Other |
+| Transport accident | Air |
+| | Road |
+| | Rail |
+| | Water |
+| Miscellaneous accident | Collapse |
+| | Explosion |
+| | Fire |
+| | Other |
+
+In addition, each disaster subgroup in case of the group of natural disaster is classified into several disaster sub-type and disaster sub-sub-type and it is also described in Table A.2-3 to Table A.2-8.
+
+**Table A.2-3: Classification of geophysical disaster subgroup**
+
+| Disaster Subgroup | Disaster Main Type | Disaster Sub-Type | Disaster Sub-Sub-Type |
+|-------------------|---------------------|-------------------|-----------------------|
+| Geophysical | Earthquake | Ground movement | |
+| | | Tsunami | |
+| | Mass Movement (dry) | Rock fall | |
+| | | Landslide | |
+| | Volcanic activity | Ash fall | |
+| | | Lahar | |
+| | | Pyroclastic flow | |
+| | | Lava flow | |
+
+**Table A.2-4: Classification of geophysical disaster subgroup**
+
+| Disaster Subgroup | Disaster Main Type | Disaster Sub-Type | Disaster Sub-Sub-Type |
+|-------------------|---------------------|--------------------------|-----------------------|
+| Meteorological | Storm | Extra-tropical storm | |
+| | | Tropical storm | |
+| | | Convective storm | |
+| | | Derecho | |
+| | | Hail | |
+| | | Lightning/thunderstorm | |
+| | | Rain | |
+| | | Tornado | |
+| | | Sand/dust storm | |
+| | | Winter storm/blizzard | |
+| | Extreme Temperature | | Storm/surge |
+| | | | Wind |
+| | | | Severe storm |
+| | Fog | Cold wave | |
+| | | Heat wave | |
+| | | Severe winter conditions | Snow/ice |
+| | | Frost/freeze | |
+
+**Table A.2-5: Classification of hydrological disaster subgroup**
+
+| Disaster Subgroup | Disaster Main Type | Disaster Sub-Type | Disaster Sub-Sub-Type |
+|-------------------|--------------------|---------------------------------------------|-----------------------|
+| Hydrological | Flood | Coastal flood | |
+| | | Riverine flood | |
+| | | Flash flood | |
+| | | Ice jam flood | |
+| | Landslide | Avalanche (snow, debris, mudflow, rockfall) | |
+| | Wave action | Rogue wave | |
+| | | Seiche | |
+
+**Table A.2-6: Classification of climatological disaster subgroup**
+
+| Disaster Subgroup | Disaster Main Type | Disaster Sub-Type | Disaster Sub-Sub-Type |
+|-------------------|-----------------------|----------------------------------|-----------------------|
+| Climatological | Drought | | |
+| | Glacial Lake Outburst | | |
+| | Wildfire | Forest Fire | |
+| | | Land fire : Brush, bush, pasture | |
+
+**Table A.2-7: Classification of biological disaster subgroup**
+
+| Disaster Subgroup | Disaster Main Type | Disaster Sub-Type | Disaster Sub-Sub-Type |
+|-------------------|--------------------|-------------------|-----------------------|
+| Biological | Epidemic | Viral disease | |
+| | | Bacterial disease | |
+| | | Parasitic disease | |
+| | | Fungal disease | |
+| | | Prion disease | |
+| | Insect infestation | Grasshopper | |
+| | | Locust | |
+| | Animal Accident | | |
+| | | | |
+
+**Table A.2-8: Classification of extraterrestrial disaster subgroup**
+
+| Disaster Subgroup | Disaster Main Type | Disaster Sub-Type | Disaster Sub-Sub-Type |
+|-------------------|--------------------|---------------------|-----------------------|
+| Extraterrestrial | Impact | Airburst | |
+| | Space weather | Energetic particles | |
+| | | Geomagnetic storm | |
+| | | Shockwave | |
+
+# Annex B: Change history
+
+| Change history | | | | | | | |
+|----------------|---------|-----------|----|-----|-----|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------|
+| Date | Meeting | TDoc | CR | Rev | Cat | Subject/Comment | New version |
+| 2018-11 | | | | | | Initial draft | 0.0.1 |
+| 2018-12 | CT1#113 | | | | | Implementation of the following P-CRs from CT1#113:
C1-188811, C1-188812, C1-188813.
Editorial changes by rapporteur. | 0.1.0 |
+| 2019-01 | CT1#114 | | | | | Implementation of the following P-CRs from CT1#114:
C1-190385, C1-190386, C1-190387, C1-190650,
C1-190651.
Editorial changes by rapporteur. | 0.2.0 |
+| 2019-04 | CT1#116 | C1-192461 | | | | Clarification on the description of the clause 4 | 0.3.0 |
+| 2019-04 | CT1#116 | C1-192462 | | | | Clarification on the description of the clause 5.1 and the clause 5.2 | 0.3.0 |
+| 2019-04 | CT1#116 | C1-192463 | | | | Clarification on the description of the clause 5.3 | 0.3.0 |
+| 2019-04 | CT1#116 | C1-192464 | | | | Solution 1 for the support of a language-independent content mapped to an event or a disaster in a warning message and Solution 4 for the support of a stored language-independent content referenced by a warning message | 0.3.0 |
+| 2019-04 | CT1#116 | C1-192797 | | | | Solution 2 for the identification of characteristics of an event or a disaster for things with no user interface | 0.3.0 |
+| 2019-04 | CT1#116 | C1-192148 | | | | Solution 3 for support of the relay of Warning Notification | 0.3.0 |
+| 2019-06 | CT-84 | CP-191149 | | | | Version 1.0.0 presented for information to TSG CT | 1.0.0 |
+| 2019-08 | CT1#119 | C1-194730 | | | | Solution for carrying characteristics of an event or a disaster for UEs with no user interface in the message payload | 1.1.0 |
+| 2019-08 | CT1#119 | C1-194732 | | | | pCR on Annex A (Informative) | 1.1.0 |
+| 2019-08 | CT1#119 | C1-194731 | | | | pCR on solutions in clause 7.1 | 1.1.0 |
+| 2019-08 | CT1#119 | C1-194125 | | | | pCR on recommendations in clause 7.2 | 1.1.0 |
+| 2019-09 | CT#85 | CP-192086 | | | | Presentation for approval at TSG CT | 2.0.0 |
+| 2019-09 | CT#85 | | | | | Version 2.0.0 created after approval | 16.0.0 |
\ No newline at end of file