oipf logo

Open IPTV Forum
Release 2 Specification

Volume 4 - Protocols

[V2.3] - [2014-01-24]

Postal Address
Open IPTV Forum support office
650 Route des Lucioles - Sophia Antipolis
Valbonne - FRANCE
Tel.: +33 4 92 94 43 83
Fax: +33 4 92 38 52 90

Internet
http://www.oipf.tv

Disclaimer
The Open IPTV Forum accepts no liability whatsoever for any use of this document.

Copyright Notification
No part may be reproduced except as authorized by written permission.
Any form of reproduction and/or distribution of these works is prohibited.
Copyright 2014 © Open IPTV Forum e.V.
All rights reserved.


Abstract

This Technical Specification (TS) has been produced by the Open IPTV Forum.

This specification provides multiple options for some features. The Open IPTV Forum Profiles specification complements the Release 2 specifications by defining the Open IPTV Forum implementation and deployment profiles. This document is Volume 4 in the 10 Volume set of specifications that define the Open IPTV Forum Release 2 Solution.

The other Volumes in the set are:

This document specifies the protocols over the following reference point interfaces defined in the Open IPTV Forum Release 2 Architecture specification [OIPF_ARCH2].

The requirements for these interfaces are derived from the following sources:

Contents

Figures

Tables

1. References

1.1 Normative references

[3G-SEC]3GPP, TS 33.203, "3G security; Access security for IP-based services"
[AAC]ISO/IEC, 14496-3:2009, "Information Technology - Coding of audio-visual objects - Part 3: Audio".
[ADDR]IETF, RFC 1918, "Address Allocation for Private Internets" URL: http://tools.ietf.org/html/rfc1918
[AFSPDF]ETSI, TS 183 017, "Telecommunications and Internet Converged Services and Protocols for Advanced Networking (TISPAN);Resource and Admission Control: DIAMETER protocol for session based policy set-up information exchange between the Application Function (AF) and the Service Policy Decision Function (SPDF);Protocol specification"
[ATIS-IDSA]ATIS, ATIS-0800006, IIF Default Scrambling Algorithm (IDSA)
[BCG]ETSI, TS 102 539, "Digital Video Broadcasting (DVB);Carriage of Broadband Content Guide (BCG) information over Internet Protocol (IP)"
[CEA-2014-A]Consumer Electronics Association, CEA-2014-A, "Web-based Protocol Framework for Remote User Interface on UPnP Networks and the Internet (Web4CE)", (including the August 2008 Errata)
[CHNG]ETSI, ES 282 010, "Telecommunications and Internet converged Services and Protocols for Advanced Networking (TISPAN); Charging"
[CLSLESS]IETF, RFC 3442, "The Classless Static Route Option for Dynamic Host Configuration Protocol (DHCP) version 4" URL: http://tools.ietf.org/html/rfc3442
[DHCP-OPT]IETF, RFC 2132, "DHCP Options and BOOTP Vendor Extensions" URL: http://tools.ietf.org/html/rfc2132
[DHCP-VND]IETF, RFC 3925, "Vendor-Identifying Vendor Options for Dynamic Host Configuration Protocol version 4 (DHCPv4)" URL: http://tools.ietf.org/html/rfc3925
[DIAM]ETSI, TS 183 033, "Telecommunications and Internet converged Services and Protocols for Advanced Networking (TISPAN);IP Multimedia; Diameter based protocol for the interfaces between the Call Session Control Function and the User Profile Server Function/Subscription Locator Function; Signalling flows and protocol details" [3GPP TS 29.228 V6.8.0 and 3GPP TS 29.229 V6.6.0, modified]
[DIAMCHG]3GPP, TS 32.299, "Telecommunication management; Charging management; Diameter charging applications (Release 8)"
[DLNA]DLNA, IEC, 62481-2, Digital living network alliance (DLNA) home networked device interoperability guidelines – Part 2: Media Formats, ed1.0 (2007-08).
[DVB-SC]ETSI, TS 103 197 V1.5.1, "Digital Video Broadcasting (DVB); Head-end implementation of DVB SimulCrypt", March 2007.
[ES282003]ETSI, ES 282 003, "Resource and Admission Control Sub-system (RACS) - Functional architecture"
[ES283002]ETSI, ES 283 002, "Telecommunications and Internet converged Services and Protocols for Advanced Networking (TISPAN);H.248 Profile for controlling Access and Residential Gateways"
[ES283003]ETSI, ES 283 003, "Telecommunications and Internet converged Services and Protocols for Advanced Networking (TISPAN);IP Multimedia Call Control based on Session Initiation Protocol (SIP) and Session Description Protocol (SDP) Stage 3" [3GPP TS 24.229 [Release 7], modified]
[FCC]DVB BlueBook A152 (08/10), "Server-Based Fast Channel Change in DVB-IPTV Systems"
[FEC]IETF, RFC 4756, "Forward Error Correction Grouping Semantics in Session Description Protocol" URL: http://tools.ietf.org/html/rfc4756
[FLUTE]IETF, RFC 3926, "FLUTE - File Delivery over Unidirectional Transport" URL: http://tools.ietf.org/html/rfc3926
[GAA]3GPP, TS 33.220, "Generic Authentication Architecture (GAA); Generic bootstrapping architecture"
[HTTP]IETF, RFC 2616, "Hypertext Transfer Protocol -- HTTP/1.1" URL: http://tools.ietf.org/html/rfc2616
[HTTPAUTH]IETF, RFC 2617, "HTTP Authentication: Basic and Digest Access Authentication" URL: http://tools.ietf.org/html/rfc2617
[IGMP3]IETF, RFC 3376, "Internet Group Management Protocol, Version 3" URL: http://tools.ietf.org/html/rfc3376
[INFO-PKG]IETF, RFC 6086, "Session Initiation Protocol (SIP) INFO Method and Package Framework" URL: http://tools.ietf.org/html/rfc6086
[MPEG2TS]ISO/IEC, 13818-1:2000/Amd.3:2004, "Generic coding of moving pictures and associated audio information: Systems".
[NASS-E4]ETSI, ES 283 034, "Telecommunications and Internet converged Services and Protocols for Advanced Networking (TISPAN); Network Attachment Sub-System (NASS); e4 interface based on the DIAMETER protocol"
[OFRANSR]IETF, RFC 3264, "An Offer/Answer Model with the Session Description Protocol (SDP)" URL: http://tools.ietf.org/html/rfc3264
[PORTMAP]IETF, RFC 6284, "Port Mapping Between Unicast and Multicast RTP Sessions" URL: http://tools.ietf.org/html/rfc6284
[PSS]3GPP, TS 26.234v750, "Transparent end to end packet switched streaming service (PSS) – Protocols and Codecs"
[PSS-MBMS]3GPP, TS 26.237, "IP Multimedia Subsystem (IMS) based Packet Switch Streaming (PSS) and Multimedia Broadcast/Multicast Service (MBMS) User Service; Protocols (Release 8)"
[RACS-RE]ETSI, TS 183 060. "Telecommunications and Internet converged Services and Protocols for Advanced Networking (TISPAN); Resource and Admission Control Subsystem (RACS); Re interface based on the DIAMETER protocol"
[RAMS]IETF, RFC 6285, "Unicast-Based Rapid Acquisition of Multicast RTP Sessions" URL: http://tools.ietf.org/html/rfc6285
[RFC2045]IETF, RFC 2045, "Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies" URL: http://tools.ietf.org/html/rfc2045
[RFC2837]IETF, RFC 2387, "The MIME Multipart/Related Content-type" URL: http://tools.ietf.org/html/rfc2637
[RFC3016]IETF, RFC 3016, "RTP Payload Format for MPEG-4 Audio/Visual Streams" URL: http://tools.ietf.org/html/rfc3016
[RFC3376]IETF, RFC 3376, "Internet Group Management Protocol, Version 3" URL: http://tools.ietf.org/html/rfc3376
[RFC3420]IETF, RFC 3420, "Internet Media Type message/sipfrag" URL: http://tools.ietf.org/html/rfc3420
[RFC3515]IETF, RFC 3515, "The Session Initiation Protocol (SIP) REFER Method" URL: http://tools.ietf.org/html/rfc3515
[RFC3550]IETF, RFC 3550, "RTP: A Transport Protocol for Real-Time Applications" URL: http://tools.ietf.org/html/rfc3550
[RFC3551]IETF, RFC 3551, "RTP Profile for Audio and Video Conferences with Minimal Control" URL: http://tools.ietf.org/html/rfc3551
[RFC3588]IETF, RFC 3588, "Diameter Base Protocol" URL: http://tools.ietf.org/html/rfc3588
[RFC3640]IETF, RFC 3640, "RTP Payload Format for Transport of MPEG-4 Elementary Streams" URL: http://tools.ietf.org/html/rfc3640
[RFC3840]IETF, RFC 3840, "Indicating User Agent Capabilities in the Session Initiation Protocol (SIP)" URL: http://tools.ietf.org/html/rfc3841
[RFC3841]IETF, RFC 3841, "Caller Preferences for the Session Initiation Protocol (SIP)" URL: http://tools.ietf.org/html/rfc3841
[RFC3890]IETF, RFC 3890, "A Transport Independent Bandwidth Modifier for the Session Description Protocol (SDP) URL: http://tools.ietf.org/html/rfc3890
[RFC3891]IETF, RFC 3891, "The Session Initiation Protocol (SIP) "Replaces" Header" URL: http://tools.ietf.org/html/rfc3891
[RFC3903]IETF, RFC 3903, "Session Initiation Protocol (SIP) Extension for Event State Publication" URL: http://tools.ietf.org/html/rfc3903
[RFC3926]IETF, RFC 3926, "FLUTE - File Delivery over Unidirectional Transport" URL: http://tools.ietf.org/html/rfc3926
[RFC3984]IETF, RFC 3984, "RTP Payload Format for H.264 Video" URL: http://tools.ietf.org/html/rfc3984
[RFC3986]IETF, RFC 3986, "Uniform Resource Identifier (URI): Generic Syntax" URL: http://tools.ietf.org/html/rfc3986
[RFC3994]IETF, RFC 3994, "Indication of Message Composition for Instant Messaging" URL: http://tools.ietf.org/html/rfc3994
[RFC4122]IETF, RFC 4122, "A Universally Unique Identifier (UUID) Namespace" URL: http://tools.ietf.org/html/rfc4122
[RFC4588]IETF, RFC 4588, "RTP Retransmission Payload Format" URL: http://tools.ietf.org/html/rfc4588
[RFC4605]IETF, RFC 4605, "Internet Group Management Protocol (IGMP) / Multicast Listener Discovery (MLD)-Based Multicast Forwarding ("IGMP/MLD Proxying")" URL: http://tools.ietf.org/html/rfc4605
[RFC4629]IETF, RFC 4629, "RTP Payload Format for ITU-T Rec. H.263 Video" URL: http://tools.ietf.org/html/rfc4629
[RFC4749]IETF, RFC 4749, "RTP Payload Format for the G.729.1 Audio Codec" URL: http://tools.ietf.org/html/rfc4749
[RFC4787]IETF, RFC 4787, "Network Address Translation (NAT) Behavioural Requirements for Unicast UDP" URL: http://tools.ietf.org/html/rfc4787
[RFC4867]IETF, RFC 4867, "RTP Payload Format and File Storage Format for the AMR and AMR-WB Audio Codecs" URL: http://tools.ietf.org/html/rfc4867
[RFC4961]IETF, RFC 4961, "Symmetric RTP/RTP Control Protocol (RTCP)" URL: http://tools.ietf.org/html/rfc4961
[RFC4975]IETF, RFC 4975, "The Message Session Relay Protocol (MSRP)" URL: http://tools.ietf.org/html/rfc4975
[RFC5404]IETF, RFC 5404, "RTP Payload Format for G.719" URL: http://tools.ietf.org/html/rfc5404
[RFC5626]IETF, RFC 5626, "Managing Client-Initiated Connections in the Session Initiation Protocol (SIP)" URL: http://tools.ietf.org/html/rfc5626
[RFC5627]IETF, RFC 5627, "Obtaining and Using Globally Routable User Agent URIs (GRUU) in the Session Initiation Protocol (SIP)" URL: http://tools.ietf.org/html/rfc5627
[RTCP-XR]IETF, RFC 3611, "RTP Control Protocol Extended Reports (RTCP XR)" URL: http://tools.ietf.org/html/rfc3611
[RTP]IETF, RFC 3550, "RTP: A Transport Protocol for Real-Time Applications" URL: http://tools.ietf.org/html/rfc3550
[RTSP]IETF, RFC 2326, "Real Time Streaming Protocol (RTSP)" URL: http://tools.ietf.org/html/rfc2326
[RTSP2-AN]IETF, draft-stiemerling-rtsp-announce-01, "RTSP 2.0 Asynchronous Notification"
[SDP]IETF, RFC 4566, "SDP: Session Description Protocol" URL: http://tools.ietf.org/html/rfc4566
[SDP-RTCP]IETF, RFC 3556, "Session Description Protocol (SDP) Bandwidth Modifiers for RTP Control Protocol (RTCP) Bandwidth" URL: http://tools.ietf.org/html/rfc3556
[SDP-TCP]IETF, RFC 4145, "TCP-Based Media Transport in the Session Description Protocol (SDP)" URL: http://tools.ietf.org/html/rfc4145
[SES-TIMR]IETF, RFC 4028, "Session Timers in the Session Initiation Protocol (SIP)" URL: http://tools.ietf.org/html/rfc4028
[SHA-1]U.S. Department of Commerce/National Institute of Standards and Technology, FIPS PUB 180-1, "Secure Hash Standard"
[SIP]IETF, RFC 3261, "SIP: Session Initiation Protocol" URL: http://tools.ietf.org/html/rfc3261
[SIP-CFG]IETF, RFC 6080, "A Framework for Session Initiation Protocol User Agent Profile Delivery" URL: http://tools.ietf.org/html/rfc6080
[SIP-EVNT]IETF, RFC 3265, "Session Initiation Protocol (SIP)-Specific Event Notification" URL: http://tools.ietf.org/html/rfc3265
[SIP-IM]IETF, RFC 3428, "Session Initiation Protocol (SIP) Extension for Instant Messaging" URL: http://tools.ietf.org/html/rfc3428
[SIP-PRES]IETF, RFC 3856, "A Presence Event Package for the Session Initiation Protocol (SIP)" URL: http://tools.ietf.org/html/rfc3856
[SIP-REG]IETF, RFC 3680, "A Session Initiation Protocol (SIP) Event Package for Registrations" URL: http://tools.ietf.org/html/rfc3680
[SMPL-IM]OMA, OMA-TS-SIMPLE_IM-V1_0-20100322-C, "Instant Messaging using SIMPLE"
[SMPL-PRES]OMA, OMA-ERP-Presence_SIMPLE-V1_1-20080627-A, "Presence SIMPLE Specification"
[SRVCONT]3GPP, TS 24.237, "IP Multimedia (IM) Core Network (CN) subsystem IP Multimedia Subsystem (IMS) service continuity; Stage 3"
[TR069]Broadband Forum, TR-069 Amendment 2, "CPE WAN Management Protocol v1.1" URL: http://www.broadband-forum.org/technical/download/TR-069_Amendment-2.pdf
[TR098]Broadband Forum, TR-098, "Internet Gateway Device Data Model for TR-069" URL: http://www.broadband-forum.org/technical/download/TR-098_Amendment-2.pdf
[TR104]Broadband Forum, TR-104, "DSLHome™ Provisioning Parameters for VoIP CPE" URL:
[TR106]Broadband Forum, TR-106, "Data Model Template for TR-069 Enabled Devices" URL: http://www.broadband-forum.org/technical/download/TR-106_Amendment-7.pdf
[TR135]Broadband Forum, TR-135, "Data Model for a TR-069 Enabled STB" URL: http://www.broadband-forum.org/technical/download/TR-135_Amendment-3.pdf
[TS102034]ETSI, TS 102 034 V1.4.1 (2007-10), "Digital Video Broadcasting (DVB); Transport of MPEG-2 TS Based DVB Services over IP Networks".
[TS124503]ETSI, TS 124 503, "Digital cellular telecommunications system (Phase 2+); Universal Mobile Telecommunications System (UMTS); TISPAN; IP Multimedia Call Control Protocol based on Session Initiation Protocol (SIP) and Session Description Protocol (SDP) Stage 3" [3GPP TS 24.229 (Release 7), modified] (3GPP TS 24.503 Release 8)
[TS181005]ETSI, TS 181 005 V3.3.1 (2009-12), "TISPAN Service and Capability Requirements".
[TS183019]ETSI, TS 183 019, "Network Attachment: User-Network protocol Interface Definitions"
[TS183063]ETSI, TS 183 063, "Telecommunications and Internet converged Services and Protocols for Advanced Networking (TISPAN);IMS-based IPTV stage 3 specification", Release 3
[TS26114]3GPP, TS 26.114, "IP Multimedia Subsystem (IMS); Multimedia telephony; Media handling and interaction".
[TVA-MD]ETSI, TS 102 822-3-1, "Broadcast and On-line Services: Search, select, and rightful use of content on personal storage systems ("TV-Anytime Phase 1"); Part 3: Metadata; Sub-part 1: Metadata schemas"
[UB-UA]3GPP, TS 24.109, "Bootstrapping interface (Ub) and network application function interface (Ua); Protocol details"
[UMTS-SH]ETSI, TS 129 329, "Digital cellular telecommunications system (Phase 2+); Universal Mobile Telecommunications System (UMTS); Sh interface based on the Diameter protocol; Protocol details" (3GPP TS 29.329 version 7.4.0 Release 7)
[UPNP]UPnP Forum, "UPnP Device Architecture"
[UPNP-MR]UPnP Forum, "MediaRenderer:1 Device Template Version 1.01"
[UPNP-MS]UPnP Forum, "MediaServer:1 Device Template Version 1.01"
[VIDEOSHARE]GSMA, PRD IR.84 Video Share Interoperability Specification, 2.0.
[XCAP]IETF, RFC 4825, "The Extensible Markup Language (XML) Configuration Access Protocol (XCAP)" URL: http://tools.ietf.org/html/rfc4825
[XCAP-DFF]IETF, RFC 5874, "An Extensible Markup Language (XML) Document Format for Indicating A Change in XML Configuration Access Protocol (XCAP) Resources" URL: http://tools.ietf.org/html/rfc5874
[XCAP-EVT]IETF, RFC 5875, "An Extensible Markup Language (XML) Configuration Access Protocol (XCAP) Diff Event Package" URL: http://tools.ietf.org/html/rfc5875

1.2 OIPF references

[OIPF_ARCH2]Open IPTV Forum, "Functional Architecture - V2.3", January 2014.
[OIPF_CSP2]Open IPTV Forum, "Release 2 Specification, Volume 7 - Authentication, Content Protection and Service Protection", V2.3, January 2014.
[OIPF_DAE2]Open IPTV Forum, "Release 2 Specification, Volume 5 - Declarative Application Environment", V2.3, January 2014.
[OIPF_HAS2]Open IPTV Forum, "Release 2 Specification, Volume 2a - HTTP Adaptive Streaming", V2.3, January 2014.
[OIPF_MEDIA2]Open IPTV Forum, "Release 2 Specification, Volume 2 - Media Formats", V2.3, January 2014.
[OIPF_META2]Open IPTV Forum, "Release 2 Specification, Volume 3 - Content Metadata", V2.3, January 2014.
[OIPF_OVIEW2]Open IPTV Forum, "Release 2 Specification, Volume 1 - Overview", V2.3, January 2014.
[OIPF_PAE2]Open IPTV Forum, "Release 2 Specification, Volume 6 - Procedural Application Environment", V2.3, January 2014.
[OIPF_PROT_EX2]Open IPTV Forum, "Release 2 Specification, Volume 4a - Examples of IPTV Protocol Sequences", V2.3, January 2014.
[OIPF_REQS2]Open IPTV Forum, "Service and Platform Requirements", V2.0, December 2008.
[OIPF_WSTVP2]Open IPTV Forum, "Release 2 Specification, Volume 5a - Web Standards TV Profile", V2.3, January 2014.

1.3 Informative references

[ABNF]IETF, RFC 4234, "Augmented BNF for Syntax Specifications: ABNF" URL: http://tools.ietf.org/html/rfc4234
[RFC2119]S. Bradner. Key words for use in RFCs to Indicate Requirement Levels. March 1997. Internet RFC 2119. URL: http://www.ietf.org/rfc/rfc2119.txt

2. Conventions and Terminology

2.1 Conventions

The key words "must", "must not", "required", "shall", "shall not", "should", "should not", "recommended", "may", and "optional" in this document are to be interpreted as described in [RFC2119].

All sections and appendixes, except "Introduction", are normative, unless they are explicitly indicated to be informative.

OIPF usually abbreviates "Scheduled Content" as "SC". This specification additionally uses, for the same meaning and only in the field names, the abbreviation "BC".

2.2 Terminology

2.2.1 Definitions

TermDefinition
Native HNI-IGI function (often shortened to Native HNI-IGI)The procedures for interactions on the HNI-IGI interface are provided as part of the OITF implementation - typically in native code.
Non-native HNI-IGI function (often shortened to Non-native HNI-IGI)The procedures for interactions on the HNI-IGI interface are provided by a service provider in JavaScript as part of a DAE application.

2.2.2 Abbreviations

In addition to the Abbreviations provided in Volume 1, the following abbreviations are used in this Volume.

AcronymExplanation
FCCFast Channel Change
GSMAGSM Association
ISCIMS Service Control
PChPersonalised Channel
PPVPay Per View
RETRETransmission Function
RFCRequest For Comments
XCAPXML Configuration Access Protocol
XDMXML Document Management

3. Release 2 Interfaces

3.1 Consumer Network to Provider Network Interfaces (UNI)

The functional entities, functions and reference points defined for the Consumer Network are described in section 5.3 of [OIPF_ARCH2].

Table 1: UNI Reference Points and Protocols
Reference PointDescriptionProtocols
UNIP-1Reference point for user initiated IPTV service profile management.HTTP, XCAP
UNIP-2Reference point for user initiated profile management of Person-to-Person Communication Enablers, such as presence privacy, resource list management, group management, etc.

Note that group management is included to support the management of pre-defined groups that can be reused for several purposes, such as presence privacy, presence request, massaging, chatting, etc.

OMA XDM, OMA Presence Enablers, IMS SIP
UNIS-6Reference point for user interaction with application logic for transfer of user requests and interactive feedback of user responses (provider specific GUI). HTTP, FLUTE and TCP based application specific protocols are used to interface between the DAE and the IPTV Application Function.HTTP, FLUTE
UNIS-7Requests for transport and encoding of content guide metadata. The reference point includes the metadata and the protocols used to deliver the metadata, and shall be based on DVB-IP BCG [BCG].HTTP, DVBSTP
UNIS-8Authentication and session management relying on IMS.IMS SIP
UNIS-9Authentication for GBA Single-Sign on. See [OIPF_CSP2]HTTP
UNIS-11Reference point for control of real time streaming (e.g. control for pause, rewind, skip forward). The reference point includes content delivery session setup when not relying on IMS.RTSP
UNIS-12Reference point between the AG and the provider specific application functional entity. Encompasses two functions:
  • Signalling and download of applications in a generic format. This function is subject to standardization.
  • Interaction of generic applications with the provider network. This function is not subject to standardization.
HTTP, FLUTE
UNIS-13User Stream control for multicast of real time content and data.IGMP
UNIS-14Reference point used for authorization of service access. See [OIPF_CSP2]HTTP
UNIS-15Reference point to the IPTV Service Discovery Functional Entity (FE) to obtain information about IPTV services offered by an IPTV Service Provider.HTTP, DVBSTP
UNIT-16Reference point used for Network Attachment. Functions connected to this reference point include DHCP Server and DHCP Relay.DHCP
UNIT-17Content stream including content; content encryption (for protected services) and content encoding. This reference point may be used for both multicast and unicast (UNIT-17M and UNIT-17U, respectively).RTP, HTTP, UDP
UNIT-18Performance monitoring interface for reporting the performance monitoring results, including RTCP for RET/FCC requesting/control.RTCP, RTSP
UNIT-19Multicast Data Channel, used to deliver data of different kinds to the OITF by means of multicast. This reference point can carry discrete data that is carried over unicast through e.g., the interfaces UNIS-6 and UNIS-7. Other uses such as UNI-RMS are not excluded.FLUTE
UNIS-19Reference point to the IPTV Service Provider Discovery functional entity to obtain the list of Service Providers, and related information.HTTP
UNI-RMSRemote Management using Broadband Forum TR-069 framework [TR069] and related extensions based on the DVB-IP-RMS specification.HTTP/TR-069
UNIS-CSP-TRights management for protected content – including key management and rights expression. See [OIPF_CSP2]HTTP/MARLIN
UNIS-CSP-GReference point to support a service and content protection solution specific to the IPTV Service Provider. This interface may be used to obtain licenses for purchases/subscribed content, control content and the service protection system and may also be used to deliver content.
Table 2: Other Interfaces
WAN gateway
LAN Interfaces
Interface between OITF/IG and AG and the WAN GatewayDHCP, IGMP
HNI-DMInterface between the WAN gateway and the OITF to support remote management of the OITF in the home.UPnP DM [UPNP]
HNI-IGIInterface between the IMS gateway and the OITF providing, to the OITF, access to IG functions for the adaptation to IPTV services on managed networks relying on IMS.HTTP, SIP

In a device that implements both the OITF and the IG, the use of the HNI-IGI interface is optional. In this case, the device shall support the UNIS-8, UNIS-9 and UNI-RMS interfaces.

The HNI-IGI interface consists of a set of interactions between the OITF and the IG.

The HNI-IGI interface supports two optional protocols:

The functionality supported by the OITF and the IG is identical for both options. All IMS specifics are supported by the IG in both options as well.

For the HTTP option, certain interactions on the HNI-IGI interface may be implemented either natively or as a DAE application, whereas other interactions cannot be implemented as a DAE applications and must be implemented in native code. An OITF is said to implement the "native HNI-IGI HTTP option function" if it supports at least (but is not limited to) the interactions which must be implemented in native code. The case where no native interaction is supported is hereafter known as "non-native HNI-IGI HTTP option function".

The interactions that must be implemented natively consist of user registration (sections 5.4.6.1 and 6.1.3.2.2) including service provider discovery (section 5.4.1.1), and GBA procedures (section 5.4.6.2) performed at OITF startup.

An OITF that supports the non-native HNI-IGI HTTP option function can still be used in a managed network scenario, but without the support of GBA based authentication or HTTP digest authentication using IG to application servers.

Note that GBA authentication can be achieved using either the GBA Authentication using IMS Gateway procedure, specified in [OIPF_CSP2] section 5.4.5 or the, more general, procedure, HTTP Digest Authentication using IMS Gateway in [OIPF_CSP2] section 5.4.4. The latter; more general procedure allows the use of different authentication mechanism in a way that is transparent to the OITF, including possible future authentication mechanisms, and should preferably be used. It is expected that GBA Authentication using IMS Gateway procedure will be deprecated and removed in future versions of this specification.

3.2 Provider Network Reference Points Description

The Functional Entities and Reference Points in the service provider network defined in section 5.2 of [OIPF_ARCH2].

Table 3: NPI Reference Points and Protocols
Reference PointDescriptionProtocols
NPI-1Reference point between the Service Access Authentication FE and the User Database.Not Specified
NPI-2An optional reference point allowing interaction between IPTV applications and the IPTV Control FE.Not Specified
NPI-3The reference point between Authentication Session Management and Person-to-Person Communication Enablers.ISC interface [TS124503]
NPI-4Reference point for routing of IPTV service related messages to the IPTV Control FE.ISC interface [TS124503]
NPI-6This reference point allows the IPTV Control FE to retrieve the subscriber’s IPTV-related service data when a user registers in the IMS network.Not Specified
NPI-7This reference point allows person-to-person application enablers to retrieve the subscriber’s IMS data from the user database.Sh Interface [UMTS-SH]
NPI-9This reference point allows the IPTV Control Point to retrieve the subscriber’s IMS-specific data from the user database.Sh Interface [UMTS-SH]
NPI-10A reference point for the allocation/de-allocation and control of content for a unicast session.RTSP
NPI-11A reference point for sending events and charging information.Rf and Ro [CHNG]
NPI-12This reference point allows the Authentication and Session Management FE to retrieve the subscriber’s IMS data from the User Database as a part of the user’s IMS registration.Cx [DIAM]
NPI-14A reference point from Charging FE and Authentication and Session Management FE.Rf [CHNG]
NPI-15This reference point controls the Resources and Admission Control.Gq’ [AFSPDF]
NPI-16Reference point between the Transport Processing Function and Resource and Admission Control.Re [RACS-RE]
NPI-17Reference point between the IPTV Applications and the IPTV Service Profile.XCAP
NPI-18Reference point between the Service Access and Authentication FE and the IPTV Applications.Not Specified
NPI-19This reference point shall be used for unicast session setup control between the Authentication and Session Management and the Content Delivery Network Controller.SIP/SDP
NPI-20This optional reference point allows the retrieval of CG data.Not Specified
NPI-21This reference point allows the GBA Single Sign-on functional entity to validate user credentials.Not Specified
NPI-25This reference point allows forwarding unicast control messages to the appropriate Content Delivery Network Controller FE.SIP/SDP
NPI-26The reference point allows the Content Delivery Network Controller to delegate the handling of a unicast session to a specific Cluster Controller.SIP/SDP
NPI-27The reference point between the Authentication Proxy and the GBA Single Sign-on node allows the proxy to retrieve a user key for authentication purposes.Not Specified
NPI-28This reference point shall be used to push the user access capabilities to the Network Attachment and the RAC.e4 [NASS-E4]
NPI-30This reference point supports the IPTV Service Provider Discovery step of the service discovery procedure relying on IMS.ISC interface [TS124503]
NPI-32Reference point between the ASM FE and the IMS messaging AS. (This is the ISC interface defined by 3GPP in TS 23.228)ISC interface [TS124503]
NPI-33Reference point allowing interaction between IPTV Applications and the IPTV Metadata Control FE. This is not subject to standardization.Not Specified
NPI-34The reference point between the IMS messaging server and the notification services. It is based on IMS SIP as defined by 3GPP in TS 24.229.SIP
NPI-36This reference points allows access to notification services. It is based on Parlay X -API as defined by (http://www.3gpp.org/ftp/Specs/html-info/29-series.htm). Parlay X
NPI-38This reference point between notification services and multicast and delivery control function supports multicast traffic for emergency services and is FFS.Not Specified
NPI-39This reference point between emergency services and the notification services is local and regional specific.Not Specified
NPI-40Content Delivery Function (CDF) Stream control for multicast of real time. The protocol used on this interface is IGMP. This interface is optional.IGMP
NPI-41Content stream including content; content encryption (for protected services) and content encoding. This reference point is used for multicast delivery. The protocol used on this interface is RTP. This interface is optional.RTP
NPI-42This reference point between the IPTV Application and the Multicast Content Delivery Function supports multicast traffic for notification services.FLUTE
NPI-CSPT1Reference point to confirm whether a Marlin content license can be issued for the request received via UNIS CSP-T.See [OIPF_CSP2]
NPI-CSPG1Reference point to allow the CSP-G Server to be provisioned with entitlement information by IPTV Applications.Not Specified
NPI-CSPG1aReference point to allow the CSP-G Server to be provisioned with entitlement information by the IPTV Service Profile.Not Specified
NPI-CSPG3Reference point for the Key Management Function to exchange content encryption information with CSP-G Server.HTTP
NPI-CSPT1aReference point used by the Marlin DRM system to include business information or a reference to business information into a DRM request (e.g. license request) as requested via UNIS-CSP-T, and the subsequent confirmation and retrieval of this business information when the DRM request is consumed.See [OIPF_CSP2]
NPI-CSPT2Reference point, used in the managed network model, to retrieve information on the appropriate cluster controller in the Content Delivery Network that will serve a particular request for purchased or subscribed-to content. This chosen cluster controller will be contacted by the CSP-T Server functional entity via NPI-CSP3.Not Specified
NPI-CSPT3Reference point to retrieve the appropriate encryption key needed to prepare a Marlin content license for the chosen content. It is the content encryption key for downloadable content or the key that encodes the Marlin short term key message that contains the key that encodes the streaming media.HTTP
NPI-43Reference point that provides GBA authentication mechanism to the Service Access Authentication Function.
NPI-44Reference point where the encrypted content is stored on the content storage entity for delivery by the Content Delivery Function. This interface has been identified just to illustrate informatively the separation between content encryption, which is part of content preparation, and content delivery.Not Specified
NPI-45Reference point where the content Service, Program and Content Keys and ECM attached information are provided to the CoD Encryption Management Function.HTTP
NPI-46Reference point where the content Service, Program and Content Keys and content protection related ECM attached information (e.g. ECM, DRM metadata) are provided to the Scheduled Content Encryption Function. This interface is specified by this version of the specification for the unicast stream encryption case. This interface is not specified by this version of the specification for the multicast stream encryption case.HTTP
NPI-47Reference point where the On Demand Content is fetched by the Content Delivery Function for delivery. This interface has been identified just to illustrate informatively the separation between content encryption, which is part of content preparation, and content delivery.Not Specified
NPI-48Reference point for the Key Management Function to provide appropriate information to the IPTV Applications functional entity, e.g. in relation with content access licenses.Not Specified
NPI-49Reference point for the Content Management Function to provide the CoD Encryption Function with content related information.Not Specified
NPI-50Reference point for the Scheduling Function to provide the Recording Function with a record list/schedule for the Catch-up and Start-over use cases.Not Specified
NPI-51Reference point for the Content Management Function to provide appropriate information to the IPTV Applications functional entity.Not Specified
NPI-52Reference point for the Scheduling Function to provide appropriate information to the IPTV Applications functional entity.Not Specified
NPI-53Reference point for the Scheduling Function to provide the Scheduled Content Encryption Function with content related information and schedule.Not Specified
NPI-AR-01Reference point for providing static audience data about users who have opted-in. It includes content metadata and user related information stored in the IPTV Service Profile.
NPI-AR-02
NPI-AR-02’
NPI-AR-02’’
Reference points for collecting the information intercepted by the Transport Processing Function, the IPTV Control, the Cluster Control or other FEs based on different criteria, e.g. the events triggered by the Audience Research Collector, event detected from other FEs, the deployment done by the service provider etc.

Note: The IPTV Control can retrieve the Audience Research data from the ITF or the Cluster Controller using existing SIP messages such as SIP INFO, MESSAGE, INVITE or PRESENCE.

NPI-AR-03Reference point used for exposing the Audience Research data to the Audience Research Agency.

3.3 Interfaces to External Systems

3.3.1 Consumer Network

Table 4: External Interfaces from the Consumer Network
DLNA FunctionInterface between the OITF and DLNA devices in the home.DLNA

4. Structure of the document

Each section of this specification identified below defines the procedures that use a specific protocol:

5. HTTP

5.1 HTTP Reference points

This section defines the protocol for the use of HTTP over the following reference points:

5.2 IG as a protocol converter supporting the HNI-IGI interface – HTTP Option

In support of the HNI-IGI HTTP option the IG shall act a protocol converter between HTTP and SIP. In that respect, the IG acts as an HTTP server towards the OITF, and as a SIP User Agent (UA) towards the IMS network. The following lists the behaviour of the IG as a SIP UA towards the IMS network:

5.3 Protocols for IPTV Service Functions

5.3.1 Multicast content streaming with SIP session management

5.3.1.1 Protocol over HNI-IGI – HTTP Option

When the OITF initiates, modifies or terminates a multcast content service, the OITF sends HNI-IGI messages containing the appropriate method, mapped to HNI-IGI as described in section 5.6.1, “OITF-IG Interface (HNI-IGI)”.

The SIP-specific information in the related messages is described in section 6.1.2.1, “Multicast content streaming with SIP session management.” The SIP-specific information is mapped to the HNI-IGI protocol, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI)”. In particular, the OITF creates HTTP headers for an HNI-IGI message by adding “X-OITF-” in front of the necessary SIP header names. In addition, optional parameters may be included as defined in [TS124503].

Certain interactions on the HNI-IGI interface shall be implemented natively, while the remaining applicable interactions may be implemented either natively or as a DAE application. In the following sections, if no qualification is provided, it must be understood that the interaction can be performed natively or as a DAE application.

5.3.1.1.1 Session Initiation

The HNI-IGI function in the OITF shall follow the following procedure for session initiation:

Step 1:

The OITF shall send an HTTP POST request to the IG over the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).” The content of the HTTP Request shall be as follows:

HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - see Table 5
HTTP Request Body: SDP offer containing the following elements (conforming to [TS183063]):
  • The m-line(s) shall be set to the multicast content service which the OITF intends to join first, according to the mapping defined in Annex D.1, “Mapping SDP attributes from DVB SD&S information
    • If the multicast content service includes FCC and/or RET and the OITF supports FCC and/or RET, the <proto> field shall be “RTP/AVPF”. If the OITF does not support FCC and/or RET, “RTP/AVPF” shall not be used.
  • The c-line(s) shall be set to the multicast content service which the OITF intends to join first, according to the mapping defined in Annex D.1, “Mapping SDP attributes from DVB SD&S information
  • An a=bc_service: BCServiceId line shall indicate the multicast content service that the OITF intends to join (according to the mapping defined in Annex D.1, “Mapping SDP attributes from DVB SD&S information”).
  • If the OITF does not intend to use FCC and/or RET and has knowledge of the bandwidth of the multicast content service with the highest bandwidth requirement included in the session, the b-line shall be included and set to this value.
    • If the OITF supports FEC and the multicast content service has FEC enabled, then the OITF shall include the additional bandwidth in the value set in the b-line. If the OITF does not support FEC and the multicast content service includes FEC that uses the same multicast group address then the FEC bandwidth shall be included.
    • If the OITF supports Network Generated Notification service and the multicast content service has associated Network Generated Notification service, then the OITF shall include the additional bandwidth in the value set in the b=line. If the OITF does not support Network Generated Notification service and the multicast content service has associated Network Generated Notification service that uses the same multicast group address then the additional bandwidth shall be included.
  • If the OITF intends to use FCC and/or RET, it shall have performed the procedure in section 5.3.1.1.2, “Retrieval of bandwidth parameter for FCC and/or RET enabled multicast content service” and shall include in the session b-line the value returned from that procedure
  • If the OITF intends to make use of RET services only for a RET-enabled multicast content service session, it shall include the attribute a=rtcp-fb:<fmt> nack where <fmt> indicates the RTP payload type of the IP multicast stream that carries the multicast content service.
  • If the OITF intends to make use of FCC service for a FCC-enabled multicast content service session, it shall include the attribute a=rtcp-fb:<fmt> nack rai where <fmt> indicates the RTP payload type of the IP multicast stream that carries the multicast content service.
  • If the OITF wants to make use of RET and/or FCC, there shall be an a=rtcp: <port> <network type> <address type> <connection address> line after the m-line for the IP multicast stream, providing the OITF destination IP address and port for the RTCP feedback messages associated with the IP multicast stream.

    Note: The RTCP feedback target transport address signalled in the a=rtcp: <port> <network type> <address type> <connection address> line on the media level for the IP multicast stream is only valid for the first IP multicast channel the OITF intends to connect to. For other channels that are part of the same broadcast package, the SDNS signalled values (RTCPReporting@DestinationPort and RTCPReporting@DestinationAddress) for each particular channel shall prevail.

  • An a=recvonly line

In order for the OITF to connect to the FEC stream associated with the original multicast stream, additional parameters shall be included in the SDP offer as follows:

In order for the OITF to consume additional network generated notification service associated with the multicast content service, additional parameters shall be included in the SDP offer as follows:

  • An m-line for the notification multicast stream, as indicated by the Service Discovery or Metadata Control FE. The m line shall be set according to the mapping defined in Annex D.1, “Mapping SDP attributes from DVB SD&S information.”
  • A c-line according to the mapping defined in Annex D.1, “Mapping SDP attributes from DVB SD&S information.”
  • An a=bc_service: BCServiceId line shall indicate the Network Generated Notification service that the OITF intends to join (according to the mapping defined in Annex D.1, “Mapping SDP attributes from DVB SD&S information.”).
  • OPTIONALly one or more a=bc_service_package: <BCPackageId> as defined in Annex D.2, “Service Package SDP attributes.” The initial offer shall not contain mult_list and bc_tv_service_id_list parameter. If the initiation is the result of a previously denied initiation, the OITF may restrict the Network Generated Notification services by including mult_list attributes.
If the OITF indicates its support for RET by means of the "a=rtcp-fb:<fmt> nack" and multicast RET is offered as a service as indicated by SD&S, in order for the OITF to connect to the multicast RET stream, the SDP offer shall include an additional m-line for the multicast RET stream (m=<media> <port> <proto> <fmt> ) which shall be set according to the mapping defined in Annex D.1, “Mapping SDP attributes from DVB SD&S information.”
Step 2:If the request is for a multicast content service session, the IG shall validate that the request includes all the mandatory SIP headers for the process as per Table 5. The IG shall send a SIP INVITE to the network to request the initiation of the multicast content service session, and shall wait for the response to the request. The IG shall reject a request that is missing any mandatory SIP headers with a non-200 OK HTTP response, including the reason for rejection.
Step 3:On receipt of the response from the network the IG shall return a HTTP 200 OK response (or other appropriate received responses) to the OITF to report the response to the initiation request. The response shall include a list of SIP headers as per Table 6 in addition to the normal HTTP headers as per RFC 2616 [HTTP], and the same SDP answer body that was received by the IG in the SIP message.
Step 4:When the OITF receives the response to the INVITE, it shall examine the media parameters in the received SDP. The OITF shall restrict the multicast content services that it joins according to the parameter (a=bc_service_package attribute) received from the IPTV Control FE. However, if the OITF retrieved the IPTV user profile prior to session initiation, then it may ignore the=bc_service_package attribute.

If the OITF receives an error code with an Insufficient Bandwidth indication in the response from the IG, the OITF may perform a new INVITE with a reduced maximum bandwidth for the multicast content service. This procedure may be repeated. If no agreement can be reached, the OITF may display a failure message to the user.

Step 5:Upon receipt of a 200 OK response, the OITF shall send an HTTP PENDING_IG to acknowledge the final response. The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - see Table 7
HTTP Request Body: Empty
Table 5: Supported HTTP extension headers in the HNI-IGI INVITE Request message for multicast content service session setup (OITF→IG)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Request-Line

The Request-URI in the INVITE request shall be the well known PSI (Public Service Identifier) of the content service: OIPF_IPTV_SC_Service@<domain name>.
The domain part shall be the IPTV Service Provider domain name obtained via Service Provider discovery.

RFC 3261 [SIP]

INVITE <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

The URI part of X-OITF-To shall be set to the value of the Request URI in the “X-OITF-Request-Line”

RFC 3261 [SIP]
X-OITF-Contact

The URI parameter and the sip.instance feature tag must be included and must match what is sent in the contact header included in the registration request.

The IG includes all other mandatory parameters that are absent.

RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Content-TypeRFC 3261 [SIP] (application/sdp)
X-OITF-Content-LengthRFC 3261 [SIP]
X-OITF-SupportedRFC 3261 [SIP] set to timer
X-OITF-Session-ExpiresRFC 4028 [SES-TIMR]
X-OITF-Recv-Info

shall be empty or the list of info packages the OITF is willing to receive

RFC 6086 [INFO-PKG]

TS 26.237 [PSS-MBMS]

Table 6: Supported HTTP extension headers in the response message to an HNI-IGI INVITE request message for multicast content service session setup (IG→OITF)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Session-ExpiresRFC 4028 [SES-TIMR]
X-OITF-Content-TypeRFC 3261 [SIP]
X-OITF-Content-LengthRFC 3261 [SIP]
X-OITF-Recv-Info

shall be empty to stop receiving any SIP INFO including any Info Package

Or

shall be set to Content-Reporting Info Package to indicate willingness to receive the Info Package.

And/Or

shall be set to CoD-Bookmark Info Package according to section 12 of [PSS-MBMS] to indicate willingness to receive the Info Package

And/Or

shall be set to Digital-Purchase Info Package to indicate willingness to receive the Info Package

RFC 6086 [INFO-PKG]

TS 26.237 [PSS-MBMS]

Table 7: Supported HTTP extension headers in the HNI-IGI ACK message for a successful multicast content service session setup (OITF→IG)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Request-Line

The Request-URI in the ACK request shall be the contact included in the response to the INVITE message

RFC 3261 [SIP]

ACK <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

The URI part of X-OITF-To shall be set to the value of the Request URI in the “X-OITF-Request-Line” of the initial request

RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Contact

The URI parameter must be included, and must match what has been inserted in the INVITE message. The IG includes all other mandatory parameters that are absent.

RFC 3261 [SIP]
5.3.1.1.2 Retrieval of bandwidth parameter for FCC and/or RET enabled multicast content service

If the OITF intends to use FCC and/or RET, when the multicast content service is FCC and/or RET enabled, the OITF shall use the procedure defined in section 5.3.2.1.1, “Retrieval of Session Parameters”, with the following modifications:

  • The Request-URI in the method line is set to well-known PSI for the multicast content service
  • The OITF shall include an HTTP body that shall include an SDP that includes one m line that matches the m line associated with the multicast content service the OITF intends to join first (see section 5.3.1.1.1, “Session Initiation”) with the following exceptions:
    • No b-line is included
    • The following additional a attribute shall be included when the OITF intends to use RET:
      • a=rtcp-fb:<fmt> nack
        where <fmt> indicates the RTP payload type of the IP multicast stream that carries the content service.
    • The following additional a attribute shall be included when the OITF intends to use FCC:
      • a=rtcp-fb:<fmt> nack rai
        where <fmt> indicates the RTP payload type of the IP multicast stream that carries the content service.

The returned response shall include total bandwidth of the multicast content service with the highest total bandwidth, including the overhead bandwidth required for the FCC/RET stream. Maximum bandwidth will be signalled by means of the following media level bandwidth modifier:

  • b=AS:<bandwidth>
    where <bandwidth> is the maximum calculated bandwidth according to the b=AS bandwidth modifier defined in RFC 4566 [SDP] expressed in kbps.
5.3.1.1.3 Session Modification

To join a service outside the set of channels negotiated at session initiation or to perform a bandwidth modification, the OITF shall send a request to the IG for session modification. The OITF shall generate a re-INVITE request, as defined in Table 5.

The OITF shall include an SDP offer in the session modification request. The format of this request shall be the same as for a session initiation.

5.3.1.1.4 Session Termination

To terminate a multicast content streaming session, the OITF shall use the following procedure:

Step 1: The OITF shall send an HTTP POST request to the IG over the HNI-IGI interface, as described in section 5.6.15.6.1, “OITF-IG Interface (HNI-IGI).” The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 8
HTTP Request Body: Empty
Step 2:The IG shall validate that the request includes all the mandatory SIP headers needed for the message as per Table 8. The IG shall reject a request that is missing any mandatory SIP headers with a non-200 OK HTTP response, including the reason for rejection. The IG shall send a SIP BYE to the network, to request the termination of the multicast content streaming session, and shall wait for the response.
Step 3:The IG shall then return a HTTP 200 OK response (or other appropriate responses) to the OITF to report the response to the Termination request. The response shall include, in addition to the normal HTTP headers as per RFC 2616 [HTTP], a list of SIP headers as per Table 9.
Table 8: Supported HTTP extension headers in HNI-IGI BYE Request for teardown of a multicast content streaming session (OITF→IG)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Request-Line

Note: The request URI must be set to the contact returned in the 200 OK for the invite.

RFC 3261 [SIP]

BYE <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

The URI part of X-OITF-To shall be set to the value of the Request URI in the “X-OITF-Request-Line” of the initial request

RFC 3261 [SIP]
X-OITF-Contact RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
Table 9: Supported HTTP extension headers in the response to an HNI-IGI BYE Request for teardown of a multicast content streaming session (IG→OITF)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
5.3.1.1.5 Session Refresh

It is the responsibility of the OITF application to refresh the multicast content streaming session before the session expires. The IG shall consider a session terminated if it is not refreshed.

5.3.1.1.6 Content Reporting and Management of Content Reporting of Watched Scheduled Content
5.3.1.1.6.1 Content Reporting by the OITF

The OITF shall follow the following procedure for reporting a watched scheduled content:

Step 1: To report the scheduled content being watched after the IPTV end user stopped zapping for the configured time, and if the IPTV Control FE permitted content reporting, the OITF shall send an HTTP POST request to the IG over the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI)” The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - see Table 10
HTTP Request Body: shall include the XML document as per Annex D of [PSS-MBMS]

The Content-Reporting Info Package shall contain an XML document defined in Annex D of [PSS-MBMS] with MIME type “application/3gpp-ims-pss-mbms-command+xml”.

The XML document shall include either one element of a PSS content switch data or one element of MBMS content switch data. The selection of PSS content switch data or MBMS content switch data is determined according to the content delivery mechanism. Scheduled Content delivered to the OITF through a multicast mechanism shall use the MBMS content switch choice. Scheduled Content delivered by unicast streaming mechanism shall use the PSS content switch choice. For either of those elements there shall be at least one defined sequence included.

The elements in the XML document shall be populated as follows:

  • For PssSwitchData
    • ContentID – RTSP URI of the content
    • DateTime – may be used
  • For MbmsSwitchData
    • ServiceId – The BCServiceId of the channel
    • ProgrammeId – shall not be used
    • DateTime – may be used

Also note that the SIP INFO including the info-event Watched Content is sent only within the context of a scheduled content session.

Step 2: The IG shall validate that the request includes all the mandatory SIP headers for the process as per Table 10. The IG shall send a SIP INFO to the network and shall wait for the response to the request. The IG shall reject a request that is missing any mandatory SIP headers with a non-200 OK HTTP response, including the reason for rejection.
Step 3: On receipt of the response from the network the IG shall return a HTTP 200 OK response (or other appropriate received responses) to the OITF to report the response to the INFO request. The response shall include a list of SIP headers as per Table 11 in addition to the normal HTTP headers as per RFC 2616 [HTTP].
5.3.1.1.6.2 Management of Reporting by IPTV Control FE

The OITF shall comply with the following when it comes to management of reporting a watched scheduled content:

Step 1:At any time, the IG can receive a SIP UPDATE, including an empty Recv-Info header or including the Content-Reporting Info Package, from the network to order the OITF to stop or start reporting the watched content. When a SIP UPDATE is received by the IG, the IG shall return an HTTP 200 OK response to the OITF. The response includes a list of SIP headers as per Table 12 in addition to the normal HTTP headers as per RFC 2616 [HTTP].
Step 2: Once the OITF accepts the incoming SIP UPDATE, it shall send to the IG an HTTP HNI-IGI PENDING_IG request to acknowledge the receipt of the SIP UPDATE. The content of the HTTP request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - see Table 13
HTTP Request Body: Empty
If the SIP UPDATE is for resumption of content reporting, the OITF shall immediately report the currently watched content in accordance with section 5.3.1.1.6.1, “Content Reporting by the OITF
Table 10: Supported HTTP extension headers in the HNI-IGI SIP INFO Request message for Content Reporting (OITF→IG)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Request-Line

The Request-URI in the INFO request shall be the well known PSI (Public Service Identifier) of the content service: OIPF_IPTV_SC_Service@<domain name>.

RFC 3261 [SIP]

INFO <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

The URI part of X-OITF-To shall be set to the value of the Request URI in the “X-OITF-Request-Line”

RFC 3261 [SIP]
X-OITF-Contact

The URI parameter must be included, and must match what was used in the SIP INVITE for the scheduled content session.

The IG includes all other mandatory parameters that are absent.

RFC 3261 [SIP]
X-OITF-Call-ID

must match what was used in the SIP INVITE for the scheduled content session

RFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF_Info-Package

shall be set to Content-Reporting Info Package

RFC 6086 [INFO-PKG]
X-OITF-Content-Type

shall be set to “application/3gpp-ims-mbms-psscommand+xml” that corresponds to Annex D of [PSS-MBMS]

RFC 6086 [INFO-PKG]

TS 26.237 [PSS-MBMS]

X-OITF-Content-LengthRFC 3261 [SIP]
X-OITF-Content-DispositionRFC 6086 [INFO-PKG]
Table 11: Supported HTTP extension headers in the response message to an HNI-IGI INFO request message for Content Reporting (IG→OITF)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
Table 12: List of HTTP extension headers for an incoming SIP UPDATE (IG→OITF)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Request-Line

The Request-URI in the INVITE must match the contact URI included in the contact filed of the SIP INVITE for the scheduled content session

RFC 3261 [SIP]

UPDATE <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Contact

The URI parameter and the sip.instance feature tag must be included and must match what is sent in the contact header included in the registration request.

RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Content-TypeRFC 6086 [INFO-PKG]
X-OITF-Content-LengthRFC 3261 [SIP]
Recv-Info

shall be set to remove support for the reception of the Content-Reporting Info Package

OR

shall be set to indicate support for the reception of Content-Reporting Info Package

RFC 6086 [INFO-PKG]
Table 13: Supported HTTP extension headers in the response message to an incoming HNI-IGI SIP UPDATE Request Message (OITF→IG)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
5.3.1.1.7 Network-based multicast content streaming Time Shift
5.3.1.1.7.1 User-initiated Activation of multicast content streaming Time Shift

As a prerequisite it is assumed that the user has an established multicast content streaming session as per the procedure defined in section 5.3.1.1.1, “Session Initiation

The OITF shall follow the following procedure to initiate a time shift for the watched multicast content service:

Step 1:

The OITF shall send an HTTP POST request to the IG over the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI)” The content of the HTTP Request shall be as follows:

HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 5.
HTTP Request Body: The Request body shall include a MIME Multipart/Related container conforming to [RFC2837]. The first body part shall be an SDP offer containing the following elements conforming to [TS183063]:
  • An m-line for the RTSP control channel set in accordance with section 5.3.2.1.2, “Session Initiation
  • An m-line for the unicast media delivery channel set in accordance with section 5.3.2.1.2, “Session Initiation”, and where the transport and codecs values shall be set identical to the values used in the multicast content streaming setup request, while following the rules for modifying a session in [OFRANSR]. The multicast media descriptor shall be de-activated. Note that the media descriptors shall be reused to avoid the SDP from eventually becoming too large.
  • BCServiceId shall be present only if the OITF has not informed the IPTV Control FE of the selected channel prior to this procedure (as defined in section 5.3.1.1.6, “Content Reporting and Management of Content Reporting of Watched Scheduled Content” and shall be set to the value of the current channel.
The second body part shall conform to the OITF-IPTV Service Action command XML schema in section 5.3.1.1.7.3, “XML Schema for OITF-IPTV Commands”, and shall only include the following:
  • IPTVActionDataCommand shall be set to "SwitchtoTM".
  • SwitchToTM shall be set to elements defined by "IPTVBcActionData".
Step 2:The IG shall validate that the request includes all the mandatory SIP headers as per Table 5. The IG shall send a SIP re-INVITE to the network to request the initiation of the time shift procedure, and shall wait for the response to the request. The IG shall reject a request that is missing any mandatory SIP headers with a non-200 OK HTTP response, including the reason for rejection.
Step 3:On receipt of the response from the network the IG shall return a HTTP 200 OK response (or other appropriate received responses) to the OITF to report the response to the time shift activation request. The response shall include a list of SIP headers as per Table 6, in addition to the normal HTTP headers as per RFC 2616 [HTTP]. The SDP answer shall be in accordance with section 6.1.2.2.2.5, “Protocol over NPI-26” in addition to the following:
  • An a=fmtp:iptv_rtsp h-offset shall be included in the SDP answer, and shall have a value different than 0 indicating the offset in the time shifted selected content. This can be used by the OITF during media control.
Step 4:When the OITF receives the response to the re-INVITE, it shall examine the media parameters in the received SDP, and shall store the parameters a:fmtp:iptv_rtsp h-session, a=fmtp:iptv_rtsp h-offset, and a=fmtp:iptv_rtsp h-uri for later usage.
Step 5:

Upon receipt of a 200 OK response, the OITF shall send an HTTP HNI-IGI PENDING_IG request to acknowledge the final response. The content of the HTTP Request shall be as follows:

HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 7
HTTP Request Body: Empty
5.3.1.1.7.2 User Initiated De-activation of multicast content steaming Time Shift

As a prerequisite it is assumed that the user has an activated scheduled content time shift session as per the procedure in section 5.3.1.1.7.1, “User-initiated Activation of multicast content streaming Time Shift

The OITF shall follow the following procedure to initiate the de-activation of a time shifted multicast content service:

Step 1:

The OITF shall send an HTTP POST request to the IG over the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI)” The content of the HTTP Request shall be as follows:

HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 5.
HTTP Request Body: The Request body shall include a MIME Multipart/Related container conforming to [RFC2837] The first body part shall be an SDP offer identical to the one that activated the scheduled content time shift with the following exceptions:
  • The m-line for the multicast content streaming session shall be reactivated (i.e. the port shall not be set to 0) while following the rules for modifying a session in [OFRANSR]. The unicast media delivery channel and the RTSP control channel shall be de-activated. Note that the media descriptors shall be reused to avoid the SDP from eventually becoming too large.
  • BCServiceId shall be set to the value of the selected channel.
The second body part shall conform to the OIPF-IPTV Service Action command schema in section 5.3.1.1.7.3, “XML Schema for OITF-IPTV Commands”, and shall only include the following:
  • IPTVActionDataCommand shall be set to "SwitchtoBC".
  • SwitchToBC shall be set to elements defined by "IPTVBcActionData".
Step 2:The IG shall validate that the request includes all the mandatory SIP headers as per Table 5. The IG shall send a SIP re-INVITE to the network to request the de-activation of the time shift procedure, and shall wait for the response to the request. The IG shall reject a request that is missing any mandatory SIP headers, with a non-200 OK HTTP response, including the reason for rejection.
Step 3:On receipt of the response from the network the IG shall return a HTTP 200 OK response (or other appropriate received responses) to the OITF to report the response to the time shift de activation request. The response shall include a list of SIP headers as per Table 6, in addition to the normal HTTP headers as per RFC 2616 [HTTP].
Step 4:Upon receipt of a 200 OK response, the OITF shall send an HTTP HNI-IGI PENDING_IG request to acknowledge the final response. The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 7
HTTP Request Body: Empty
5.3.1.1.7.3 XML Schema for OITF-IPTV Commands
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:oipf:iptv:IPTVAction:2009"
  xmlns:tns="urn:oipf:iptv:IPTVAction:2009"
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xmlns:bc ="urn:org:etsi:ngn:params:xml:ns:iptvbcserviceactiondata"
  xmlns:co ="urn:org:etsi:ngn:params:xml:ns:iptvcodserviceactiondata"
  xmlns:np ="urn:org:etsi:ngn:params:xml:ns:iptvnpvrserviceactiondata"
  elementFormDefault="qualified" attributeFormDefault="unqualified">

  <xs:import namespace="urn:org:etsi:ngn:params:xml:ns:iptvbcserviceactiondata"
    schemaLocation="imports/iptvbcserviceactiondata.xsd"/>

  <xs:import namespace="urn:org:etsi:ngn:params:xml:ns:iptvcodserviceactiondata"
    schemaLocation="imports/iptvcodserviceactiondata.xsd"/>

  <xs:import
    namespace="urn:org:etsi:ngn:params:xml:ns:iptvnpvrserviceactiondata"
    schemaLocation="imports/iptvnpvrserviceactiondata.xsd"/>

  <xs:element name="IPTVAction" type="tns:IPTVActionType"/>

  <xs:complexType name="IPTVActionType">
    <xs:choice>
      <xs:element name="Notify" type="tns:NotifyType"/>
      <xs:element name="Record" type="tns:RecordType"/>
      <xs:element name="SwitchToTM" type="tns:SwitchToTMType"/>
      <xs:element name="SwitchToBC" type="tns:SwitchToBCType"/>
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="NotifyType">
    <xs:choice>
      <xs:element ref="bc:IPTVBcActionData" />
      <xs:element ref="co:IPTVCoDActionData" />
      <xs:element ref="np:IPTVNpvrActionData" />
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="RecordType">
    <xs:choice>
      <xs:element ref="bc:IPTVBcActionData" />
      <xs:element ref="np:IPTVNpvrActionData" />
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="SwitchToTMType">
    <xs:choice>
      <xs:element ref="bc:IPTVBcActionData" />
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="SwitchToBCType">
    <xs:choice>
      <xs:element ref="bc:IPTVBcActionData" />
    </xs:choice>
  </xs:complexType>
</xs:schema>

5.3.2 Unicast content streaming with SIP session management

5.3.2.1 Protocol for SIP session management over HNI-IGI – HTTP Option
5.3.2.1.1 Retrieval of Session Parameters

If the OITF does not have all the necessary parameters to form the SDP offer the HNI-IGI function in the OITF shall retrieve missing SDP parameters using the following procedure:

Step 1:The OITF shall send an HTTP POST request to the IG on the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).” The content of the HTTP Request shall be as follows:
HTTP Request Header: Includes the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 14
HTTP Request Body: Empty
Step 2:The IG shall validate that the request includes all the mandatory SIP headers required for the outgoing message as per Table 14. The IG shall reject a request that is missing any mandatory SIP headers with a non-200 OK HTTP response that includes the reason for rejection.
Step 3:The IG shall send a SIP OPTIONS message to the network, to retrieve missing SDP parameters and shall wait for the response to the request. The IG shall then return a HTTP 200 OK response (or other appropriate responses) to the OITF to report the response to the request for missing SDP parameters. The response includes a list of SIP headers as per Table 15, in addition to the normal HTTP headers as per RFC 2616 [HTTP], as well as an SDP body containing the missing SDP parameters according to section 6.1.2.2.1.2, “Protocol over NPI-4, NPI-19, NPI-26.”
Table 14: Supported HTTP extension headers in HNI-IGI OPTION Request for unicast content streaming session setup parameters (OITF→IG)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Request-Line Note: The request URI shall be set to the PSI (Public Service Identifier) of the content service as follows:
For CoD: OIPF_IPTV_CoD_Service_*@<domain name>
Where:
  • The wild card part (*) is a content instance identifier, constructed according to clause 4.3 in [OIPF_META2] when CoD content identifiers are delivered via the Content Guide. For DAE applications signalling CoD, the wild card part is constructed according to clause 8.2.2 in [OIPF_DAE2].
  • The domain part (<domain name>) is the IPTV Service Provider domain name, obtained from the IPTV Service Provider discovery function.
RFC 3261 [SIP]

OPTIONS <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To
shall be set to the value of the request URI in the “X-OITF-Request-Line OPTIONS” header
RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-AcceptSet to application/sdp as per RFC 3261 [SIP]
X-OITF-Recv-Info
shall be set to remove support for the reception of the CoD-Bookmark Info Package
Or
shall be set to indicate support for the reception of the CoD-Bookmark Info Package
Note: The CoD-Bookmark Info Package is defined in section 12 of [PSS-MBMS]
RFC 6086 [INFO-PKG]
Table 15: Supported HTTP extension headers in the response to an HNI-IGI OPTION Request for unicast content streaming session setup parameters
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Content-TypeRFC 3261 [SIP]
X-OITF-Content-LengthRFC 3261 [SIP]
5.3.2.1.2 Session Initiation

The OITF shall initiate the request for a unicast content streaming session using the following procedure.

Step 1: The OITF shall send an HTTP POST request to the IG on the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).” The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 16
HTTP Request Body: The request body includes the SDP offer generated by the OITF. The SDP offer shall include a media description for the RTSP content control channel and the media description for the content delivery channel. SDP shall be used as specified in [TS124503].
  • SDP Parameters for the RTSP control channel

The RTSP content control media description shall be carried by TCP and follow [SDP-TCP]. Hence, the SDP parameters for the RTSP content control channel shall be set as follows:

  • An m-line for an RTSP stream of format: m=<media> <port> <transport> <fmt>
    • The <media> field shall have a value of “application”.
    • The <port> field shall be set according to [SDP-TCP]. The “a=setup” attribute shall be set to ‘active’, and port field shall be set to a value of “9”, which is the discard port.
    • The <transport> field shall be set to “TCP” or “TCP/TLS”. The former shall be used when RTSP runs directly on top of TCP and the latter shall be used when RTSP runs on top of TLS, which in turn runs on top of TCP.
    • The <fmt> parameter shall be included and set to “iptv_rtsp”
      (ex. m=application 9 tcp iptv_rtsp)
  • An “a=setup” attribute shall be present and set to “active” as defined in [SDP-TCP]
    (ex. a=setup:active)
  • An “a= connection” attribute shall be present and set as “new” as defined in [SDP-TCP]
    (ex. a=connection:new)
  • A c-line shall include the network type with the value set to “IN”, the address type set to “IP4” and IP address of the RTSP content control stream.
    (ex. c=IN IP4 <IP_ADDRESS>)
  • One or more a=fmtp lines representing RTSP specific attributes set as follows:
    • The RTSP Version may be specified in a “fmtp:iptv_rtsp version” parameter.
  • SDP Parameters for the content delivery channels

For each media stream controlled by the RTSP content control channel the SDP offer shall include a content delivery channel media description, set as follows:

  • The m-line indicates the type of the media (“video”), the transport protocol and the OITF’s desired port of the related content delivery channel as follows: m=<media> <port> <proto> <fmt>
  • <fmt> settings:
    • When MPEG2-Transport Stream [MPEG2TS] is used, <fmt> shall be “33” as specified in RFC 3551 [RFC3551]
    • When optional Timestamped-TS defined by [DLNA] is used, the RTP/AVP dynamic payload type shall be used and <encoding name> of “a=rtpmap” line shall be “vnd.dlna.mpeg-tts” as specified in [DLNA], e.g. m=video 49232 RTP/AVP 98 a=rtpmap:98 vnd.dlna.mpeg-tts/27000000
    • When the media stream is retransmission protected, <fmt> shall have two payload type values : one for the original stream (<fmt1>) and one for the retransmission stream (<fmt2>), with the two streams being SSRC multiplexed. E.g. m=video <port> RTP/AVPF <fmt1><fmt2>

      The <fmt> values are retrieved by the OITF from the response to the SIP OPTIONS and the following attributes are used that define which <fmt> corresponds with which stream shall be used:

      • a=rtcp-fb:<fmt1> nack
      • a=rtpmap:<fmt2> <rtx/clock_rate>
      • a=fmtp:<fmt2> apt= <fmt1>
      Where <fmt2> is the RTP payload type of the retransmission stream, and <fmt1> is the RTP payload type of the original media stream
  • <proto> settings:
    • <proto> shall be set according to information obtained by the OITF either by OPTIONS or in the service access stage. If streaming is RTP, <proto> shall be set to RTP/AVP. If streaming is RTP and retransmission is supported, <proto> shall be set to RTP/AVPF. If streaming is direct over UDP, <proto> shall be set to “MP2T/H2221/UDP” or “RAW/RAW/UDP”
  • The “c- line” shall include the network type with the value set to “IN”, the address type set to “IP4” followed by the address of the OITF.
    (e.g., c=IN IP4 <IP_ADDRESS>)
  • The “b-line” shall contain the proposed bandwidth obtained by the OITF either by OPTIONS or during the service access phase. If the media stream is FEC protected and the OITF wishes to use one or more FEC streams, the bandwidth shall be the sum of the media stream bandwidth and the bandwidths of all the FEC stream to be used by the OITF. If the OITF cannot obtain the bandwidth, the b= attribute shall be set to a pre-configured value. If the media stream is retransmission protected and the OITF wishes to make use of retransmission, the bandwidth may be adjusted to take into account the maximum (peak) bandwidth the OITF can accept for receiving retransmissions.
    (e.g.,. b=AS:15000)
  • A b=RR:<bandwidth-value>, line indicating the bandwidth value (in kbps) that the OITF proposes to use for sending Receiver Reports (RR). If this value is set to zero by the OITF, then it means that the OITF can not, or does not, wish to send Receiver Reports. This is the default setting, as explained in section 9.1.2.1, “Protocol over UNIT-17.” Note that if the OITF sends RTCP Receiver Reports, then these can be used as keep-alive messages, as shown in section 6.1.2.2.2.5, “Protocol over NPI-26.” When the <proto> in the m-line is AVPF, the b=RR shall not be set to zero.
  • An “a=” line with a “recvonly”
    (e.g., a=recvonly)

If a media stream is FEC protected, the OITF may include the following for each FEC protected stream:

  • One or more m-line for the FEC streams indicated in the response to the OPTIONS request. The m lines shall be set according to the returned response.

In case there are multiple media streams to be FEC protected, or a single media stream protected by multiple FEC streams, grouping line(s) shall be included for the purpose of associating FEC stream(s) with media stream(s), one for each media stream m-line that is associated to a FEC stream. The grouping line uses the “FEC” semantic as defined in RFC 4756 [FEC]:

  • a=group:FEC:<original stream id> <base FEC stream id> <enhancement FEC stream id>

The original stream id shall reflect the value held by the media description of media stream in the a=mid attribute. This implies that, when a grouping line is included, there shall be an additional media identification attribute within the m-line of the original media stream that is within the grouping line. The format for that attribute is:

  • a=mid:<original stream id>

The base FEC stream id shall reflect the value held by the media description of the FEC stream (associated to the original stream) in the a=mid attribute.

Step 2:If the request is for a unicast content streaming session, the IG shall validate that the request includes all the mandatory SIP headers needed for the outgoing message, as per Table 16. The IG shall reject a request that is missing any mandatory SIP headers with a non-200 OK HTTP response, including the reason for rejection.
Step 3:The IG shall send a SIP INVITE to the network, to request the initiation of a unicast session, and shall wait for the response to the request. The IG shall then return a HTTP 200 OK response (or other appropriate responses) to the OITF to report the response to the initiation request. The response includes a list of SIP headers as per Table 17, in addition to the normal HTTP headers as per RFC 2616 [HTTP], and the same SDP answer body received by the IG, as described in section 6.1.2.2.2.5, “Protocol over NPI-26”.
Step 4:Upon receipt of a 200 OK response, the OITF shall send an HTTP Pending Request to acknowledge the final response. The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 18
HTTP Request Body: Empty

When parsing the b=RR:<bandwidth-value> line by the OITF: if the bandwidth value agreed is non-zero, then the OITF shall send RTCP RRs and shall not send RTSP keep-alive messages. If the bandwidth value received is zero, then the OITF shall not sends RTCP RRs but instead it shall send RTSP keep-alive messages.

Table 16: Supported HTTP extension headers in HNI-IGI INVITE Request for unicast content streaming session setup (OITF→IG)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Request-Line

Note: The request URI must be set to the PSI (Public Service Identifier) of the content service as follows:
For CoD: OIPF_IPTV_CoD_Service_*@<domain name>
Where:

  • The wild card part (*) is a content instance identifier, constructed according to clause 4.3.2.2 in [OIPF_META2] when CoD content identifiers are delivered via the Content Guide. For DAE applications signalling CoD, the wild card part is constructed according to clause 8.2.2 in [OIPF_DAE2].
  • The domain part (<domain name>) is the IPTV Service Provider domain name, obtained from the IPTV Service Provider discovery function.
RFC 3261 [SIP]

INVITE <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

must be set to the value of the request URI in the “X-OITF-Request-Line INVITE” header

RFC 3261 [SIP]
X-OITF-Contact

Notes:

  1. URI parameter shall be included and shall match what is sent in the contact header included in the registration request.
  2. Expires parameter should be included.
RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-SupportedRFC 3261 [SIP] set to timer
X-OITF-Session-ExpiresRFC 4028 [SES-TIMR]
Table 17: Supported HTTP extension headers in the response to an HNI-IGI INVITE Request for unicast content streaming session setup (IG→OITF)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Content-TypeRFC 3261 [SIP]
X-OITF-Content-LengthRFC 3261 [SIP]
X-OITF-Contact

The URI parameter and the sip.instance feature tag must be included and must match what is sent in the contact header included in the registration request.

RFC 3261 [SIP]
X-OITF-Session-ExpiresRFC 4028 [SES-TIMR]
X-OITF-Recv-Info

To indicate willingness to receive the CoD-Bookmark Info Package, it shall be set to CoD-Bookmark or add CoD Bookmark to the Info Package set;
Or
To indicate unwillingness, it shall be empty or remove CoD-Bookmark from the Info Package set.

Note: The CoD-Bookmark is defined in section 12 of [PSS-MBMS]
RFC 6086 [INFO-PKG]
Table 18: Supported HTTP extension headers in HNI-IGI ACK Request for successful unicast content streaming session teardown (OITF→IG)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Request-Line

The Request-URI in the ACK request shall be the contact included in the response to the INVITE message

RFC 3261 [SIP]

ACK <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

The URI part of X-OITF-To shall be set to the value of the Request URI in the “X-OITF-Request-Line” of the initial request

RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Contact

The URI parameter shall be included, and shall match what has been inserted in the INVITE message. The IG includes all other mandatory parameters that are absent.

RFC 3261 [SIP]
5.3.2.1.3 Session Termination

The OITF shall send the request for a unicast content streaming session termination using the following procedure:

Step 1:The OITF shall send an HTTP POST request to the IG over the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).” The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 19
HTTP Request Body: Empty
Step 2:The IG shall validate that the request includes all the mandatory SIP headers required for the outgoing message, as per Table 19. The IG shall reject a request that is missing any mandatory SIP headers with a non-200 OK HTTP response, including the reason for rejection.
Step 3:The IG shall send a SIP BYE to the network, to request the termination of a unicast session, and shall wait for the response. The IG shall then return a HTTP 200 OK response (or other appropriate responses) to the OITF to report the response to the termination request. The response includes a list of SIP headers as per Table 20 in addition to the normal HTTP headers as per RFC 2616 [HTTP].
Table 19: Supported HTTP extension headers in HNI-IGI BYE Request for unicast content streaming session teardown (OITF→IG)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Request-LineRFC 3261 [SIP]

BYE <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

The URI part of X-OITF-To shall be set to the value of the Request URI in the “X-OITF-Request-Line” of the initial request

RFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
Table 20: Supported HTTP extension headers in the response to an HNI-IGI BYE Request for unicast content streaming session teardown (IG→OITF)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Request-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
5.3.2.1.4 Session Refresh

It is the responsibility of the OITF application to refresh the unicast content streaming session before the session expires. The IG shall consider a session terminated if it is not refreshed.

5.3.2.2 Protocol for streaming over UNIT-17

The use of the HTTP protocol on this reference point shall comply with [HTTP]

The Content Delivery Function shall support the Range HTTP header in a GET request from the OITF to reduce unnecessary network usage by allowing partial retrieval for use in cases such as trick play. The OITF may pre-buffer the content in order to sustain play-out even when the HTTP transfer is stalled.

5.3.3 Forced Play Out Control with SIP session management

5.3.3.1 Protocol for Forced Play Out Control over HNI-IGI
Given that Forced Play Out is completely supported in the network with no OITF impacts, the OITF shall initiate the request for unicast content streaming session using the procedure described in section 5.3.2.1.2, “Session Initiation”.

5.3.4 Content Download

Content Download is a service where IPTV content is downloaded to the optional Internal Storage System in the OITF. The OITF may play-out the content while downloading. Trick play may be performed within the downloaded content depending on the content rights.

5.3.4.1 Protocol over UNIT-17

The use of the HTTP protocol on this reference point shall comply with [HTTP].

The Content Delivery Function shall support the Range HTTP header in a GET request from the OITF to reduce unnecessary network usage by allowing partial retrieval.

5.3.5 Purchase of Digital Media Service using SIP

A native application in the OITF may allow purchase of Digital Media related to a content item. Purchase of Digital Media is a service where the users want to buy and download additional Digital Media related to a content item in which they are interested. There are three steps to purchase Digital Media: advertising and retrieving the Digital Media related to the content item, the purchase request for selected Digital Media, and downloading the purchased Digital Media.

5.3.5.1 Retrieving the OIPF RelatedMaterial metadata for the content

The Digital Media related to the content is described through the OIPF RelatedMaterialType metadata which is extended from the TV-Anytime RelatedMaterial schema defined in [TVA-MD]. In order to provide advertising for the related material, the new element “Position_Size” is needed in the schema.

When the user pauses, OITF retrieves the OIPF RelatedMaterialType metadata of the content in order to advertise the related material. The new element “Position_Size” is used to define where promotional messages or media will appear on the user’s screen and in what size.

The element Position_Size in RelatedMaterialType is shown in red in Figure 1.

Figure 1: Elements of OIPF extended RelatedMaterialType
FIGURE 1

Position_Size includes 4 numbers (x, y, w, h), where (x, y) means the top-left point of the advertisement, and w and h means the width and height of the advertisement, respectively. The position and size of each advertisement is decided and sent by IPTV Metadata Control FE. The concept of constructing an advertising window using (x, y, w, h) in Position_Size element is shown in Figure 2.

Different resolution support: the Position_Size is set for the default resolution (for example, 800×600). If the OITF use another resolution (for example, 1024×768), the OITF scales the Position_Size to fit in with that resolution.

Figure 2: Construction of advertising window using (x,y,w,h) in Position_Size element
FIGURE 2
5.3.5.2 Advertising Digital Media through the use of overlays

The OITF advertise Digital Media to user by overlaying the received PromotionalText and/or PromotionalMedia (e.g., a logo) of OIPF defined RelatedMaterialType and the original IPTV content, as shown in Figure 3.

Figure 3: Overlaying the content with advertisement for related media
FIGURE 3
5.3.5.3 Protocol over HNI-IGI – HTTP Option
5.3.5.3.1 Purchase Procedure for Selected Digital Media Related to the Content

It is assumed that the OITF has an established session and has retrieved the necessary information to perform the purchase procedures as depicted in the steps below. It is also assumed that the network indicated its willingness to receive the Digital-Media-Purchase Info Package.

Step 1:The OITF sends HTTP request (with SelectedDigitalMediaURI, UserID) to IG for purchase selected Digital Media. The content of the HTTP request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - see per Table 21
HTTP Request Body: (As defined in section 5.3.5.8, “XML Schema for Purchase Request of Digital Media”, the “SelectedDigitalMediaURI” sets as the content of <MediaUri> in <MediaLocator> of OIPFRelatedMaterial, and “UserID” sets as <IMPU>).
Step 2:The IG shall validate that the request includes all the mandatory headers as per Table 21. The IG shall reject a request that is missing any mandatory SIP header with a non-200 HTTP OK response including the reason for rejection. Furthermore, it is assumed that the IPTV Control FE indicated its willingness to receive the Digital-Media-Purchase Info Package at session setup time. Otherwise, the IG shall reject the request. The IG shall send a SIP INFO to the network including the Digital-Media-Purchase Info Package and shall wait for the response from the network.
Step 3: On receipt of a response message from network, the IG return shall return an HTTP 200 OK with the purchase result to OITF. The content of the HTTP response shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - see per Table 22
HTTP Request Body: purchase result. (It will be a simple string “success” if purchase request success, or an Unsigned 32bit “Result-Code” if purchase request failure)
Table 21: Supported HTTP extension headers in the HNI-IGI SIP INFO Request message for Digital Media Purchase (OITF→IG)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Request-Line

The Request-URI in the INFO request shall be the well known PSI (Public Service Identifier) of the Digital Media Purchase Service: OIPF_IPTV_DMPurchase_Service@<domain name>.

RFC 3261 [SIP]

INFO <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

The URI part of X-OITF-To shall be set to the value of the Request URI in the “X-OITF-Request-Line”

RFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF_Info-Package

shall be set to “Digital Purchase”

RFC 6086 [INFO-PKG]
X-OITF-Content-Type

shall be set to the “application/vnd.oipf.purchase+xml”

RFC 3261 [SIP]
X-OITF-Content-DispositionRFC 6086 [INFO-PKG]
Table 22: Supported HTTP extension headers in the response message to an HNI-IGI INFO request message for Digital Media Purchase (IG→OITF)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
5.3.5.3.2 Management of Purchase Request for Digital Media by Network

The OITF shall comply with the following when it comes to network management for purchasing Digital Media:

Step 1:At any time, the IG can receive a SIP UPDATE from the network, and where the Recv-Info header is set to remove or re-instate support for reception of Digital-Media-Purchase Info Package to order the OITF to stop or start sending digital media purchase requests. When a SIP UPDATE is received by the IG, the IG shall return an HTTP 200 OK response to the OITF. The response includes a list of SIP headers as per Table 23 in addition to the normal HTTP headers as per RFC 2616 [HTTP].
Step 2:Once the OITF accepts the incoming SIP UPDATE, it shall send an HTTP HNI-IGI PENDING-IG request to acknowledge the receipt of the SIP UPDATE. The HTTP request includes a list of SIP headers as per Table 24 in addition to the normal HTTP headers as per RFC 2616 [HTTP].
Table 23: List of HTTP extension headers for an incoming SIP UPDATE (IG→OITF)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Request-Line

The Request-URI in the INVITE must match the contact URI included in the contact field of the SIP INVITE

RFC 3261 [SIP]

UPDATE <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Content-TypeRFC 6086 [INFO-PKG]
X-OITF-Content-LengthRFC 3261 [SIP]
X-OITF-Recv-Info

To indicate willingness to receive the Digital Media Purchase Info Package, it shall be set to “Digital Media Purchase” or add Digital-Purchase to the capability set;
or
To indicate unwillingness, it shall be empty or remove “Digital-Media Purchase”

RFC 6086 [INFO-PKG]
Table 24: Supported HTTP extension headers in the response message to an incoming HNI-IGI SIP UPDATE Request Message (OITF→IG)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
5.3.5.4 Protocol over UNIP-1
5.3.5.4.1 Protocol for Retrieving Stored Purchased Digital Media

If the OITF desires to retrieve the lists of purchased digital media stored in the network over UNIP-1, it shall send an XCAP GET request to the IPTV Service Profile FE. The IPTV Service Profile FE shall returns all stored purchased digital media records in an HTTP 200 OK response.

Note that the purchased digital media record can only updated by the IPTV Control FE, not the OITF.

5.3.5.5 Protocol over NPI-2
5.3.5.5.1 Protocol for Storing Purchased Digital Media

Upon receipt of a request to store purchased digital media from the IPTV Control FE, the IPTV Applications FE shall send the XCAP PUT request to IPTV Service Profile FE to store a new purchased digital media record.

After updating the user’s profile, the IPTV Service Profile FE shall return a response to IPTV Applications FE, and then the IPTV Applications FE shall return a response to IPTV Control FE.

5.3.5.6 Protocol over UNIS-7

Use the following procedures when the OITF wants to retrieve OIPFRelatedMaterial of the content for advertisement.

Note: The network initiated push to the OIPF RelatedMaterial is not specified.

Step 1:The OITF sends an HTTP request to IPTV Metadata Control FE to retrieving OIPFRelatedMaterial for the content for advertisement.
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per Table 25
HTTP Request Body: It shall be a simple string “OIPFRelatedMaterial_Request..
Step 2:The IPTV Metadata Control FE returns the HTTP response to OITF with the OIPFRelatedMaterial for the content.
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per Table 26
HTTP Request Body: As defined in section 5.3.5.7, “XML Schema for Advertisement of Digital Media”.
Table 25: Mandatory HTTP headers in the Request message for Advertisement of Digital Media (OITF→IPTV Metadata Control FE)
HTTP HeaderSource of Information for Coding purposes
Request-LineRFC 2616 [HTTP]

POST <Request URI> HTTP/1.1

Content-LengthRFC 2616 [HTTP]
Content-Type

optional. The default value of Content-Type is “text/plain; charset=us-ascii” as defined in RFC 2045 [RFC2045]

RFC 2616 [HTTP]
HostRFC 2616 [HTTP]
Table 26: Mandatory HTTP headers in the Response message for Advertisement of Digital Media (IPTV Metadata Control FE→OITF)
HTTP HeaderSource of Information for Coding purposes
Request-LineRFC 2616 [HTTP]

HTTP/1.1 <Status-Code> <Reason-Phrase>

Content-LengthRFC 2616 [HTTP]
Content-Type

shall be set to “application/vnd.oipf.OIPFRelatedMaterial+xml”

RFC 2616 [HTTP]
5.3.5.7 XML Schema for Advertisement of Digital Media
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:oipf:service:RelatedMaterial:2011"
  xmlns:tns="urn:oipf:service:RelatedMaterial:2011"
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xmlns:tva="urn:tva:metadata:2011">

  <xs:import namespace="urn:tva:metadata:2011"
    schemaLocation="imports/tva_metadata_3-1_v171.xsd"/>

  <xs:complexType name="RelatedMaterialType">
    <xs:complexContent>
      <xs:extension base="tva:RelatedMaterialType">
        <xs:sequence>
          <xs:element name="Position_Size" type="tns:PositionSizeType"/>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="PositionSizeType">
    <xs:attribute name="x" type="xs:unsignedShort" use="required"/>
    <xs:attribute name="y" type="xs:unsignedShort" use="required"/>
    <xs:attribute name="w" type="xs:unsignedShort" use="required"/>
    <xs:attribute name="h" type="xs:unsignedShort" use="required"/>
  </xs:complexType>
</xs:schema>
5.3.5.8 XML Schema for Purchase Request of Digital Media
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:oipf:service:PurchaseRequest:2010"
  xmlns:ct="urn:oipf:base:CommonTypes:2011"
  xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="urn:oipf:base:CommonTypes:2011" 
    schemaLocation="base-CommonTypes.xsd" />

  <!--"SelectedDigitalMediaURI" sets as the content of <MediaUri> in
    <MediaLocator> of RelatedMaterial -->
  <!--"UserID" sets as <IMPU> -->
  <xs:complexType name="PurchaseDigitalMediaRequestType">
    <xs:sequence>
      <xs:element name="SelectedDigitalMediaURI" type="xs:anyURI"/>
      <xs:element name="UserID" type="ct:UserIdType"/>
    </xs:sequence>
  </xs:complexType>
</xs:schema>

The SelectedDigitalMediaURI element represents the selected Digital Media that user wants to purchase.

The UserID element represents who made the digital media purchase request.

5.3.6 Pay Per View multicast content service with SIP session management

5.3.6.1 Protocol over HNI-IGI – HTTP Option

When the OITF initiates, modifies or terminates a Pay-Per-View multicast content service, the OITF shall send HNI-IGI messages containing the appropriate method, mapped to HNI-IGI as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).”

The SIP-specific information in the related messages is described in section 6.1.2.5, “Pay Per View multicast content service with SIP session management.” The SIP-specific information is mapped to the HNI-IGI protocol, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).” In particular, the OITF creates HTTP headers for an HNI-IGI message by adding “X-OITF-” in front of the necessary SIP header names. In addition, optional parameters may be included as defined in [TS124503].

5.3.6.1.1 PPV Service initiation without existing multicast content streaming session

PPV service initiation without an existing multicast content session is similar to the multicast content session initiation described in section 5.3.1.1.1, “Session Initiation”, with the following differences:

The media level of the SDP offer in the HTTP Request Body has the following additional requirements:

  • The m-line(s) shall be set according to the mapping defined in Annex D.1 for the multicast content service to which the PPV service belongs.
  • The c-line(s) shall be set according to the mapping defined in Annex D.1 for the multicast content service to which the PPV service belongs.
  • An a=bc_service:BCServiceId line to indicate the multicast content service to which the PPV program belongs shall be included.
  • An a=bc_program:BCprogramId line to indicate the PPV program shall be included.

When the OITF receives the response to the request, it shall examine the media parameters in the received SDP. The OITF shall restrict the multicast content services that it joins according to the parameter (the a=bc_service_package attribute) received from the IPTV Control FE.

5.3.6.1.2 Switching from a PPV service to a multicast content service

To join a multicast content service outside the set of channels negotiated at session initiation, the OITF shall send a request to the IG for session modification. The OITF shall enforce a multicast content streaming session modification defined in section 5.3.1.1.3, “Session Modification.”

To join a multicast content service inside the set of channels negotiated at session initiation, the OITF shall send an IGMP Leave request to stop watching the PPV service, and send an IGMP Join request to join the multicast content service. When FCC capability is available for the multicast content service, the OITF shall request a fast channel change as defined in Annex M.2, “Fast Channel Change (FCC)”. Further, when multicast RET service is offered, the OITF shall join the RET stream as defined in Annex M.1, “Application Layer Retransmission (RET)”.

5.3.6.1.3 Switching to a PPV service from a multicast content service or another PPV service

The OITF shall send a request to the IG for session modification. The OITF shall generate a re-INVITE request, as defined in section 5.3.6.1.1, “PPV Service initiation without existing multicast content streaming session.”

The OITF shall include an SDP offer in the session modification request. The format of this SDP offer shall be the same as for a session initiation. Note that session modification is only necessary if the PPV service is not included at session startup.

5.3.6.1.4 Session Termination

When the OITF wants to terminate the session, the OITF shall generate a HTTP POST request as described in section 5.3.1.1.4, “Session Termination” for an originating OITF.

5.3.7 Parental Control for Content using SIP

Note: Parental control relationship establishment, modification or deletion is out of scope of this specification.

5.3.7.1 Protocol for What is on TV – OITF initiated – HTTP Option
5.3.7.1.1 User Initiated Subscription to Acquire Information Related to Watched Content by another User

An IPTV end user having the parental control authority over another user can initiate subscription to acquire information related to the watched content by the user under his parental control. To initiate the request to receive the information, the OITF shall follow the following procedure:

Step 1:The OITF shall send an HTTP POST request to the IG over the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).” The content of the HTTP Request shall be as follows:
HTTP Request Header including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 27
HTTP Request Body: Empty
Step 2:The IG shall validate that the request includes all the mandatory SIP headers as per Table 27. The IG shall reject a request that is missing any mandatory SIP headers with a non-200 OK HTTP response, including the reason for rejection.
Step 3:The IG shall send a SIP SUBSCRIBE to the network, to subscribe to the Parental Control Watched Content event, and shall wait for the response to the subscription request. The IG shall return an HTTP 200 OK response (or other appropriate responses) to the OITF to report the response to the subscription request. The response shall include a list of SIP headers as per Table 28 in addition to the normal HTTP headers as per RFC 2616 [HTTP].
Step 4:Following that, the OITF shall send an HTTP HNI-IGI PENDING_IG request (refer to section 5.6.1.1, “HNI-IGI Message Types”), and shall wait for any response.
Step 5:When a SIP NOTIFY is received by the IG, the IG shall return an HTTP 200 OK response to the OITF. The response shall include the list of SIP headers as per Table 29 in addition to the normal HTTP headers as per RFC 2616 [HTTP]. The body of the HTTP response shall include the SIP body received in the incoming NOTIFY (See also section 6.1.3.2.2, “Procedure for User Registration and Authentication in a network relying on IMS on UNIS 8.”)
Step 6:

Once the OITF accepts the incoming SIP NOTIFY, it shall send an HTTP HNI-IGI PENDING_IG request to the IG to send the SIP 200 OK response to the received SIP NOTIFY. The content of the HTTP Request shall be as follows:

HTTP Request Header: It includes the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 30
HTTP Request Body: Empty
Step 7:The IG shall send the SIP 200 OK response to the network and then shall return to Step 5 to handle any subsequent NOTIFY received from the network.
Table 27: Supported HTTP extension headers in HNI-IGI SUBSCRIBE Request for the Parental Control Watched Content Event Package
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Request-Line

Note: The request URI can be set in one of 2 ways:

  • It can be set to the Public identity of the IPTV target end user under the parental control of the originator of the request in the From field or
  • It can be OPTIONALly set to a PSI defined by the service provider

In either of the above cases, any SUBSCRIBE request to the Parental Control Watched Event shall be configured to be routed to the IPTV Control FE (through iFC). This ensures that unauthorized requests are rejected by the network (unauthorized users may use the public identity of the target user instead of PSI in the Request URI line)

RFC 3261 [SIP] and RFC 3265 [SIP-EVNT]

SUBSCRIBE <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

The To field is typically set to the public identity of the target user under the parental control of the originator of the request.

If the To field is set to be identical to the From field, (i.e. the originator of the request) then the subscription is for all IPTV end users under the parental control of the originator of the request.

RFC 3261 [SIP]
X-OITF-Event

shall be set to the Event Package Parental-Control-Watched-Content

RFC 3265 [SIP-EVNT] and Parental Control Watched Content (section 5.3.7.1.4, “XML Schema for Parental Control Watched Content”)
X-OITF-Accept

shall be set to “application/vnd.oipf.iptvparentalcontrol.whatsontv+xml”

RFC 3265 [SIP-EVNT] and Parental Control Watched Content (section 5.3.7.1.4, “XML Schema for Parental Control Watched Content”)
X-OITF-Contact

Notes:

  1. The URI parameter and the sip.instance feature tag must be included and must match what is sent in the contact header included in the registration request.
  2. Expires parameter should be included
  3. Priority parameter should be included

The IG includes all other mandatory parameters that are absent.

RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-ExpiresRFC 3261 [SIP]
Table 28: Supported HTTP extension headers in the response to an HNI-IGI SUBSCRIBE Request for the Parental Control Watched Content Event Package
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-ExpiresRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
Table 29: Supported HTTP extension headers in the NOTIFY request containing changes in the watched program (IG→OITF)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Request-Line

Note: The Request URI must match the contact URI included in the contact field of the SIP SUBSCRIBE

RFC 3261 [SIP]

NOTIFY <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-EventRFC 3265 [SIP-EVNT] and Parental Control Watched Content (section 5.3.7.1.4, “XML Schema for Parental Control Watched Content”)
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-Subscription-StateRFC 3265 [SIP-EVNT]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Content-Type

shall be set to “application/vnd.oipf.iptvparentalcontrol.whatsontv+xml”

RFC 3265 [SIP-EVNT] and Parental Control Watched Content (section 5.3.7.1.4, “XML Schema for Parental Control Watched Content”)
X-OITF-Content-LengthRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
Table 30: Supported HTTP extension headers in the response to a NOTIFY request (OITF→IG)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Content-TypeRFC 3261 [SIP]
X-OITF-Content-LengthRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
5.3.7.1.2 Terminating a Subscription to the Parental Control Watched Content Event Package

This procedure shall be invoked at any time and/or prior to de-registering the user that created the subscription.

The procedure is the same as the procedure for initiating a subscription to the Parental Control Watched Content event, however in this case the X-OITF-Expires header in Table 27 shall be set to 0.

The IG shall consider a subscription terminated if is not refreshed.

5.3.7.1.3 Refreshing Subscription to Parental Control Watched Event Package

This procedure is the same as the procedure for initiating a subscription.

It is the responsibility of the application initiating the subscription procedure to refresh the subscription according to the refresh subscription timer information received in the response to the subscription request. Refreshing the subscription should be performed before the expiry of the refresh timer. A subscription that is not refreshed before the expiration of the refresh timer shall be terminated.

5.3.7.1.4 XML Schema for Parental Control Watched Content

Note: OITF contact information is mapped to DeviceId; OITF Call-ID is mapped to SessionId

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:oipf:iptv:WhatsOnTv:2011"
  xmlns:tns="urn:oipf:iptv:WhatsOnTv:2011"
  xmlns:ct="urn:oipf:base:CommonTypes:2011"
  xmlns:xs=http://www.w3.org/2001/XMLSchema
  xmlns:pss="urn:org:etsi:ngn:params:xml:ns:PssContentSwitchData"
  xmlns:mbms="urn:org:etsi:ngn:params:xml:ns:MbmsContentSwitchData"
  elementFormDefault="qualified" attributeFormDefault="unqualified">
  <xs:import namespace="urn:oipf:base:CommonTypes:2011"
    schemaLocation="base-CommonTypes.xsd" />
  <xs:import namespace="urn:org:etsi:ngn:params:xml:ns:PssContentSwitchData"
    schemaLocation="imports/PssSwitchData.xsd"/>
  <xs:import namespace="urn:org:etsi:ngn:params:xml:ns:MbmsContentSwitchData"
    schemaLocation="imports/MbmsSwitchData.xsd"/>
  <xs:element name="WhatsOnTvResponse" type="tns:WhatsOnTvResponseType"/>
  <xs:complexType name="WhatsOnTvResponseType">
    <xs:sequence>
      <xs:element name="User" type="tns:UserType" minOccurs="0"
        maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="UserType">
    <xs:sequence>
      <xs:element name="name" type="ct:UserIdType"/>
      <xs:element name="content" type="tns:WatchedContentType" minOccurs="0"
        maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="WatchedContentType">
    <xs:choice>
      <xs:element name="PssWatchedContent" type="tns:PssWatchedContentType"/>
      <xs:element name="MbmsWatchedContent" type="tns:MbmsWatchedContentType"/>
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="PssWatchedContentType">
    <xs:sequence>
      <xs:element ref="pss:PssSwitchData"/>
      <xs:element name="DeviceId" type="xs:string"/>
      <xs:element name="SessionId" type="xs:string"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="MbmsWatchedContentType">
    <xs:sequence>
      <xs:element ref="mbms:MbmsSwitchData"/>
      <xs:element name="DeviceId" type="xs:string"/>
      <xs:element name="SessionId" type="xs:string"/>
    </xs:sequence>
  </xs:complexType>
</xs:schema>
5.3.7.2 Protocol for Parental Control over HNI-IGI – HTTP Option
5.3.7.2.1 Protocol for OITF Originating a Request for Parental Control

The user to be controlled is watching content and the controller finds out the information related to the watched content (SC Service ID or content ID, ratings etc.) as described in section 5.3.7.1, “Protocol for What is on TV – OITF initiated – HTTP Option.” When the controller wants to block the content program, the OITF of the controller shall originate a request for Parental Control. The SIP-specific information in the related messages is described in section 6.1.2.6, “Parental Control for Content using SIP.” The SIP-specific information is mapped to the HNI-IGI protocol, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).”

Step 1: The OITF shall send an HTTP POST request to the IG using the HNI-IGI functionality, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).” The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 31
HTTP Request Body: The OITF shall include a body associated with the appid “urn:oipf:application:iptv-parental-control”.

The message body shall include the parameters related to Parental Control as follows.

  • PC-Command: the command for parental control, e.g. channel change, session teardown.
  • PC-ChannelChangedTo: When the PC-Command is channel change, this parameter may be included. It indicates the new channel to change to.
  • PC-ContentControlled: the identifier of the content being blocked by the controller. For scheduled content, it shall be the SC service ID. For content on demand, it shall be the content ID.

Note: The detailed XML schema refers to section 5.3.7.2.3, “XML Schema for Parental Control.”

The Content-Type of the message body shall be set to “application/vnd.oipf.iptvparentalcontrol+xml” as described in Table Table 31 for X-OITF-Content-Type header.

Step 2:The IG shall validate that the request includes all the mandatory SIP headers for the message as per Table 31. The IG shall reject a request that is missing any mandatory SIP headers with a non-200 OK HTTP response, including the reason for rejection.
Step 3:The IG shall send a SIP MESSAGE to the network. When the IG receives the response, the IG shall return a HTTP 200 OK response (or other appropriate response) to the OITF to report the response to the SIP MESSAGE. The response includes a list of SIP headers as per Table 32 in addition to the normal HTTP headers as per RFC 2616 [HTTP].
Table 31: Supported HTTP extension headers in the MESSAGE request for Parental Control (OITF→IG)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Request-Line

The Request-URI in the MESSAGE request shall be set to the public identity of the controlled user.

RFC 3261 [SIP]

MESSAGE <Request URI> SIP/2.0

X-OITF-From

The From in the MESSAGE request shall be set to the identity of the controller.

RFC 3261 [SIP]
X-OITF-To

The To in the MESSAGE request shall be set to the identity of the controlled user.

RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Content-Type

shall be set to “application/vnd.oipf.iptvparentalcontrol+xml”

RFC 3261 [SIP]
X-OITF-Content-LengthRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
Table 32: Supported HTTP extension headers in the response message to a MESSAGE request message for Parental Control (IG→OITF)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
5.3.7.2.2 Protocol for OITF Receiving a Request for Parental Control

The following procedure is supported in the OITF of the controlled user for receiving a request for Parental Control.

The incoming message can be handled either by a native application in the OITF, or in a DAE application. The same HNI-IGI message format is used in either case.

Step 1:The IG receives a SIP MESSAGE for Parental Control.
Step 2:The IG shall forward the SIP MESSAGE to the OITF as an HTTP response to a PENDING_IG request. The list of SIP headers to be included in the notification forward to the OITF shall be as per Table 33. The body of the SIP MESSAGE shall be included in the HTTP body.
Step 3:Upon receipt of the message, the OITF shall check the Content-Type in the “X-OITF-Content-Type” to determine that it is a Parental Control request. Then the OITF shall examine the parameters in the body, and initiate a request corresponding to the parameters in PC-Command, PC-ContentControlled. If the value in the PC-Command is Channel Change, the OITF shall leave the channel indicated in PC-ContentControlled and join a new channel which may be pre-configured or indicated in PC-ChannelChangedTo if present, as described in section 8.1.1, “Multicast content streaming service on UNIS-13.” If the value in the PC-Command is Session Teardown, the OITF shall initiate a request to terminate the session of the multicast content indicated in PC-ContentControlled, as described in section 5.3.2.1.3, “Session Termination
Step 4:The OITF shall issue an HTTP POST request. The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 33
HTTP Request Body: Empty
Step 5:The IG shall forward the SIP 200 OK to the network.
Table 33: Supported HTTP extension headers in the MESSAGE request for Parental Control (IG→OITF)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Request-Line

The Request-URI must be set to the Public identity of the controlled user.

RFC 3261 [SIP]

MESSAGE <Request URI> SIP/2.0

X-OITF-From

The From must be set to the Public identity of the controller.

RFC 3261 [SIP]
X-OITF-To

The URI part of X-OITF-To shall be set to the value of the Request-URI in the “X-OITF-Request-Line”.

RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Content-Type

shall be set to “application/vnd.oipf.iptvparentalcontrol+xml”

RFC 3261 [SIP]
X-OITF-Content-LengthRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
5.3.7.2.3 XML Schema for Parental Control
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:oipf:iptv:parentalcontrol:2011"
  xmlns:tns="urn:oipf:itpv:parentalcontrol:2011"
  xmlns:ct="urn:oipf:base:CommonTypes:2011"
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  elementFormDefault="qualified" attributeFormDefault="unqualified">
  <xs:annotation>
    <xs:documentation xml:lang="en">
      Defines the command for parental control
      associated with the controller
    </xs:documentation>
  </xs:annotation>
  <xs:import namespace="urn:oipf:base:CommonTypes:2011"
    schemaLocation="base-CommonTypes.xsd"/>
  <xs:element name="IPTVParentalControl" type="tns:tIPTVParentalControl" />
  <xs:complexType name="tIPTVParentalControl">
    <xs:sequence>
      <xs:element name="PC-Command" type="tns:tPCCommand" />
      <xs:element name="PC-ChannelChangedTo" type="tns:tPCChannelChangedTo"
        minOccurs="0" />
      <xs:element name="PC-ContentControlled" type="ct:ProgramIdType" >
        <xs:annotation><xs:documentation xml:lang="en">
          Identifier of the content being controled by the controller. may be SC
          service ID or content ID.
        </xs:documentation></xs:annotation>
      </xs:element>
      <xs:any namespace="##other" processContents="lax"
        minOccurs="0" maxOccurs="unbounded" />
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="tPCCommand" final="list restriction">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Channel Change" />
      <xs:enumeration value="Session Teardown" />
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="tPCChannelChangedTo" final="list restriction">
    <xs:annotation>
      <xs:documentation xml:lang="en">
        Identifier of a new channel to which the controlled user shall change.
      </xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:minLength value="0" />
      <xs:maxLength value="16" />
    </xs:restriction>
  </xs:simpleType>
</xs:schema>

5.3.8 Network-Based User Notification Services

User notification service refers to the family of services that includes a notification being sent to an IPTV end user. The notification can be sent either to an OITF or to a cellular device depending on user preference. There are several types of notification services. This section deals with notification services related to broadcast reminders where the user can subscribe to be reminded, through a notification, before a specific broadcast starts. The actual notification can be sent anytime before the program starts at the IPTV SP discretion. Notification services related to broadcast reminders involve interaction with the EPG for setting up a notification request. The Notification Services AS is an MMS Parlay-X web services AS.

5.3.8.1 Protocol over HNI-IGI – HTTP Option
5.3.8.1.1 Native HNI-IGI (IMS-based) Notification Request Setup Procedure

To initiate a request to setup a notification service, the OITF shall follow the following procedure:

Step 1:As a pre-requisite it is assumed that the user is interacting with EPG where supported notification services are depicted to the end user. Once the user makes a selection, the OITF shall send an HTTP POST request to the IG over the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).” The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 34
HTTP Request Body: See section 5.3.8.6, “XML Schema for Notification Request for Broadcast Reminder.”
Step 2:The IG shall validate that the request includes all the mandatory SIP headers as per Table 34. The IG shall reject a request that is missing any mandatory SIP headers with a non-200 OK HTTP response, including the reason for rejection.
Step 3:The IG shall send a SIP MESSAGE to the network, to setup the request and shall wait for the response. The IG shall return a HTTP 200 OK response (or other appropriate responses) to the OITF to report the response to the setup request. The response shall include a list of SIP headers as per Table 35 in addition to the normal HTTP headers as per RFC 2616 [HTTP].
Step 4:Following that, the OITF shall send an HTTP HNI-IGI PENDING_IG request (refer to section 5.6.1.1, “HNI-IGI Message Types”), and shall wait for any response.
Table 34: List of HTTP extension headers for an outgoing SIP MESSAGE for setting up a user notification request (OITF→IG)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Request-Line

Note: The request URI must be set to the well-known PSI for the notification service

RFC 3261 [SIP]

MESSAGE <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

The URI part of X-OITF-To shall be set to the value of the Request URI in the “X-OITF-Request-Line”

RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Content-Type

shall be set to “application/vnd.oipf.network-based-user-notification+xml”

RFC 3261 [SIP]
X-OITF-Content-LengthRFC 3261 [SIP]
X-OITF-Contact

The URI parameter and the sip.instance feature tag must be included and must match what is sent in the contact header included in the registration request.

RFC 3261 [SIP]
Table 35: List of HTTP extension headers for the response to an outgoing SIP MESSAGE for setting up a user notification request (IG→OITF)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
5.3.8.2 Protocol over UNIS-6 for DAE-based Notification Management
5.3.8.2.1 DAE-based Notification Request Setup

Upon receipt of a notification setup request from the OITF, the IPTV application shall validate the request against the appropriate schema. Upon successful validation, the IPTV application stores the notification request in the user IPTV profile using XCAP PUT request for that purpose.

5.3.8.2.2 DAE-based Update of Pending Notifications

Update of pending notification requests is achieved through XML re-writing of the IPTV user service profile. It includes three steps; first all the user pending notification requests are retrieved from the user service profile; next the end user performs the necessary deletions/alterations; and finally the updated pending notification request is saved in the user service profile.

The IPTV application issue an XCAP GET to the user service profile and display the result to the user.

Upon receipt of a pending notification update request from the OITF, the IPTV application shall authorize the request, update its internal state, and subsequently shall issue an XCAP PUT to the IPTV service profile to store the updated pending notification requests. The IPTV service profile shall acknowledge the successful storage of the updated pending notification requests in an HTTP 200 OK to the IPTV application which in turn returns the response back to the OITF.

5.3.8.2.3 DAE-based Procedure for Retrieving Pending Notification Requests

Upon receipt of a pending notification retrieval request from the OITF, the IPTV application shall first authorize the request and subsequently shall issue an XCAP request to the IPTV service profile to retrieve all stored pending notification requests for the subject user. Upon receipt by the IPTV application of the stored information, it shall return to the OITF in an HTTP 200 OK response the requested information.

5.3.8.3 Protocol over UNIP-1
5.3.8.3.1 Protocol for Updating Pending Notification Requests

If the OITF desires to update pending notification requests stored in the network over UNIP-1, it shall send an XCAP GET request to the IPTV service profile. The IPTV service profile shall return all stored pending notification requests in an HTTP 200 OK response. Once the user completes the modification process, the OITF shall send an XCAP PUT request to the IPTV service profile to update pending notification requests.

If the IPTV service profile detects a change in the pending notification requests, it shall inform the IPTV Control FE, which in turn notifies the IPTV Application. The IPTV Control FE shall wait for the response before sending an HTTP 200 OK back to the OITF (or an appropriate error message if applicable).

5.3.8.3.2 Protocol for Retrieving Stored Pending Notification Requests

An OITF that desires to retrieve pending notification requests over UNIP-1, shall send an XCAP GET request to the IPTV service profile. The IPTV service profile shall return all pending notification requests in an HTTP 200 OK response.

5.3.8.4 Protocol over NPI-2
5.3.8.4.1 Procedure for Notification Request Setup

Upon receipt of a store request for user notification from the IPTV Control FE, the IPTV application shall validate the request against the appropriate schema.

Upon successful validation, the IPTV application shall update its internal state and shall store the notification request in the user IPTV profile using XCAP PUT request for that purpose prior to returning a response.

5.3.8.4.2 Procedure for Updating (Deleting) a Pending Notification

Upon receipt of an update (delete request) for a pending user notification request from the IPTV Control FE, the IPTV application shall validate the request against its internal state and shall update its internal state accordingly.

Following that, the IPTV application shall acknowledge the update (deletion) or send an appropriate error response if applicable.

5.3.8.5 Protocol over NPI-36
5.3.8.5.1 Incoming Request to the Notification AS for Delivery Notification to an IPTV User

Upon receipt by the Notification Services AS (MMS Parlay X web services AS) for an HTTP POST request for sending a delivery notification using the IMPagerMode, the Notification Services AS shall send a corresponding SIP MESSAGE to the Messaging AS, and shall wait for the SIP 200 OK (or other responses) before returning the corresponding HTTP response.

Upon receipt by the IPTV application of the HTTP 200 OK, it shall proceed to update its internal state and shall update as well the IPTV service profile to reflect the updated list of pending notification requests.

5.3.8.6 XML Schema for Notification Request for Broadcast Reminder

Broadcast reminders related to notification are sent to the end user before a broadcast starts. It typically involves interaction with the EPG.

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:oipf:iptv:reminder:2011"
  xmlns:tns="urn:oipf:iptv:reminder:2011"
  xmlns:tva="urn:tva:metadata:2011"
  xmlns:xs=http://www.w3.org/2001/XMLSchema
  elementFormDefault="qualified" attributeFormDefault="unqualified">
  <xs:import namespace="urn:oipf:base:CommonTypes:2011"
    schemaLocation="base-CommonTypes.xsd" />
  <xs:import namespace="urn:tva:metadata:2011"
    schemaLocation="imports/tva_metadata_3-1_v171.xsd"/>
  <xs:element name="ReminderList">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="Reminder" type="tns:ReminderType" minOccurs="0"
          maxOccurs="unbounded"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:complexType name="ReminderType">
    <xs:sequence>
      <xs:element name="Creator" type="ct:UserIdType"/>
      <xs:element name="Created" type="xs:dateTime"/>
      <xs:choice>
        <xs:element name="ProgramIdentifier" type="ct:ProgramIdType"/>
        <xs:element name="SeriesIdentifier" type="tva:EpisodeOfType"/>
      </xs:choice>
      <xs:element name="AnnouncementTime" type="xs:duration"/>
    </xs:sequence>
    <xs:attribute name="id" type="xs:string" use="required"/>
  </xs:complexType>
</xs:schema>

5.3.9 Content Bookmarking

Content bookmarking is a feature that allows a user to store in the network a point in time for a scheduled content or content on demand session where later it can be retrieved and where viewing can resume from that point on.

For a scheduled content session, bookmarking essentially represents a mark in a file stored in the network for the scheduled content. As such, it is a pre-requisite that the scheduled content be stored in the network for any bookmarking to be available for a scheduled content session. The stored bookmarking hence will be a pointer in a file storing the scheduled content.

5.3.9.1 Protocol over HNI-IGI – HTTP Option
5.3.9.1.1 IMS-based Content Bookmark Creation Request

The OITF shall follow the following procedure for a content bookmark creation request:

Step 1:If the OITF decides to store a content bookmark for watched content during a multicast or unicast content streaming session, and if it is permitted by the network to do so, the OITF shall send an HTTP POST request to the IG over the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).” The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 38
HTTP Request Body: shall include the Content Bookmark based on the XML schema as per section 5.3.9.5, “XML Schema for Content Bookmarking”.
Note that the SIP INFO including the CoD-Bookmark Info Package according to section 12 of [PSS-MBMS] is sent only within the context of a multicast or unicast content streaming session.
Step 2:The IG shall validate that the request includes all the mandatory SIP headers for the process as per Table 38. The IG shall send a SIP INFO including the CoD-Bookmark Info Package to the network and shall wait for the response to the request. The IG shall reject a request that is missing any mandatory SIP headers with a non-200 OK HTTP response, including the reason for rejection.
Step 3:On receipt of the response from the network the IG shall return a HTTP 200 OK response (or other appropriate received responses) to the OITF to report the response to the INFO request. The response shall include a list of SIP headers as per Table 39 in addition to the normal HTTP headers as per RFC 2616 [HTTP].
If the OITF desires to provide the user with the Replay URL, it can optionally initiate the proper procedures for that purpose. This is an option that is available to the OITF.
5.3.9.1.2 Management of Content Bookmarking Creation Request by the Network
The OITF shall comply with the following when it comes to network management for storing a content bookmark in the network, for either a multicast or unicast content streaming (scheduled content or a CoD):
Step 1:At any time, the IG can receive a SIP UPDATE from the network, and where the Recv-Info header is set to remove or re-instate support for reception of CoD-Bookmark Info Package according to section 12 of [PSS-MBMS] to order the OITF to stop or start sending content bookmark creation requests. When a SIP UPDATE is received by the IG, the IG shall return an HTTP 200 OK response to the OITF. The response includes a list of SIP headers as per Table 40 in addition to the normal HTTP headers as per RFC 2616 [HTTP].
Step 2:Once the OITF accepts the incoming SIP UPDATE, it shall send an HTTP HNI-IGI PENDING-IG request to acknowledge the receipt of the SIP UPDATE. The content of the HTTP request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 41
HTTP Request Body: Empty
5.3.9.1.3 Content-related bookmark retrieval over HNI-IGI

The procedure for retrieval of content related bookmarks is similar to the procedure defined in section 5.3.2.1.2, “Session Initiation” with the addition that the OITF has indicated its willingness to receive the CoD-Bookmark Info Package according to section 12 of [PSS-MBMS] at session initiation. Assuming that is the case, the following additional steps are added to the existing procedure:

Step 1:The IG shall wait for the SIP INFO with the Bookmark list from the network. The IG shall then return a HTTP 200 OK response to the OITF to report the Bookmark list. The response includes a list of SIP headers as per Table 36, in addition to the normal HTTP headers as per RFC 2616 [HTTP], and XML (see section 5.3.9.5, “XML Schema for Content Bookmarking”) in the SIP INFO body received by the IG , as described in section 6.1.2.8.3.1, “Session Initiation over UNIS-8”. The IG then returns a SIP 200 OK to the network.
Step 2:Upon receipt of a 200 OK response, the OITF shall send an HTTP Pending Request to acknowledge the final response. The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 37
HTTP Request Body: Empty

After the OITF retrieves the content-related bookmark lists, the OITF displays the bookmark list to the user, and the user selects the bookmark from which she wishes to start viewing the content.

Table 36: Supported HTTP extension headers for an incoming SIP INFO (IG→OITF)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Response-Line

The Request-URI in the SIP INFO request shall be the contact included in the INVITE Request message, that is the user ID (IMPU).

RFC 3261 [SIP]

INFO <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Content-Type

shall be set to “application/3gpp-ims-pss-mbms-bookmark+xml” that corresponds to Annex J of [PSS-MBMS]

RFC 3261 [SIP]
X-OITF-Content-LengthRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
X-OITF-Recv-Info

To indicate willingness to receive the CoD-Bookmark Info Package according to section 12 of [PSS-MBMS], it shall be set to CoD-Bookmark or add CoD-Bookmark to the capability set;
or
To indicate unwillingness, it shall be empty or remove CoD-Bookmark

RFC 6086 [INFO-PKG]
Table 37: Supported HTTP extension headers in the response message to an incoming HNI-IGI SIP INFO (OITF→IG)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Request-Line

The Request-URI in the ACK request shall be the contact included in the incoming SIP INFO message

RFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

The URI part of X-OITF-To shall be set to the value of the Request URI in the “X-OITF-Request-Line” of the INVITE request

RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Contact

The URI parameter shall be included, and shall match what has been inserted in the INVITE message. The IG includes all other mandatory parameters that are absent.

RFC 3261 [SIP]
5.3.9.2 Protocol over UNIS-6 for DAE-based Content Bookmark management

UNIS-6 may be used for the unicast transport of HTML ECMAScript documents between the OITF DAE function and the IPTV Application FE for DAE-based subscription profile management. In this case, the IPTV Application FE acts as a front-end to the IPTV Service Profile FE. When the HTTP request for bookmark management is received from OITF, the IPTV Application FE manipulates the IPTV Service Profile FE.

5.3.9.2.1 DAE-based Content Bookmark Creation Request

Upon receipt of an HTTP Request for a content bookmark creation request from the OITF, the bookmark IPTV Application shall authorize the request and shall verify if the bookmark is for scheduled content or CoD.

If the content bookmark is for a scheduled content, the bookmark IPTV application verifies first if the content is available for bookmarking, i.e. stored in the network. If available for bookmarking, the bookmark IPTV application, after performing the necessary adaptation, stores the bookmark information in the IPTV Service Profile using XCAP PUT request for that purpose.

For bookmarks related to CoD, the bookmark information is stored in the user IPTV Service Profile without any additional verification by the IPTV application.

5.3.9.2.2 DAE-based Bookmark Retrieval Request

Upon receipt of a content bookmark retrieval request from the OITF, the bookmark IPTV Application shall first authorize the request and subsequently shall issue an XCAP GET request to the IPTV Service Profile to retrieve all stored content bookmarks for the user.

5.3.9.2.3 DAE-based Content Bookmark Update over UNIS-6

Content Bookmark update is essentially achieved through XML re-writing of the content bookmarks in the IPTV user Service Profile. It includes three steps; first all the content bookmarks are retrieved from the IPTV Service Profile; next the end user performs locally the necessary update (deletions/alterations); and finally the updated content bookmark is saved in the IPTV Service Profile.

The bookmark IPTV Application shall authorize the request and subsequently shall issue an XCAP GET to the IPTV Service Profile and display the results to the user.

Upon receipt of a content bookmark request from the OITF, the bookmark IPTV Application shall authorize the request and subsequently shall issue an XCAP PUT to the IPTV Service Profile to store the updated content bookmarks. The IPTV Service Profile shall acknowledge the successful storage of the updated content bookmarks in an HTTP 200 OK to the bookmark IPTV application which in turn returns the response back to the OITF.

Note that XCAP supports several approaches for retrieving/storing bookmark information within the user profile. It is an implementation issue as to which approach the IPTV application implements.

5.3.9.3 Protocol over NPI-2
5.3.9.3.1 Protocol for Storing Content Bookmarks

Upon receipt of a bookmark store request from the IPTV Control FE, the bookmark IPTV Application shall verify if the bookmark is for scheduled content or CoD.

If the content bookmark is for a scheduled content, the bookmark IPTV Application verifies first if the content is available for bookmarking, i.e. stored in the network. If available for bookmarking, the bookmark IPTV Application, after performing the necessary adaptation, stores the content bookmark information in the user IPTV Service Profile using XCAP PUT request for that purpose.

For bookmarks related to CoD, the content bookmark information is stored in the user IPTV Service Profile without any additional verification by the bookmark IPTV Application.

Following the completion of the XCAP transaction, a response is sent to the IPTV control server FE.

5.3.9.4 Protocol over UNIP-1
5.3.9.4.1 Protocol for Retrieving Stored Content Bookmarks

If the OITF desirers to retrieve content bookmarks stored in the network over UNIP-1, it shall send an XCAP GET request to the IPTV Service Profile. The IPTV Service Profile shall return all stored bookmarks in an HTTP 200 OK response.

5.3.9.4.2 Protocol for Updating Content Bookmarks

If the OITF desirers to update a content bookmark(s) stored in the network over UNIP-1, it shall send an XCAP GET request to the IPTV Service Profile. The IPTV Service Profile shall return all stored bookmarks in an HTTP 200 OK response. Once the user completes the update process, the OITF shall send an XCAP PUT request to the IPTV Service Profile to update the content bookmarks. The IPTV Service Profile shall acknowledge the successful storage of the updated content bookmarks in an HTTP 200 OK response.

Table 38: Supported HTTP extension headers in the HNI-IGI SIP INFO Request message for Content Bookmark (OITF→IG)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Request-Line

The Request-URI in the INFO request shall be the well-known PSI (Public Service Identifier) of the bookmarked content service.

For a Scheduled Service: OIPF_IPTV_SC_Service@<domain name>.

For a Content on Demand: OIPF_IPTV_CoD_Service_*@<domain name>.

RFC 3261 [SIP]

INFO <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

The URI part of X-OITF-To shall be set to the value of the Request URI in the “X-OITF-Request-Line”

RFC 3261 [SIP]
X-OITF-Contact

The URI parameter must be included, and must match what is returned in the Contact header included in the response to the registration process.

The IG includes all other mandatory parameters that are absent.

RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Info-Package

shall be set to CoD-Bookmark according to section 12 of [PSS-MBMS].

RFC 6086 [INFO-PKG]
X-OITF-Content-Type

shall be set to “application/3gpp-ims-pss-mbms-bookmark+xml” that corresponds to Annex J of [PSS-MBMS]

RFC 6086 [INFO-PKG], section 5.3.9.5, “XML Schema for Content Bookmarking
X-OITF-Content-LengthRFC 3261 [SIP]
X-OITF-Content-DispositionRFC 6086 [INFO-PKG]
Table 39: Supported HTTP extension headers in the response message to an HNI-IGI INFO request message for Content Bookmark (IG→OITF)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
Table 40: List of HTTP extension headers for an incoming SIP UPDATE (IG→OITF)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Request-Line

The Request-URI in the INVITE must match the contact URI included in the contact filed of the SIP INVITE

RFC 3261 [SIP]

UPDATE <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Content-TypeRFC 6086 [INFO-PKG]
X-OITF-Content-LengthRFC 3261 [SIP]
X-OITF-Recv-Info

To indicate willingness to receive the CoD-Bookmark Info Package according to section 12 of [PSS-MBMS], it shall be set to CoD-Bookmark or add CoD-Bookmark to the capability set;
or
To indicate unwillingness, it shall be empty or remove CoD-Bookmark

RFC 6086 [INFO-PKG]
Table 41: Supported HTTP extension headers in the response message to an incoming HNI-IGI SIP UPDATE Request Message (OITF→IG)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
5.3.9.5 XML Schema for Content Bookmarking
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:oipf:iptv:bookmark:2011"
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xmlns:tns="urn:oipf:iptv:bookmark:2011"
  xmlns:bmk3gpp="urn:3gpp:bookmark:2009:IMS-PSS-MBMS"
  elementFormDefault="qualified" attributeFormDefault="unqualified">
  <xs:import namespace="urn:3gpp:bookmark:2009:IMS-PSS-MBMS"
    schemaLocation="imports/3gpp-bookmark-2009-IMS-PSS-MBMS.xsd"/>
  <xs:complexType name="BookmarkType">
    <xs:complexContent>
      <xs:extension base="bmk3gpp:BookmarkType">
        <xs:sequence>
          <xs:element name="Location" type="xs:string" minOccurs="0"/>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:schema>

The following elements shall be provisioned by the entity submitting the content bookmark for storage:

  • Creator. This element is set to the IMS Public Identity (IMPU).
  • Created.
  • Comment. This element represents any comment chosen by the user.
  • Tag. This element represents any categorization chosen by the user.
  • Rank. This element represents the user favourite rating for the bookmark.
  • Sharing. If set to “true”, the bookmark can be shared with others.
  • Retrieval count shall be set to 0 and incremented by the service provider when the bookmark is retrieved.

The following elements and attributes shall be provisioned by the service provider before storing the content bookmark in the user service profile:

  • Expires
  • id

The following elements shall be conditionally provisioned by the OITF or the service provider as described below:

  • ProgramId and ProgramType. This reflects the identifier of the content being bookmarked. This information is typically submitted by the OITF.
    • For scheduled content, the CRID for the program currently being watched shall be included in this ProgramId element and the ProgramType element shall be set to “SC”;
    • for content on demand the CRID for the content shall be included in the ProgramId element and the ProgramType element shall be set to “CoD”.
    The network shall verify provisioned information in case of scheduled content and content on demand, and shall ensure that the information provided is accurate. If the provisioned information is inaccurate or missing, it shall be corrected/completed respectively by the network, where applicable. Furthermore, for scheduled content, the network shall ensure that the program is stored in the network before the request is accepted.
  • Location. This item includes the bookmark URL. The URL shall allow the user to stream the content at a later time from the bookmarked position. The information shall be created by the network, and included in the element before storing the information in the IPTV Service Profile
  • Offset. This element includes the bookmark position in the form of an offset from the beginning of the stream.
    • For content on demand, the Offset shall be included by the OITF and shall be verified before storage, if possible.
    • For scheduled content, the OITF shall set the Offset to PT0S. The network shall first ensure that the content is recorded in the network. The network shall consult with the EPG and the time of the incoming request to calculate the Offset prior to storage in the network. The calculated stored Offset shall take into account the network storage aspects into consideration to ensure accurate mapping when streaming is later activated through the bookmark URL.
  • Retrieval Time shall be updated with a new entry every time the content bookmark is retrieved (note that retrieval does not imply the content bookmark is used)

5.3.10 Local PVR Service using SIP

5.3.10.1 Local PVR Service using SIP

The OITF initiates the request for PVR Service Capture Request using the following procedure:

Step 1:The OITF shall send an HTTP POST request to the IG over the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).” The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 42
HTTP Request Body: The OITF shall include a body associated with the appid “urn:oipf:service:PVR:2011”.
  • The message body shall include the parameters related to ctCaptureRequest Type choice setup as follows.
    • RequestType: indicates type of service request (i.e. SetUpRecording, CancelRecording, UpdateRecording, RetrievalRecording.)
    • ProgramId: identifies the content or program to be recorded in the OITF
    • BCServiceId: identifies scheduled content channel from which the program is to be recorded in the OITF
    • ProgramStartTime: indicates the time to start the recording that the OITF requests
    • ProgramDuration: indicates the time duration of the recording that the OITF requests
    • StorageRecMode: indicates the location where requested content will be recorded (i.e. Local, Network). In case of Local PVR service, the StorageRecMode shall be “Local”.
    • TargetDeviceID: identifies the target Local PVR (OITF) whom contents are recorded at. This parameter shall be shown as syntax of sip.instance feature tag or GRUU

According to the RequestType, the OITF shall initiate a request for recording order setup, recording order cancel, recording order update, recording order retrieval.

The Content-Type of the message body shall be set to “application/vnd.oipf.pvr+xml” as described in Table 42 for X-OITF-Content-Type header.

Step 2:The IG shall validate that the request includes all the mandatory SIP headers for the process as per Table 42. The IG shall reject a request that is missing any mandatory SIP headers with a non-200 OK HTTP response, including the reason for rejection.
Step 3:The IG shall send a SIP MESSAGE to the network to initiate LPVR as requested by the OITF, and shall wait for the response to the request. The IG shall return HTTP 200 OK response (or other appropriate response) to the OITF to report the response to the PVR Service Capture Request. The response shall include a list of SIP header as per Table 43 in addition to the normal HTTP headers as per RFC 2616 [HTTP].
Step 4:The OITF shall send an HTTP HNI-IGI PENDING_IG request (refer to section 5.6.1.1, “HNI-IGI Message Types”) and shall wait for any response.
Step 5:When a SIP MESSAGE is received by the IG, the IG shall return an HTTP 200 OK response to the OITF. The response shall include the list of SIP header as per Table 45 in addition to the normal HTTP headers as per RFC 2616 [HTTP]. The body of the HTTP response shall include the SIP body received in the incoming MESSAGE message. The content of the HTTP Response shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 45
HTTP Request Body: The OITF shall include a body associated with the appid “urn:oipf:service:PVR:2011”.
  • The message body shall include the parameters related to ctLPVRRecordRequest Type choice setup as follows.
    • RequestType: indicates type of service request (i.e. SetUpRecording, CancelRecording, UpdateRecording, RetrievalRecording.)
    • ProgramId: identifies the content or program to be recorded in the OITF
    • BCServiceId: identifies scheduled content channel from which the program is to be recorded in the OITF
    • ProgramStartTime: indicates the time to start the recording that the OITF requests
    • ProgramDuration: indicates the time duration of the recording that the OITF requests
    • StorageRequirement: indicates the required storage of Local PVR for recording requested content.

Note that at any time, the IG can receive such a message from the network to perform a new request type on a pending recording request (e.g., recording order cancel, recording order update).

The Content-Type of the message body shall be set to “application/vnd.oipf.pvr+xml” as described in Table 42 for X-OITF-Content-Type header.

Step 6:Once the OITF accepts the incoming request, the OITF shall send an HTTP POST request (refer to section 5.6.1.1, “HNI-IGI Message Types”) to the IG to convey the SIP response. The HTTP request shall include the SIP headers as per Table 43 in addition to the normal HTTP headers as per RFC 2616 [HTTP].
Step 7:When time to order recording of a requested content is up, the OITF shall initiate the multicast content streaming session setup. The OITF shall follow the steps defined by section 5.3.1.1.1, “Session Initiation.”
Table 42: List of HTTP extension headers for PVR Service Capture Request Message (OITF→IG)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Request-Line

Note: The request URI must be set to the well-known PSI for the PVR Service.

RFC 3261 [SIP]

MESSAGE <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

The URI part of X-OITF-To shall be set to the value of the Request URI in the “X-OITF-Request-Line”

RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Content-Type

shall be set to “application/vnd.oipf.pvr+xml”

RFC 3261 [SIP]
X-OITF-Content-LengthRFC 3261 [SIP]
X-OITF-Content-Contact

The URI parameter and the sip.instance feature tag must be included and must match what is sent in the contact header included in the registration request.

RFC 3261 [SIP]
Table 43: List of HTTP extension headers for the response to PVR Service Capture Request and PVR Record Request Message (IG→OITF and OITF→IG)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
Table 44: List of HTTP extension headers for the PVR Record Request (IG→OITF)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Request-Line

Note: The request URI must be set to the Public identity of the target of the message

RFC 3261 [SIP]

MESSAGE <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

The URI part of X-OITF-To shall be set to the value of the Request URI in the “X-OITF-Request-Line”

RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Content-Type

shall be set to “application/vnd.oipf.pvr+xml”

RFC 3261 [SIP]
X-OITF-Accept-ContentSet to the SIP Instance of the TargetDevice

This parameter includes required and explicated as RFC 3841 [RFC3841]

X-OITF-Content-LengthRFC 3261 [SIP]
5.3.10.2 XML Schema for PVR Service
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:oipf:service:PVR:2011"
  xmlns:tns="urn:oipf:service:PVR:2011"
  xmlns:ct="urn:oipf:base:CommonTypes:2011"
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xmlns:ueprofile="urn:oipf:iptv:UEProfile:2010"
  xmlns:iptvprofile="urn:oipf:iptv:IPTVProfile:2011"
  elementFormDefault="qualified" attributeFormDefault="unqualified">
  <xs:import namespace="urn:oipf:base:CommonTypes:2011"
    schemaLocation="base-CommonTypes.xsd" />
  <xs:import namespace="urn:oipf:iptv:UEProfile:2010"
    schemaLocation="iptv-UEProfile.xsd"/>
  <xs:import namespace="urn:oipf:iptv:IPTVProfile:2011"
    schemaLocation="iptv-IPTVProfile.xsd"/>
  <xs:element name="PVR">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="ServiceType" type="tns:ctServiceType"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:complexType name="ctServiceType">
    <xs:choice>
      <xs:element name="CaptureRequest" type="tns:ctCaptureRequest"
        maxOccurs="unbounded"/>
      <xs:element name="LPVRRecordRequest" type="tns:ctLPVRRecordRequest"
        maxOccurs="unbounded"/>
      <xs:element name="NPVRRecordRequest" type="tns:ctNPVRRecordRequest"
        maxOccurs="unbounded"/>
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="ctCaptureRequest"><!-LPVR Capture request/response-->
    <xs:sequence>
      <xs:element name="RequestType" type="tns:stRequestType"/>
      <xs:element name="ProgramID" type="ct:ProgramIdType"/>
      <xs:element name="BCServiceID" type="iptvprofile:tBCServiceID"/>
      <xs:element name="ProgramStartTime" type="xs:dateTime"/>
      <xs:element name="ProgramDuration" type="xs:duration"/>
      <xs:element name="StorageRecMode" type="tns:stStorageRecMode"/>
      <xs:element name="TargetDeviceID" type="ueprofile:tUEID"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ctLPVRRecordRequest"><!-LPVR Record request/response-->
    <xs:sequence>
      <xs:element name="RequestType" type="tns:stRequestType"/>
      <xs:element name="ProgramID" type="ct:ProgramIdType"/>
      <xs:element name="BCServiceID" type="iptvprofile:tBCServiceID"/>
      <xs:element name="ProgramStartTime" type="xs:dateTime"/>
      <xs:element name="ProgramDuration" type="xs:duration"/>
      <xs:element name="StorageRequirement" type="tns:ctStorageRequirement"
        minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ctNPVRRecordRequest"><!-NPVR Record request/response-->
    <xs:sequence>
      <xs:element name="RequestType" type="tns:stRequestType"/>
      <xs:element name="ProgramID" type="ct:ProgramIdType"/>
      <xs:element name="BCServiceID" type="iptvprofile:tBCServiceID"/>
      <xs:element name="ProgramStartTime" type="xs:dateTime"/>
      <xs:element name="ProgramDuration" type="xs:duration"/>
      <xs:element name="StorageRequirement" type="tns:ctStorageRequirement"
        minOccurs="0"/>
      <xs:element name="RequestStatus" type="tns:tRequestStatus" minOccurs="0"/>
      <xs:element name="CRID" type="xs:string" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="stRequestType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="SetUp"/>
      <xs:enumeration value="Cancel"/>
      <xs:enumeration value="Update"/>
      <xs:enumeration value="Retrieval"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="stStorageRecMode">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Local"/>
      <xs:enumeration value="Network"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="ctStorageRequirement">
    <xs:simpleContent>
      <xs:extension base="xs:int">
        <xs:attribute name="unit" type="xs:string" use="optional" default="KB"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
  <xs:simpleType name="tRequestStatus">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Recording Scheduled"/>
      <xs:enumeration value="Recording Started"/>
      <xs:enumeration value="Recording Completed"/>
      <xs:enumeration value="Recording Deleted"/>
      <xs:enumeration value="Recording Failed"/>
    </xs:restriction>
  </xs:simpleType>
</xs:schema>

5.3.11 Network PVR (nPVR) using SIP

5.3.11.1 Protocol over HNI-IGI – HTTP Option

When the OITF initiates the request for network PVR Service Request, the procedure defined in section 5.3.10, “Local PVR Service using SIPshall apply, with following additional constraints:

  • In step 1, the HTTP Request Body shall be set so that in the PVR request message ctNPVRRecordRequest shall be the selected choice and shall be set as follows:
    • RequestType: indicates type of service request
    • ProgramId: identifies the content or program to be recorded in the OITF
    • BCServiceId: Identifies the scheduled content channel from which the program is to be recorded in the OITF
    • ProgramStartTime: indicates the time to start the recording that the OITF requests
    • ProgramDuration: indicates the time duration of the recording that the OITF requests
    • StorageRecMode: shall be set to “Network”;
  • Steps 5-6 are replaced by the following steps:
    Step 5:When a SIP MESSAGE is received by the IG due to the failure of a submitted request or to report the outcome of a pending recording request, the IG shall return an HTTP 200 OK response to the OITF. The response shall include the list of SIP headers as per Table 45. The body of the HTTP response shall include the SIP body received in the incoming SIP MESSAGE. The content of the HTTP Response shall be as follows:
    HTTP Response Header: Including the following:
    • <list of HTTP headers> - as per RFC 2616 [HTTP]
    • <list of SIP headers encoded as HTTP headers> - as per Table 45
    HTTP Response Body: The actual content included in the SIP MESSAGE body.
    Step 6:The OITF shall extract the pertinent information from the body and shall send a SIP 200 OK response to the network in an HTTP POST request
Table 45: List of HTTP extension headers for the PVR Record Request (IG→OITF)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Request-Line

Note: The request URI must be set to the Public identity of the target of the message

RFC 3261 [SIP]

MESSAGE <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

The URI part of X-OITF-To shall be set to the value of the Request URI in the “X-OITF-Request-Line”

RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Content-Type

shall be set to “application/vnd.oipf.pvrresult+xml”

RFC 3261 [SIP]
X-OITF-Content-LengthRFC 3261 [SIP]
5.3.11.2 XML schema for nPVR recording result
This section specifies the XML schema of the record status report which the CDF send to the Cluster Controller FE.
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:oipf:service:PVR:report:2010"
  xmlns:tns="urn:oipf:service:PVR:report:2010"
  xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tva="urn:tva:metadata:2011"
  elementFormDefault="qualified" attributeFormDefault="unqualified">
  <xs:import namespace="urn:tva:metadata:2011" schemaLocation="imports/tva_metadata_3-1_v171.xsd"/>
  <xs:element name="PVRResult">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="RecordResult" type="tns:tRecordingResult"/>
        <xs:element name="NPVRLocation" type="tns:tNPVRLocator"/>
        <xs:element name="SpareStorage" type="xs:double"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:complexType name="tRecordingResult">
    <xs:sequence>
      <xs:element name="RecordingStatus" type="tns:tRecordStatus"/>
    </xs:sequence>
    <xs:attribute name="ErrorCode" type="xs:string" use="optional"/>
  </xs:complexType>
  <xs:simpleType name="tRecordStatus">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Completed"/>
      <xs:enumeration value="Partial"/>
      <xs:enumeration value="Error"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="tNPVRLocator">
    <xs:choice>
      <xs:element name="CRID" type="tva:CRIDType"/>
      <xs:element name="URL" type="xs:anyURI"/>
    </xs:choice>
  </xs:complexType>
</xs:schema>

If recording is successful, the ErrorCode element attribute shall not be present. If recording failed (i.e., RecordResult element contains “Error”), any information in the NPVRLocator element shall be discarded by the OITF.

5.3.12 Personalized Channel

5.3.12.1 Procedure for Network-centric Personalized Channel (unicast only)

These procedures assume that the Personalised Channel content will be served by a single CDF, regardless of where the content is sourced.

5.3.12.1.1 PCh profile configuration

When the user wants to create a new Personalised Channel, the OITF of the user shall originate an HTTP GET request towards the IPTV Application via UNIS-6 reference point. The request shall carry the user ID.

When receiving the HTTP GET request for PCh configuration, the IPTV Application shall authorize and verify the request, and then send XCAP GET request to the IPTV Service Profile and retrieve the user’s IPTV service profile. The XCAP GET request shall be delivered on NPI-17 and include the intended user ID.

After the request is authorized, the IPTV Application shall contact the IPTV Metadata Control via NPI-33 for searching and filtering of the content metadata, and generate the personalised content guide based on the user’s personal setting (e.g. preference, location etc). The IPTV Application shall also create a valid Personalised Channel Identifier (PChId) for the generated PCh information.

The IPTV Application then responds 200 OK to the OITF via UNIS-6, carrying the generated PChId and associated PCh information, e.g., PCh item IDs (SC service ID or COD content ID), related time schedule, etc.

If the OITF desires to modify the PCh information that has been created, it shall send an HTTP PUT request through UNIS-6 to the IPTV Application, carrying the intended user ID and the PCh information for updating. The IPTV Application shall updates the PCh information towards the IPTV Service Profile FE through XCAP PUT over NPI-17, and then responds the OITF with a 200 OK.

5.3.12.1.2 PCh service provision
5.3.12.1.2.1 PCh session initiation over HNI-IGI
When the user wants to watch the programs scheduled in their PCh, the OITF of the user shall originate a request for PCh Service Set-up. The procedure is similar to the procedure described in section 5.3.2.1.2, “Session Initiation”, with the exception that the X-OITF-Request-Line extension header delivered over HNI-IGI (Table 16) shall include the Personalised Channel identifier (PChId), e.g. IPTV_PCH_Service_PChId@<domain name>, where:
  • The Personalised Channel identifier (PChId) is retrieved from the IPTV Application in the PCh configuration procedure, section 5.3.12.1.1, “PCh profile configuration.”
  • The domain part (<domain name>) is the IPTV Service Provider domain name, obtained from the IPTV Service Provider discovery function.
5.3.12.1.2.2 PCh session termination over HNI-IGI
The OITF shall send the request for a Personalised Channel session termination using the procedure as described in section 5.3.2.1.3, “Session Termination”.
5.3.12.2 OITF-centric Personalised Channel

When the user wants to create a new Personalised Channel, the user’s OITF may originate an HTTP GET request towards the IPTV Application via the UNIS-6 reference point. The request shall carry the user ID.

When receiving the HTTP GET request for PCh configuration, the IPTV Application shall authorize and verify the request, and then send an XCAP GET request to the IPTV Service Profile and retrieve the user’s IPTV service profile. The XCAP GET request shall be delivered on the NPI-17 interface and includes the intended user ID.

The IPTV Application then responds with a 200 OK message to the OITF via UNIS-6, carrying the user profile which can be used for generating the Personalised Channel Guide at the OITF.

The OITF should ensure that the Personalized Channel does not include a time gap. When the OITF detects a time gap between adjacent content items in the PCh schedule, it determines if the length of the time gap is longer than a specified threshold (e.g. user defined), and may insert padding content into the time gap.

The padding content can be obtained from a PCh compatible source, e.g. PVR or other Home Network device as shown in the Figure 30 of [OIPF_PROT_EX2].

When the OITF detects an overlap between adjacent content items in the PCh schedule, the OITF decides the location of the PVR (LPVR or nPVR) used to record the overlapped contents based on either a pre-configured policy or the capability of OITF or network (ex, storage, bandwidth, etc).

The messaging and procedures for recording the overlapped content item on an LPVR shall be as specified in section 5.3.10, “Local PVR Service using SIP.”

The messaging and procedures for recording the overlapped content item on an nPVR shall be as specified in section 5.3.11, “Network PVR (nPVR) using SIP”.

After the overlapped content item has finished recording and the time gap has been filled, the OITF should update the Personalised Channel Guide with the revised content access information.

The OITF sets up the proper session for content delivery or plays the locally stored content according to the already configured Personalized Channel Guide.

5.3.13 Session Transfer with SIP session management

5.3.13.1 Protocol over HNI-IGI – HTTP Option
5.3.13.1.1 Generic Session Transfer Procedures

The procedures in this section are generic in nature and apply equally to the various modes of session transfer.

5.3.13.1.1.1 Transferee unicast session streaming Session Initiation associated with a session Transfer

For all session transfer modes, it is assumed that the transferee initiates the session associated with a transfer. As a pre-requisite before session initiation, it is assumed that the transferee has accepted a request for a session transfer, and/or has the necessary information to initiate a new session to handle the transferred session.

A transferee shall initiate the request for a unicast content streaming session to setup the content delivery channel and content control channel using the procedure defined in section 5.3.2.1.2, “Session Initiation”, with the following exceptions in Table 16:

Furthermore, the IG handling in step 2 in section 5.3.2.1.2, “Session Initiation” is replaced by the IG handling as depicted in section 5.3.13.1.1.2, “IG handling of Session Initiation Requests related to a session transfer”.

The remaining steps in section 5.3.2.1.2, “Session Initiation” apply.

5.3.13.1.1.2 IG handling of Session Initiation Requests related to a session transfer

If the transferor OITF and the transferee OITF are behind the same IG, and given the fact that the transferee must successfully establish the new session before the old session can be torn down, QoS resources, over the last mile, will be doubly booked while the transfer is ongoing.

Indeed, the new session initiated by the transferee to handle the transferred session may not be able to successfully complete due to resources (last mile) unavailability as a result of the old session holding on to the resources, while not being utilized, during the transfer.

In order to avoid this situation, special processing is required in the IG to release the resources associated with the transferred session while the new session is being established, if both the transferor and the transferee are behind the same IG, hence sharing the same last mile.

If for any reason the transfer failed, the IG can reclaim the released resources associated with the transferred session back and the old session can resume.

To that effect, and upon receipt by the IG for an HTTP POST for a SIP INVITE the IG shall perform the following procedure:

  • If the session is a content session associated with a session transfer and the SIP header X-OITF-Replace header is not included then the procedure terminates.
  • If the session is a content session associated with a session transfer and the SIP header X-OITF-Replace header is included and the dialog identifier points to a session whose state is not held the IG, then the transferor and the transferee are not behind the same IG and the procedure terminates.
  • If the session is a content session associated with a session transfer and the SIP header X-OITF-Replace header is included and the dialog identifier points to a session whose state is held the IG, then the transferor and the transferee OITF are behind the same IG. In this case the IG shall perform the following steps:
    Step 1:The IG shall send to the transferor OITF an HTTP 200 OK response. The response shall include a SIP re-INVITE as per Table 16 with the following exceptions:
    • The SIP header information is populated appropriately given the re-INVITE is sent from the IG to the OITF.
    • The HTTP body shall be similar to SDP included by the IG in the 200 OK response to the original content session initiation request from the transferor with the port of the m-line representing the content stream being set to zero in this case.
    Step 2:Once the OITF accepts the incoming SIP re-INVITE after the stream has been successfully paused (the transferor OITF could have already paused the stream or it would pause the stream before accepting the re-INVITE), it shall send an HTTP POST PENDING_IG request to the IG. The content of the HTTP Request shall be as follows:
    HTTP Response Header: It includes the following:
    • <list of HTTP headers> - as per RFC 2616 [HTTP]
    • <list of SIP headers encoded as HTTP headers> - as per Table 17 (notice the direction in this case is from OITF→IG)
    HTTP Response Body: The actual content included in the SIP MESSAGE body.
    Step 3:The IG shall send to the transferor OITF an HTTP 200 OK response. The response shall include a SIP ACK as per Table 14 with the following exception:
    • The SIP header information is populated appropriately given the ACK is sent from the IG to the OITF
    Step 4:The IG shall send a SIP UPDATE (or SIP re-INVITE) to the network, to request the transferor stream to be put on hold and to reduce the requested QoS resources on the transferor OITF last mile down to zero. The SIP UPDATE (or SIP re-INVITE) shall conform to [TS124503] in that regard. The body of the SIP UPDATE (or SIP re-INVITE) shall be identical to the SDP in the INVITE of the content session initiation with the exception described above. The IG shall wait for the response to the request.
    Step 5:Upon receipt of a SIP 200 OK response or any other response, the procedure terminates
5.3.13.1.2 Session Transfer via Push Mode
5.3.13.1.2.1 OITF Target Discovery
An OITF that wants to locate a target OITF for session transfer purposes shall perform the procedures described in section 5.4.6.1.4, “Procedure for Subscription to the Registration Event Package”. Subsequently a target OITF can be selected from the returned information.
5.3.13.1.2.2 Transferor OITF Initiating a Session Transfer Request - Push Mode

To initiate a session transfer request, the transferor OITF shall follow the following procedure:

Step 1:As a pre-requisite it is assumed that the user is watching a unicast content streaming service and has selected a target device (transferee OITF) for the session.

In this step the transferor OITF shall bookmark the content as per section 5.3.9.1.1, “IMS-based Content Bookmark Creation Request”. The bookmark shall be included in the body of the SIP REFER (as shown in step 2)

Step 2:The transferor OITF shall send an HTTP POST request for the session transfer to the IG over the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).” The content of the HTTP Request shall be as follows:
HTTP Response Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - see Table 46
HTTP Response Body: As per section 5.3.13.2, “XML Schema for Session Transfer Information included in a session transfer request from the transferor to transferee”.
Step 3:The IG shall validate that the request includes all the mandatory SIP headers as per Table 46. The IG shall reject a request that is missing any mandatory SIP headers with a non-200 OK HTTP response, including the reason for rejection.
Step 4:The IG shall send a SIP REFER to the network, to setup the request and shall wait for the response. At some point in time, the IG shall return a HTTP 200 OK response (or other appropriate responses) to the transferor OITF to report the received response from the transferee to the transfer request. The response shall include a list of SIP headers as per Table 47 in addition to the normal HTTP headers as per RFC 2616 [HTTP].
Step 5:Following that, the transferor OITF shall send an HTTP HNI-IGI PENDING_IG request (refer to section 5.6.1.1, “HNI-IGI Message Types”), and shall wait for any response reporting the outcome of the session transfer procedure.
Step 6:At some point in time, the IG shall receive an incoming SIP NOTIFY from the transferee OITF, reporting the outcome of the session transfer and which it shall forward to the transferor OITF in an HTTP 200 OK response. The HTTP response shall include the list of SIP headers as per Table 48 in addition to the normal HTTP headers. The body of the HTTP response shall include the SDP body received in the NOTIFY.
Step 7:The transferor OITF shall return the SIP 200 OK response, acknowledging the SIP NOTIFY, to the IG, in an HTTP POST PENDING_IG request. The content of the HTTP request shall be as follows:
HTTP Response Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - see Table 49
HTTP Response Body: Empty
Table 46: List of HTTP extension headers for an outgoing SIP REFER from the transferor for initiating up a session transfer request (OITF→IG) and incoming SIP REFER request to the transferee (IG→OITF)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Request-Line

Note: The request URI shall be set to the transferee (target device OITF) contact information received during the device discovery process.

RFC 3261 [SIP]

REFER <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

The URI part of X-OITF-To shall be set to the value of the Request URI in the “X-OITF-Request-Line”

RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Refer-To

shall be set to the remote target URI included in the contact header field returned in the SIP 200 OK associated with initial session setup with the transferor and extended with the following URI headers fields:

  • Replaces header field shall include the SIP dialog identifier for the original unicast content streaming session as per [RFC3891]
  • Require header field populated with the option tag value ”replaces”
  • To header field shall contain the original content identifier copied from the Request URI of the original SIP INVITE request initiated from the transferor.
  • OPTIONALLY an Accept-Contact header field with the g.3gpp.icsi-ref media feature tag set to the IPTV Communication service identifier "urn%3Aurn-7%3A3gpp-service.ims.icsi.iptv"
  • P-preferred-Service set to IPTV Communication service Identifier urn:urn-7:3gpp-service.ims.icsi.iptv
  • Body header. Contains the SDP body to be included in the SIP request initiated from the transferor. OITF. The SDP body shall contain the same number of media lines as the SDP used in the original session from the transferor OITF. Each media line shall indicate the same media type as its corresponding media component in the SDP used in the original session by the transferor OIPF. The media line for the media to be transferred shall include a port number with non zero value.
Example:
Refer-To:
<sip:remoteuser@home2.net;gr=urn:uuid:f81d4fae-7dec-11d0-a765-333333333333?Replaces=AB03a0s09a2sdfglkj490333%3Bremote-tag=Afgsdfg45%3Blocal-tag=U188gg&Require=replace&P-Preferred-Service=urn:urn-7:3gpp-service.ims.icsi.iptv&Accept-Contact=*%3b+g.3gpp.icsi-ref%3d%22urn%253Aurn-7%253gpp-service.ims.icsi.iptv%22
RFC 3261 [SIP]

[SRVCONT]

RFC 3891 [RFC3891]

X-OITF-ContactRFC 3261 [SIP]
X-OITF-Content-Type

shall be set to “application/vnd.oipf.session-transfer+xml” corresponding to section 5.3.13.2, “XML Schema for Session Transfer Information included in a session transfer request from the transferor to transferee

X-OITF-Content-LengthRFC 3261 [SIP]
Table 47: List of HTTP extension headers for the response to an outgoing SIP REFER from the transferor for setting up a session transfer request (IG→OITF) and the response sent to an incoming SIP REFER to the transferee (OITF→IG)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
5.3.13.1.2.3 Transferee OITF Receiving an Incoming Session Transfer Request – Push Mode

The procedure at an OITF selected to be the target device (transferee OITF) in a push mode is as follows

Step 1:It is assumed that the OITF has an HTTP PENDING_IG request. At some point in time, when a REFER request targeted for the transferee OITF is received by the IG, the IG shall return a HTTP 200 OK response to the OITF. The response shall include the list of SIP headers as per Table 46, in addition to the normal HTTP headers as per RFC 2616 [HTTP]. The body of the HTTP response shall include the XML structure as per section 5.3.13.2, “XML Schema for Session Transfer Information included in a session transfer request from the transferor to transferee”.
Step 2:The OITF shall examine the incoming REFER request. In particular, the OITF shall extract the body header to use it to later construct its own SDP for the session transfer (see section 5.3.13.1.1.1, “Transferee unicast session streaming Session Initiation associated with a session Transfer”). If the OITF cannot successfully validate the extracted SDP, it shall reject the incoming request. If the OITF successfully validates the extracted SDP it should accept the incoming request.
Step 3: Once the OITF accepts the incoming SIP REFER, it shall send an HTTP POST PENDING_IG request to the IG. The content of the HTTP Request shall be as follows:
HTTP Response Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 47 with the exception that the response in this case is a SIP 202 OK
HTTP Response Body: Empty
Step 4:The OITF shall extract the following information from the incoming REFER request:
  • The Content URI extracted from the To header included in the Refer-To header.
  • The body header.
  • The Dialog ID to be replaced extracted from the Replace header in the Refer-To header.
  • The content bookmark from the HTTP body, if present, and if understood by the OITF.
Step 5:The transferee OITF shall then construct an SDP that it can used to initiate a new session to handle the transfer. The OITF may follow section 5.3.2.1.1, “Retrieval of Session Parameters”, if need be, towards the construction of the SDP.
Step 6:The transferee OITF shall then invoke the procedure defined in section 5.3.13.1.1.1, “Transferee unicast session streaming Session Initiation associated with a session Transfer”.
Step 7: Once the session setup is successfully completed, the OITF shall send an HTTP POST request to the IG over the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI)”. The content of the HTTP Request shall be as follows:
HTTP Response Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 48
HTTP Response Body: SIP/2.0 200 OK (or the outcome of the session initiation request)
Step 8:The IG shall validate that the request includes all the mandatory SIP headers as per Table 52. The IG shall reject a request that is missing any mandatory SIP headers with a non-200 OK HTTP response, including the reason for rejection.
Step 9:The IG shall send a SIP NOTIFY to the network, to report the outcome of the session transfer and shall wait for the response. The IG shall return a HTTP 200 OK response (or other appropriate responses) to the transferee OITF to report the received response from the transferor OITF. The response shall include a list of SIP headers as per Table 49 in addition to the normal HTTP headers as per RFC 2616 [HTTP].

Following that, all unicast content streaming procedures apply to the session.

Table 48: Supported HTTP extension headers in the NOTIFY request sent from the transferee OITF (OITF→IG) to the transferor (IG→OITF)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Request-Line

Notes:

  1. The Request URI must match the contact URI included in the contact field of the SIP REFER
RFC 3261 [SIP]

NOTIFY <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-EventRFC 3515 [RFC3515]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-Subscription-StateRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Content-Type

shall be set to “message/sipfrag”

RFC 3515 [RFC3515], RFC 3420 [RFC3420]
X-OITF-LengthRFC 3261 [SIP]
Table 49: Supported HTTP extension headers in the response to a NOTIFY request received from the IG (IG→OITF) transferor to the transferee
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
5.3.13.2 XML Schema for Session Transfer Information included in a session transfer request from the transferor to transferee
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:oipf:iptv:transfer:2011"
  xmlns:tns="urn:oipf:iptv:transfer:2011"
  xmlns:ct="urn:oipf:base:CommonTypes:2011"
  xmlns:bmk="urn:oipf:iptv:bookmark:2011"
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  elementFormDefault="qualified" attributeFormDefault="unqualified">
  <xs:import namespace="urn:oipf:base:CommonTypes:2011"
    schemaLocation="base-CommonTypes.xsd" />
  <xs:import namespace="urn:oipf:iptv:bookmark:2011"
    schemaLocation="iptv-bookmark.xsd"/>
  <xs:element name="Sessiontransfer">
    <xs:annotation>
      <xs:documentation>This describes information elements needed to support
        session transfer</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="session-bookmark" type="bmk:BookmarkType"/>
      <xs:element name="transferee" type="ct:UserIdType" />
      <xs:documentation> this element is populated with the same information
        included in the Request URI of the REFER Request </xs:documentation>
      <xs:any namespace="##any" processContents="lax" minOccurs="0"
        maxOccurs="unbounded"element name="any" type="any"/>
    </xs:sequence>
  </xs:element>
</xs:schema>

5.4 Protocol for Service Access and Control Functions

5.4.1 Service Provider Discovery

5.4.1.1 Protocol over HNI-IGI – HTTP Option
5.4.1.1.1 Retrieval of Service Provider Discovery Information

The procedures in this section shall only be performed in the context of the default user. When the OITF supports native HNI-IGI, it shall follow the following procedure to retrieve Service Provider Discovery Information:

Step 1:The OITF shall send an HTTP POST request to the IG over the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).” The content of the HTTP Request shall be as follows:
HTTP Response Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 50
HTTP Response Body: Empty or optionally, the OITF may include a body associated with the appid “urn:oipf:application:iptv-SP-discovery”. The optional message body sent to the Service Provider Discovery FE shall include the capabilities of the OITF. The Content-Type of the message body shall be set to “application/vnd.oipf.ueprofile+xml”, which refers to the MIME type of the schema defined in Annex C.2. See Table 50 for X-OITF-Content-Type header.
Step 2:The IG shall validate that the request includes all the mandatory SIP headers required for the outgoing message as per Table 50. The IG shall reject a request that is missing any mandatory SIP headers with a non-200 OK HTTP response, including the reason for rejection.
Step 3:If the IG has the requested information, it shall respond immediately with HTTP 200 OK. If not, the IG shall send a SIP SUBSCRIBE to the network, to subscribe to the “ua-profile” event, and shall wait for the response to the subscription request. The IG shall then return a HTTP 200 OK response (or other appropriate responses) to the OITF to report the response to the subscription request. The response includes a list of SIP headers as per Table 51 in addition to the normal HTTP headers as per RFC 2616 [HTTP].
Step 4:The OITF shall send an HTTP HNI-IGI PENDING_IG request (refer to section 5.6.1.1, “HNI-IGI Message Types”), and shall wait for any incoming messages.
Step 5:When a SIP NOTIFY is received by the IG for a “ua-profile” event, the IG shall return a HTTP 200 OK response to the OITF. The response includes a list of SIP headers as per Table 52 in addition to the normal HTTP headers as per RFC 2616 [HTTP]. The body of the HTTP response shall be the SIP body received in the incoming NOTIFY message. The content of the HTTP Response shall be as follows:
HTTP Response Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 52
HTTP Response Body: Body of the incoming NOTIFY

The OITF shall parse the XML document in the body to ensure that it complies with the schema defined in section 3.2.1 of [OIPF_META2].

When parsing the list of parameters, the OITF shall take the following action:

  • If the Service Provider Discovery Information for a Service Provider is already present in the OITF (i.e., for which the OITF already has an entry), and
    • If the “@Version” attribute does not have the same value as that received in the NOTIFY message, then the OITF shall perform the following actions:
      • The OITF shall update its parameters with the new values sent by the Service Provider Discovery FE. Also if the Segment@ID or Segment@Version has changed, the OITF shall update the service discovery information with that received from the Service Discovery FE.
    • If the “@Version” attribute has the same value as that received in the NOTIFY message, the OITF shall not update the stored Service Provider Discovery information.
  • If the Service Provider Discovery Information for a Service Provider is not known to the OITF (i.e., the OITF does not have an entry for the Service Provider Discovery Information)
    • The OITF shall create a new entry for the new Service Provider with all the parameters received in the NOTIFY message. The IPTV Service Provider Discovery Information delivered via this protocol shall conform to TS 102 034 [TS102034] section 5.2.5, with the extended element defined in the Metadata Specification [OIPF_META2].
Step 6:Once the OITF accepts the HTTP message containing the incoming SIP NOTIFY, it shall send an HTTP HNI-IGI PENDING_IG request to the IG. The content of the HTTP Request shall be as follows:
HTTP Response Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 53
HTTP Response Body: Empty
Step 7:The IG shall send the SIP 200 OK response to the network and then shall return to Step 5 to handle any subsequent NOTIFY received from the network.
5.4.1.1.2 Procedure for Cancellation of the Subscription

The procedure for de-registering the IPTV default user must be preceded with a cancellation of subscription.

The procedure is the same as the procedure for initiating a subscription to the “ua-profile”, except that the X-OITF-Expires header in Table 50 shall be set to 0.

Table 50: Supported HTTP extension headers in HNI-IGI SUBSCRIBE Request for SP Discovery
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Request-Line

Note: The request URI shall be set to the well known PSI. The PSI shall be composed of the domain name extracted from the public user identity with a user part set to “OIPF_IPTV_SPD”. (e.g., OIPF_IPTV_SPD@<domain_name>)

RFC 3261 [SIP]

SUBSCRIBE <Request URI> SIP/2.0

X-OITF-From

Note: The From user must be set to the IMPU of the default user.

RFC 3261 [SIP]
X-OITF-To

The URI part of X-OITF-To shall be set to the value of the Request URI in the “X-OITF-Request-Line”

RFC 3261 [SIP]
X-OITF-Event

Extend the existing “ua–profile” event package for SIP SUBSCRIBE request

The Event header shall be set to the “ua-profile” event package.

The Event parameters shall be set as follows:

  • The “profile-type” parameter shall be set to “application”.
  • The “appids” parameter shall be set to “urn:oipf:application:iptv-SP-discovery”.
RFC 3265 [SIP-EVNT] and as per TS 183 063 [TS183063] section 5.1.2.2.1
X-OITF-Contact

Notes:

  1. URI parameter must be included, and must match the value that is sent in the Contact header in the registration request.
  2. Expires parameter should be included
  3. Priority parameter should be included
The IG includes all other mandatory parameters that are absent.
RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Expires

Note: If absent a default value according to RFC 3261 [SIP] shall be assumed by the IG

To cancel the subscription, the X-OITF-Expires shall be set to 0
RFC 3261 [SIP]
X-OITF-Accept

Set to “application/vnd.oipf.spdiscovery+xml”

RFC 3261 [SIP]
X-OITF-Content-Type

OPTIONALly included when signalling OITF capabilities according schema defined in Annex C.2. shall be set to “application/vnd.oipf.ueprofile+xml”

RFC 3261 [SIP]
X-OITF-LengthRFC 3261 [SIP]
Table 51: Supported HTTP extension headers in the response to an HNI-IGI SUBSCRIBE Request for SP Discovery
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-ExpiresRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
Table 52: Supported HTTP extension headers in the NOTIFY request to the SUBSCRIBE to SP discovery
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Request-Line

Note: The Request URI must match the contact URI included in the contact field of the SIP SUBSCRIBE

RFC 3261 [SIP], RFC 3265 [SIP-EVNT] and RFC 6080 [SIP-CFG]

NOTIFY <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-EventRFC 3265 [SIP-EVNT] and as per TS 183 063 [TS183063] section 5.2.2.2
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-Subscription-StateRFC 3265 [SIP-EVNT] and RFC 3856 [SIP-PRES]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Content-Type

shall be set to “application/vnd.oipf.spdiscovery+xml”

RFC 3261 [SIP]
X-OITF-Content-LengthRFC 3261 [SIP]
Table 53: Supported HTTP extension headers in the response to a NOTIFY request to the SUBSCRIBE to SP discovery
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]

Note: Cancellation of subscription is not required if the X-OITF-Expires header was set to 0 in the initial SUBSCRIBE request.

5.4.1.1.3 Refreshing the Subscription

The procedure for refreshing a subscription is the same as the procedure for initiating a subscription.

The application initiating the subscription procedure shall refresh the subscription based on the refresh subscription timer information received in the response to the subscription. Refreshing a subscription should be performed before the expiry of the refresh timer. A subscription that is not refreshed will be terminated.

The IG shall consider a subscription terminated if is not refreshed.

5.4.1.2 Protocol over UNIS-19 and Non-native HNI-IGI

The OITF retrieves the Service Provider Discovery entry point and uses the entry point to retrieve a list of IPTV service providers using HTTP for that purpose. The IPTV Service Providers list shall be delivered as SD&S records or DAE applications. When an IPTV service provider discovery entry point is selected, Service Provider Discovery information shall be delivered as Service Discovery and Selection (SD&S) records or as DAE applications. This information is provided by the Service Platform Provider.

When SD&S records are used, the HTTP protocol conforming to TS 102 034 [TS102034] section 5.4.2 shall be used for the transport of IPTV Service Provider Discovery Information. The data delivered shall conform to TS 102 034 [TS102034] section 5.2.5, with the extension defined in [OIPF_META2].

When DAE applications are used, the HTTP protocol and data formats shall conform to section 5.3.1.1.6 of [OIPF_DAE2].

5.4.2 Service Discovery

5.4.2.1 Protocol over UNIS-6

The protocol on UNIS-6 shall be HTTP as defined in [OIPF_DAE2] for DAE application based service discovery. This protocol is used for the unicast transport of HTML ECMAScript documents between the OITF DAE function and the IPTV Application Functional Entity.

5.4.2.2 Protocol over UNIS-15

The protocol used on UNIS-15 for the transport IPTV Service Discovery information shall be HTTP conforming to TS 102 034 [TS102034] section 5.4.2.

The IPTV Service Discovery information delivered via this protocol shall conform to TS 102 034 [TS102034] section 5.2.6 with the extension defined in [OIPF_META2]

5.4.3 Service Access

5.4.3.1 Protocol over UNIS-6

UNIS-6 may be used for the unicast transport of HTML ECMAScript documents between the OITF DAE function and the IPTV Application functional entity for DAE application based service access.

See [OIPF_DAE2] for the details of the document format delivered via this protocol.

5.4.3.2 Protocol over UNIS-7

The use of the HTTP protocol on this reference point shall comply with section 4.1.2.2.2 (container based delivery) or section 4.2 (query mechanism) of the DVB-IP Broadband Content Guide specification [BCG].

The Content Guide metadata delivered via this protocol shall conform to TS 102 539 [BCG] with the extension defined in [OIPF_META2]

The OITF may request user specific information from the Metadata Control FE based on the IPTV Subscription Profile. (See section 5.4.4, “Subscription profile management and usage.”)

5.4.4 Subscription profile management and usage

5.4.4.1 Protocols on UNIP-1 for XCAP-based Profile Management

The OITF shall be able to obtain a user’s IPTV Subscription Profile. The format of the IPTV Subscription Profile shall conform to Annex C.1, “IPTV Subscription Profile.” The IPTV Subscription Profile may be used for filtering the Broadband Content Guide metadata, i.e. for the provision of a personalised content guide.

The IPTV Service Profile Functional Entity shall expose XCAP Server behaviour (HTTP Server 1.1, XML parser, and data repository) as defined in RFC 4825 [XCAP].

UNIP-1 shall comply with XCAP as defined in RFC 4825 [XCAP].

5.4.4.1.1 XCAP Application Usage for IPTV Service

Profile Management

The XML Configuration Access Protocol (XCAP) defined in RFC 4825 [XCAP] is used for manipulating data stored in the IPTV Service Profile Functional Entity. XCAP allows a client to read, write and modify application configuration data, stored in XML format, on a server. XCAP maps XML document sub-trees and element attributes to HTTP URIs, so that these components can be directly accessed by HTTP. XCAP uses the HTTP methods PUT, GET, and DELETE to operate on documents stored in the Service Profile Functional Entity.

The data stored in the IPTV Service Profile Functional Entity relates to the operation of the IPTV service. This specification defines a new Application Usage to allow a client to manipulate data related to IPTV services.

XCAP requires the definition of XML documents that are compliant with the XML schema and constraints defined for a particular XCAP application usage. The application usage defines the XML schema for the data used by the application, along with other key pieces of information.

Central to XCAP is the construction of the HTTP URI that points to a particular document or certain components of it. A component in an XML document can be an XML element, attribute, or the value of it.

XCAP application usage

XCAP requires application usages to fulfil a number of steps in the definition of such application usage. The remainder of this section specifies the required definitions of the IPTV services XCAP Application Usage.

Application Unique ID (AUID): Each XCAP application usage is associated with a unique name called the Application Unique ID (AUID). The AUID defined by this application usage falls into the vendor-proprietary namespace of XCAP AUID, where Open IPTV Forum is considered a vendor.
The proposed AUID to be allocated to the Open IPTV Forum IPTV services application usage shall be

org.openiptvforum.iptv

XML schema: Implementations in compliance with this specification shall implement the XML schema defined in Annex C.

Default namespace: XCAP requires application usages to declare the default namespace. The default namespace of the IPTV services XCAP application usage shall be

urn:oipf:params:xml:ns:iptv

MIME Type: The MIME type of IPTV service XML document shall be

application/vnd.oipf.userprofile+xml

Validation constraints: This specification does not specify any additional constraints beyond those defined by XCAP.

Data Semantics: The XML schema does not accept URIs that could be expressed as a relative URI reference causing a resolution problem. However, each of the supplementary services should consider if relative URIs are allowed in the subdocument tree, and in that case, they should indicate how to resolve relative URI references. In the absence of further indications, relative URI references should be resolved using the document URI as the base of the relative URI reference.

Naming conventions: By default, IPTV Service Profile XML documents are stored in the IPTV Service Profile Functional Entity. In order to facilitate the manipulation of an IPTV Service Profile XML document, the default XML file name shall be:

iptvprofile.xml

Resource interdependencies: This specification does not specify additional resource interdependency beyond those specified in the XML schema.

Authorization policies: The authorization policy for access and manipulation of an IPTV Service Profile document shall be defined by the Service Provider.

5.4.4.2 Protocols over UNIS-6 for DAE-based Profile Management

UNIS-6 may be used for the unicast transport of HTML ECMAScript documents between the OITF DAE function and the IPTV Application FE for DAE-based subscription profile management. In this case, the IPTV Application FE acts as a front-end to the IPTV Service Profile FE. When the HTTP request for profile management is received from OITF, the IPTV Application FE manipulates the IPTV Service Profile FE.

5.4.4.3 Protocols over HNI-IGI – HTTP Option
5.4.4.3.1 Subscription to notification of changes in the IPTV Service Profile

The procedure for subscription to notification of changes in the IPTV service profile shall be invoked from either a DAE application or an embedded application in the OITF. The procedures shall be as follows:

Step 1:The OITF shall send an HTTP POST request to the IG over the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI)”. The content of the HTTP Request shall be as follows:
HTTP Response Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 54
HTTP Response Body: The body contains the list of the requested URIs associated with the XCAP resources for which the subscription is issued. The MIME Type of the document inserted in the body will be signalled by the Content-Type header, set to “application/vnd.oipf.userprofile+xml”.
Step 2:The IG shall validate that the request includes all the mandatory SIP headers needed for the outgoing subscription message, as per Table 54. The IG shall reject a request that is missing any mandatory SIP headers with a non-200 OK HTTP response, including the reason for rejection.
Step 3:The IG shall send a SIP SUBSCRIBE to the network, to subscribe to the “xcap-diff” event package, and shall wait for the response to the subscription request. The IG shall return a HTTP 200 OK response to the OITF to report the response to the subscription request. The response shall include a list of SIP Headers as per Table 55 in addition to the normal HTTP headers as per RFC 2616 [HTTP].
Step 4:The OITF shall send an HTTP HNI-IGI PENDING_IG request (refer to section 5.6.1.1, “5.6.1.1”), and shall wait for any incoming messages.
Step 5:When a SIP NOTIFY is received by the IG, the IG shall return a HTTP 200 OK response to the OITF that includes the information carried in the incoming NOTIFY. The response shall include a list of SIP headers as per Table 56 in addition to the normal HTTP headers as per RFC 2616 [HTTP]. The body of the HTTP response shall include the “xcap-diff+xml” document carried in the NOTIFY body. This document contains the changes in the XCAP document(s) identified in the subscription request in Step 1(b).
Step 6:When the OITF accepts the incoming SIP NOTIFY, it shall send an HTTP POST PENDING_IG request to the IG to acknowledge the receipt of notification. The content of the HTTP request shall be as follows:
HTTP Response Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 57
HTTP Response Body: Empty
Step 7:The IG shall send the SIP 200 OK response to the network and then shall return to Step 5 to handle any subsequent NOTIFY messages that may be received from the network.
Table 54: Supported HTTP extension headers in HNI-IGI SUBSCRIBE Request for receiving notification of changes in the IPTV Service Profile
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Request-Line

Note: The request URI must be set to the well-known PSI of the IPTV Service Profile FE:
The PSI shall be “OIPF_IPTV_ServiceProfile@<domainname>” where <domainname> shall be the IPTV Service Provider domain name obtained through Service Provider discovery.

RFC 3261 [SIP], RFC 3265 [SIP-EVNT] and RFC 5875 [XCAP-EVT]

SUBSCRIBE <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

The URI part of X-OITF-To shall be set to the value of the Request URI in the “X-OITF-Request-Line”

RFC 3261 [SIP]
X-OITF-Event

The Event header shall be set to the “xcap-diff” event package.

RFC 3265 [SIP-EVNT] and as per TS 183 063 [TS183063] section 5.1.5.1
X-OITF-Accept

The Accept header shall include the value “application/xcap-diff+xml”. This header indicates the body formats allowed in subsequent NOTIFY requests

RFC 3265 [SIP-EVNT] and as per TS 183 063 [TS183063] section 5.1.5.1
X-OITF-Content-Type

shall be set to “application/vnd.oipf.userprofile+xml” as the MIME Type of IPTV Subscription Profile schema.

RFC 3265 [SIP-EVNT]
X-OITF-Contact

Notes:

  1. The URI parameter shall be included and shall match what is sent in the Contact header included in the registration request
  2. The Expires parameter should be included
RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Expires

Note: If absent a default value shall be assumed by the IG

RFC 3261 [SIP]
Table 55: Supported HTTP extension headers in the response to an HNI-IGI SUBSCRIBE Request
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-ExpiresRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
Table 56: Supported HTTP extension headers in the NOTIFY request containing changes in the IPTV Service Profile
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Request-Line

Note: The Request URI must match the contact URI included in the contact field of the SIP SUBSCRIBE

RFC 3261 [SIP], RFC 3265 [SIP-EVNT] and RFC 6080 [SIP-CFG]

NOTIFY <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-EventRFC 3265 [SIP-EVNT] and as per TS 183 063 [TS183063] section 5.1.5.2
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-Subscription-StateRFC 3265 [SIP-EVNT]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Content-Type

shall be set to “application/xcap-diff+xml”.

RFC 3265 [SIP-EVNT] and as per TS 183 063 [TS183063] section 5.1.5.2
Table 57: Supported HTTP extension headers in the response to a NOTIFY request
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
5.4.4.3.2 Refreshing the Subscription

It is the responsibility of the application initiating the subscription procedure to refresh the subscription according to the “refresh subscription timer” parameter received in the response to the subscription request. Refreshing the subscription should be performed before the expiry of the refresh timer. A subscription that is not refreshed shall be terminated after the expiration of the timer.

The IG shall consider a subscription terminated if is not refreshed.

5.4.4.3.3 Procedure for Cancellation of a Subscription

This procedure may be invoked at any time.

The procedure for de-registering the IPTV end user shall be preceded by the cancellation of any subscription for notification of changes in the user’s IPTV Service Profile.

The procedure for cancellation of the subscription is the same as the procedure for initiating a subscription to the ua-profile event package, except that the X-OITF-Expires header in Table 54 shall be set to 0.

5.4.5 Remote Management

5.4.5.1 General Procedures on UNI-RMS

The remote management functions required for managed devices are specified in the general framework document TR069 [TR069] by the Broadband Forum. The framework document is associated with a number of Technical Reports that define the CWMP data models that are specific for each device function.

5.4.5.1.1 UNI-RMS for IG, AG and WAN Gateway

In addition to TR-069, the following specifications shall apply:

  • TR-098 [TR098] that defines the data model for the “internet gateway device” shall apply to the WAN Gateway FE (see RMS3 functional block of the “Open IPTV Forum – Functional Architecture” document [OIPF_ARCH2])
  • TR-106 [TR106] that defines the data model for the generic CWMP-managed device shall apply to the IG, AG and WAN-Gateway FEs.
  • TR-104 [TR104] that defines the data model for the “SIP end-point” shall apply to the IG (see RMS2 functional block of the “Open IPTV Forum – Functional Architecture” document [OIPF_ARCH2]).
5.4.5.1.2 UNI-RMS for OITF

Although the remote management functions are specified in the general framework document TR-069 [TR069] by the Broadband Forum, the protocol to remotely manage OITF retail devices is intended to support limited functions mainly for Performance Monitoring and Diagnostics. Consequently, an OITF device doesn't fulfil all the requirements that are requested in TR-069 [TR069]. The limitations outlined in the following sections shall apply.

OITF RPC Methods Support Requirements

An OITF shall implement the following RPC methods:

Method NameOITF requirementACS requirement
CPE methodsRespondingCalling
GetRPCMethodsrequiredrequired
SetParameterValuesrequiredrequired
GetParameterValuesrequiredrequired
SetParameterAttributesrequiredoptional
GetParameterAttributesrequiredoptional
ACS methodsCallingResponding
Informrequiredrequired

As an OITF device doesn't support all the RPC requirements as defined in [TR069], the ACS shall implement the GetRPCMethods to discover the limited set of methods supported by the OITF.

The OITF RPC Methods shall respect the calling arguments and type as defined in [TR069], with the following definition of the DeviceIdStruct that is used for the DeviceId argument of the Inform method:

  • the 3 parameters ManufacturerOUI, ProductClass and Serial Number have slightly different semantic meanings in the context of OIPF and are obtained from the deviceID identifier (refer to section 6.1.3.2.1, “User Identity Modelling.”)
    • ManufacturerOUI = HEX(first 3 bytes of SHA-1(X))
    • ProductClass = "OIPF"
    • SerialNumber = HEX(remaining bytes, from 4th on, of SHA-1(X)) where, X = (MAC address as bytes) + (domain name in ASCII characters).
NameTypeDescription
ManufacturerString(64)Manufacturer of the device
OUIString(6)In the context of OIPF, this parameter is the hexadecimal value of the first 3 bytes of SHA-1(X)
ProductClassString(64)In the context of OIPF, this parameter is always "OIPF"
SerialNumberString(64)In the context of OIPF, this parameter is the hexadecimal value of the remaining bytes (from 4th on) of SHA-1(X)

OITF Data Model

In the framework of the Open IPTV Forum, a specific data model for the Remote Management of a retail OITF device has been defined. The data model has been obtained from TR-135 [TR135] and TR-106 [TR106] with a selection of a reduced set of parameters using the same semantics (with a few exceptions) and the same types. The OITF data model is fully described in Annex J, “OITF-specific TR-135 and TR-106 Remote Management Objects.”

5.4.5.1.3 Configuration of the IG via Configuration File

CPE WAN Management protocol based on Broadband Forum TR-069 [TR069] shall be used to configure the IPTV application in the IG. An IPTV configuration file shall be used to populate the IG with the list of users with their IMPU, Alias and Passwords and also configure whether user authentication is to be performed by the IG.

If GBA Authentication or HTTP Digest Authentication is supported by the IG, the IG shall be configured with the following information:

  • Whether it has to provide an intended identity or not in the GBA and HTTP Digest authentication procedures as described in [OIPF_CSP2].
  • The realm, username and password for regular HTTP Digest Authentication.

The file is downloaded to the IG during the IG power up procedure.

The configuration data shall be defined in XML and shall include the XML schema to be enforced against the configuration data.

5.4.5.1.3.1 Call Flow

There are 2 cases to be considered; the first case is when the remote server requests the IG to download the configuration file at power up of the IG. This requires the IG to contact the remote server. The download request is subsequently used by the server to request the IG to download the configuration file. Alternatively, if the server is configured (by some means) with the address of the IG, it can request the IG to contact it using the Connection Request Notification mechanism, if the remote server supports this mechanism.

The second case is when the process is initiated by the IG if it detects a corrupted file or if for some reason it lost the file due to a reboot or an internal error.

Figure 4 is a call flow depicting the configuration procedure.

Figure 4: Sequence for the Configuration of an IG
figure 4

The following is a brief description of the flow:

Steps 1-4:Normal steps as per TR-069.
Step 5:The IG sends an HTTP POST request with no HTTP entity body to the remote server.
Step 6:The server returns an HTTP response that includes a Download request in the HTTP entity body. The arguments are set as follows:
CommandKey:Mandatory – set by remote server
FileType:Mandatory – set to 3: Vendor Configuration File. The vendor in this case is Open IPTV Forum
URI:Mandatory – set by remote server
Username:optional – If used, must be configured in the IG and remote server
Password:optional – If used, must be configured in the IG and remote server
TargetFileName:Mandatory – IPTV-ConfigurationParameters
DelaySeconds:Mandatory – set to no delay
Successful URI:Not provided
Failure URI:Not provided
Step 7:Following that, the IG proceeds to download the configuration file.
Steps 8-9:Once the download is complete, the IG sends a TransferComplete request to the remote server. The arguments in the request are set as follows:
CommandKey:Mandatory – Set to the value received in the Download request
FaultStruct:Mandatory in case of failure according to TR-069
StartTime:Mandatory – Set according to TR-069
FinishTime:Mandatory – Set according to TR-069

Note that the above sequence is an example and there are other valid sequences that can achieve the same result.

5.4.5.1.3.2 XML Schema for the IPTV-Configuration file
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:oipf:config:ig:2009"
  xmlns:tns="urn:oipf:config:ig:2009"
  xmlns:enum="urn:ietf:params:xml:ns:enum-token-1.0"
  xmlns="http://www.w3.org/2001/XMLSchema">
  <!—schema filename is config-ig.xsd -->
  <xs:annotation>
    <xs:documentation xml:lang="en">
      This schema is copyrighted by the Open IPTV Forum ("OIPF") and distributed in conjunction
      with Release 1 of the IPTV Solution Specification.
      Disclaimer
      The Open IPTV Forum members accept no liability whatsoever for any use of this document.
      This specification provides multiple options for some features. The Open IPTV Forum Profiling
      specification will complement the Release 1 specifications by defining the Open IPTV Forum
      implementation and deployment profiles. Any implementation based on Open IPTV Forum
      specifications that does not follow the Profiling specifications cannot claim Open IPTV Forum
      compliance.
      Copyright Notification
      No part may be reproduced except as authorized by written permission.
      Any form of reproduction and/or distribution of these works is prohibited.
      Copyright 2009 © Members of the Open IPTV Forum
      All rights reserved.
    </xs:documentation>
  </xs:annotation>
  <xs:import namespace="http://www.w3.org/XML/1998/namespace"
    schemaLocation="xml.xsd" />
  <xs:import namespace="urn:ietf:params:xml:ns:enum-token-1.0"
    schemaLocation="imports/enum-token-1.0.xsd />
  <xs:element name="IGconfiguration" type="tns:IGconfigurationType" />
  <xs:complexType name="IGconfigurationType">
    <xs:sequence>
      <xs:element name="AuthenticationSet"
        type="tns:AuthenticationSetType" maxOccurs="unbounded" />
      <xs:element name="GatewayAuthentication" type="xs:boolean"
        minOccurs="0" />
      <xs:any namespace="##other" processContents="skip"
        minOccurs="0" maxOccurs="unbounded" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AuthenticationSetType">
    <xs:sequence>
      <xs:element name="Identifier" type="tns:IMSPublicIdType" />
      <xs:element name="Password" type="xs:string" />
      <xs:element name="Alias" type="xs:string" />
      <xs:sequence minOccurs="0">
        <xs:element name="IMPI" type="xs:string" />
        <xs:element name="SIPDigestPassword" type="xs:string" />
      </xs:sequence>
    </xs:sequence>
  </xs:complexType>
  <!-- ================== Definition for IMSPublicIdType ====================-->
  <xs:complexType name="IMSPublicIdType">
    <xs:choice>
      <xs:element name="e164Number" type="enum:e164numberType" />
      <xs:element name="SIPURI" type="tns:SIPURIType" />
    </xs:choice>
  </xs:complexType>
  <xs:simpleType name="SIPURIType">
    <xs:annotation>
      <xs:documentation xml:lang="en">
        SIP URI pattern is defined based on the SIP URI
        description provided in RFC 3261 (Section 2)
      </xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:pattern
        value="[sS][iI][pP][sS]?:(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?" />
    <xs:restriction>
  </xs:simpleType>
</xs:schema>

The schema establishes a binding between an IMS Public Identity (IMPU), a user alias and a password. If SIP Digest authentication is used for user authentication, the IMPI and SIPDigestPassword shall be included. Otherwise, it is assumed that user authentication is based upon IMS AKA.

The schema also supports a mechanism to instruct the IG if user authentication is mandatory in the Consumer Network.

The schema is extensible.

An example of a configuration file that conforms to the above schema is as follows:

<IGconfiguration>
  <AuthenticationSet>
    <Identifier><SIPURI>sip://operator.example.com/MickJ</SIPURI></Identifier>
    <Password>RollingStones</Password>
    <Alias>Mick Jagger</Alias>
    <IMPI>household123@operator.com</IMPI>
    <SIPDigestPassword>CCXDFGGH</SIPDigestPassword>
  </AuthenticationSet>
  <AuthenticationSet>
    <Identifier><SIPURI>sip://operator.example.com/BruceS</SIPURI></Identifier>
    <Password>TheBoss</Password>
    <Alias>BruceSpringstein</Alias>
    <IMPI>household123@operator.com</IMPI>
    <SIPDigestPassword>CCXDFGGH</SIPDigestPassword>
  </AuthenticationSet>
  <GatewayAuthentication>true</GatewayAuthentication>
</IGconfiguration>
5.4.5.2 Remote Management using DAE APIs

See DAE Specification [OIPF_DAE2] section 7.11.

5.4.6 User Registration and Network Authentication

5.4.6.1 Procedure for User Registration and Authentication in network relying on IMS on the HNI-IGI Interface – HTTP Option
5.4.6.1.1 User Registration

This procedure shall be invoked in following cases:

  • When the OITF is turned on or restarted if the OITF supports the native HNI-IGI function.
  • When an IPTV end user explicitly logs on at an OITF using an Alias or IMPU or a default IMPU.

The IG shall extract the deviceID from the sip instance feature tag.

If the deviceID and the IMPU match another deviceID and IMPU whose state is held in the IG, the IG shall conclude that the OITF has undergone a restart and shall proceed to immediately clear all SIP sessions belonging to the OITF. Following that, the IG shall de-register all users registered from that OITF.

If GRUU is not requested, the IG shall not perform IMS registration when the IMPU is already registered; however, the IG shall maintain a binding between the Alias/IMPU, the OITF device from which the registration is received (extracted from the sip instance feature tag) and the new contact information including the sip instance feature tag, which provides an easy way to guarantee uniqueness within the Address of Record (AOR).

Following the successful registration of the IMPU as per the procedure below, the IG shall maintain a binding between the Alias/IMPU, the OITF device (extracted from the sip instance feature tag described above) from which the registration is received, and the new contact information including the sip instance feature tag, which provides an easy way to guarantee uniqueness within the Address of Record (AOR).

If the identity being registered is the default identity, and if the default identity is not bound to any OITF in the consumer network, then the IG shall deregister its contact address for the default identity at the end of this procedure.

If the identity being registered is not the default identity and if the default identity is not bound to any OITF in the consumer network, then the IG shall deregister the default identity from the IG point of view at the end of this procedure.

Step 1:The OITF shall send an HTTP POST request to the IG on the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).” The content of the HTTP Request shall be as follows:
HTTP Response Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 58
HTTP Response Body: Empty
Step 2:The IG shall validate that the request includes all the mandatory SIP headers needed for the outgoing registration message, as per Table 58. The IG shall reject a request that is missing any mandatory SIP headers with a non-200 OK HTTP response, including the reason for the rejection.
Step 3:Once the IG completes the IMS registration process, the IG shall return a HTTP 200 OK response (or other appropriate responses) to the OITF. The response shall include a list of SIP headers as per Table 59 in additional to the normal HTP headers as per RFC 2616 [HTTP].

If the OITF does not support native HNI-IGI, user registration shall be done through a DAE application.

5.4.6.1.2 User De-registration

This procedure is invoked in the following cases:

  • The OITF is turned off and the OITF supports native HNI-IGI.
  • An IPTV end user, who has registered with his own IMPU or a default IMPU, deregisters from an OITF.

Prior to de-registering the IMPU, the IG shall clear all SIP sessions in which the IMPU is engaged on the specific OITF device from which the de-registration occurred and shall subsequently remove all bindings between the IMPU and all SIP sessions on the impacted OIPF. Following successful deregistration of the IMPU, the IG shall remove the binding between the IMPU and the OITF device from which the de-registration has occurred.

If GRUU is not supported for this registration, the IG shall not perform IMS deregistration when an IMPU is already registered on multiple OITFs, but the IG shall remove the binding between the IMPU and the OITF from which the user has deregistered (extracted from the sip instance feature tag) including the contact information (including the sip instance feature tag).

If GRUU is not supported for this registration, the IG shall perform the IMS deregistration procedure if the IMPU was bound to a single OITF.

Following a successful de-registration, the IG shall remove the binding between the Alias/IMPU, the OITF device from which the registration is received (extracted from the sip instance feature tag).

Note that if following the successful de-registration of the IMPU, and if there are no more OITFs still turned on in the consumer network, the IG shall re-register the default identity from the IG point of view.

Step 1:The OITF shall send to the IG an HTTP POST request containing an X-OITF-Request-Line header on the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).” The content of the HTTP Request shall be as follows:
HTTP Response Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 58
HTTP Response Body: Empty
Step 2:The IG shall validate that the request includes all the mandatory SIP headers needed for the outgoing de-registration message as per Table 58. The IG shall reject any request that is missing any mandatory SIP headers with a non-200 OK HTTP response, including the reason for the rejection.
Step 3:Once the IG completes the IMS de-registration process, the IG shall return a HTTP 200 OK response (or other appropriate responses) to the OITF. The response shall include a list of SIP headers as per Table 59 in additional to the normal HTP headers as per RFC 2616 [HTTP].
Table 58: List of mandatory HTTP extension headers for User Registration/De-Registration (OITF→IG)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Request-Line

The Request-URI is that of the P-CSCF, and is fetched by the OITF as per section 7.1.1 of TS 183 019 [TS183019]. The IG shall be responsible for resolving the domain name.

RFC 3261 [SIP], RFC 3265 [SIP-EVNT] and RFC 6080 [SIP-CFG]

NOTIFY <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Contact

Notes:

  1. Contact must include Feature Tags parameter.
  2. URI parameter must be included.
  3. Expires parameter should be included
  4. Priority parameter should be included

IG adds all the other mandatory parameters that are absent in the X-OITF-Contact. Default values are assigned by the IG to optional parameters that are not provided in the X-OITF-Contact.

  1. sip instance feature tag must be included according to sections 4.1 and 4.2 of [RFC5626]. Its format shall be identical to the format specified in [RFC4122].

The sip instance feature tag shall have the following syntax: +sip.instance="<urn:uuid:Unique-Instance>"

where Unique-Instance shall be 128 bits and shall conform to the syntax in [RFC4122].

The Node field is a 48 bit field which shall be populated with the first 48 bits from the value employed in <deviceID> used at restart or powerup of an OITF device.

The sip instance feature tag must be persistent across power cycles of the device.

All OITFs that want to be able to use the session transfer feature shall register the g.3gpp.icsi-ref media feature tag containing the IPTV IMS communication service identifier.

In particular the X-OITF-Contact header shall have the following media feature tag included:

  1. g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.iptv"
RFC 3261 [SIP] and RFC 3840 [RFC3840]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Supported

set to “gruu” if the feature is required

RFC 3261 [SIP]

RFC 5627 [RFC5627]

Table 59: List of HTTP extension headers for User Registration/De-Registration Response (IG→OITF)
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromSIP header field prefixed with X-OITF
X-OITF-ToSIP header field prefixed with X-OITF
X-OITF-ExpiresSIP header field prefixed with X-OITF
X-OITF-Contact

The returned contact shall include the following 3 elements if the GRUU feature is requested by the OITF:
pub-gruu, temp-gruu and the sip instance feature tag

SIP header field prefixed with X-OITF

RFC 5627 [RFC5627]

X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]

If the OITF does not support native HNI-IGI, user deregistration shall be done through a DAE application.

5.4.6.1.3 Procedure for Refreshing a Registration

This procedure may be initiated by the OITF at any time before the expiry of the registration refresh timer.

The procedure is the same as the procedure for registering a user. A registration shall be terminated if it is not refreshed before the expiry of the registration refresh timer.

For an OITF-initiated registration, the IG shall consider a registration terminated (that is, the user de-registered) if it is not refreshed. In this case, the IG executed the procedures associated with user deregistration.

5.4.6.1.4 Procedure for Subscription to the Registration Event Package

This procedure shall be invoked immediately after the successful registration of an IMPU (including the default identity) or an IPTV end-user identity.

Step 1:The OITF shall send an HTTP POST request to the IG on the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).” The content of the HTTP Request shall be as follows:
HTTP Response Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 60
HTTP Response Body: Empty
Step 2:The IG shall validate that the request includes all the mandatory SIP headers for the outgoing subscription request message, as per Table 60. The IG shall reject a request that is missing any mandatory SIP headers with a non-200 OK HTTP response, including the reason for the rejection.
Step 3:The IG shall send a SIP SUBSCRIBE to the network, to subscribe to the Registration event, and shall wait for the response to the subscription request. The IG shall return a HTTP 200 OK response (or other appropriate responses) to the OITF to report the response to the subscription request. The response shall include a list of SIP headers as per Table 61 in addition to the normal HTTP headers as per RFC 2616 [HTTP].
Step 4:Following that, the OITF shall send an HTTP HNI-IGI PENDING_IG request (refer to section 5.6.1.1, “HNI-IGI Message Types”), and shall wait for any response.
Step 5:When a SIP NOTIFY is received by the IG, the IG shall return a HTTP 200 OK response to the OITF. The response shall include the list of SIP headers as per Table 62 in addition to the normal HTTP headers as per RFC 2616 [HTTP]. The body of the HTTP response shall include the SIP body received in the incoming NOTIFY (See also section 6.1.3.2.2, “Procedure for User Registration and Authentication in a network relying on IMS on UNIS 8.)”
Step 6:Once the OITF accepts the incoming SIP NOTIFY, it shall send an HTTP POST PENDING_IG request to the IG. The content of the HTTP Request shall be as follows:
HTTP Response Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 63
HTTP Response Body: Empty
Step 7:The IG shall send the SIP 200 OK response to the network and then shall return to Step 5 to handle any subsequent NOTIFY received from the network.
Table 60: Supported HTTP extension headers in the HNI-IGI SUBSCRIBE Request for the Registration Event Package
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Request-Line

Note: The request URI shall be set to the Public identity of the IPTV end user who has just registered.

RFC 3261 [SIP]

SUBSCRIBE <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-EventRFC 3265 [SIP-EVNT] and RFC 3680 (registration event) [SIP-REG]
X-OITF-AcceptRFC 3265 [SIP-EVNT] and RFC 3680 [SIP-REG]
X-OITF-Contact

Notes:

  1. URI parameter shall be included, and shall match what is sent in the Contact header included in the registration request.
  2. Expires parameter should be included
  3. Priority parameter should be included

The IG includes all other mandatory parameters that are absent.

RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-ExpiresRFC 3261 [SIP]
Table 61: Supported HTTP extension headers in the response to an HNI-IGI SUBSCRIBE Request for the Registration Event Package
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromSIP header field prefixed with X-OITF
X-OITF-ToSIP header field prefixed with X-OITF
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-ExpiresRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
Table 62: List of HTTP extension headers for a HNI-IGI NOTIFY request sent IG→OITF
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Request-Line

Note: The Request URI must match the contact URI included in the contact field of the SIP SUBSCRIBE

RFC 3261 [SIP]

NOTIFY <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-EventRFC 3265 [SIP-EVNT] and RFC 3680 [SIP-REG]
X-OITF-Call-IDRFC 3265 [SIP-EVNT] and RFC 3680 [SIP-REG]
X-OITF-Subscription-StateRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Content-TypeRFC 3265 [SIP-EVNT] and RFC 3680 [SIP-REG]
X-OITF-Content-LengthRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
Table 63: List of HTTP extension headers in the response to a NOTIFY request
X-OITF HTTP HeaderSource of Information for Coding purposes
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromSIP header field prefixed with X-OITF
X-OITF-ToSIP header field prefixed with X-OITF
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Content-TypeRFC 3261 [SIP]
X-OITF-Content-LengthRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
5.4.6.1.5 Procedure for Terminating a Subscription to the Registration Event Package

This procedure shall be invoked prior to de-registering a user.

The procedure is the same as the procedure for initiating a subscription to the Registration event, however in this case the X-OITF-Expires header in Table 60 shall be set to 0.

For an OITF-initiated registration, the IG shall consider a subscription terminated if is not refreshed.

5.4.6.1.6 Refreshing Subscription to Registration Event

The procedure is the same as the procedure for initiating a subscription.

It is the responsibility of the application initiating the subscription procedure to refresh the subscription according to the refresh subscription timer information received in the response to the subscription request. Refreshing the subscription should be performed before the expiry of the refresh timer. A subscription that is not refreshed before the expiration of the refresh timer shall be terminated.

5.4.6.1.7 Registration of DAE/Embedded Applications

IMS applications, DAE or embedded, that are initiated in the OITF and expect unsolicited incoming messages shall register with the IMS network the feature tags and/or the appropriate service URN (ICSI) and /or IMS application reference identifier (IARI) for the initiated application where mandated by the specification governing the application [TS183063], [SMPL-IM], [TS124503], [RFC3840], [RFC3841]. This allows unsolicited incoming SIP messages destined for users and targeted for these applications to be delivered to the appropriate application instance in the OITF.

The procedure used by an application for registering the appropriate feature tags and/or service URN (ICSI) and/or IARI is the same procedure used for user registration.

5.4.6.2 GBA Authentication

Note that GBA authentication can be achieved using either the GBA Authentication using IMS Gateway procedure, specified in [OIPF_CSP2] section 5.4.5 or the, more general, procedure, HTTP Digest Authentication using IMS Gateway in [OIPF_CSP2] section 5.4.4. The latter; more general procedure allows the use of different authentication mechanism in a way that is transparent to the OITF, including possible future authentication mechanisms, and should preferably be used. It is expected that GBA Authentication using IMS Gateway procedure will be deprecated and removed in future versions of this specification.

This section describes the HNI-IGI message for the GBA Authentication. For the details of the sequence for GBA Authentication, refer to section 5.4.4 of [OIPF_CSP2]. Note that GBA authentication applies only for user registration and authentication based on IMS AKA.

5.4.6.2.1 Initial GBA registration

After IMS registration is successfully performed, and if the IG supports GBA Authentication, OITFs supporting native HNI-IGI shall issue following GBA registration request to the IG. OITFs that do not support native HNI-IGI do not support GBA.

Step 1:The OITF shall send an HTTP POST request to the IG. The content of the HTTP Request shall be as follows:
HTTP Response Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <X-HNI-IGI-Request: GBA-Registration>
HTTP Response Body: Empty
Step 2:After the GBA bootstrapping procedure over UNIS-9, the IG returns an HTTP 200 OK response with an empty body.
5.4.6.2.2 Credential Retrieval by an OITF for Re-use of GBA Authentication

The key Ks that is established during the GBA registration may be reused later for user authentication and service access by consumer network applications.

Each time an OITF needs to access a service that is offered by an AS (i.e. NAF) that requires GBA Authentication, a specific key Ks_NAF or Ks_ext_NAF shall be derived respectively by the IG or by the ISIM in the IG and the server side GBA Single Sign-on function (the BSF). This generated key shall be conveyed to the OITF in the consumer network by the IG, and to the AS by the server side GBA Single Sign-on function (the BSF). The key Ks_NAF or Ks_ext_NAF shall then be used for authentication between the OITF and the AS, using HTTP Digest authentication as specified by [UB-UA]. The OITF shall act as the OIPF as specified in [UB-UA].

As a pre-requisite to this procedure, the GBA procedure must have been successfully completed.

The complete procedure for retrieval of credentials by the OITF from the IG is specified in [OIPF_CSP2].

The HNI-IGI procedure for credential retrieval is as follows:

Step 1:The OITF shall send an HTTP POST request to the IG. The request includes the FQDN of the NAF. The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <X-HNI-IGI-Request> - set to Fetch-GBA-Credentials
  • <X-HNI-IGI-NAF-FQDN> - set to NAF FQDN extracted from the HTTP authentication realm as specified in [UB-UA].
HTTP Request Body: Empty
Step 2: The IG shall generate Ks_NAF or Ks_ext_NAF with the ISIM. For clarity this specific key is named in the rest of the document Ks_(ext)_NAF and will refer to Ks_NAF in case of GBA_ME and Ks_ext_NAF in case of GBA_U and is computed as follows:
  • Ks_(ext)_NAF = KDF (Ks, “gba-me”, RAND, IMPI, NAF_ID), where KDF is the key derivation function as specified in Annex B of [GAA] and the key derivation parameters consist of the user's IMPI, the NAF_ID and RAND. The NAF_ID is constructed as follows: NAF_ID = FQDN of the NAF || Ua security protocol identifier as specified in 3GPP TS 33.220 [GAA]. The identifier for Ua security protocol HTTP Digest authentication according to 3GPP TS 33.220 [GAA] is (0x01,0x00,0x00, 0x00,0x02).
The IG shall return an HTTP 200 OK to the OITF that includes the Ks_(ext)_NAF, the B-TID, the lifetime of the key Ks_(ext)_NAF and OPTIONALly the intended identity. The lifetime indicates the expiry time of the key Ks_(ext)_NAF and is equal to the lifetime of the key Ks (which was specified by the BSF during the GBA bootstrapping procedure). The content of the HTTP 200 OK response is as follows:
HTTP Response Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <X-HNI-IGI-KS_NAF> - set to the computed Ks_(ext)_NAF
  • <X-HNI-IGI-B_TID> - set to the B-TID
  • <X-HNI-IGI-LifeTime> - set to life time of the key Ks_NAF
  • <X-HNI-IGI-Intended-Identity> - set to the intended identity. This header is optional and its use is described in [OIPF_CSP2].
HTTP Response Body: Empty
5.4.6.3 HTTP Digest Authentication
This section describes the HNI-IGI messages for the HTTP Digest Authentication using IG. For the details of the sequence for HTTP Digest Authentication using IG, refer to section 5.4.4 of [OIPF_CSP2].
5.4.6.3.1 HTTP Realm Retrieval by an OITF
After IMS registration is successfully performed, and if the IG supports HTTP Digest Authentication, OITFs supporting native HNI-IGI shall issue an HTTP realm retrieval request to the IG. OITFs that do not support native HNI-IGI do not support HTTP Digest Authentication using IG.
Step 1:The OITF shall send an HTTP POST request to the IG. The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <X-HNI-IGI-Request> - set to Fetch-HTTP-Realms
HTTP Request Body: Empty
Step 2: The IG shall return an HTTP 200 OK to the OITF that includes the list of supported auth-scheme and realm. The content of the HTTP 200 OK response shall be as follows:
HTTP Response Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <X-HNI-IGI-Auth-Realms> - set to a list of comma-separated realm-value, for which HTTP authentication credentials are available in the IG. Realm-values are quoted string as defined in RFC 2617 [HTTPAUTH].
  • <X-HNI-IGI-User-Agent-Tokens> - set to a list of comma-separated tokens to append to the HTTP User-Agent of the OITF for signalling support of specific authentication schemes. If the IG supports GBA Authentication, the IG shall add “3gpp-gba” to the returned User-Agent tokens.
HTTP Response Body: Empty
5.4.6.3.2 HTTP Credential Retrieval by an OITF

If the OITF has registered to an IG which supports HTTP Digest Authentication using IG, each time the OITF needs to access a service offered by an application server that requires HTTP authentication, the OITF may use credentials retrieved from the IG. The conditions under which an OITF uses HTTP credentials retrieved from the IG are described in [OIPF_CSP2].

The complete procedure for use of HTTP credentials by the OITF retrieved from the IG is specified in [OIPF_CSP2].

The HNI-IGI procedure for HTTP credential retrieval is as follows:

Step 1:The OITF shall send an HTTP POST request to the IG. The request includes the auth-scheme and realm as defined in RFC 2617 [HTTPAUTH]. The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <X-HNI-IGI-Request> - set to Fetch-HTTP-Credentials
  • <X-HNI-IGI-User> - set to the IMPU of the currently registered user.
  • <X-HNI-IGI-Auth-Scheme> - set to auth-scheme as defined in RFC 2617 [HTTPAUTH]
  • <X-HNI-IGI-Auth-Realm> - set to realm as defined in RFC 2617 [HTTPAUTH]
  • <X-HNI-IGI-Auth-Nonce> - set to nonce (server nonce) as defined in RFC 2617 [HTTPAUTH]
  • <X-HNI-IGI-Auth-CNonce> - set to cnonce (client nonce) as defined in RFC 2617 [HTTPAUTH]
  • <X-HNI-IGI-Auth-Algorithm> - set to algorithm as defined in RFC 2617 [HTTPAUTH]
HTTP Request Body: Empty
Step 2:The IG shall return an HTTP 200 OK to the OITF that includes the user-id and password for the given auth-scheme and realm. The content of the HTTP 200 OK response is as follows:
HTTP Response Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <X-HNI-IGI-Auth-Credentials> - this header is set to H(A1) as defined in RFC 2617 [HTTPAUTH]. If this header is empty or not present, there a no credentials available in the IG for this request.
  • <X-HNI-IGI-Intended-Identity> - set to the intended identity. This header is optional and its use is described in [OIPF_CSP2].
HTTP Response Body: Empty
5.4.6.4 User ID Retrieval for services relying on IMS credentials
The OITF shall retrieve a list of user IDs (IMPU and Alias) from the IG for service over the HNI-IGI interface. This procedure should not require user authentication. The IG shall at a minimum provide the default identity for the household and may provide all available identities. OITFs that do not support native HNI-IGI should retrieve the User IDs using DAE.
Step 1:The OITF shall send an HTTP POST request to the IG. The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <X-HNI-IGI-Request: Fetch-UserIDs>
HTTP Request Body: Empty
Step 2:The IG returns a list of user IDs (IMPU and Aliases) as follows:
HTTP Response Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
HTTP Response Body: a list of IMPUs and Display names (alias). Elements are separated with commas, entries are separates with semi-colon, in the format <IMPU1>,<alias1>;<IMPU2>,<alias2>,... etc. The first entry shall be the default identity for the household.

The usage of IMPU and Alias by the OITF is defined by the CSP specification.

Depending on the policy of the IG and service provider, the IG may return the default identity only. In this case, the user of the OITF shall be required to enter a user ID manually.

5.5 Protocols for Communications Functions using SIP

5.5.1 CallerID

5.5.1.1 Procedure for Instant Message Based Caller ID – HTTP Option
5.5.1.1.1 Procedure on HNI-IGI

The OITF supports the following procedure for Caller ID. The incoming message carrying a Caller ID can either be handled by a native application in the OITF, or in a DAE application. The same HNI-IGI message format is used in either case.

Step 1:The IG receives an incoming SIP MESSAGE from the network.
Step 2:The IG forwards the information in the SIP MESSAGE to the OITF in the HTTP 200 OK response to a PENDING_IG request that was established when the application started. The list of SIP headers to be included in the message to the OITF shall be as per Table 64. The body of the SIP MESSAGE shall be included in the HTTP response body.
Step 3:Upon receipt of the message, the OITF shall issue an HTTP POST request. The content of the HTTP request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 65
HTTP Request Body: Empty
Step 4:The IG shall send SIP 200 OK to the network.
Note: For handling of new incoming SIP MESSAGE, refer to section 5.3.2 of the DAE specification [OIPF_DAE2] titled “IMS Event Notification Framework”
Table 64: List of HTTP extension headers for an Instant Message Based Caller ID (IG→OITF)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Request-Line

Note: The request URI must be set to the IMS Public Identity (IMPU) of the target of the message

RFC 3261 [SIP]

MESSAGE <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

The URI part of X-OITF-To shall be set to the value of the Request URI in the “X-OITF-Request-Line”

RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Content-TypeRFC 3428 [SIP-IM], Draft OMA-TS-SIMPLE_IM-V1_0-20080820-D [SMPL-IM]
X-OITF-Content-LengthRFC 3261 [SIP]
Table 65: List of HTTP extension headers for the response to an Instant Message Based Caller ID (OITF→IG)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
5.5.1.2 Procedure for IMS Telephony Based Caller ID (optional)
5.5.1.2.1 Procedure for HNI-IGI – HTTP Option

The following procedure may be supported in the OITF for Caller ID presentation to the OITF user as a result for an incoming IMS voice call to the IG.

The incoming message, carrying information on the IMS voice call, can either be handled by a native application in the OITF, or by a DAE application. The same HNI-IGI message format is used in either case.

Step 1:The IG receives an incoming SIP INVITE.
Step 2:The IG forwards the SIP INVITE to the OITF as an HTTP response to a PENDING_IG request. The list of SIP headers to be included in the message to the OITF shall be as per Table 66. The content of the invite message shall also be included.
Step 3:Upon receipt of the message, the OITF issues an HTTP POST request indicating that the voice call is not supported by the OITF by response code 415 Unsupported Media Type. Other values may be used according to RFC 3261 [SIP]. The content of the HTTP Request is as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per 67
HTTP Request Body: application/sdp
Step 4:The IG shall forward the SIP response to the network.
Step 5:When the IG receives the SIP ACK from the network and shall forward it to the OITF as an HTTP response to a PENDING_IG request. The list of SIP headers to be included in the message to the OITF shall be as per Table 68.
Note: For handling of new incoming INVITE messages for new dialogs, refer to section 5.3.2 of the DAE specification [OIPF_DAE2] entitled “IMS Event Notification Framework”
Table 66: List of HTTP extension headers on the HNI-IGI interface (IG→OITF) for a received SIP INVITE
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Request-Line

Note: The request URI must be set to the IMS Public User Identity of the target of the message

RFC 3261 [SIP]

INVITE <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

The URI part of X-OITF-To shall be set to the value of the Request URI in the “X-OITF-Request-Line”

RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Content-TypeRFC 3261 [SIP], ES 283 002 [ES283002]
X-OITF-P-Called-Party-IDES 283 002 [ES283002]
X-OITF-P-Asserted-IdentityES 283 002 [ES283002]
Table 67: List of HTTP extension headers on the HNI-IGI interface (OITF→IG) for a response to the SIP INVITE
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-AcceptRFC 3261 [SIP]
Table 68: List of HTTP headers in the HNI-IGI ACK Message (IG→OITF)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Request-Line

Note: The request URI must be set to the IMS Public User Identity of the target of the message

RFC 3261 [SIP]

ACK <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-AcceptRFC 3261 [SIP]

5.5.2 Instant Messaging

5.5.2.1 Procedure for Instant Messaging on HGI-INI – HTTP Option

Instant Messaging on the OITF uses the HNI-IGI functionality, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).”

There are two cases, messages originating from the OITF, and messages terminating in the OITF.

5.5.2.1.1 Procedure for OITF Originating an Instant Messaging

The following procedure is supported in the OITF to originate instant messages:

An instant message can either originate from a native application in the OITF or from a DAE application. The same HNI-IGI message format is used.

Step 1:The OITF shall send an HTTP POST request to the IG using the HNI-IGI functionality, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).” The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per 69
HTTP Request Body: The content type as per RFC 3428 [SIP-IM]
Step 2:The IG shall validate that the request includes all the mandatory SIP headers for the message as per Table 69. The IG shall reject a request that is missing any mandatory SIP headers with a non-200 OK HTTP response, including the reason for rejection.
Step 3:The IG shall send a SIP MESSAGE to the network. When the IG receives the response, the IG shall return a HTTP 200 OK response (or other appropriate responses) to the OITF to report the response to the SIP MESSAGE. The response includes a list of SIP headers as per Table 70 in addition to the normal HTTP headers as per RFC 2616 [HTTP].
Table 69: List of HTTP extension headers for an outgoing Instant Message (OITF→IG)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Request-Line

Note: The request URI must be set to the Public identity of the target of the message

RFC 3261 [SIP]

MESSAGE <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

The URI part of X-OITF-To shall be set to the value of the Request URI in the “X-OITF-Request-Line”

RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Content-TypeRFC 3261 [SIP]
X-OITF-Content-LengthRFC 3261 [SIP]
Table 70: List of HTTP extension headers for the response to an outgoing and incoming Instant Message (IG→OITF and OITF→IG)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
5.5.2.1.2 Incoming Instant Messaging Procedure

The following procedure is supported in the OITF for incoming instant messages.

The incoming message can be handled either by a native application in the OITF, or in a DAE application. The same HNI-IGI message format is used in either case.

Step 1:The IG receives an incoming SIP MESSAGE
Step 2:The IG shall forward the SIP MESSAGE to the OITF as an HTTP response to a PENDING_IG request. The list of SIP headers to be included in the notification forwarded to the OITF shall be as per Table 71. The body of the SIP MESSAGE shall be included in the HTTP body.
Step 3:Upon receipt of the message, the OITF shall issue an HTTP POST request. The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per 70
HTTP Request Body: Empty
Step 4:The IG shall forward the SIP 200 OK to the network.
Table 71: List of HTTP extension headers for an Incoming Instant Message (IG→OITF)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Request-Line

Note: The request URI must be set to the Public identity of the target of the message

RFC 3261 [SIP]

MESSAGE <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

The URI part of X-OITF-To shall be set to the value of the Request URI in the “X-OITF-Request-Line”

RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Content-TypeRFC 3261 [SIP], Draft OMA-TS-SIMPLE_IM-V1_0-20080820-D [SMPL-IM]
X-OITF-Content-LengthRFC 3261 [SIP]

5.5.3 IM Session (Chat using MSRP)

5.5.3.1 Procedure for Instant Messaging on HGI-INI – HTTP Option
To initiate a chatting session using MSRP, the OITF shall use the following procedure:
Step 1:The OITF shall send an HTTP POST request to the IG over the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).” The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 72
HTTP Request Body: Empty
Step 2:If the request is for an Instant Messaging MSRP Chat Session, the IG shall validate that the request includes all the mandatory SIP headers as per Table 72. The IG shall reject a request that is missing any mandatory SIP headers with a non-200 OK HTTP response, including the reason for rejection. The IG shall generate the INVITE by mapping the X-OITF headers to the appropriate SIP header. As the IG implements MSRP, the IG shall include all the necessary additional SIP headers and the SDP body to initiate the MSRP session as follows:
  • The Content-Type header shall be added and set to “application/sdp”
  • The Content-Length header shall be added and set to the appropriate value
  • The message body shall include the following information:
    • A, c = IN IP4 <IP address> , where <IP address> would contain the IP address of the IG,
    • An, m = message <tcp port> tcp/msrp, where tcp port is a TCP port could be set to the dummy value “9”
    • An, a = accept-types:message/cpim, attribute which is mapped from the “X-OITF-Accept:” header value
    • An a = path msrp://<IP address>:<tcpport>/<session-id>; tcp, where:
      • <IP address> would contain the IP address of the IG
      • <tcpport> would be assigned automatically by the IG
      • <session-id> would be assigned automatically by the IG and bound to the requesting OITF Chatting application
NOTE: In this case the IG is not service agnostic. The IG detects that this session is for MSRP by examining the X-OITF-Accept header which shall include message/cpim (See example in Annex B.2.1.2, “Chat.”)
Step 3:The IG shall send a HTTP 200 OK response to the OITF when the SIP 200 OK is received as a response to the session invitation. The SIP 200 OK headers are mapped as indicated in Table 73, in addition to the normal HTTP 200 OK headers. The IG shall not forward the body of the SIP 200 OK to the OITF. The IG shall establish and maintain the MSRP state information including the binding between the logical entities (indicated in the From and To headers) and the corresponding path (the one initiated by the IG for the OITF and the one indicated by the distant entity for the To:). The IG shall maintain a binding between the SIP dialog and the MRSP state information for the duration of the SIP dialog.
Step 4:Upon receipt of a 200 OK response, the OITF shall send an HTTP PENDING_IG to acknowledge the final response. The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 74
HTTP Request Body: Empty
Table 72: List of HTTP extension headers for IM INVITE request (OITF→IG)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Request-Line

The request URI shall be set to the IMPU of the subscriber with whom the session is requested.

RFC 3261 [SIP]

INVITE <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

must be set to the value of the request URI in the “X-OITF-Request-Line INVITE” header

RFC 3261 [SIP]
X-OITF-Contact

Notes:

  1. URI parameter shall be included and shall match what is sent in the Contact header included in the registration request.
  2. Expires parameter should be included
RFC 3261 [SIP]
X-OITF-Accept-ContactSet according to [SMPL-IM]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Accept

shall be set to: “message/cpim”

[SMPL-IM]
Table 73: List of HTTP extension headers for a 200 OK response received for the INVITE IG→OITF
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
X-OITF-AcceptRFC 3261 [SIP]
Table 74: List of HTTP extension headers in HNI-IGI ACK Request
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Request-Line

The Request-URI in the ACK request shall be the contact included in the response to the INVITE message

RFC 3261 [SIP]

ACK <Request URI> SIP/2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Contact

The URI parameter must be included, and must match what has been inserted in the INVITE message.

IG includes all other mandatory parameters that are absent.

RFC 3261 [SIP]
5.5.3.2 MSRP Invocation – HTTP Option

The OITF shall access MSRP capabilities in the IG using the X-HNI-IGI headers.

5.5.3.2.1 Outgoing MSRP Chat Messages
The OITF shall send an outgoing MSRP chat message using the following procedure:
Step 1:The OITF shall send an HTTP POST request to the IG over the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).” The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of HNI-IGI headers encoded as HTTP headers> - as per Table 75
HTTP Request Body: The Message in plain text.
Step 2:The IG shall validate that the request includes all the mandatory HNI-IGI headers for the process as per Table 75. The IG shall reject a request that is missing any mandatory HNI-IGI headers with a non-200 OK HTTP response, including the reason for rejection.
Step 3:The IG shall validate the Call-ID and the Message-ID, if present, and subsequently shall send an MSRP SEND message to the network, then wait for the MSRP 200 OK response from the network. The IG shall return a HTTP 200 OK response to the OITF when it receives the MSRP 200 OK (or other responses). The HTTP 200 OK response shall include the HNI-IGI headers as per Table 76 in addition to the normal HTTP headers as per RFC 2616 [HTTP].
Table 75: List of HNI-IGI HTTP extension headers for an MSRP SEND Request (OITF→IG)
X-HNI-IGI HTTP HeaderSource of Coding Information
X-HNI-IGI-Request

SEND MESSAGE

[SMPL-IM]
X-HNI-IGI-Message-IDshall be left blank for the first message.
X-HNI-IGI-Call-IDshall be set to the same value for the INVITE transaction that initiated the session
X-HNI-IGI-Fromshall be set to the identity of the originator of the message
X-HNI-IGI-Toshall be set to the identity of the recipient of the message
Table 76: List of HNI-IGI HTTP extension headers included in the HTTP 200 OK response (IG→OITF)
X-HNI-IGI HeadersSource of Coding Information
X-HNI-IGI-Response

MSRP <Response>

[SMPL-IM]
X-HNI-IGI-Message-ID[SMPL-IM]
X-HNI-IGI-From[SMPL-IM]
X-HNI-IGI-To[SMPL-IM]
5.5.3.2.2 Sending an MSRP Chat State Message
The OITF shall use the following procedure to indicate the activity of the user (e.g., “Is Composing”):
Step 1:The OITF shall send an HTTP POST request to the IG over the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).” The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of HNI-IGI headers encoded as HTTP headers> - as per Table 77
HTTP Request Body: shall contain the appropriate XML document as indicated in RFC 3994 [RFC3994] and OMA-TS-SIMPLE-IM_V1_0-20080820-D [SMPL-IM].
Step 2:The IG shall validate that the request includes all the mandatory HNI-IGI headers for the process as per Table 77. The IG shall reject a request that is missing any mandatory HNI-IGI headers with a non-200 OK HTTP response, including the reason for rejection.
Step 3:The IG shall validate the Call-ID and the Message-ID, and send an MSRP SEND message to the network after performing the necessary mapping and adding the appropriate tags. The IG shall then wait for the MSRP 200 OK response from the network. The IG shall return a HTTP 200 OK response (or other appropriate responses) to the OITF when it receives the MSRP 200 OK (or other responses). The response shall include a list of HNI-IGI headers as per Table 76 in addition to the normal HTTP headers as per RFC 2616 [HTTP].
Table 77: List of HNI-IGI HTTP extension headers for an MSRP SEND ACTIVITY Request (OITF→IG)
X-HNI-IGI HTTP HeaderSource of Coding Information
X-HNI-IGI-Request

MSRP SEND ACTIVITY

OMA-TS-SIMPLE_IM-V1_0-20080820-D [SMPL-IM]
X-HNI-IGI-Message-IDshall be set to the appropriate message id
X-HNI-IGI-Call-IDshall be set to the same value for the INVITE transaction that initiated the session
X-HNI-IGI-From[SMPL-IM]
X-HNI-IGI-To[SMPL-IM]
5.5.3.2.3 Receiving an MSRP Chat Message
The IG shall use the following procedure when receiving an incoming MSRP message:
Step 1:In response to a PENDING_IG request, the IG shall send an HTTP 200 OK response to the OITF over the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).” The response shall include the HNI-IGI headers listed in Table 78, in addition to the mandatory HTTP headers in RFC 2616 [HTTP]. The body of the HTTP 200 OK response shall include the received text.
Step 2:The OITF shall respond with an HTTP POST request with its body containing an MSRP 200 OK response. The contents of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of HNI-IGI headers encoded as HTTP headers> - as per Table 79
HTTP Request Body: Empty
Step 3:The IG shall send the response from the OITF in an MSRP response message to the network after performing the necessary validation.
Table 78: List of HNI-IGI HTTP extension headers for an incoming MSRP message (IG→OITF)
X-HNI-IGI HTTP HeaderSource of Coding Information
X-HNI-IGI-Request

MSRP RECEIVE MESSAGE

[SMPL-IM]
X-HNI-IGI-Message-IDshall be set to the appropriate message id
X-HNI-IGI-Call-IDshall be set to the same value for the INVITE transaction that initiated the session
X-HNI-IGI-Fromshall be set to the remote user
X-HNI-IGI-Toshall be set to the recipient of the message
Table 79: List of HNI-IGI HTTP extension headers for an MSRP 200 OK Response to an incoming MSRP Message (OITF→IG)
X-HNI-IGI HTTP HeaderSource of Coding Information
X-HNI-IGI-Response

MSRP <Response>

Set to the appropriate Response
X-HNI-IGI-Message-IDshall be set to the appropriate message id
5.5.3.2.4 Receiving an MSRP Chat State Message
The IG shall use the following procedure when receiving an incoming MSRP Chat State message:
Step 1:In response to a PENDING_IG request, the IG shall send an HTTP 200 OK response to the OITF over the HNI-IGI interface, as described in OITF-IG Interface (HNI-IGI). The response shall include the HNI-IGI headers listed in Table 80 in addition to the mandatory HTTP headers in RFC 2616 [HTTP]. The body of the HTTP 200 OK response shall contain the appropriate XML document as indicated in RFC 3994 [RFC3994] and OMA-TS-SIMPLE-IM_V1_0-20080820-D [SMPL-IM]
Step 2:The OITF shall respond with an HTTP POST request with its body containing an MSRP 200 OK response. The contents of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of HNI-IGI headers encoded as HTTP headers> - as per Table 79
HTTP Request Body: Empty
Step 3:The IG shall send the response from the OITF in an MSRP response message to the network after performing the necessary validation.
Table 80: List of HNI-IGI HTTP extension headers for an incoming MSRP message (IG→OITF)
X-HNI-IGI HTTP HeaderSource of Coding Information
X-HNI-IGI-Request

MSRP RECEIVE ACTIVITY

OMA-TS-SIMPLE-IM-V1-0-20080820-D [SMPL-IM]
X-HNI-IGI-Message-IDshall be set to the appropriate message id
X-HNI-IGI-Call-IDshall be set to the same value for the INVITE transaction that initiated the session
X-HNI-IGI-Fromshall be set to the remote user
X-HNI-IGI-Toshall be set to the recipient of the message
5.5.3.3 Terminating an IM Session (MSRP Chat) – HTTP Option
In order to terminate an MSRP session, the OITF shall use the following procedure:
Step 1:The OITF shall send an HTTP POST request to the IG over the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).” The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 80
HTTP Request Body: Empty
Step 2:The IG shall validate that the request includes all the mandatory SIP headers for the process as per Table 81. The IG shall reject a request that is missing any mandatory SIP headers with a non-200 OK HTTP response, including the reason for rejection. The IG shall generate the SIP BYE by mapping the X-OITF headers to the appropriate SIP headers.
Step 3:The IG shall send a HTTP 200 OK response to the OITF when the SIP 200 OK is received as a response to the Chat session termination request. The SIP 200 OK headers are mapped as indicated in Table 82 in addition to the normal HTTP 200 OK headers.
Table 81: List of HTTP extension headers for an MSRP BYE request (OITF→IG)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Request-LineRFC 3261 [SIP]

BYE <Request URI> SIP/ 2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Contact

shall be set to the value received in the contact of a 200 OK for session termination or SIP INVITE for session origination

RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Content-Length

must be set to 0

RFC 3261 [SIP]
Table 82: List of HTTP extension headers for a 200 OK response to a BYE (IG→OITF)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 200 OK

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
X-OITF-Content-Length

Set to 0

RFC 3261 [SIP]
5.5.3.4 Remote Termination of an IM Session (MSRP Chat) – HTTP Option
The IG shall use the following procedure when receiving an incoming SIP BYE message for an ongoing IM session (MSRP Chat):
Step 1:The IG receives a SIP BYE message from the network.
Step 2:The IG forwards the information in the SIP BYE to the OITF over the HNI-IGI interface in the HTTP 200 OK response to a PENDING_IG request. The response shall include the list of SIP headers listed in Table 83, in addition to the mandatory HTTP headers in RFC 2616 [HTTP].
Step 3:The OITF shall respond with an HTTP POST request. The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded in HTTP headers> - as per Table 84
HTTP Request Body: Empty
Step 4:The IG shall send SIP 200 OK to the network.
Table 83: List of HTTP extension headers for an Incoming SIP BYE (IG→OITF)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Request-Line

Note: The Request URI must match the contact URI included in the contact field of the SIP INVITE (for outgoing session) or a 200 OK (for incoming session)

RFC 3261 [SIP]

BYE <Request URI> SIP/ 2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Content-Length

must be set to 0

RFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
Table 84: List of HTTP extension headers for the response to an SIP BYE (OITF→IG)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
5.5.3.5 Procedure for Reception of a remotely initiated Instant Messaging Session (MSRP Chat) – HTTP Option
The IG shall use the following procedure when receiving an incoming SIP INVITE message for a new IM session (MSRP Chat):
Step 1:The IG receives a SIP INVITE message from the network.
Step 2:The IG shall validate that the request includes all the mandatory SIP headers as per Table 85. This is required since the IG must send all this information to the OITF. The IG shall reject any incoming request that is missing any mandatory parameter. Subsequently, the IG shall perform the following checks:
  • Ensure that the Content-Type header is present and set to “application/sdp”
  • Verify that the SDP body includes the following information:
    • A c = IN IP4 <IP address>, where <IP address> would contain the remote IP address.
    • An m = message <tcp port> tcp/msrp, where tcp port is a TCP port and could be set to the dummy value “9”
    • An a = accept-types:message/cpim, attribute which is mapped from the Accept header value.
    • A a = path msrp://<IP address>:<tcpport>/<session-id>; tcp, where:
      • <IP address> would contain the remote IP address
      • <tcpport> remote IP port
      • <session-id> assigned automatically by the remote peer.
Step 3:Following that, the IG retains and stores information in the SDP, and forwards only the information in the SIP INVITE headers to the OITF over the HNI-IGI interface in the HTTP 200 OK response to a PENDING_IG request that was sent by the OITF to the IG when the application was launched. The response shall include the list of SIP headers listed in Table 85, in addition to the mandatory HTTP headers in RFC 2616 [HTTP].
Step 4:The OITF shall respond with an HTTP POST request that includes the OITF response to the incoming INVITE. The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded in HTTP headers> - as per Table 86
HTTP Request Body: Empty
Step 5:The IG shall append the SDP to the SIP 200 OK before sending it to the network. The appended SDP shall include the following information:
  • A c = IN IP4 <IP address> , where <IP address> would contain the IP address of the IG,
  • An m = message <tcp port> tcp/msrp, where tcp port is a TCP port could be set to the dummy value “9”
  • An , a = accept-types:message/cpim, attribute which is mapped from the “X-OITF-Accept:” header value
  • An a = path msrp://<IP address>:<tcpport>/<session-id>; tcp, where:
    • <IP address> would contain the IP address of the IG
    • <tcpport> would be assigned automatically by the IG
    • <session-id> would be assigned automatically by the IG and bound to the responding OITF Chatting application
Step 6:The IG receives a SIP ACK message from the network
Step 7:Following that, the IG shall send the information in the incoming ACK message to the OITF in a HTTP 200 OK response. The response includes a list of SIP headers as per Table 87.

Note: Any SDP information is retained in the IG since the IG handles the MSPP protocol

Step 8:The OITF shall send an HTTP HNI-IGI PENDING_IG request to the IG and shall wait for any incoming messages.
Table 85: List of HTTP extension headers for an incoming IM INVITE request (IG→OITF)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Request-Line

The request URI shall be set to the IMPU of the subscriber with whom the session is intended

RFC 3261 [SIP]

INVITE <Request URI> SIP/ 2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

must be set to the value of the request URI in the “X-OITF-Request-Line INVITE” header

RFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
X-OITF-Accept-ContactSet according to [SMPL-IM]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Accept

shall be set to: “message/cpim”

[SMPL-IM]
Table 86: List of HTTP extension headers for the response to an Incoming IM INVITE Request (OITF→IG)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Accept

shall be set to “message/cpim”

RFC 3261 [SIP]
X-OITF-Contact

Notes:

  1. URI parameter shall be included and shall match what is returned in the contact header includes in the response to the registration process
  2. Expires parameter should be included
RFC 3261 [SIP]
Table 87: Supported HTTP extension headers in HNI-IGI ACK Request for successful IM Session (MSRP Chat) (IG→OITF)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Request-Line

The Request-URI in the ACK request shall be the contact included in the response to the INVITE message

RFC 3261 [SIP]

ACK <Request URI> SIP/ 2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

The URI part of X-OITF-To shall be set to the value of the Request URI in the “X-OITF-Request-Line”

RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Contact

The URI parameter shall be included, and shall match what been received in the incoming INVITE message.

RFC 3261 [SIP]

5.5.4 Presence

5.5.4.1 Procedures for Subscription to Presence on the HNI-IGI interface – HTTP Option
The procedure for subscription to the Presence event shall be invoked from either a DAE application or an embedded application in the OITF. The procedure is as follows:
Step 1:The OITF shall send an HTTP POST request to the IG over the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).” The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded in HTTP headers> - as per Table 88
HTTP Request Body: Empty
Step 2:The IG shall validate that the request includes all the mandatory SIP headers for the subscription process as per Table 88. The IG shall reject a request that is missing any mandatory SIP headers with a non-200 OK HTTP response, including the reason for rejection.
Step 3:The IG shall send a SIP SUBSCRIBE to the network, to subscribe to the Presence event, and shall wait for the response to the subscription request. The IG shall then return a HTTP 200 OK response to the OITF to report the response to the subscription request. The response includes a list of SIP headers as per Table 89, in addition to the normal HTTP headers as per RFC 2616 [HTTP].
Step 4:The OITF shall send an HTTP HNI-IGI PENDING_IG request (refer to section 5.6.1.1, “HNI-IGI Message Types”), and shall wait for any incoming messages.
Step 5:When a SIP NOTIFY is received by the IG, the IG shall return a HTTP 200 OK response to the OITF containing the information in the incoming NOTIFY message. The response includes a list of SIP headers as per Table 90 in addition to the normal HTTP headers as per RFC 2616 [HTTP]. The body of the HTTP response shall include the SIP body received in the incoming NOTIFY compliant to Annex E of [TS183063].
Step 6:Once the OITF accepts the incoming SIP NOTIFY, it shall send an HTTP POST PENDING_IG request to the IG to acknowledge the receipt of notification and issue a new pending HTTP request. The content of the HTTP request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded in HTTP headers> - as per Table 91
HTTP Request Body: Empty
Step 7:The IG shall send the SIP 200 OK response to the network and then shall return to Step 5 to handle any subsequent NOTIFY received from the network.
The OITF shall ensure that the presence related data conforms to the appropriate XML schemas.
5.5.4.2 Procedure for Cancellation of a Subscription to Presence on the HNI-IGI interface – HTTP Option

This procedure may be invoked at any time.

The OITF shall de-register the IPTV end user before invoking this procedure.

The procedure is essentially the same as the procedure for initiating a subscription to the Presence event, except that the X-OITF-Expires header in Table 88 shall be set to 0.

Table 88: List of HTTP extension headers for a SUBSCRIBE Request (OITF→IG)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Request-Line

Note: The request URI shall be set to the Public identity of the IPTV end user who has just registered

RFC 3261 [SIP]

SUBSCRIBE <Request URI> SIP/ 2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

The URI part of X-OITF-To shall be set to the value of the Request URI in the “X-OITF-Request-Line”

RFC 3261 [SIP]
X-OITF-EventRFC 3265 [SIP-EVNT], OMA-ERP-Presence_SIMPLE-V1_1-20080627-A [SMPL-PRES]
X-OITF-AcceptRFC 3265 [SIP-EVNT], OMA-ERP-Presence_SIMPLE-V1_1-20080627-A [SMPL-PRES]
X-OITF-Contact

Notes:

  1. URI parameter must be included, and must match the Contact header included in the registration request.
  2. Expires parameter should be included
  3. Priority parameter should be included

IG includes all other mandatory parameters that are absent.

RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Expires

Note: If absent a default value shall be assumed by the IG

RFC 3261 [SIP]
X-OITF-Content-TypeRFC 3265 [SIP-EVNT], OMA-ERP-Presence_SIMPLE-V1_1-20080627-A [SMPL-PRES]
X-OITF-Content-LengthRFC 3261 [SIP]
Table 89: List of HTTP extension headers for the response to a SUBSCRIBE to Presence (IG→OITF)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-ExpiresRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
Table 90: SupportedList of HTTP extension headers for a SUBSCRIBE Request (OITF→IG)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Request-Line

Note: The Request URI must match the contact URI included in the contact field of the SIP SUBSCRIBE

RFC 3261 [SIP]

NOTIFY <Request URI> SIP/ 2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-EventRFC 3265 [SIP-EVNT], OMA-ERP-Presence_SIMPLE-V1_1-20080627-A [SMPL-PRES]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-Subscription-StateRFC 3265 [SIP-EVNT], OMA-ERP-Presence_SIMPLE-V1_1-20080627-A [SMPL-PRES]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Content-TypeRFC 3265 [SIP-EVNT], OMA-ERP-Presence_SIMPLE-V1_1-20080627-A [SMPL-PRES]
X-OITF-Content-LengthRFC 3261 [SIP]
X-OITF-ContacRFC 3261 [SIP]
Table 91: List of HTTP extension headers for a Response to a received SIP NOTIFY (OITF→IG)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
X-OITF-Content-TypeRFC 3261 [SIP]
X-OITF-Content-LengthRFC 3261 [SIP]
NOTE: Cancellation of subscription is not required if the X-OITF-Expires header was set to 0 in the initial SUBSCRIBE request
5.5.4.3 Refreshing the Subscription to the Presence Event – HTTP Option

It is the responsibility of the application (in the OITF) initiating the subscription procedure to refresh the subscription according to the refresh subscription timer received in the response during the subscription process. Refreshing should be performed before the expiry of the refresh timer. A subscription that is not refreshed before the expiration of the refresh subscription timer shall be terminated by the network.

]The procedure for refreshing the subscription to the Presence event is the same as the procedure for subscribing to Presence.

5.5.4.4 Procedure for Publishing Presence information – HTTP Option
This procedure for publishing an event may be invoked from either a DAE application or an embedded application in the OITF. The procedure is as follows:
Step 1:The OITF shall send an HTTP POST request to the IG over the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).” The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded in HTTP headers> - as per Table 92
HTTP Request Body: As per section 5.5.4.6, “Presence Notification and Publish Schema.”
Step 2:The IG shall validate that the request includes all the mandatory SIP headers for the publication process as per Table 92. The IG shall reject a request that is missing any mandatory SIP headers with a non-200 OK HTTP response, including the reason for rejection.
Step 3:The IG shall send a SIP PUBLISH to the network. When the IG receives the response, the IG shall return a HTTP 200 OK response (or other appropriate responses) to the OITF to report the response to the publish request. The response shall include a list of SIP headers as per Table 93, in addition to the normal HTTP headers as per RFC 2616 [HTTP].
Table 92: List of HTTP extension headers for the PUBLISH Request (OITF→IG)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Request-Line

Note: The request URI must be set to the IMS Public User Identity of the IPTV end user who has just registered

RFC 3261 [SIP]

PUBLISH <Request URI> SIP/ 2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

The URI part of X-OITF-To shall be set to the value of the Request URI in the “X-OITF-Request-Line”

RFC 3261 [SIP]
X-OITF-EventRFC 3265 [SIP-EVNT], OMA-ERP-Presence_SIMPLE-V1_1-20080627-A [SMPL-PRES]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-ExpiresRFC 3261 [SIP], RFC 3903 [RFC3903]
X-OITF-SIP-If-MatchRFC 3903 [RFC3903]
X-OITF-Content-TypeRFC 3261 [SIP]
X-OITF-Content-LengthRFC 3261 [SIP]
Table 93: List of HTTP extension headers for a response to SIP PUBLISH (IG→OITF)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-ETagRFC 3261 [SIP], RFC 3903 [RFC3903]
X-OITF-ExpiresRFC 3261 [SIP]
5.5.4.5 Procedure for Refreshing Published Presence information – HTTP Option
It is the responsibility of the OITF to refresh the published presence information before the refresh timer expires. A published event that is not refreshed shall be deleted in accordance with RFC 3903 [RFC3903].
5.5.4.6 Presence Notification and Publish Schema

When the IPTV Presence service is active, the body of the PUBLISH request shall include the extended OMA presence schema compliant to section 5.1.6 of [TS183063] “Procedure for IPTV presence service”.

In the extended OMA presence XML document, each service is described by the “service-description” OMA parameter as specified in OMA-ERP-Presence_SIMPLE-V1_1-20080627-A [SMPL-PRES]. New “service-id” values are defined for IPTV with the following values:

  • IPTV-BC: Scheduled Content service, defined in [TS183063] section 5.1.6.
  • IPTV-CoD: Content on Demand Service, defined in [TS183063] section 5.1.6.
  • IPTV-NPVR: Network PVR Service, defined in [TS183063] section 5.1.6.
  • Broadcast-TV: DVB-T/H/C/S Service, defined in Annex H, “Presence XML Schema

When the user has an active IPTV Presence service, the <tuple> element pertaining to the active service shall contain the corresponding element as defined in the presence schema.

5.5.5 Content Sharing

5.5.5.1 Procedure for OITF Content Sharing Capability query
Capability of the other terminal can be queried, i.e. is recipient capable of supporting Content Share session or not. To perform a Capability query, the OITF may use the following procedure:
Step 1:The OITF shall send an HTTP POST request to the IG over the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).” The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 94
HTTP Request Body: Empty
Step 2:The IG shall validate that the request includes all the mandatory HNI-IGI headers for the process as per Table 94. The IG shall reject a request that is missing any mandatory HNI-IGI headers with a non-200 OK HTTP response, including the reason for rejection. The IG shall generate the SIP OPTIONS by mapping the X-OITF headers to the appropriate SIP header.
Step 3:The IG shall send a SIP OPTIONS to the network. The receiving OITF generates the response base on the black-white list. When the sender is in black list (means the sender has no right to query the receiving OITF’s capability), the receiving OITF must reject the request with a non-200 OK response, including the reason for rejection. When the sender is in white list (means the sender has right to query the receiving OITF’s capability), the receiving OITF must response the request with a 200 OK, including the information set of the receiving OITF which the sender has right to query.
Step 4: When the IG receives the response, the IG shall return a HTTP 200 OK response (or other appropriate responses) to the OITF to report the response to the SIP OPTIONS. The content of the HTTP Response shall be:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 94
HTTP Request Body: application/sdp

The response body includes the SDP offer generated by the OITF. SDP shall be used as specified in [TS124503]

  • An m=<media> <port> <transport> <fmt>
  • An a=rtpmap:<payload type> <encoding name>

]The 200 OK body includes the SDP generated by the OITF which is the recipient of the OPTIONS to indicate supports for Content Share service. SDP shall be used as specified in [TS124503].

Table 94: List of HTTP extension headers on the HNI-IGI interface (OITF→IG) for a SIP OPTIONS request and response (IG→OITF)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Request-Line

The request URI shall be set to the Public identity of the IPTV target end user

RFC 3261 [SIP]

PUBLISH <OPTIONS URI> SIP/ 2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

must be set to the value of the request URI in the “X-OITF-Request-Line OPTIONS” header

RFC 3261 [SIP]
X-OITF-Contact

Notes:

  1. URI parameter shall be included and shall match what is sent in the Contact header included in the registration request.
  2. Expires parameter should be included
RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Accept

Accept: application/sdp

RFC 3261 [SIP], RFC 3903 [RFC3903]
X-OITF-Accept-Contact

shall be set to +g.3gpp.icsi-ref="urn%3Aurn-7%3A 3gpp-service.ims.icsi.mmtel " and +g.3gpp.iari-ref=" urn%3Aurn-7%3A 3gpp-application.ims.iari.gsma-vs".

[VIDEOSHARE]
X-OITF-Content-Length

Set to 0

RFC 3261 [SIP]
5.5.5.2 Invitation Procedure for OITF Originating a Content Sharing
To initiate a Content Sharing session to another OITF, the OITF shall use the following procedure:
Step 1:The OITF shall send an HTTP POST request to the IG over the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).” The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 95
HTTP Request Body: application/sdp

The request body includes the SDP offer generated by the OITF. SDP shall be used as specified in [TS124503].

  • An m=<media> <port> <transport> <fmt>
  • A c =<network type> <address type> <connection address> to indicate connection data at media level
  • One or more a=fmtp lines representing RTSP specific attributes
  • An “a=” line with a “sendonly”
  • An a=X -type: videolive/ videoclip , to be used to indicate the receiving user whether the Video is a live feed from the camera or whether the video is from a recorded clip.
  • One or more a=file-selector lines which parameterize the file to be transferred
  • An "b=" to indicate the bandwidth for each media stream
Step 2:The IG shall validate that the request includes all the mandatory HNI-IGI headers for the process as per Table 95. The IG shall reject a request that is missing any mandatory HNI-IGI headers with a non-200 OK HTTP response, including the reason for rejection. The IG shall generate the SIP INVITE by mapping the X-OITF headers to the appropriate SIP header.
Step 3:The IG shall send a SIP INVIE to the network. When the IG receives the response, the IG shall return a HTTP 200 OK response (or other appropriate responses) to the OITF to report the response to the SIP INVITE. The response includes a list of SIP headers as per Table 96 in addition to the normal HTTP headers as per RFC 2616 [HTTP].
Step 4:Upon receipt of a 200 OK response, the OITF shall send an HTTP PENDING_IG to acknowledge the final response. The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 97
HTTP Request Body: Empty
Table 95: List of HTTP extension headers on the HNI-IGI interface (OITF→IG) for a SIP INVITE request
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Request-Line

The request URI shall be set to the IMPU of the subscriber with whom the session is requested.

RFC 3261 [SIP]

INVITE <Request URI> SIP/ 2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

must be set to the value of the request URI in the “X-OITF-Request-Line INVITE” header

RFC 3261 [SIP]
X-OITF-Contact

Notes:

  1. URI parameter shall be included and shall match what is sent in the Contact header included in the registration request.
  2. Expires parameter should be included
RFC 3261 [SIP]
X-OITF-Accept-Contact

shall be set to +g.3gpp.icsi-ref="urn%3Aurn-7%3A 3gpp-service.ims.icsi.mmtel " and +g.3gpp.iari-ref=" urn%3Aurn-7%3A 3gpp-application.ims.iari.gsma-vs".

[VIDEOSHARE]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
Table 96: List of HTTP extension headers for a 200 OK response received for the INVITE IG→OITF
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 <response>

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP], RFC 3903 [RFC3903]
Table 97: List of HTTP extension headers in HNI-IGI ACK Request
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Request-Line

The Request-URI in the ACK request shall be the contact included in the response to the INVITE message

RFC 3261 [SIP]

ACK <Request URI> SIP/ 2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Contact

The URI parameter must be included, and must match what has been inserted in the INVITE message.

IG includes all other mandatory parameters that are absent.

RFC 3261 [SIP]
X-OITF-Accept-Contact

shall be set to +g.3gpp.icsi-ref="urn%3Aurn-7%3A 3gpp-service.ims.icsi.mmtel " and +g.3gpp.iari-ref=" urn%3Aurn-7%3A 3gpp-application.ims.iari.gsma-vs".

[VIDEOSHARE]
5.5.5.3 Procedure for OITF Refresh a Content Sharing Session
It is the responsibility of the OITF application to refresh the Content Sharing session before the session expires. The IG shall consider a session terminated if it is not refreshed.
5.5.5.4 Procedure for Modification of a Content Sharing Session

To perform session modification during an ongoing Content Sharing session, the OITF shall generate a re-INVITE request as defined in Table 95. The OITF shall include a new SDP offer in the session modification request reflecting the purpose of the session modification request.

Examples of events that can lead to session modification include bandwidth changes, putting the ongoing session on hold, sharing of a new content by any peer, etc.

5.5.5.5 Transferring a Content Sharing Session
5.5.5.5.1 OITF Target Discovery

An OITF that wants to locate a target OITF for session transfer purposes shall perform the procedures described in section 5.4.6.1.4, “Procedure for Subscription to the Registration Event Package”.

Subsequently a target OITF can be selected from the returned information.

5.5.5.5.2 Transferor OITF Initiating a Session Transfer Request - Push Mode

The following procedure shall be supported for the receiving OITF to select the appropriate OITF for consumption of the content.

A transferor shall initiate the request for a Content sharing session to transfer to an appropriate OITF. Upon successful transfer of the session, Content Sharing service will be streamed to the target device.

To initiate a session transfer request, the transferor OITF shall follow the following procedure:

Step 1:As a pre-requisite it is assumed that the transferor OITF user is receiving a Content sharing session and has selected a target device (transferee OITF) for the session.

In this step the transferor OITF shall include the transferee identifier; IMS service identifier and SDP in the SIP REFER (as shown in step 2) message.

Step 2:The transferor OITF shall send an HTTP POST request for the session transfer to the IG over the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI)”. The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 98
HTTP Request Body: Empty
Step 3:The IG shall validate that the request includes all the mandatory SIP headers as per Table 98 and send SIP REFER to the network, The IG shall reject a request that is missing any mandatory SIP headers with a non-200 OK HTTP response, including the reason for rejection.
Step 4:The IG shall send a SIP REFER to the network, to setup the request and shall wait for the response. At some point in time, the IG shall return a HTTP 202 Accept response (or other appropriate responses) to the transferor OITF to report the received response from the transferee to the transfer request. The response shall include a list of SIP headers as per Table 47 in addition to the normal HTTP headers as per RFC 2616 [HTTP].
Step 5:Following that, the transferor OITF shall send an HTTP HNI-IGI PENDING_IG request (refer to section 5.6.1.1, “HNI-IGI Message Types”), and shall wait for any response reporting the outcome of the session transfer procedure.
Step 6:At some point in time, the IG shall receive an incoming SIP NOTIFY from the remote OITF, reporting the outcome of the session transfer and which it shall forward to the transferor OITF in an HTTP 200 OK response. The HTTP response shall include the list of SIP headers as per Table 99 in addition to the normal HTTP headers. The body of the HTTP response shall include the SDP body received in the NOTIFY.
Step 7:The transferor OITF shall return the SIP 200 OK response, acknowledging the SIP NOTIFY, to the IG, in an HTTP POST PENDING_IG request. The content of the HTTP request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 49
HTTP Request Body: Empty
Table 98: List of HTTP extension headers for an outgoing SIP REFER from the transferor for initiating up a session transfer request (OITF→IG) and incoming SIP REFER request to the transferee (IG→OITF)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Request-Line

Note: The request URI shall be set to the identifier of the transferee (target OITF).

RFC 3261 [SIP]

REFER <Request URI> SIP/ 2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-To

The URI part of X-OITF-To shall be set to the value of the Request URI in the “X-OITF-Request-Line”

RFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Refer-To

shall be set to the remote target URI included in the contact header field returned in the SIP 200 OK associated with initial session setup with the transferor and extended with the following URI headers fields:

  • Replaces header field shall include the SIP dialog identifier for the original Content sharing session as per [RFC3891]
  • Require header field populated with the option tag value “replaces”
  • To header field shall contain the original content identifier copied from the Request URI of the original SIP INVITE request initiated from the transferor.
  • an Accept-Contact header field shall be set to +g.3gpp.icsi-ref="urn%3Aurn-7%3A 3gpp-service.ims.icsi.mmtel” and +g.3gpp.iari-ref=" urn%3Aurn-7%3A 3gpp-application.ims.iari.gsma-vs".
  • Body header. Contains the SDP body to be included in the SIP request initiated from the transferor OITF. The SDP body shall contain the same number of media lines as the SDP used in the original session from the transferor OITF. Each media line shall indicate the same media type as its corresponding media component in the SDP used in the original session by the transferor OIPF. The media line for the media to be transferred shall include a port number with non zero value.
RFC 3261 [SIP]

[RFC3515]

[RFC3891]

X-OITF-ContactRFC 3261 [SIP]
Table 99: Supported HTTP extension headers in the NOTIFY request sent from the transferee OITF (OITF→IG) to the transferor (IG→OITF)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Request-Line

Note: The Request URI must match the contact URI included in the contact field of the SIP REFER

RFC 3261 [SIP]

REFER <Request URI> SIP/ 2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-EventRFC 3515 [RFC3515]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-Subscription-StateRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-LengthRFC 3261 [SIP]
5.5.5.5.3 Remote OITF Receiving an Incoming Session Transfer Request – Push Mode
The remote OITF is having a content sharing session with transferor OITF. The procedure for remote OITF in a push mode is as follows:
Step 1:It is assumed that the remote OITF has an HTTP PENDING_IG request. At some point in time, when a REFER request targeted for the transferee OITF is received by the IG, the IG shall return a HTTP 200 OK response to the OITF. The response shall include the list of SIP headers as per Table 98, in addition to the normal HTTP headers as per RFC 2616 [HTTP]. The body of the HTTP response shall include the XML structure as per section 5.3.13.2, “XML Schema for Session Transfer Information included in a session transfer request from the transferor to transferee”.
Step 2:The remote OITF shall examine the incoming REFER request including the security checking and IMS Content Sharing service identifying. In particular, the OITF shall extract the body header to use it to later construct its own SDP for the session transfer. If the OITF cannot successfully validate the extracted SDP, it shall reject the incoming request. If the OITF successfully validates the extracted SDP it should accept the incoming request.
Step 3:Once the remote OITF accepts the incoming SIP REFER, it shall send an HTTP POST PENDING_IG request to the IG. The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 47 with the exception that the response in this case is a SIP 202 OK
HTTP Request Body: Empty
Step 4:The remote OITF shall extract the following information from the incoming REFER request:
  • The Content URI extracted from the To header included in the Refer-To header.
  • The body header
  • The Dialog ID to be replaced extracted from the Replace header in the Refer-To header
  • The m line extracted from SDP, m line indicated the multimedia session information of content sharing
Step 5:At some point in time, the remote OITF shall then construct an SDP that it can used to initiate a new session to the transferee OITF. The remote OITF shall send an HTTP POST request to the IG over the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI)”.
Step 6:The IG shall validate that the request includes all the mandatory HNI-IGI headers. The IG shall reject a request that is missing any mandatory HNI-IGI headers with a non-200 OK HTTP response, including the reason for rejection. The IG shall generate the SIP INVITE by mapping the X-OITF headers to the appropriate SIP header as per Table 95, requesting set up a new session with transferee OITF.
Step 7:The IG shall send a SIP INVIE to the network. When the IG receives the response, the IG shall return a HTTP 200 OK response (or other appropriate responses) to the OITF to report the response to the SIP INVITE. The response includes a list of SIP headers as per Table 96 in addition to the normal HTTP headers as per RFC 2616 [HTTP].
Step 8:Upon receipt of a 200 OK response, the remote OITF shall send an HTTP PENDING_IG to acknowledge the final response. The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 97
HTTP Request Body: Empty
Step 9:At some point in time, the IG shall receive an incoming SIP NOTIFY from the remote OITF, reporting the outcome of the session transfer and which it shall forward to the transferor OITF in an HTTP 200 OK response. The HTTP response shall include the list of SIP headers as per Table 99 in addition to the normal HTTP headers. The body of the HTTP response shall include the SDP body received in the NOTIFY.
Step 10:At some point in time, IG shall receiving the SIP 200 OK response from the transferor OITF indicating the acknowledgement of the SIP NOTIFY, in an HTTP POST PENDING_IG request. The content of the HTTP request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 49
HTTP Request Body: Empty
5.5.5.5.4 Transferee OITF Receiving an Incoming Session Transfer Request – Push Mode
The remote OITF is having a content sharing session with transferor OITF. The procedure at the transferee OITF receiving an incoming session transfer request in a push mode is as follows:
Step 1:It is assumed that the transferee OITF has an HTTP PENDING_IG request. At some point in time, when a INVITE request targeted for the transferee OITF is received by the IG, the IG shall return a HTTP 200 OK response to the transferee OITF. The response shall include the list of SIP headers as per Table 95 in addition to the normal HTTP headers as per RFC 2616 [HTTP].
Step 2:The transferee OITF shall examine the incoming INVITE request including the security checking and IMS Content Sharing service identifying. In particular, the transferee OITF shall extract the body header for the session transfer. If the OITF cannot successfully validate the extracted SDP, it shall reject the incoming request. If the OITF successfully validates the extracted SDP it should accept the incoming request.
Step 3:When the IG receives the response, the IG shall return a HTTP 200 OK response (or other appropriate responses) to the remote OITF to report the response to the SIP INVITE. The response includes a list of SIP headers as per Table 96 in addition to the normal HTTP headers as per RFC 2616 [HTTP].
Step 4:Upon receipt of a 200 OK response, the remote OITF shall send an HTTP PENDING_IG to acknowledge the final response. The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 97
HTTP Request Body: Empty
5.5.5.6 Procedure for OITF Terminating a Content Sharing Session
In order to terminate a content sharing session, the OITF shall use the following procedure:
Step 1:The OITF shall send an HTTP POST request to the IG over the HNI-IGI interface, as described in section 5.6.1, “OITF-IG Interface (HNI-IGI).” The content of the HTTP Request shall be as follows:
HTTP Request Header: Including the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <list of SIP headers encoded as HTTP headers> - as per Table 100
HTTP Request Body: Empty
Step 2:The IG shall validate that the request includes all the mandatory SIP headers for the message as per Table 100. The IG shall reject a request that is missing any mandatory SIP headers with a non-200 OK HTTP response, including the reason for rejection. The IG shall generate the SIP BYE by mapping the X-OITF headers to the appropriate SIP headers.
Step 3:The IG shall send a HTTP 200 OK response to the OITF when the SIP 200 OK is received as a response to the content sharing session termination request. The SIP 200 OK headers are mapped as indicated in Table 101 in addition to the normal HTTP 200 OK headers.
Table 100: List of HTTP extension headers for an SIP BYE request (OITF→IG)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Request-Line

Note: The request URI must be set to the contact return in the 200 OK for the invite.

RFC 3261 [SIP]

BYE <Request URI> SIP/ 2.0

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-ContactRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]
X-OITF-Length

must be set to 0

RFC 3261 [SIP]
Table 101: List of HTTP extension headers for a 200 OK response to a BYE (IG→OITF)
X-OITF HTTP HeaderSource of Coding Information
X-OITF-Response-LineRFC 3261 [SIP]

SIP/2.0 200 OK

X-OITF-FromRFC 3261 [SIP]
X-OITF-ToRFC 3261 [SIP]
X-OITF-Call-IDRFC 3261 [SIP]
X-OITF-CSeqRFC 3261 [SIP]

5.6 Protocols System Infrastructure Functions

5.6.1 OITF-IG Interface (HNI-IGI)

5.6.1.1 HNI-IGI Message Types

The HTTP protocol is used to exchange information between the IG and the OITF. The IG behaves as an HTTP server and the OITF behaves as an HTTP client. The OITF part may be implemented either in native code or in DAE applications.

There are several aspects of information on the HNI-IGI interface.

  • Normal HTTP headers
  • Application specific information that is translated by the IG into SIP headers. These are included as HTTP extension headers and have the same name as in the SIP message, but are prefixed with X-OITF.
  • Application specific information that forms the Body of a SIP message. This corresponds to the SIP message body and is included as a body in the HTTP request or response. An example message body type is SDP.
  • HNI-IGI auxiliary information that is only used between OITF and IG. These parameters are prefixed with X-HNI-IGI. An example is those parameters related to the fetching of GBA credentials by the OITF for re-use of GBA authentication mechanism for single sign-on (see section 5.4.6.2.2, “Credential Retrieval by an OITF for Re-use of GBA Authentication”).

The general format of an HNI-IGI HTTP request is

  • HTTP POST <IG URI>/<HNI-IGI message type>
  • <HTTP headers>
  • <X-OITF extension headers> or <X-HNI-IGI extension headers>
  • Content-Type: <...>
  • Content-Length: <Number>
  • <Message body>

The general format of an HNI-IGI HTTP response is

  • HTTP/1.1 <HTTP response>
  • <HTTP headers>
  • <X-OITF extension headers> or <X-HNI-IGI extension headers>
  • Content-Type: <...>
  • Content-Length: <Number>
  • <Message body>

The following table lists the HNI-IGI message types

Table 102: HNI-IGI Message Types
HNI-IGI message typeMeaning
PENDING_IGThe message is a pending HTTP request, that shall only be responded to by the IG when it needs to contact the OITF as a result of an incoming request from the network (e.g. an incoming MESSAGE)
SIPThe message is an HNI-IGI message corresponding to a SIP message. The IG must translate this into a corresponding SIP message by adding and changing the relevant headers.
AUXThe message is an HNI-IGI message that does not translate to a SIP message. The IG processes this message and responds accordingly.

Messages over the HNI-IGI interface can be sent in both directions.

  • Normal HTTP requests are used for requests from the OITF and responses from the IG.
  • There must be a HTTP request from the OITF to the IG with the response pending to allow new (unsolicited) messages from the network to be sent from the IG to the OITF in the response., This is a special kind of HNI-IGI message, called PENDING_IG.

An example of SIP header that is mapped to an HTTP extension header is: “From: david@oiptv.org” that becomes “X-OITF-From:david@oiptv.org”

Note that only AUX HNI-IGI message types are used by the HNI-IGI SIP option (see section 5.6.1.6, “HNI-IGI Auxiliary Message”.)

5.6.1.2 HNI-IGI messages in the OITF to IG direction – HTTP Option

When the IG receives an HNI-IGI message, it shall add or change all SIP headers that are not specific to the application (Tags, Call ID, via, request URI etc.) while translating from HTTP to SIP.

The following table lists header values for the HNI-IGI protocol that the IG and OITF shall support and lists the IG action on those headers.

Table 103: X-OITF HTTP Extension Headers and IG actions for OITF→IG messages
HNI-IGI HeaderDescriptionIG Action
X-OITF-Request-LineThis is a special header which contains the SIP method and request URI for the corresponding SIP message, when the SIP message is a request, e.g. X-OITF-Request-Line PUBLISH sip:david@oiptv.org SIP/2.0The IG shall map this field to the SIP request line.
X-OITF-Response-LineThis is a special header which contains the response line of the corresponding SIP message, when the SIP message is a response, e.g. 200 OKThe IG shall map this field to construct the SIP response line.
X-OITF-Call-IDKeeps track of sessions and dialogs.The IG shall use this field internally between an OITF and the IG to keep track of sessions. The IG replaces it with a value maintained in SIP state machine on the SIP side.
X-OITF-ContactEach method has its own use of the Contact field.The IG shall map to the corresponding SIP header. The IG may add other parameters.
X-OITF-CSeqUsed to keep track of requests and responses.IG shall use this field internally between an OITF and the IG to keep track of requests and responses, and replace it with a value maintained by the IG on the SIP side. The IG shall include the same value in subsequent responses to the OITF. The OITF shall respond with an error code if the value is incorrect.
X-OITF-FromThe IG shall map to the corresponding SIP header. The IG may add information in sub-fields.
X-OITF-EventThe IG shall map to the corresponding SIP header.
X-OITF-ExpiresThe IG shall map to the corresponding SIP header.
X-OITF-ToThe IG shall map to the corresponding SIP header.
X-OITF-Content-TypeThe IG shall map to the corresponding SIP header, and shall match it with the actual body included in the HTTP request.
X-OITF-Content-LengthThe IG shall verify the length of the message and insert the value in the SIP message.
X-HNI-IGI-RequestThis header specifies the request type of the HNI-IGI message.See appropriate sections.

The above headers are not present in all HNI-IGI messages, and are not the only headers that can be present.

The OITF shall use an IMPU in X-OITF headers where an IMPU is required in the SIP header.

The OITF may include other headers that are application specific (e.g. X-OITF-Accept-Contact) in which case the IG shall include them transparently in the SIP method as long as they comply with the appropriate syntax for the header. Reference should be made to the various services using the HNI-IGI interface for a list of the headers that must be present.

5.6.1.3 HNI-IGI messages in the IG to OITF direction – HTTP Option

When the IG translates a SIP message to an HNI-IGI HTTP message, it shall remove SIP Headers that should not be transmitted on the HNI-IGI interface, while translating from SIP to HTTP.

The following table lists header values in the SIP protocol that the IG and OITF shall support and the action the IG undertakes when mapping to the HNI-IGI protocol.

Table 104: Mapping of SIP header to X-OITF HTTP Extension Headers in IG→OITF
SIP HeaderDescriptionIG Action
Request Line (first line of SIP request message)The Request Line contains the method and a SIP URI.The IG shall use this field to construct the X-OITF-Request-Line
Response Line (first line of SIP response message)The Response Line contains the response code and SIP version information.The IG shall use this field to construct the X-OITF-Response-Line
Call-IDKeeps track of sessions and dialogs.The IG shall replace this with value used between IG and OITF in the X-OITF-Call-ID.
ContactThe IG shall map to the corresponding HNI-IGI header.
CSeqThe IG shall use this field to keep track of requests and responses on the HNI interface. The IG shall and replace it with a value maintained in the IG. The IG shall include the same value in subsequent responses to the OITF. The OITF shall respond with an error code if the value is smaller than the previous one.
FromThe IG shall map to corresponding HNI-IGI header. The IG may add information in sub-fields.
EventThe IG shall map to the corresponding HNI-IGI header.
ExpiresThe IG shall map to the corresponding HNI-IGI header.
ToThe IG shall map to the corresponding HNI-IGI header.
Content-TypeThe IG shall map to the corresponding HNI-IGI header.
Content-LengthThe IG shall verify the length of the message and insert value in the HNI-IGI message.

The above headers may not be present in all HNI-IGI messages.

The IG shall map any other received SIP headers by adding X-OITF- to the specific SIP header. Reference should be made to the various services using the HNI-IGI interface for a list of the headers that must be present.

The IG handles the SIP state machines.

5.6.1.4 HNI-IGI PENDING_IG Message – HTTP Option

HNI-IGI PENDING_IG messages are sent by DAE and embedded applications in the OITF whenever these applications are ready to receive any incoming message from the network.

PENDING_IG messages may include a SIP Request or a SIP response. In this case, there is typically an ongoing SIP dialog between the OITF application and a peer SIP end-point in the IMS network.

HTTP headers included in a PENDING_IG message that includes a SIP request or a SIP response are the <X-OITF extension headers> that are pertinent to the application. The content of such a message shall be as follows:

HTTP Request Header: In includes the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <X-OITF Extension headers> Any number of those extension headers depending on the application
HTTP Request Body: <SIP Message Body if applicable>

PENDING_IG messages that don’t include a SIP request or a SIP response are typically sent by applications in the OITF that don’t have any ongoing communication with a SIP peer but are prepared to handle incoming requests for the IPTV user associated with any active application running in the OITF, or applications that have an ongoing SIP dialog with a SIP peer and are prepared to receive any SIP messages within that dialog. The content of PENDING_IG messages that don't include a SIP request or a SIP response shall be as follows:

HTTP Request Header: In includes the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <X-OITF-Call-ID> Set to NULL for applications without an ongoing dialog or set to the proper value for applications with an ongoing SIP dialog.
  • <X-OITF-From> Set to the IMPU of the target user associated with any active application in the OITF for applications without an ongoing dialog. Not needed for applications with an ongoing SIP dialog.
HTTP Request Body: Empty

Note that once the target OITF application accepts an incoming request, the Call-ID in the outgoing response shall be set to the value used by the IG in its request to the OITF.

The content of the HTTP response to either of the above requests shall be as follows:

HTTP Response Header: In includes the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <X-OITF Extension headers> Any number of those extension headers depending on the application
HTTP Response Body: <Appropriate Message Body if applicable>
5.6.1.4.1 Refreshing of HNI-IGI PENDING_IG Message

HNI-IGI PENDING _IG messages shall have to be refreshed periodically by the OITF. The refresh time shall be maintained in the IG and shall not exceed a SIP Session Expiry timer, or a SIP subscription Refresh timer for the SIP session under consideration.

To enable an OITF to refresh an HNI-IGI PENDING_IG request, the IG shall, upon timer expiry, send an HTTP 200 OK response that does not include any X-OITF-<Extension headers>.

Upon receipt of such a response, the OITF may decide to resend a new HNI-IGI PENDING_IG request or simply gracefully terminate the session.

5.6.1.4.2 Cancelling an HNI-IGI PENDING_IG Message

The IG considers an HNI-IGI PENDING_IG Request cancelled should it encounter one of the following events:

  • The TCP connection on which the HNI-IGI PENDING_IG Request has been received is explicitly disconnected or timed out
  • The IG received from the OITF application with an outstanding HNI-IGI PENDING_IG Request an HNI IGI SIP Request to terminate the session (a SIP BYE)
  • The IG received from the OITF application with an outstanding HNI-IGI PENDING_IG Request an HNI IGI SIP Request to terminate an ongoing subscription (a SIP SUBSCRIBE with X-OITF-Expiry set to 0)

For the last 2 cases, the IG shall send an HTTP 200 OK response that does not include any X-OITF-<Extension-headers> as a response to the PENDING-IG request. OPTIONALly, the IG may empty its internal buffers that may include in-transit messages destined for the applications.

5.6.1.5 HNI-IGI SIP Message – HTTP Option

HNI-IGI SIP messages are sent by DAE and embedded applications in the OITF whenever these applications are ready to send a SIP Request or a SIP response. The content of such a message shall be as follows:

HTTP Request Header: In includes the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <X-OITF Extension headers> Any number of those extension headers depending on the application
HTTP Request Body: <SIP Message Body if applicable>

The content of the HTTP response shall be as follows:

HTTP Response Header: In includes the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <X-OITF Extension headers> Any number of those extension headers depending on the application
HTTP Response Body: <SIP Message Body if applicable>
5.6.1.6 HNI-IGI Auxiliary Message

HNI-IGI auxiliary messages are sent by DAE and embedded applications in the OITF whenever these applications are ready to send messages that are neither SIP type nor PENDING_IG type (for example fetching GBA credentials).

The content of such a message shall be as follows:

HTTP Request Header: In includes the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <X-HNI-IGI-Request> Identifies the request
  • <X-HNI-IGI Extension headers> Any number of those extension headers depending on the request
HTTP Request Body: <Application Message Body if applicable>

The content of the HTTP response shall be as follows:

HTTP Response Header: In includes the following:
  • <list of HTTP headers> - as per RFC 2616 [HTTP]
  • <X-OITF Extension headers> Any number of those extension headers depending on the application
HTTP Response Body: <Application Message Body if applicable>

Note that only one auxiliary message, GBA-Registration, applies to both the HTTP and SIP options. All other auxiliary messages apply only to HTTP option.

5.6.1.7 HNI-IGI Message Body – HTTP Option
The HNI-IGI messages in either direction shall include transparently the appropriate SIP body for the different SIP methods in the HTTP message body.
5.6.1.8 Guidelines for Applications using the HNI-IGI interface – HTTP Option

This section lists some guidelines that apply to DAE application and OITF applications that use the HNI-IGI interface. Both types of application are referred to as Application here:

  • It is the responsibility of the Application to ensure that it provides all the SIP headers that are required for the correct operation of the application.
  • The IG shall absorb “100 Trying” responses received from the network and not return them to the OITF.
  • The IG shall transparently handle X-OITF-SIP headers received over the HNI-IGI interface unless specifically stated in this specification.
  • It is the responsibility of the Application to generate an ACK as the 2XX final response of an INVITE transaction; for non-2XX responses, the IG shall generate the ACK.
  • Validation (of message structure and XML schema) of received XML data shall be the responsibility of the Application.
  • The Application should ensure that a SIP method is supported by the IG before using it.
  • The IG shall return a 405 Method Not Allowed error fault if it receives a request over the HNI-IGI that includes a SIP method that it does not support.
  • The Pending Request shall be refreshed as per section 5.6.1.4.1, “Refreshing of HNI-IGI PENDING_IG Message.”
  • An HTTP pending request sent to the IG may include a SIP response (or SIP request if no response is expected) to be transmitted to the SIP network.
  • The only identified case where a PENDING-IG request shall include a SIP request is the case where the OITF application sends an ACK.
5.6.1.9 Error Recovery in the IG – HTTP Option

This section covers the handling in the IG for encountered error-cases:

  1. If the IG detects a timeout, or an explicit disconnection on all TCP links between an OITF application and the IG, the IG shall consider the application inactive. The application may become active again by re-establishing the TCP link with the IG. Any incoming SIP Messages destined for an application that is inactive shall result in an error message 487 Request Terminated (481 Call Leg/Transaction Does Not Exist is also an acceptable response if the IG concludes that the application is permanently inactive) being returned to the network as a response. For an inactive application, the SIP dialog in the IG shall eventually time-out and clear all resources in the IG and the network.

    In order to cater to the scenario of transient TCP link disconnects, and to allow incoming messages that are received by the IG during the time it takes the OITF to re-establish a TCP link following a disconnection, it is recommended that the IG waits no more than 1 second before it responds to the network with a 487 or a 481 error message.

  2. In cases where the WANGW is integrated into the IG (herein referred to as IG-WANGW), the IG-WANGW shall detect that an OITF is restarted upon receipt of a DHCP server discovery request (DHCPDISCOVER message) and IP address request (DHCPREQUEST message), and where the IG-WANGW internal state indicates that the OITF is powered on. In such a case, the IG-WANGW shall terminate all active SIP sessions, the IG-WANGW shall de-register all users that are logged in from the restarted OITF as stored in the IG-WANGW state. Note that the IG-WANGW is able to keep a mapping between the SIP dialogs ongoing, the IMPUs of registered users and the IP addresses and deviceIDs of the devices being used. Following deletion of stale SIP state and de-registration of users, the IG-WANGW shall act on the OITF start up high level procedure Requests.

    If the IG does not have access to the DHCP information exchanged between the OITF and the WANGW, refer to section 5.4.6, “User Registration and Network Authentication” in case the OITF undergoes a restart.

  3. The OITF shall detect that an IG is restarted when all TCP links to the IG timeout simultaneously, or are explicitly disconnected. If this is the case, the OITF shall refrain from sending any message to the IG until such time that the OITF detects that the IG has restarted, using UPnP IG discovery procedure in that regard (polling). Following that, the OITF shall execute steps 2-6 of the “OITF Start up High-Level Procedures”.

For a transition period following an IG restart, active SIP sessions in the network (that will eventually timeout and be cleared) that are no longer active in the IG, will continue to send SIP messages to the IG, to which the IG shall respond with error message 481 Call Leg/Transaction Does Not Exist.

5.7 Protocols for Content Preparation

5.7.1 Reference points NPI-45, NPI-46, NPI-CSPT3 and NPI-CSPG3

The reference points specified here are introduced in [OIPF_ARCH2].

5.7.1.1 Overview

This section describes the reference points NPI-45 and NPI-46 between CoD or Scheduled Content Encryption Functions and Key Management Function. Encryption Functions call this interface when managing keys and DRM signaling for CoD and unicast Scheduled Content. For the case of multicast Scheduled Content the appropriate interface is the ECMG ⇔ SCS interface defined in [DVB-SC].

The interface described in this section is exposed by the Key Management Function which is in charge of:

  • synchronizing content keys between DRM by exposing services allowing:
    • the Encryption Functions to retrieve the keys that have to be used to encrypt a content,
    • the Encryption Functions to provision keys (to Key Management Function), if keys are generated by the Encryption Functions or another entity,
  • centralizing the signaling that has to be inserted in the media for each DRM.

These interfaces apply in particular when content is used in a multi-DRM mode where the content is encrypted once and the corresponding keys are shared by all the DRM. Signaling specific to every DRM may be inserted in the content.

This interface specification is also applicable to the reference points NPI-CSPT3 and NPI-CSPG3. In this case the interface described in this section is exposed by the CSP-T Server or CSP-G Server, which are in charge of:

  • retrieving or providing keys used to encrypt a content,
  • providing the signaling that has to be inserted in the media for a given DRM.
5.7.1.2 Interface implementation

The interface is implemented as a WEB service. The associated Classification Scheme is provided in section 5.7.2.

Each reference point identifies a calling entity and a called entity:

Table 105: Reference Points calling entity and called entity
Reference PointCalling entityCalled entity
NPI-45CoD Encryption FunctionKey Management Function
NPI-46Scheduled Content Encryption FunctionKey Management Function
NPI-CSPT3Key Management FunctionCSP-T Server
NPI-CSPG3Key Management FunctionCSP-G Server

Three operations are defined. They are intended to be used according to the role of the functional entities as shown through Table 106.

Table 106: Operations according to functional entity roles
Key rotation handled by:Called EntityCalling Entity
Key generation handled by:Called EntitygetKeyScheduleSignalingsetScheduleAndGetKeySignaling
Calling EntityThis case is not supported.setKeyScheduleAndGetSignaling
5.7.1.2.1 getKeyScheduleSignaling operation
5.7.1.2.1.1 Method and parameters
Table 107: getKeyScheduleSignaling method parameters
Operation NameDescription
getKeyScheduleSignalingOperation name
Field NameField TypeDescription
GetKeyScheduleSignalingRequestGetKeyScheduleSignalingRequestTypeInput parameter
GetKeyScheduleSignalingResponseGetKeyScheduleSignalingResponseTypeOutput parameter
5.7.1.2.1.2 Input parameter structure definition

Hereunder is the XML schema of the GetKeyScheduleSignalingRequest message:

Figure 5: GetKeyScheduleSignalingRequest Schema
Table 108: GetKeyScheduleSignalingRequestType
Field nameField typeMultiplicityDescriptionReference
contentIdxs:string1Identifier for a content, a content being either a scheduled content service, an event on a scheduled content service (i.e. with access criteria specific to the event) or a CoD asset.

It is provided by the Scheduling Function (for Scheduled content) or the Content Management Function (for CoD).

encryptionProfileEncryptionProfileType1Set of properties for the management of the content key and the signaling.5.7.1.2.5.6
drmInfoDrmInfoType0..NInformation for addressed DRM systems. This allows the calling entity to provide a set of DRM systems for which the drmSignaling shall be provided. An empty list means that the called entity manages a DRM list from its own configuration.5.7.1.2.5.2
pregenerationWindowPregenerationWindowType1The time information for the Key Management Function to know the period it is expected to generate keys for.5.7.1.2.5.8
5.7.1.2.1.3 Output parameter structure definition

Hereunder is the XML schema of the GetKeyScheduleSignalingResponse message:

Figure 6: GetKeyScheduleSignalingResponse Schema
Table 109: GetKeyScheduleSignalingResponseType
Field nameField typeMultiplicityDescriptionReference
statusStatusType1The global status of the request.5.7.1.2.4.2
errorCodexs:unsignedInt0..1The code of the error in case the status is not OK. Values are specific to the implementation of the called entity.

It is omitted in case the request succeeds.

errorMessagexs:string0..1Any additional information related to the status in case of errors.

It is omitted in case the request succeeds.

timeReferenceTimeReferenceType0..NThe dates and times for which keys have been generated. It is omitted in case the request failed.5.7.1.2.5.12
contentKeyContentKeyType0..1The content key to be used to protect the content. It is omitted in case the request failed.5.7.1.2.5.1
drmSignalingDrmSignalingType0..NThe signaling information according to every provided streaming mode. This information allows the CSP client to find the key materials required to decrypt a given content, either locally when the key has already been retrieved or remotely when requested for the first time.

Each DRM will provide signaling information for a given [content/content key] pair, such as URL of the CSP server or DRM. The DRM information is DRM specific.

It is omitted in case the request failed.

5.7.1.2.5.4

The called entity generates the keys based on its schedule and provides:

  • the key (i.e. contentKey element) to use at the requested time (i.e. timeReference element in the pregenerationWindow element of the request) provided by the calling entity,
  • the signaling (i.e. list of drmSignaling elements) to be inserted by the Encryption Function when using the key,
  • the times (i.e. timeReference element) for the current and next keys encompassing the window duration (i.e. windowDuration element in pregenerationWindow element of the request). These times should be used to perform the subsequent calls to this method.

One drmSignaling element is provided for every provided streamingMode. For each streamingMode either a dashSignaling or a privateSignaling element is provided for every addressed DRM. This element holds the drmSystemId and the signaling information (defined by the encryptionProfile). For DASH and CENC, either a manifestHeader (XML fragment) or a PSSH box data or both can be provided. The manifestHeader is to be inserted in the MPD, the psshBox is to be inserted in the content.

In case an error occurs, then no contentKey, no timeReference, and no drmSignaling elements will be provided.

5.7.1.2.2 setScheduleAndGetKeySignaling operation
5.7.1.2.2.1 Method and parameters
Table 110: setScheduleAndGetKeySignaling method parameters
Operation NameDescription
setScheduleAndGetKeySignalingOperation name
Field NameField TypeDescription
SetScheduleAndGetKeySignalingRequestSetScheduleAndGetKeySignalingRequestTypeInput parameter
SetScheduleAndGetKeySignalingResponseSetScheduleAndGetKeySignalingResponseTypeOutput parameter
5.7.1.2.2.2 Input parameter structure definition
Hereunder is the XML schema of the SetScheduleAndGetKeySignalingRequest message:
Figure 7: SetScheduleAndGetKeySignalingRequest Schema
Table 111: SetScheduleAndGetKeySignalingRequestType
Field nameField typeMultiplicityDescriptionReference
encryptionProfileEncryptionProfileType1Set of properties for the management of the content key and the signaling.5.7.1.2.5.6
drmInfoDrmInfoType0..NInformation for addressed DRM systems. This allows the calling entity to provide a set of DRM systems for which the drmSignaling shall be provided. An empty list means that the called entity manages a DRM list from its own configuration.5.7.1.2.5.2
scheduleScheduleType1..NThe times provided by the Encryption Function for which the Key Management Function has to generate keys.5.7.1.2.5.11
5.7.1.2.2.3 Output parameter structure definition
Hereunder is the XML schema of the SetScheduleAndGetKeySignalingResponse message:
Figure 8: SetScheduleAndGetKeySignalingResponse Schema
Table 112: SetScheduleAndGetKeySignalingRequestType
Field nameField typeMultiplicityDescriptionReference
statusStatusType1The global status of the request.5.7.1.2.4.2
errorCodexs:unsignedInt0..1The code of the error in case the status is not OK. Values are specific to the implementation of the called entity.

It is omitted in case the request succeeds.

errorMessagexs:string0..1Any additional information related to the status in case of errors.

It is omitted in case the request succeeds.

contentKeyContentKeyType0..1The content key to be used to protect the content.

It is omitted in case the request failed.

5.7.1.2.5.1
drmSignalingDrmSignalingType0..NThe signaling information according to every provided streaming mode. This information allows the CSP client to find the key materials required to decrypt a given content, either locally when the key has already been retrieved or remotely when requested for the first time.

Each DRM will provide signaling information for a given [content/content key] pair, such as URL of the CSP server or DRM. The DRM information is DRM specific.

It is omitted in case the request failed.

5.7.1.2.5.4
keyIdScheduleKeyIdScheduleType0..NThe dates and times for which keys have been generated, and the keyId of these keys. It is omitted in case the request failed.5.7.1.2.5.7

The called entity generates new keys based on the times provided by the calling entity and provides:

  • the key (i.e. contentKey element) to use at the requested time (i.e. timeReference element in the schedule element of the request, with isCurrentKey set to true) provided by the calling entity,
  • the signaling (i.e. list of drmSignaling elements) to be inserted by the Encryption Function when using the key,
  • for the next keys, the key identifiers of the next keys with their times (i.e. keyId and timeReference elements in the schedule element of the request, with isCurrentKey set to false). These times and optionally key identifier should be used to perform the subsequent calls to this method.

One drmSignaling element is provided for every provided streamingMode. For each streamingMode either a dashSignaling or a privateSignaling element is provided for every addressed DRM. This element holds the drmSystemId and the signaling information (defined by the encryptionProfile). For DASH and CENC, either a manifestHeader (XML fragment) or a PSSH box data or both can be provided. The manifestHeader is to be inserted in the MPD, the psshBox is to be inserted in the content.

In case an error occurs, then no contentKey, no keyIdSchedule, and no drmSignaling elements will be provided.

5.7.1.2.3 setKeyScheduleAndGetSignaling operation
5.7.1.2.3.1 Method and parameters
Table 113: setKeyScheduleAndGetSignaling method parameters
Operation NameDescription
setKeyScheduleAndGetSignalingOperation name
Field NameField TypeDescription
SetKeyScheduleAndGetSignalingRequestSetKeyScheduleAndGetSignalingRequestTypeInput parameter
SetKeyScheduleAndGetSignalingResponseSetKeyScheduleAndGetSignalingResponseTypeOutput parameter
5.7.1.2.3.2 Input parameter structure definition
Hereunder is the XML schema of the SetKeyScheduleAndGetSignalingRequest message:
Figure 9: SetKeyScheduleAndGetSignalingRequest Schema
Table 114: SetKeyScheduleAndGetSignalingRequestType
Field nameField typeMultiplicityDescriptionReference
encryptionProfileEncryptionProfileType1Set of properties for the management of the content key and the signaling.5.7.1.2.5.6
drmInfoDrmInfoType0..NInformation for addressed DRM systems. This allows the calling entity to provide a set of DRM systems for which the drmSignaling shall be provided. An empty list means that the called entity manages a DRM list from its own configuration.5.7.1.2.5.2
scheduledKeyScheduledKeyType1..NThe keys provided by the Encryption Function.5.7.1.2.5.10
5.7.1.2.3.3 Output parameter structure definition
Hereunder is the XML schema of the SetKeyScheduleAndGetSignalingResponse message:
Figure 10: SetKeyScheduleAndGetSignalingResponse Schema
Table 115: SetKeyScheduleAndGetSignalingResponseType
Field nameField typeMultiplicityDescriptionReference
statusStatusType1The global status of the request.5.7.1.2.4.2
errorCodexs:unsignedInt0..1The code of the error in case the status is not OK. Values are specific to the implementation of the called entity.

It is omitted in case the request succeeds.

errorMessagexs:string0..1Any additional information related to the status in case of errors.

It is omitted in case the request succeeds.

drmSignalingDrmSignalingType0..NThe signaling information according to every provided streaming mode. This information allows the CSP client to find the key materials required to decrypt a given content, either locally when the key has already been retrieved or remotely when requested for the first time.

Each DRM will provide signaling information for a given [content/content key] pair, such as URL of the CSP server or DRM. The DRM information is DRM specific.

It is omitted in case the request failed.

5.7.1.2.5.4

The calling entity provides both the keys and the times to use them. The called entity stores them and provides the signaling (i.e. list of drmSignaling elements) to be inserted by the Encryption Function when using the current key (i.e. scheduleKey element with isCurrentKey set to true).

One drmSignaling element is provided for every provided streamingMode. For each streamingMode either a dashSignaling or a privateSignaling element is provided for every addressed DRM. This element holds the drmSystemId and the signaling information (defined by the encryptionProfile). For DASH and CENC, either a manifestHeader (XML fragment) or a PSSH box data or both can be provided. The manifestHeader is to be inserted in the MPD, the psshBox is to be inserted in the content.

In case an error occurs, then no drmSignaling element will be provided.

5.7.1.2.4 Simple types
5.7.1.2.4.1 UUIDType

This type is used for identifiers that need to be unique in time and space; it refers to [RFC4122].

Its main advantage is to not depend on centralized data storage.

Table 116: UUIDType
Base typePattern Restriction
xs:token[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}
5.7.1.2.4.2 StatusType
Table 117: StatusType
Base typeEnumerationDescription
xs:tokenOKThe request succeeded.
ERRORAn occurred at server level. The type of error is provided by the errorCode in the response.
5.7.1.2.5 Data structures
5.7.1.2.5.1 ContentKeyType structure
Table 118: ContentKeyType structure
Field nameField typeMultiplicityDescription
keyIdUUIDType (see 5.7.1.2.4.1)1The unique identifier of the content key, provided as a normalized UUID.
keyxs:base64binary1The content key used to encrypt content (or part of content in the case of key changes).
5.7.1.2.5.2 DrmInfoType structure
Table 119: DrmInfoType structure
Field nameField typeMultiplicityDescription
drmSystemIdxs:anyURI1The unique identifier of the DRM system, typically a DVB URI or an UUID URI.
drmNamexs:token0..1The informative readable name for the DRM system.
drmMetadataDrmMetadataType (see 5.7.1.2.5.3)0..NThe DRM specific metadata embedding the content related metadata.
5.7.1.2.5.3 DrmMetadataType structure
Table 120: DrmMetadataType structure
Field nameField typeMultiplicityDescription
contentMetadataxs:base64binary1The content related part of the drmMetadata.
contentIdxs:string1Content associated with the metadata.
5.7.1.2.5.4 DrmSignalingType structure

Either one of DASH or HAS field will be provided for a given DRM system.

Table 121: DrmSignalingType structure
Field nameField typeMultiplicityDescription
streamingModexs:token1Provides the way the content is streamed for the actual drmSignaling element:
  • “DASH” for MPEG Dynamic Http Adaptive Streaming.
  • “HAS” for OIPF Http Adaptive Streaming.
dashSignalingDashSignalingType (see 5.7.1.2.5.5)0..NDASH signaling as a MPD content protection XML section and/or a PSSH box data.
privateSignalingPrivateSignalingType (see 5.7.1.2.5.9)0..NOther signaling, e.g. OIPF HAS.
5.7.1.2.5.5 DashSignalingType structure
Table 122: DashSignalingType structure
Field nameField typeMultiplicityDescription
drmSystemidxs:anyURI1The DRM system id for which the below signaling information applies, typically a DVB URI or an UUID URI.
drmNamexs:token0..1Optional readable name of the DRM system.
manifestHeaderxs:string0..1The content protection section to be inserted in the MPD.
psshBoxxs:base64binary0..1Pssh signaling information. DRM specific full pssh box binary block.
5.7.1.2.5.6 EncryptionProfileType structure
Table 123: EncryptionProfileType structure
Field nameField typeMultiplicityDescription
distributionModexs:token0..1Either VOD or LIVE, informative:
  • “VOD” for Content On Demand.
  • “LIVE” for Scheduled Content.
streamingModexs:token0..NProvides the way or ways the content is streamed, helps building the signaling:
  • “DASH” for MPEG Dynamic Http Adaptive Streaming.
  • “HAS” for OIPF Http Adaptive Streaming.
encryptionModexs:token0..1Encryption method indicator:
  • “DVB-CSA2” for DVB-CSA2.
  • “ATIS-IDSA” for AES 128-bit key using the CBC encryption mode with the IV setting and the residual termination block process as specified in [ATIS-IDSA].
  • “CENC” for AES 128-bit key in CTR mode (CENC).
If not provided then a default value from the system configuration is assumed.
5.7.1.2.5.7 KeyIdScheduleType structure
Table 124: KeyIdScheduleType structure
Field nameField typeMultiplicityDescription
timeReferenceTimeReferenceType (see 5.7.1.2.5.12)1The date and time for which a key has been generated.
keyIdUUIDType (see 5.7.1.2.4.1)1The unique identifier of the generated key, provided as a normalized UUID.
5.7.1.2.5.8 PregenerationWindowType structure
Table 125: PregenerationWindowType structure
Field nameField typeMultiplicityDescription
timeReferenceTimeReferenceType (see 5.7.1.2.5.12)1The date and time at which the requested key and drmSignaling shall apply.
windowDuration_sxs:unsignedInt0..1The width of the time window for which the called entity has to generate keys. If it is not provided then a default value from the system configuration is assumed.
5.7.1.2.5.9 PrivateSignalingType structure
Table 126: PrivateSignalingType structure
Field nameField typeMultiplicityDescription
drmSystemidxs:anyURI1The DRM system id for which the below signaling information applies, typically a DVB URI or an UUID URI.
drmNamexs:token0..1Optional readable name of the DRM system.
privateDataxs:any0..NProprietary data block.
5.7.1.2.5.10 ScheduledKeyType structure
Table 127: ScheduledKeyType structure
Field nameField typeMultiplicityDescription
contentIdxs:string1Identifier for content, a content being either a scheduled content service, an event on a scheduled content service (i.e. with access criteria specific to the event) or a CoD asset.

It is provided by the Scheduling Function (for Scheduled content) or the Content Management Function (for CoD).

isCurrentKeyxs:boolean1Flag to indicate that the requested drmSignaling applies to the period starting according to timeReference. Within a list of elements of type ScheduledKeyType, one and only one occurrence shall have this flag set to true.
timeReferenceTimeReferenceType (see 5.7.1.2.5.12)1The time at which the key will start being used.
contentKeyContentKeyType (see 5.7.1.2.5.1)1Content key value and identifier.
5.7.1.2.5.11 ScheduleType structure
Table 128: ScheduleType structure
Field nameField typeMultiplicityDescription
contentIdxs:string1Identifier for content, a content being either a scheduled content service, an event on a scheduled content service (i.e. with access criteria specific to the event) or a CoD asset.

It is provided by the Scheduling Function (for Scheduled content) or the Content Management Function (for CoD).

isCurrentKeyxs:boolean1Flag to indicate that the requested drmSignaling applies to the period starting according to timeReference. Within a list of elements of type ScheduleType, one and only one occurrence shall have this flag set to true.
timeReferenceTimeReferenceType (see 5.7.1.2.5.12)1The date and time at which the requested key and drmSignaling shall apply.
keyIdUUIDType (see 5.7.1.2.4.1)0..1Optionally, the unique identifier of an already generated content key to be reused at the time specified, provided as a normalized UUID. If not provided, the called entity decides which key to use based on its schedule and generated keys.
5.7.1.2.5.12 TimeReferenceType structure
Table 129: TimeReferenceType structure
Field nameField typeMultiplicityDescription
startTimexs:dateTime0..1For scheduled content, the date and time is an absolute value.
offset_msxs:unsignedInt0..1For CoD, the time is relative to the beginning of the content. It is in milliseconds.

5.7.2 XML Schema for Content Preparation

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
  xmlns:tns="urn:oipf:iptv:KeyAndSignaling:2013" 
  targetNamespace="urn:oipf:iptv:KeyAndSignaling:2013" 
  elementFormDefault="qualified" attributeFormDefault="unqualified">
  <xs:simpleType name="StatusType">
    <xs:restriction base="xs:token">
      <xs:enumeration value="OK"/>
      <xs:enumeration value="ERROR"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="UUIDType">
    <xs:restriction base="xs:token">
      <xs:pattern value=
        "[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="ContentKeyType">
    <xs:sequence>
      <xs:element name="keyId" type="tns:UUIDType"/>
      <xs:element name="key" type="xs:base64Binary"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="DrmType">
    <xs:sequence>
      <xs:element name="drmSystemId" type="xs:anyURI"/>
      <xs:element name="drmName" type="tns:DrmNameType" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="DrmSignalingType">
    <xs:sequence>
      <xs:element name="streamingMode" type="xs:token"/>
      <xs:choice>
        <xs:element name="dashSignaling" type="tns:DashSignalingType" 
          maxOccurs="unbounded"/>
        <xs:element name="privateSignaling" type="tns:PrivateSignalingType" 
          maxOccurs="unbounded"/>
      </xs:choice>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="EncryptionProfileType">
    <xs:sequence>
      <xs:element name="distributionMode" type="xs:token" minOccurs="0"/>
      <xs:element name="streamingMode" type="xs:token" maxOccurs="unbounded"/>
      <xs:element name="encryptionMode" type="xs:token" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="DashSignalingType">
    <xs:complexContent>
      <xs:extension base="tns:DrmType">
        <xs:sequence>
          <xs:element name="manifestHeader" type="xs:string" minOccurs="0"/>
          <xs:element name="psshBox" type="xs:base64Binary" minOccurs="0"/>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="DrmInfoType">
    <xs:complexContent>
      <xs:extension base="tns:DrmType">
        <xs:sequence>
          <xs:element name="drmMetadata" type="tns:DrmMetadataType" 
            minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:simpleType name="ContentIdType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:complexType name="PrivateSignalingType">
    <xs:complexContent>
      <xs:extension base="tns:DrmType">
        <xs:sequence>
          <xs:element name="privateData">
            <xs:complexType>
              <xs:sequence>
                <xs:any namespace="##any" processContents="lax" 
                  minOccurs="0" maxOccurs="unbounded"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:simpleType name="DrmNameType">
    <xs:restriction base="xs:token"/>
  </xs:simpleType>
  <xs:complexType name="DrmMetadataType">
    <xs:sequence>
      <xs:element name="contentMetadata" type="xs:base64Binary"/>
      <xs:element name="contentId" type="tns:ContentIdType"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ScheduledKeyType">
    <xs:sequence>
      <xs:element name="contentId" type="tns:ContentIdType"/>
      <xs:element name="timeReference" type="tns:TimeReferenceType"/>
      <xs:element name="contentKey" type="tns:ContentKeyType"/>
      <xs:element name="isCurrentKey" type="xs:boolean"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="GetKeyScheduleSignalingRequestType">
    <xs:sequence>
      <xs:element name="contentId" type="tns:ContentIdType"/>
      <xs:element name="encryptionProfile" type="tns:EncryptionProfileType"/>
      <xs:element name="drmInfo" type="tns:DrmInfoType" 
        minOccurs="0" maxOccurs="unbounded"/>
      <xs:element name="pregenerationWindow" 
        type="tns:PregenerationWindowType"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="SetKeyScheduleAndGetSignalingRequestType">
    <xs:sequence>
      <xs:element name="scheduledKey" type="tns:ScheduledKeyType" 
        maxOccurs="unbounded"/>
      <xs:element name="encryptionProfile" type="tns:EncryptionProfileType"/>
      <xs:element name="drmInfo" type="tns:DrmInfoType" 
        minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="SetScheduleAndGetKeySignalingRequestType">
    <xs:sequence>
      <xs:element name="schedule" type="tns:ScheduleType" 
        maxOccurs="unbounded"/>
      <xs:element name="encryptionProfile" type="tns:EncryptionProfileType"/>
      <xs:element name="drmInfo" type="tns:DrmInfoType" 
        minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="TimeReferenceType">
    <xs:choice>
      <xs:element name="startTime" type="xs:dateTime"/>
      <xs:element name="offset_ms" type="xs:unsignedInt"/>
    </xs:choice>
  </xs:complexType>
  <xs:complexType name="ScheduleType">
    <xs:sequence>
      <xs:element name="contentId" type="tns:ContentIdType"/>
      <xs:element name="isCurrentKey" type="xs:boolean"/>
      <xs:element name="timeReference" type="tns:TimeReferenceType"/>
      <xs:element name="keyId" type="tns:UUIDType" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="SetKeyScheduleAndGetSignalingResponseType">
    <xs:sequence>
      <xs:element name="status" type="tns:StatusType"/>
      <xs:element name="errorCode" type="xs:unsignedInt" minOccurs="0"/>
      <xs:element name="errorMessage" type="xs:string" minOccurs="0"/>
      <xs:element name="drmSignaling" type="tns:DrmSignalingType" 
        minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="SetScheduleAndGetKeySignalingResponseType">
    <xs:sequence>
      <xs:element name="status" type="tns:StatusType"/>
      <xs:element name="errorCode" type="xs:unsignedInt" minOccurs="0"/>
      <xs:element name="errorMessage" type="xs:string" minOccurs="0"/>
      <xs:element name="drmSignaling" type="tns:DrmSignalingType" 
        minOccurs="0" maxOccurs="unbounded"/>
      <xs:element name="contentKey" type="tns:ContentKeyType" minOccurs="0"/>
      <xs:element name="keyIdSchedule" type="tns:KeyIdScheduleType" 
        minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="GetKeyScheduleSignalingResponseType">
    <xs:sequence>
      <xs:element name="status" type="tns:StatusType"/>
      <xs:element name="errorCode" type="xs:unsignedInt" minOccurs="0"/>
      <xs:element name="errorMessage" type="xs:string" minOccurs="0"/>
      <xs:element name="drmSignaling" type="tns:DrmSignalingType" 
        minOccurs="0" maxOccurs="unbounded"/>
      <xs:element name="contentKey" type="tns:ContentKeyType" minOccurs="0"/>
      <xs:element name="timeReference" type="tns:TimeReferenceType" 
        minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="KeyIdScheduleType">
    <xs:sequence>
      <xs:element name="timeReference" type="tns:TimeReferenceType"/>
      <xs:element name="keyId" type="tns:UUIDType"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PregenerationWindowType">
    <xs:sequence>
      <xs:element name="timeReference" type="tns:TimeReferenceType"/>
      <xs:element name="windowDuration_s" type="xs:unsignedInt" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="GetKeyScheduleSignalingRequest" 
    type="tns:GetKeyScheduleSignalingRequestType"/>
  <xs:element name="SetKeyScheduleAndGetSignalingRequest" 
    type="tns:SetKeyScheduleAndGetSignalingRequestType"/>
  <xs:element name="SetScheduleAndGetKeySignalingRequest" 
    type="tns:SetScheduleAndGetKeySignalingRequestType"/>
  <xs:element name="SetKeyScheduleAndGetSignalingResponse" 
    type="tns:SetKeyScheduleAndGetSignalingResponseType"/>
  <xs:element name="SetScheduleAndGetKeySignalingResponse" 
    type="tns:SetScheduleAndGetKeySignalingResponseType"/>
  <xs:element name="GetKeyScheduleSignalingResponse" 
    type="tns:GetKeyScheduleSignalingResponseType"/>
</xs:schema>

The following WEB Service is introduced according to the protocols defined in section 5.7.1.2.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<wsdl:definitions
  name="IKeyAndSignaling"
  targetNamespace="urn:oipf:iptv:KeyAndSignaling:2013"
  xmlns:tns="urn:oipf:iptv:KeyAndSignaling:2013"
  xmlns:defs="urn:oipf:iptv:KeyAndSignaling:2013"
  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">

  <wsdl:import namespace="urn:oipf:iptv:KeyAndSignaling:2013" 
    location="KeyAndSignaling.wsdl" />

  <wsdl:binding name="KeyAndSignalingSoapBinding" 
      type="defs:KeyAndSignalingPortType">
    <soap:binding style="document" 
      transport="http://schemas.xmlsoap.org/soap/http"/>
    
    <wsdl:operation name="getKeyScheduleSignaling">
      <soap:operation soapAction="ws-keyAndSignaling"/>
      <wsdl:input>
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
    
     <wsdl:operation name="setKeyScheduleAndGetSignaling">
      <soap:operation soapAction="ws-keyAndSignaling"/>
      <wsdl:input>
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
    
    <wsdl:operation name="setScheduleAndGetKeySignaling">
      <soap:operation soapAction="ws-keyAndSignaling"/>
      <wsdl:input>
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
   
  </wsdl:binding>
  
  <wsdl:service name="KeyAndSignalingService"> 
    <wsdl:port name="KeyAndSignalingSoapPort" 
      binding="tns:KeyAndSignalingSoapBinding">
      <soap:address location="ws-keyAndSignaling" />
     </wsdl:port> 
  </wsdl:service>
  
</wsdl:definitions>

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<wsdl:definitions 
  name="KeyAndSignaling" 
  targetNamespace="urn:oipf:iptv:KeyAndSignaling:2013" 
  xmlns:tns="urn:oipf:iptv:KeyAndSignaling:2013" 
  xmlns:kas="urn:oipf:iptv:KeyAndSignaling:2013" 
  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
  xmlns:xs="http://www.w3.org/2001/XMLSchema">
  
  <wsdl:types>
    <xs:schema >
      <xs:import namespace="urn:oipf:iptv:KeyAndSignaling:2013" 
        schemaLocation="iptv-KeyAndSignaling.xsd"/>
    </xs:schema>
  </wsdl:types>
  
  <wsdl:message name="GetKeyScheduleSignalingRequest">
    <wsdl:part name="body" element="kas:GetKeyScheduleSignalingRequest"/>
  </wsdl:message>
  <wsdl:message name="GetKeyScheduleSignalingResponse">
    <wsdl:part name="body" element="kas:GetKeyScheduleSignalingResponse"/>
  </wsdl:message>
  
  <wsdl:message name="SetKeyScheduleAndGetSignalingRequest">
    <wsdl:part name="body" element="kas:SetKeyScheduleAndGetSignalingRequest"/>
  </wsdl:message>
  <wsdl:message name="SetKeyScheduleAndGetSignalingResponse">
    <wsdl:part name="body" element="kas:SetKeyScheduleAndGetSignalingResponse"/>
  </wsdl:message>

  <wsdl:message name="SetScheduleAndGetKeySignalingRequest">
    <wsdl:part name="body" element="kas:SetScheduleAndGetKeySignalingRequest"/>
  </wsdl:message>
  <wsdl:message name="SetScheduleAndGetKeySignalingResponse">
    <wsdl:part name="body" element="kas:SetScheduleAndGetKeySignalingResponse"/>
  </wsdl:message>
    

  <wsdl:portType name="KeyAndSignalingPortType">
    <wsdl:operation name="getKeyScheduleSignaling">
      <wsdl:input   message="tns:GetKeyScheduleSignalingRequest" 
        name="GetKeyScheduleSignalingInput"/>
      <wsdl:output message="tns:GetKeyScheduleSignalingResponse" 
        name="GetKeyScheduleSignalingOutput"/>
    </wsdl:operation>
    <wsdl:operation name="setKeyScheduleAndGetSignaling">
      <wsdl:input   message="tns:SetKeyScheduleAndGetSignalingRequest" 
        name="SetKeyScheduleAndGetSignalingInput"/>
      <wsdl:output message="tns:SetKeyScheduleAndGetSignalingResponse" 
        name="SetKeyScheduleAndGetSignalingOutput"/>
    </wsdl:operation>
    <wsdl:operation name="setScheduleAndGetKeySignaling">
      <wsdl:input   message="tns:SetScheduleAndGetKeySignalingRequest" 
        name="SetScheduleAndGetKeySignalingInput"/>
      <wsdl:output message="tns:SetScheduleAndGetKeySignalingResponse" 
        name="SetScheduleAndGetKeySignalingOutput"/>
    </wsdl:operation>
  </wsdl:portType>
  
</wsdl:definitions>

6. SIP and SIP/SDP

Within the architecture there are several interfaces that support the SIP/SDP protocol. They can be functionally grouped as follows:

The next sections discuss these interfaces in more detail. The specification is structured in 2 sub-sections; one sub section covers the SIP/SDP interface in the residential LAN (bullet 1 above), while the other sub-section covers the SIP/SDP interfaces within the managed network relying on SIP (last 3 bullets above). Within each sub-section, the interface details are specified on a per service basis.

6.1 SIP/SDP Reference Points within the Provider Network

This section defines the protocol for the use of SIP and SIP/SDP within managed networks relying on IMS over the following reference points:

The usage of SIP/SDP for all reference points apart from UNIS-8 is applicable to both the SIP option and the HTTP option for the HNI-IGI interface.

The usage of SIP/SDP for the UNIS-8 interface is described in section 6.2.

6.1.1 Generic handling for SIP Requests/Responses

6.1.1.1 Locating the target OITF device for incoming requests

For all incoming SIP requests to the IG, that are standalone or dialog initiating the IG shall compare the information in the Accept-Contact header in the incoming SIP request, if available, against stored feature tags for the user to select the appropriate OITF device.

6.1.1.2 Handling of Incoming and Outgoing SIP Requests

The IG shall support the procedures specified in [TS124503] for originating and terminating sessions.

6.1.2 Protocols for IPTV Service Functions

6.1.2.1 Multicast content streaming with SIP session management
6.1.2.1.1 Protocol over UNIS-8
6.1.2.1.1.1 Retrieval of Bandwidth Parameter for FCC/RET enabled multicast content service

When a request to send SIP OPTIONS is received from the OITF, the IG shall use the mapping specified in section 5.3.1.1.2, “Retrieval of bandwidth parameter for FCC and/or RET enabled multicast content service”.

When the final response to the SIP OPTIONS message is received from the network as a SIP 200 OK including the SDP, the IG shall forward this information to the OITF.

The information required in the returned SDP to complete the missing parameters in the SDP offer is:

  • The total bandwidth for the multicast content service.
6.1.2.1.1.2 Session Initiation and Modification

Upon receiving a request from the OITF for the initiation of a multicast content service session (see section 5.3.1.1.1, “Retrieval of bandwidth parameter for FCC and/or RET enabled multicast content service”), the IG shall generate an initial INVITE request as specified in [TS124503] for originating sessions.

The IG shall forward any received SIP response to the OITF including the information in the SDP.

If the IG receives a 488 error code with warning 370 Insufficient Bandwidth, the IG shall send an error message to the OITF.

Session modification procedure is handled by the IG in the same way as a session initiation. See section 5.3.1.1.3, “Session Modification.”

6.1.2.1.1.3 Session Termination

On receiving a request from the OITF for the termination of a multicast content service session (see section 5.3.1.1.4, “Session Termination”), the IG shall generate a BYE request as specified in [TS124503] for originating sessions.

Alternatively, on receipt of a BYE request from the IPTV Control FE, the IG shall forward the request to the OITF as a response to a PENDING_IG request (see section 5.6.1, “OITF-IG Interface (HNI-IGI)”). The behaviour of the UNIS-8 part of the IG shall comply with the procedure specified in [TS124503] for terminating UA.

6.1.2.1.1.4 Content Reporting and Management of Content Reporting

Upon receiving a request from the OITF for reporting the watched content for a multicast content service session (see section 5.3.1.1.6.1, “Content Reporting by the OITF”), the IG shall generate a SIP INFO including the Content Reporting Info Package [INFO-PKG].

The IG shall forward any received SIP response to the OITF.

Upon receipt of a SIP UPDATE by the IG with an empty Recv-Info header or the unwillingness to receive the Content Reporting Info Package from the IPTV Control FEIPTV Control FE, to stop reporting watched content, the IG shall forward the SIP UPDATE to the OITF in an HTTP 200 OK response. The IG shall wait for the response from the OITF to forward it to the IPTV Control FEIPTV Control FE.

Upon receipt of a SIP UPDATE, including the Recv-Info header set to Content Reporting Info Package, by the IG from the IPTV Control FE, to start reporting watched content, the IG shall forward the SIP UPDATE to the OITF in an HTTP 200 OK response. The IG shall wait for the response from the OITF to forward it to the IPTV Control FE.

6.1.2.1.1.5 User-initiated Activation/Deactivation of Network-based multicast content streaming Time Shift

The following procedure is supported in the IG on UNIS-8 in support of user initiated Activation/de-activation of multicast content service time shift:

  • Upon receiving a request from the OITF for session modification for an activation/de-activation of scheduled content time shift, the IG shall generate a SIP re-INVITE as per [TS124503].
  • The IG shall forward the received response to the OITF including any SDP information.

The IG shall generate SIP ACK when requested by the OITF.

6.1.2.1.2 Protocol over NPI-4
6.1.2.1.2.1 Retrieval of Bandwidth Parameter for FCC/RET enabled multicast content service

The SIP OPTIONS message shall conform to [TS124503] and shall be forwarded through the ASM, to the IPTV Control FE. If the Request URI in the incoming SIP OPTIONS request is set to the PSI for the multicast content service, the IPTV Control FE shall after validating the SIP OPTIONS perform the following:

  • If the incoming SIP OPTIONS includes the a attribute a=rtcp-fb:<fmt> nack under the m-line, the IPTV Control FE shall calculate the total bandwidth for the highest multicast content and the bandwidth for RET and shall return the information included in the body of a SIP 200 OK, and which includes the same m-line copied from the incoming request with an additional b-line that includes the total bandwidth.
  • If the incoming SIP OPTIONS includes the a attribute a=rtcp-fb:<fmt> nack rai under the m-line, the IPTV Control FE shall calculate the total bandwidth for the highest multicast content and the bandwidth for FCC and shall return the information included in the body of a SIP 200 OK, and which includes the same m-line copied from the incoming request with an additional b-line that includes the total calculated bandwidth.
  • If the incoming SIP OPTIONS includes the a attribute a=rtcp-fb:<fmt> nack and the a attribute a=rtcp fb:<fmt> nack rai under the m-line, the IPTV Control FE shall calculate the total bandwidth for the highest multicast content and the bandwidth for FCC and RET service combined, and shall return the information included in the body of a SIP 200 OK, and which includes the same m-line copied from the incoming request with an additional b-line that includes the total calculated bandwidth.
6.1.2.1.2.2 Session Initiation

The IPTV Control FE shall support the procedures specified in [TS183063] section 5.3.1.1.

The IPTV Control FE shall support the procedures specified in [TS124503] that are applicable to an AS acting as a terminating SIP UA.

Upon receipt of a SIP INVITE request, the IPTV Control FE shall examine the request-URI to determine that it is a multicast content service session initiation request. The IPTV Control FE shall use the IPTV Subscription Profile to check the service rights for the requested broadcast service packages and multicast addresses. The IPTV Control FE shall examine the SDP offer parameters, as defined in [TS183063] section 5.3.1.1.

If the SDP parameters are validated successfully, the IPTV Control FE shall respond as defined in [TS183063] section 5.3.1.1.

If the SDP also contains m lines for Network Generated Notification stream, the IPTV Control FE shall further check the service rights for the requested notification service, using the IPTV Subscription.

If no bc_service_package attributes are included in the SDP offer, the IPTV Control FE shall include in the SDP answer one or more a=bc_service_package attributes, except if it knows that the RACS is or shall be pre provisioned with the list of subscribed channels and if all the subscribed channels are allowed for the session. In this case, the inclusion of a=bc_service_package is optional.

The service packages shall be populated according to the IPTV Subscription Profile to indicate the service packages and scheduled content services.

6.1.2.1.2.3 Session Modification

The IPTV Control FE shall support the procedures specified in [TS183063] section 5.3.1.2. Network initiated session modification does not apply.

6.1.2.1.2.4 Session Termination

The IPTV Control FE shall support the procedures specified in [TS183063] section 5.3.1.4.

6.1.2.1.3 Content Reporting and Management of Content Reporting

Upon receipt of SIP INFO including the Info Package Content Reporting for reporting the watched content for a multicast content service session, the IPTV Control FE shall examine the body.

If the body is successfully validated as compliant to Annex D of [PSS-MBMS], then the IPTV Control FE shall respond to the request with a SIP 200 OK, otherwise an appropriate error message shall be returned.

If the IPTV Control FE desires to instruct the OITF to stop reporting watched content, it shall send a SIP UPDATE to the IG and where the Recv-Info header is set to remove support for the reception of the Content Reporting Info Package and shall wait for the response.

If the IPTV Control FE desires to instruct the OITF to start reporting watched content, it shall send a SIP UPDATE to the IG and where the Recv-Info header is set to indicate support for the reception of Content Reporting Info Package and shall wait for the response.

6.1.2.1.4 User-initiated Activation/Deactivation of Network-based multicast content streaming Time Shift

Upon receipt of a SIP re-INVITE related to an activation/de-activation of a time shift session, the IPTV Control FE shall verify that it does hold a state for the session to be modified.

If the IPTV Control FE does not hold a state for the session, or if the multiparts of the message body including, both, the SDP parameters, and the XML schema for the OITF-IPTV Commands per section 5.3.1.1.7.3, “XML Schema for OITF-IPTV Commands” are not successfully validated, the IPTV Control FE shall reject the request with a 403 error code.

If the request is for the activation of time shift, the IPTV Control FE shall perform the procedure defined in section 6.1.2.2.2, “Procedure for Unicast Service Session Initiation,” and shall return to the IG the appropriate response including all mandatory parameters as per the said procedure (note that if the multicast content stream is not stored in the network, the procedure in section 6.1.2.2.2, “Procedure for Unicast Service Session Initiationshall fail and an appropriate error message shall be returned to the user).

If the request is for de-activation of time shift, the IPTV Control FE shall perform the procedure defined in section 6.1.2.2.3, “Session Termination.” Following the successful completion of the said procedure, the IPTV Control FE shall return a SIP 200 OK to the IG.

6.1.2.2 Unicast content streaming with SIP session management
6.1.2.2.1 Retrieving missing parameters in the SDP prior to session setup using SIP OPTIONS
6.1.2.2.1.1 Protocol over UNIS-8

When a request to send a SIP OPTIONS is received from the OITF, the IG shall use the mapping specified in section 5.3.2.1.1, “Retrieval of Session Parameters.”

When the final response to the SIP OPTIONS message is received from the network as a SIP 200 OK including the RTSP SDP, the IG shall forward this information to the OITF.

The information required in the returned SDP to complete the missing parameters in the SDP offer is:

  • FEC Information including bandwidth for FEC streams,
  • Transport protocol.
6.1.2.2.1.2 Protocol over NPI-4, NPI-19, NPI-26

The SIP OPTIONS message shall conform to [TS124503] and shall be forwarded through the ASM to the IPTV Control. If, the Request URI in the incoming SIP OPTIONS request is set to the PSI for the unicast content streaming service, the IPTV Control shall, after validating the request, forward the SIP OPTIONS to the CDN Controller FE and to the appropriate Cluster Controller, in the same way as for the INVITE message.

In certain cases, the CDN Controller may forward the SIP OPTIONS message to a default Cluster Controller.

On receiving the SIP OPTIONS message, the Cluster Controller shall issue an RTSP DESCRIBE to the CDF. In certain cases, the Cluster Controller may issue an RTSP DESCRIBE to a default CDF.

The DESCRIBE message shall conform to the format defined by TS 102 034 [TS102034].

The XML description that complies to TS 102 034 [TS102034] included in the RTSP 200 OK response received from the CDF shall be converted by the Cluster Controller to the SDP body in a SIP 200 OK response to the OPTIONS message. The SIP 200 OK message shall be forwarded all the way back to the IG.

The explicit mapping between the XML description and the SDP is not subject for formal specification.

This is the only case for which an OPTIONS message will be sent to a Cluster Controller.

Note: If, in a future release, other reasons warrant that the Cluster Controller receive the OPTIONS message, then support for discrimination between the various reasons for sending the OPTION will be required.

6.1.2.2.2 Procedure for Unicast Service Session Initiation
6.1.2.2.2.1 Session Initiation

The IG shall support the procedures specified in [TS124503] for initiating unicast sessions.

On receiving a request for a unicast session initiation from the OITF, the IG shall generate an initial INVITE request as specified in [TS124503] (for an originating UA). See section 5.3.2.1.2, “Session Initiation”.

See example messages in Annex B.1.1, “Example Messages for unicast content streaming session setup with SIP session management.”

6.1.2.2.2.2 Protocol over NPI-4

The IPTV Control Function shall support the procedures specified in [TS124503] as applicable to an AS acting as a SIP proxy or B2BUA.

When receiving any SIP request, the IPTV Control FE shall examine the request to see if it is compatible with the user's subscription profile (e.g. parental control level). If the user is not allowed to initiate a session for the requested content, the IPTV Control FE shall reply with an appropriate SIP error response. If the user is allowed to initiate the session, the IPTV Control FE shall forward the SIP INVITE to a default CDN Controller.

The IPTV Control Function shall not change the user-part of the To header in order to retain the content-id in the INVITE request.

Note: this does not apply for the case when the session is related to a user-activated time shift. In case of user-activated time shift, the IPTV Control FE shall change the To field to include the requested content ID that corresponds to the shifted multicast content. When the final response is received, the IPTV Control FE shall restore the TO field to its original value. In that respect, the IPTV Control FE maintains this information in the session state as long as the session is alive.

6.1.2.2.2.3 Protocol over NPI-19

The CDN Controller FE shall support the procedures specified in [TS124503] as applicable to an AS acting as a SIP proxy or B2BUA.

When receiving the SIP INVITE from the IPTV Control FE via the Authentication and Session Management FE through the NPI-19 reference point, the CDN Controller shall check the content id in the user part of the “To:” header as well as the “From:” and “Via:” fields to determine the most appropriate Cluster Controller FE to serve the User's request.

Once the appropriate Cluster Controller FE is selected, the Content Delivery Network Controller FE shall forward the SIP INVITE to it by changing the “Request-URI” accordingly.

The CDN Controller shall not forward 301 or 302 responses from the Cluster Controller to the IPTV Control Function. The CDN Controller shall take one of the following actions on receiving a 301 or 302 response from the Cluster Controller:

  • Cancel the transaction
  • Forward to another Cluster Controller
  • Forward to the suggested CC as indicated in the 301/302 response
  • Forward to another CDN Controller
6.1.2.2.2.4 Protocol over NPI-25

On receiving the request from the IPTV Control Function, the CDN Controller may decide to forward the request to another CDN Controller. In this case it changes the “Request-URI” accordingly.

6.1.2.2.2.5 Protocol over NPI-26

The Cluster Controller FE shall support the procedures specified in [TS124503] as applicable to a terminating UA.

When receiving a unicast content streaming session initiation SIP request from the CDN Controller, the Cluster Controller shall examine the content identifier present in the user-part of the “To:” header and the media parameters in the received SDP offer and then choose the CDF.

If the requested content is not managed by this Cluster Controller, the Cluster Controller shall return a 301 response, or a 302 response for any other reasons (e.g. load-balancing) The Cluster Controller may indicate one or more Cluster Controller addresses in the contact header as indicated in RFC 3261 [SIP].

If the request is not acceptable to the Cluster Controller, it shall reply with an appropriate SIP error response.

The Cluster Controller shall reply with an appropriate SIP error response if the request is acceptable to the Cluster Controller but none of the Content Delivery Functions can handle the offer.

If the request is acceptable to the Cluster Controller and a CDF can handle the request, the Cluster Controller shall initiate an RTSP session using the RTSP SETUP message to the chosen CDF to determine its server ports and the RTSP session ID.

Following the successful conclusion of the RTSP session setup, the Cluster Controller allocates an RTSP server port, binds it to the CDF RTSP server port and answers with a SIP 200 OK, including the SDP answer.

The SDP parameters for the RTSP channel shall be set as follows:

  • An m-line for an RTSP stream with the format: m=<media> <port> <transport> <fmt>
    (ex. m=application 554 tcp iptv_rtsp)
  • The <media> field shall have a value of “application”.
  • The <port> field shall be setup according to RFC 4145 [SDP-TCP]. The port number shall be set to the port allocated by the Cluster Controller.
  • The <transport> field shall be identical to the one received in the SDP offer in the initial INVITE.
  • The <fmt> field shall be identical to the one received in the SDP offer in the initial INVITE.
  • A c-line shall include the network type with the value set to “IN”, the address type set to “IP4” and the IP address for the RTSP commands.
    (ex: c=IN IP4 <RTSP IP address>)
  • An “a=setup” attribute shall be present and set to “passive”, indicating that the connection is initiated by the other endpoint (OITF), as defined in RFC 4145 [SDP-TCP]. (ex: a=setup:passive)
  • An “a= connection” attribute shall be present and set to “new” as defined in RFC 4145 [SDP-TCP]. (ex: a=connection:new)
  • One or more a=fmtp lines representing RTSP specific attributes set as follows:
    • A “fmtp:iptv_rtsp h-uri” attribute shall be set to the RTSP URI of the Cluster Controller to be used in the RTSP requests. The h-uri can be in the form of an absolute or relative URI. If an absolute URI is specified then it shall be used in subsequent RTSP requests. If a relative URI is specified in the form of a media path, then the RTSP absolute URI could be constructed by the OITF using the IP Address (from c line) and port (from m-line) as the base followed by h-uri value for the media path. (i.e. fmtp:iptv_rtsp h-uri=<request-uri>)

      An absolute URI shall have precedence over a c-line if the latter is provided.

    • The Cluster Controller shall include a “fmtp:iptv_rtsp h-session” attribute representing the session-id of the RTSP session to be used by the OITF during media control. Optionally, a timeout parameter may be specified with a numeric timeout interval in seconds for keep-alive (refer to section 7.1.1.2.3, “RTSP Control for media delivery.”) If the timeout parameter is not specified, then a default value of 60 seconds shall be used (refer to section 12.37 of [RTSP])
      (i.e. a=fmtp:iptv_rtsp h-session=<rtsp-session>[; timeout=<timeout>])

      Note that if both RTP and RTCP are used in the session, the RTSP server (CDF) can use the received RTCP messages as an indication that the OITF is still connected to the session. This avoids requiring explicit RTSP keep-alive signalling. The RTSP server can easily associate the RTCP messages to the RTSP Session-ID using the RTCP message transport address and the SSRC of the media source. If this method is used and no RTCP messages are received after the default timeout period, the RTSP server may tear down the session. Details of this methodology are explained below in the b=RR:<bandwidth-value> line.

  • An m-line for the actual content which indicates the type of the media, the transport protocol and the port of the related content delivery channel from the response message for the RTSP DESCRIBE. If a fmt parameter is in the SDP offer it shall be completed with the supported format by the CDF.
  • A c-line shall include the network type with the value set to IN, the address type set to IP4 and the unicast address of the stream related to the content delivery channel.
    (i.e. c=IN IP4 <IP_ADDRESS>)
  • A b-line shall contain the proposed “session bandwidth” for the COD media stream. Note that this bandwidth value includes the IP and UDP headers (see section 6.2 of [RTP]).
    (ex. b=AS:64, indicating 64kbps)
  • An a-line with a “sendonly”
    (ex. a=sendonly)
  • A b-line, b=RR:<bandwidth-value>, specifying the agreed bandwidth value (in kbps) the OITF shall allocate for sending Receiver Reports (RR) in the COD session.
  • The Cluster Controller may set the bandwidth value in the answer to zero (0) even if a non-zero value is requested by the OITF. In the event a non-zero value is requested by the OITF, the Cluster Controller shall not change the proposed bandwidth value to a different non-zero value as this could force the OITF to use a bandwidth value it may not be able to allocate causing COD session failure.
  • Optionally, a b-line b=RS:<bandwidth-value> specifying the amount of bandwidth (in kbps) that the COD session senders (in this case only one COD server) shall allocate for RTCP Sender Reports (SR). This value may be set to zero (0), b=RS:0. Setting this value to zero (0) is not recommended if several streams will be synchronised.
6.1.2.2.3 Session Termination

Session termination for unicast content streaming shall follows the same SIP procedures as session termination for the multicast content streaming service. See section 6.1.2.1.1.3, “Session Termination.”

6.1.2.3 Forced Play Out Control with SIP session management
6.1.2.3.1 Forced Play Out Controlled by the Cluster Controller

Note: Client-based play out control is described in [OIPF_MEDIA2] sections 4.1 and 4.2, and in [OIPF_CSP2] section 6. The concept there is applicable to downloaded, streamed or stored content where navigation constraints are embedded into the content, i.e. into MP4 files or MPEG-2 transport streams. The [OIPF_DAE2] specification contains language that allows a DAE application to capture navigation input and programmatically decide to honour or ignore the navigation commands, thus providing another way to restrict navigation when content is consumed in a DAE application.

6.1.2.3.1.1 Session Initiation

Forced Play Out Control session initiation over UNIS-8 is the same procedure as described in section 6.1.2.2.2.1, “Session Initiation”.

6.1.2.3.1.2 Protocol over NPI-4

The IPTV Control Function shall support the procedures specified in [TS124503] as applicable to an AS acting as a SIP proxy or B2BUA.

When receiving any SIP request, the IPTV Control FE shall examine the request to see if it is compatible with the user's subscription profile (e.g. parental control level). If the user is not allowed to initiate a session for the requested content, the IPTV Control FE shall reply with an appropriate SIP error response. If the user is allowed to initiate the session, the IPTV Control FE shall interact with the IPTV Application to acquire the Forced Play Out control policy per the content identity and/or user’s subscription information.

The IPTV Control FE shall add the policy to the SIP INVITE received, and forward the updated SIP INVITE to a default CDN Controller. The IPTV Control Function shall not change the user-part of the To header in order to retain the content-id in the INVITE request.

The IPTV Control Function shall not change the existing SDP parameters for the RTSP content control channel and content delivery channel which specified in section 5.3.2.1.2, “Session Initiation”. Moreover, an additional SDP parameter for the RTSP content control channel to describe Forced Play Out control policy shall be included as follows:

Note: this does not apply for the case when the session is related to a user-activated time shift. In case of user-activated time shift, the IPTV Control FE shall change the To field to include the requested content ID that corresponds to the shifted multicast content. When the final response is received, the IPTV Control FE shall restore the TO field to its original value. In that respect, the IPTV Control FE maintains this information in the session state as long as the session is alive.

6.1.2.3.1.3 Protocol over NPI-19

Protocol for Forced Play Out Control over NPI-19 is the same as described in section 6.1.2.2.2.3, “Protocol over NPI-19”.

6.1.2.3.1.4 Protocol over NPI-25

On receiving the request from the IPTV Control Function, the CDN Controller may decide to forward the request to another CDN Controller. In this case, the IPTV Control Function changes the “Request-URI” accordingly.

6.1.2.3.1.5 Protocol over NPI-26

The protocol for Forced Play Out Control over NPI-26 is similar to that described in section 6.1.2.2.2.5, “Protocol over NPI-26.” After receiving the session initiation request, if the policy is presented in the request, the Cluster Controller shall also store the Forced Play Out Control policy and then choose the CDF.

6.1.2.3.1.6 Forced Play Out Control Policy Attribute

The format of the “a=unsupport” attribute is as follows:

a=unsupport: < RTSP_Operation > < Restriction_Rule >
where
  <RTSP_Operation>  ::= is the RTSP operation that is not permitted by the policy, e.g. fast forward.
  <Restriction_Rule> ::= <time-range-list> | <ContentID-list>
  <ContentID-list> ::= ContentID_list: <contentID> {"|" <contentID>}
  <ContentID > ::= is the identifier of the media content
  <time-range-list>  ::= <npt-range-list> | < utc-range-list> | <smpte-range-list>
  <npt-range-list> ::= npt_range_list: <npt-range> {"|" <npt-range>}
  <utc-range-list> ::= utc_range_list: <utc-range> {"|" <utc-range>}
  <smpte-range-list> ::= smpte_range_list: <smpte-range> {"|" <smpte-range>}
6.1.2.4 Purchase of Digital Media Service using SIP
6.1.2.4.1 Purchase Request for Digital Media
6.1.2.4.1.1 Protocol over UNIS-8

Upon receiving a purchase request from the OITF, the IG shall send a SIP INFO Request, including the Digital Purchase info package, IPTV Control FE (via the ASM FE).

The IG shall forwards any received response to the OITF.

Upon receipt of a SIP UPDATE by the IG with an empty Recv-Info header or unwillingness to receive the Digital Purchase info package from the IPTV Control FE, to stop sending digital media purchase request, the IG shall forward the SIP UPDATE to the OITF in an HTTP 200 OK response. The IG shall wait for the response from the OITF to forward it to the IPTV Control FE.

Upon receipt of a SIP UPDATE, including the Recv-Info header set to support the Digital-Purchase Info Package, by the IG from the IPTV Control FE, to start sending digital media purchase request, the IG shall forward the SIP UPDATE to the OITF in an HTTP 200 OK response. The IG shall wait for the response from the OITF to forward it to the IPTV Control FE.

Note that the IG shall be stateful to the SIP UPDATE messages so that it does comply to IPTV Control FE in case an OITF makes an illegal request.

6.1.2.4.1.2 Protocol over NPI-4

Upon receipt of SIP INFO request from the IG including the Digital-Purchase info package, the IPTV Control FE shall examine the body. If the body is not successfully validated as compliant to section 5.3.5.8, “XML Schema for Purchase Request of Digital Media”, the IPTV Control FE shall issue an appropriate error message. Otherwise, the IPTV Control FE shall initiate a purchase request with the Charging FE.

Following the successful completion of the purchase transaction, the IPTV Control FE shall inform the IPTV Applications FE so it can update the user profile, and shall wait for a response from the IPTV Applications FE before returning a response to the IG.

If the IPTV Control FE desires to instruct the OITF to start sending digital media purchase request, it shall send a SIP UPDATE to the IG and where the Recv-Info is set to indicate support for the reception of Digital-Purchase Info Package and shall wait for the response.

If the IPTV Control FE desires to instruct the OITF to stop sending digital media purchase request, it shall send a SIP UPDATE to the IG and where the Recv-Info is empty or removes support for the reception of the Digital-Purchase Info Package and shall wait for the response.

6.1.2.5 Pay Per View multicast content service with SIP session management
6.1.2.5.1 Protocol over UNIS-8
6.1.2.5.1.1 PPV service initiation without existing multicast content streaming session
PPV service initiation without an existing multicast content session over UNIS-8 shall be the same as multicast content session initiation and modification as described in section 6.1.2.1.1.2, “Session Initiation and Modification.”
6.1.2.5.1.2 Switching from a PPV service to a multicast content service
Switching from a PPV service to a multicast content service over UNIS-8 shall be the same as multicast content streaming session initiation and modification as described in section 6.1.2.1.1.2, “Session Initiation and Modification.”
6.1.2.5.1.3 Switching to a PPV service from a multicast content service or another PPV
Switching to a PPV service from a multicast content service or another PPV service over UNIS-8 shall be the same as multicast content streaming session initiation and modification as described in section 6.1.2.1.1.2, “Session Initiation and Modification.”
6.1.2.5.1.4 Session Termination
PPV multicast content streaming session termination over UNIS-8 shall be the same as Scheduled Content session termination as described in section 6.1.2.1.1.3, “Session Termination.”
6.1.2.5.2 Protocol over NPI-4
6.1.2.5.2.1 PPV service initiation without existing multicast content streaming session

The IPTV Control FE shall support the procedures specified in [TS183063] section 5.3.1.5.1.

The IPTV Control FE shall support the procedures specified in [TS124503] that are applicable to an AS acting as a terminating SIP UA.

Starting watching the PPV service directly shall use multicast content session initiation as described in section 6.1.2.1.2.2, “Session Initiation”, with the following differences:

  • The IPTV Control FE shall examine the SDP parameters. In particular it shall examine the a=bc_service: parameter which contains the program ID the OITF intends to view. The IPTV Control FE shall further check this parameter with the user’s profile:
    • If the OITF isn’t allowed to view the program indicated according to the user profile, the IPTV Control FE shall not accept the offer and shall answer with a 403 error code.
    • If the program is allowed in the user profile, but has not started, i.e., the current time is earlier than the program start time, the IPTV Control FE shall not accept the offer and shall answer with a 403 error code.
    • If the program is allowed in the user profile, and has started, i.e., the current time is later than the program start time, the IPTV Control FE shall switch to the corresponding PPV service as defined in section 6.1.2.5.2.3Switching to a PPV service from a multicast content service or another PPV”.
  • The IPTV Control FE shall process the a=bc_service_package attributes as defined in section 6.1.2.1.2.2, “Session Initiation.”
6.1.2.5.2.2 Switching from a PPV service to a multicast content service
Switching from a PPV service to a multicast content service over NPI-4 shall be the same as multicast content session modification as described in section 6.1.2.1.2.3, “Session Modification.”
6.1.2.5.2.3 Switching to a PPV service from a multicast content service or another PPV

Upon receipt of a PPV session modification request, the IPTV Control FE shall follow the procedures defined in ES 283 003 [ES283003] concerning the AS acting as a terminating UA or a B2BUA.

When receiving an SDP offer, the IPTV Control FE may modify the SDP answer in accordance with the user subscription as defined in section 6.1.2.5.2.1, “PPV service initiation without existing multicast content streaming session.” If the IPTV Control FE finds a media line not compatible with the user's subscription, it shall set the port of this media line to 0. If none of the media lines are acceptable, it shall reply with a 403 error response.

6.1.2.5.2.4 Session Termination

Upon receipt of a PPV session termination request, the IPTV Control FE shall follow the procedures defined in [TS124503] concerning the AS acting as a terminating UA, which is the same as multicast content streaming session termination as described in section 6.1.2.1.2.4, “Session Termination.”

Upon receipt of an internal indication that a PPV session shall be terminated, the IPTV Control FE shall generate a BYE request and follow the procedures defined in [TS124503] for an originating OIPF, which is the same as multicast content streaming session termination as described in section 6.1.2.1.2.4, “Session Termination.”

6.1.2.6 Parental Control for Content using SIP
6.1.2.6.1 What is on TV – OITF initiated
6.1.2.6.1.1 Protocol over UNIS-8

The following shall be supported by the IG for subscription to acquire information related to content streamed at an OITF:

  • An outgoing SUBSCRIBE message for subscription to the Parental Control Watched Content event. Note that the IPTV Control FE shall reject a SUBSCRIBE message from a non-authorized user.
  • An incoming NOTIFY message that complies with section 5.3.7.1.4, “XML Schema for Parental Control Watched Contentshall be proxied to the OITF, otherwise it shall be rejected and no further processing shall be performed.
  • The element ProgrammeId (section 5.3.7.1.4, “XML Schema for Parental Control Watched Content”) may be used.
  • The OITF contact information shall be mapped to DeviceId.
  • The OITF Call-ID shall be mapped to SessionId.
6.1.2.6.1.2 Protocol over NPI-4

The IPTV Control FE can OPTIONALly use the presence server to support the “What is on TV” feature. In that respect, the IPTV Control FE acts as a publisher for the content being watched on the OITF. The usage of presence server for parental control purposes is distinguished from the usage of presence server for sharing information between users for presence purposes. The later depends on information published directly by presence agents on behalf of users and is under user control, and reflects what the user wants to declare as far as presence information, including what he is currently watching. Information published by the IPTV Control FE is information derived during the session establishment procedures, and is considered as state information.

If the IPTV Control FE uses the presence server to provide parental control service, it shall support the SIP PUBLISH request for publishing watched content. The event in this case shall be Parental Control Watched Content event as per section 5.3.7.1.4, “XML Schema for Parental Control Watched Content”.

6.1.2.6.2 Parental Control
6.1.2.6.2.1 Protocol over UNIS-8

When receiving a request for Parental Control from the OITF as described in section 5.3.7.2.1, “Protocol for OITF Originating a Request for Parental Control,” the IG shall generate an initial MESSAGE request as specified in RFC 3428 [SIP-IM].

When receiving a request for Parental Control from the network as a SIP MESSAGE as described in section 5.3.7.2.2, “Protocol for OITF Receiving a Request for Parental Control,” the IG shall forward this information to the OITF including the information in the body.

When the final response to the SIP MESSAGE for Parental Control is received from the network as a SIP 200 OK, the IG shall forward this information to the OITF. The IG shall forward the final received response from the OITF to the network.

6.1.2.6.2.2 Protocol over NPI-4

The IPTV Control Function shall support the procedures specified in [TS124503] as applicable to an AS acting as a SIP proxy or B2BUA.

Upon receipt of a SIP MESSAGE request for Parental Control from the IG via the Authorization and Session Management FE, the IPTV Control FE shall identify the Content-Type associated with the MESSAGE request to determine that it is a Parental Control request. The IPTV Control FE shall check the controlled user in the “To:” header as well as the controller in the “From:” fields to determine whether the controller has the rights to perform Parental Control on the controlled user.

If the controller has the rights to perform Parental Control on the controlled user, the IPTV Control FE shall forward the SIP MESSAGE to the controlled user.

Upon receipt of a SIP 200 OK response to the SIP MESSAGE for Parental Control from the OITF via the Authorization and Session Management FE, the IPTV Control FE shall forward the SIP 200 OK to the controller.

6.1.2.7 Network-based User Notification Services using SIP
6.1.2.7.1 Protocol over UNIS-8 for Native HNI-IGI (IMS-based) Notification Request Setup

Upon receipt by the IG for an HTTP POST to send a SIP MESSAGE, as described in section 5.3.8.1.1, “Native HNI-IGI (IMS-based) Notification Request Setup Procedure”, the IG shall initiate a SIP MESSAGE which shall conform to [SMPL-IM]. The response to the SIP MESSAGE shall comply with [SMPL-IM]. The IG shall not retain any state information once the transaction is completed.

6.1.2.7.2 Protocol over NPI-4 for IMS-based Notification Request Setup

Upon receipt by the IPTV Control Server FE of a SIP MESSAGE, the IPTV Control FE shall first validate that the user is authorized to initiate the request. Following successful validation, the IPTV Control FE shall issue a store request to the appropriate IPTV application and shall wait for the response.

Upon receipt of a response from the IPTV application, the IPTV Control FE shall return a SIP 200 OK response to the IG, or an appropriate error response.

6.1.2.8 Content Bookmarking using SIP
6.1.2.8.1 Protocol for Storing Content Bookmarks over UNIS-8

Upon receiving a request from the OITF for storing a scheduled content bookmark or a CoD bookmark, (see section 5.3.9.1.1, “IMS-based Content Bookmark Creation Request”), the IG shall generate a SIP INFO including the CoD-Bookmark Info Package according to section 2 of [PSS-MBMS].

The IG shall forward any received SIP response to the OITF.

Upon receipt of a SIP UPDATE by the IG with an empty Recv-Info header or unwillingness to receive the CoD Bookmark Info Package from the IPTV Control FE, to stop sending content bookmarks for storage, the IG shall forward the SIP UPDATE to the OITF in an HTTP 200 OK response. The IG shall wait for the response from the OITF to forward it to the IPTV Control FE.

Upon receipt of a SIP UPDATE, including the Recv-Info header set to support the CoD-Bookmark Info Package, by the IG from the IPTV Control FE, to start storing content bookmarks, the IG shall forward the SIP UPDATE to the OITF in an HTTP 200 OK response. The IG shall wait for the response from the OITF to forward it to the IPTV Control FE.

6.1.2.8.2 Protocol for Storing Content Bookmarks over NPI-4

Upon receipt of SIP INFO from the IG including the CoD-Bookmark Info Package according to section 2 of [PSS-MBMS] for storing a content bookmark, the IPTV Control FE shall examine the body.

If the body is not successfully validated as compliant to section 5.3.9.5, “XML Schema for Content Bookmarking”, the IPTV Control FE shall issue an appropriate error message. Otherwise, the IPTV Control FE shall issue a bookmark store request to the IPTV application responsible for handling bookmarks and shall wait for the response before returning a response to the IG. The treatment of the different elements in the body is specified in section 5.3.9.5, “XML Schema for Content Bookmarking”.

If the IPTV Control FE desires to instruct the OITF to stop sending content bookmarks for storage, it shall send a SIP UPDATE to the IG where the Recv-Info is empty or removes support for the reception of the CoD-Bookmark Info Package and shall wait for the response.

If the IPTV Control FE desires to instruct the OITF to start sending content bookmark for storage, it shall send a SIP UPDATE to the IG and where the Recv-Info is set to indicate support for the reception of CoD-Bookmark Info Package and shall wait for the response.

6.1.2.8.3 Content-related bookmark retrieval
6.1.2.8.3.1 Session Initiation over UNIS-8

The IG shall support the procedures specified in [TS124503] for initiating unicast sessions.

On receiving a request for a unicast session initiation from the OITF, the IG shall generate an initial INVITE request as specified in [TS124503] (for an originating UA). See section 5.3.2.1.2, “Session Initiation”.

When the final response to the SIP INVITE request is received from the network as a SIP 200 OK including the SDP (for content delivery and content control channel) , the IG shall forward this information to the OITF.

When the SIP INFO request with the XML body (for content-related bookmark list) is received from the network, the IG shall forward this information to the OITF. The IG shall forward the received response from the OITF to the network.

6.1.2.8.3.2 Session Initiation over NPI-4

The IPTV Control Function shall support the procedures specified in [TS124503] as applicable to an AS acting as a SIP proxy or B2BUA.

When receiving the SIP INVITE request, the IPTV Control FE shall send an XCAP GET request to the IPTV Service Profile to get the user’s profile and content-related bookmark list with the user ID and content ID which are retrieved from the INVITE request. and then examine whether the user has the right to initiate a unicast session for the content. If the user is not allowed to initiate a session for the requested content, the IPTV Control FE shall replies with an appropriate SIP error response. If the user is allowed to initiate the session, the IPTV Control FE shall forward the SIP INVITE to a default CDN Controller.

The IPTV Control Function shall not change the user-part of the To header in order to retain the content-id in the INVITE request and maintains the SDP received from the IG.

When receiving the SIP 200 OK response for the INVITE request, the IPTV Control forwards the SIP 200 OK response to the OITF, and then sends the SIP INFO to the OITF with the XML body for the content-related bookmark list (see section 5.3.9.5, “XML Schema for Content Bookmarking”).

Note: this does not apply for the case when the session is related to a user-activated time shift. In case of user-activated time shift, the IPTV Control FE shall change the To field to include the requested content ID that corresponds to the shifted multicast content. When the final response is received, the IPTV Control FE shall restore the TO field to its original value. In that respect, the IPTV Control FE maintains this information in the session state as long as the session is alive.

6.1.2.8.3.3 Session Initiation over NPI-19

The procedure is the same as that defined in section 6.1.2.2.2.3, “Protocol over NPI-19”.

6.1.2.8.3.4 Session Initiation over NPI-25

The procedure is the same as that defined in section 6.1.2.2.2.4, “Protocol over NPI-25”.

6.1.2.8.3.5 Session Initiation over NPI-26

The procedure is the same as that defined in section 6.1.2.2.2.5, “Protocol over NPI-26”.

6.1.2.9 Local PVR Service using SIP
6.1.2.9.1 Protocol over UNIS-8
6.1.2.9.1.1 PVR Service Capture Request/Response

Upon receiving a request from the OITF for the PVR Service Capture Request (see section 5.3.10, “Local PVR Service using SIP”), the IG shall generate a SIP MESSAGE as specified in [TS124503].

6.1.2.9.1.2 PVR Record Request/Response

Upon receiving a request from the OITF for the PVR Service Capture Request (see section 5.3.10, “Local PVR Service using SIP”), the IG shall generate a SIP MESSAGE as specified in [TS124503].

The IG shall forward any received SIP response to the OITF including the information.

If the IG receives PVR Record Request initiated from an OITF different than the one used for recording, the IG shall forward PVR Record Request to relevant OITF.

6.1.2.9.2 Protocol over NPI-4
6.1.2.9.2.1 PVR Service Capture Request/Response

The IPTV Control Function shall support the procedures specified in [TS124503] as applicable to an AS acting as a SIP proxy or B2BUA.

When receiving SIP MESSAGE for PVR Service Capture from the IG, the IPTV Control Function shall perform the following:

  • Verifies that the user is subscribed to the service.
  • Verifies that there is no active Capture Order for the same Program.
  • Verifies that the user is allowed to set up a Scheduled Recording order in the Local PVR mode. When the Local PVR mode is initiated, the IPTV Control Function verifies the recording capabilities of the target local PVR (i.e. storage of the local PVR).

The IPTV Control Function shall forwards an appropriate SIP response based on the outcome of the verification process.

6.1.2.9.2.2 PVR Record Request/Response

When the IPTV Control Function initiates a SIP MESSAGE request for PVR recording, the Request-URI shall be set to the Public Identity of the target user (IMPU). The IPTV Control Function shall support the procedures specified in [TS124503] as applicable to an AS acting as a SIP proxy or B2BUA. The content of the SIP MESSAGE shall conform to Table 44 as per step 5 in section 5.3.10.1.

The IPTV Control Function shall wait for the received response.

6.1.2.10 Network PVR (nPVR) using SIP
6.1.2.10.1 OITF-initiated nPVR
6.1.2.10.1.1 Protocol over UNIS-8
6.1.2.10.1.1.1 PVR Record Request/Response

Upon receiving a request from the OITF for the PVR Service Request (see section 5.3.11, “Network PVR (nPVR) using SIP”), the IG shall generate a SIP MESSAGE message as specified in [TS124503]. The IG shall forward any received SIP response to the OITF.

6.1.2.10.1.2 Protocol over NPI-4

The IPTV Control Function shall support the procedures specified in [TS124503] as applicable to an AS acting as a terminating SIP UA.

When receiving any NPVR request, the IPTV Control Function shall examine the request to see:

  • If the user is subscribed to the PVR service.
  • If the program is allowed to recorded.
  • If it is compatible with the user's subscription profile (e.g. parental control level).
  • If the new item to be recorded doesn't exceed the user’s storage quota.

If the record request is successful, the IPTV Control Function shall create a context for the order, register relevant information and update the user’s profile status for PVR to “Order Captured”, meaning that a recording order is pending execution.

If the record request is not valid, the IPTV Control Function shall respond with a non-2XX SIP response and shall subsequently issue a SIP MESSAGE compliant to the OITF to report the reason for rejection.

The body of the SIP MESSAGE shall include the MIME type “application/vnd.oipf.pvrresult+xml” based upon the XML schema defined in section 5.3.11.2, “XML schema for nPVR recording result”.

At the start of the scheduled program or the start time of the immediate NPVR request, the IPTV Control Function shall find the appropriate CDNC/CC/CDF to setup the content delivery channel for the content recording. It is done by issuing an SIP INVITE to the selected Content Delivery Network Control Function, and shall wait for 200 OK response.

Based on the local policy, the following should apply to avoid duplicated recording:

  • Upon receiving a scheduled NPVR record request, the IPTV Control FE check whether the same program (identified by BCServiceID and ProgramID) has been requested to record. If yes, the IPTV Control FE should not issue another NPVR request for the same content.
  • Upon receiving an immediate NPVR record request, the IPTV Control FE examines the status of the program. If the same program (identified by BCServiceID and ProgramID) is already under recording, the IPTV Control FE should not issue another NPVR request for the same content.
  • Note: in case of duplicated recording for multiple users, the users will have the same CRID for accessing the recorded content.

The content of the SIP INVITE message shall be as follows:

  • The Header: see Table 130.
  • The Body: the message body shall Multipart/Related MIME container [RFC2837], containing a SDP of the multicast content to be recorded and a nPVR request XML document, with the “RequestType“ set to “Setup”. The nPVR request XML document shall conform to section 5.3.11.2, “XML schema for nPVR recording result”.
Table 130: List of SIP headers for PVR Service Recording Status (CC→IPTV Control)
SIP HeaderSource of Coding Information
Request-Line

Note: The request URI must be set to the SIP URI of the selected CDNC

RFC 3261 [SIP]

INVITE <Request URI> SIP/2.0

FromRFC 3261 [SIP]
To

The URI part of To shall be set to the value of the Request URI in the “Request-Line”

RFC 3261 [SIP]
Call-IDRFC 3261 [SIP]
CSeqRFC 3261 [SIP]
Content-Type

It shall be set to “multipart/related”

RFC 3261 [SIP]
Content-LengthRFC 3261 [SIP]

Upon receiving 200 OK response from the CDNC, the IPTV Control FE shall update status of the NPVR request in the users’ profile with “Recording”.

Upon receiving a SIP UPDATE message from the CDNC, the IPTV Control FE shall extract the program identifier and the status information, then update the user profiles of all the users whom requested to record the program in the network. Then the IPTV Control FE shall generate a BYE request as specified in [TS124503] for originating sessions.

6.1.2.10.1.3 Protocol over NPI-19

The CDN Controller FE shall support the procedures specified in [TS124503] as applicable to an AS acting as a SIP proxy or B2BUA.

When receiving the SIP INVITE from the IPTV Control FE via the Authentication and Session Management FE through the NPI-19 reference point, the CDN Controller shall check the request type and the program id of the NPVR request, and determine the most appropriate Cluster Controller FE to serve the NPVR request.

Once the appropriate Cluster Controller FE is selected, the Content Delivery Network Controller FE shall forward the SIP INVITE to it by changing the “Request-URI” accordingly.

The CDN Controller shall not forward 301 or 302 responses from the Cluster Controller to the IPTV Control Function. The CDN Controller shall take one of the following actions on receiving a 301 or 302 response from the Cluster Controller:

  • Cancel the transaction
  • Forward to another Cluster Controller
  • Forward to the suggested CC as indicated in the 301/302 response
  • Forward to another CDN Controller

Upon receiving a SIP UPDATE message from the Cluster Controller, the CDNC shall forward the message to the IPTV Control FE.

6.1.2.10.1.4 Protocol over NPI-25

On receiving the request from the IPTV Control Function, the CDN Controller may decide to forward the request to another CDN Controller. In this case it changes the “Request-URI” accordingly.

6.1.2.10.1.5 Protocol over NPI-26

The Cluster Controller FE shall support the procedures specified in [TS124503] as applicable to a terminating UA.

Upon receiving a NPVR Request from the CDN Controller, the Cluster Controller shall examine the program identifier present in NPVR request XML document, and the media parameters in the received SDP offer and then choose a CDF.

If all the CDFs lack of storage, the Cluster Controller shall return a 301 response, or a 302 response for any other reasons (e.g. load-balancing) The Cluster Controller may indicate one or more Cluster Controller addresses in the contact header as indicated in RFC 3261 [SIP].

If the request is not acceptable to the Cluster Controller, it shall reply with an appropriate SIP error response.

The Cluster Controller shall reply with an appropriate SIP error response if the request is acceptable to the Cluster Controller but none of the Content Delivery Functions can handle the offer.

If the request is acceptable to the Cluster Controller and a CDF can handle the request, the Cluster Controller shall initiate an RTSP session using the RTSP SETUP message to the chosen CDF. the CDF then shall join the multicast group, and return 200 OK with the server port and RTSP Session ID to setup the content delivery channel between the CDF and the content source. Then CC sends a RTSP Recording to the CDF to record the content as defined in section 7.1.3.1, “RTSP Session Setup”.

Following the successful conclusion of the RTSP session setup, the Cluster Controller allocates an RTSP server port, binds it to the CDF RTSP server port and answers with a SIP 200 OK, including the SDP answer and the record status report conforming to section 5.3.11.2, “XML schema for nPVR recording result”.

When completing the record of the requested program, the Cluster Controller shall issue a SIP UPDATE message to the IPTV Control FE with appropriate record status (i.e. “Recording Completed”).

The content of the above two messages shall be as follows:

  • The SIP UPDATE message Header: see Table 131.
  • The SIP UPDATE message Body: The Cluster Controller shall include a body associated with the appid “urn:oipf:service:PVR:2011” as defined in section 5.3.11.2, “XML schema for nPVR recording result”.
Table 131: List of SIP headers for PVR Service Recording Status (CC→IPTV Control)
SIP HeaderSource of Coding Information
Request-Line

Note: The request URI must be set to well-known PSI for NPVR

RFC 3261 [SIP]

UPDATE <Request URI> SIP/2.0

FromRFC 3261 [SIP]
To

The URI part of To shall be set to the value of the Request URI in the “Request-Line”

RFC 3261 [SIP]
Call-IDRFC 3261 [SIP]
CSeqRFC 3261 [SIP]
Content-Type

It shall be set to “application/vnd.oipf.pvr+xml”

RFC 3261 [SIP]
Content-LengthRFC 3261 [SIP]
6.1.2.10.2 6Non-OITF-initiated nPVR

nPVR service can also be initiated by non-OITF based user equipments so that the IPTV user can consume the multicast content later with an OITF. In this case, the user will send nPVR request to the IPTV Application (or other specific FE in the service provider domain) by means like web browser through internet /SMS through mobile network etc.

Upon receiving such nPVR request, the IPTV application shall validate the user and then, on behalf of the user, send the nPVR request to the IPTV Control FE. The IPTV Control FE shall validate the request, do recording and update the user profile as defined in section 6.1.2.10.1, “OITF-initiated nPVR”.

6.1.2.10.2.1 Protocol over NPI-19

The protocol used in NPI-19 for Non-OITF initiate NPVR service shall be the same as for OITF Initiated Network PVR service, as defined in section 6.1.2.10.1.3, “Protocol over NPI-19”.

6.1.2.10.2.2 Protocol over NPI-25

The protocol used in NPI-25 for Non-OITF initiate NPVR service shall be the same as for OITF Initiated Network PVR service, as defined in section 6.1.2.10.1.4, “Protocol over NPI-25”.

6.1.2.10.2.3 Protocol over NPI-26

The protocol used in NPI-26 for Non-OITF initiate NPVR service shall be the same as for OITF Initiated Network PVR service, as defined in section 6.1.2.10.1.5, “Protocol over NPI-26”.

6.1.2.11 Personalised Channel using SIP
6.1.2.11.1 Procedure for Network-centric Personalised Channel (unicast only)
6.1.2.11.1.1 Protocol over UNIS-8, NPI-19, NPI-25 and NPI-26

The procedures over UNIS-8, NPI-19, NPI-25 and NPI-26 for PCh service shall follow those described in section 6.1.2.2, “Unicast content streaming with SIP session management”, with the difference that the request URI and the To header in the INVITE request from the OITF shall include the indicated Personalised Channel identifier.

6.1.2.11.1.2 Protocol over NPI-4
6.1.2.11.1.2.1 PCh session initiation

The IPTV Control Function shall support the procedures specified in [TS124503] as applicable to an AS acting as a SIP B2BUA.

When receiving any SIP request, the IPTV Control FE shall examine the request to see if it is compatible with the user's subscription profile (e.g. parental control level). If the user is not allowed to initiate a session for the requested Personalised Channel, the IPTV Control FE shall reply with an appropriate SIP error response.

If the user is allowed to initiate the session, the IPTV Control FE shall first retrieve the detailed PCh information for the user from the IPTV Application FE via NPI-2 reference point, then it shall forward the SIP INVITE to a default CDN Controller with the following modifications:

  • The request URI shall be set to the Public Identity of the CDN Controller FE;
  • The To header shall include the PChId and the content item which is to be played, i.e. PChId: BCServiceId or PChId: COD content Id, which are extracted from the PCh information.

The request body includes the SDP identical to the incoming INVITE request, i.e. it shall contain the unicast content delivery description for the OITF regardless whether the next PCh item is scheduled content or on-demand content.

6.1.2.11.1.2.2 PCh content switch

When it is time for the next PCh content to be played, the IPTV Control FE shall initiate SIP INFO based upon the configuration of the retrieved PCh information. The IPTV Control FE shall construct the out-going SIP INFO request to the selected CDNC/CC/CDF, as described below:

  • Request URI shall include the PChId and the content item which is to be played, i.e. PChId: BCServiceId or PChId: COD content Id, which are extracted from the PCh information;
  • The To header shall be the same with the Request URI;
  • The From header shall include the Public Identity of the IPTV Control or the well-known PSI of PCh Service;
  • The Content-Type header shall be set to application/vnd.oipf.pchcontentswitch+xml, conforming to RFC 3261 [SIP];
  • The message body shall include one or more “PChContentSwitchControl” elements.

Note: The detailed XML schema refers to section 6.1.2.11.1.3, “XML schema for PCh content switch”.

When the CC receives the SIP MESSAGE, it shall respond a SIP 200 OK, and then parse the message body for content switch, i.e. use the ContentId and SwitchTime to initiate the RTSP PLAY towards the CDF for delivery of the next PCh content item as described in section 7.1.4.2, “RTSP PLAY for PCh content switch.”

6.1.2.11.1.2.3 PCh session termination

Session termination for PCh shall follow the same SIP procedures as session termination for the COD service. See section 6.1.2.2.3, “Session Termination”.

6.1.2.11.1.3 XML schema for PCh content switch
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:oipf:iptv:pchcontentswitch:2011"
  xmlns:tns="urn:oipf:itpv:pchcontentswitch:2011"
  xmlns:ct="urn:oipf:base:CommonTypes:2011"
  xmlns:xs="http://www.w3.org/2001/XMLSchema" 
  elementFormDefault="qualified" attributeFormDefault="unqualified">

  <xs:import namespace="urn:oipf:base:CommonTypes:2011" 
    schemaLocation="base-CommonTypes.xsd" />
  <xs:element name="PChContentSwitchControl">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="PChContentItem" type="tPChContentItem" 
          maxOccurs="unbounded"/>
      </xs:sequence>
      <xs:attribute name="PChId" type="xs:anyURI" use="required"/>
    </xs:complexType>
  </xs:element>

  <xs:complexType name="tPChContentItem">
    <xs:sequence>
      <xs:element name="ProgramIdentifier" type="ct:ProgramIdType" />
      <xs:element name="SwitchTime" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>

</xs:schema>
6.1.2.11.2 OITF-Centric Personalised Channel
6.1.2.11.2.1 Protocol over UNIS-8, NPI-4, NPI-19, NPI-25 and NPI-26

When recording overlapped content, the LPVR or nPVR procedures will be used.

The messaging and procedures for recording the overlapped content on a LPVR shall be as specified in section 6.1.2.8.3, “Content-related bookmark retrieval.”

The messaging and procedures for recording the overlapped content on a nPVR shall be as specified in section 6.1.2.10, “Network PVR (nPVR) using SIP”.

When a time gap between adjacent content items is detected, the OITF may perform the procedures specified in section 5.3.12.2, “OITF-centric Personalised Channel”.

6.1.2.12 Session Transfer with SIP session management
6.1.2.12.1 Protocol over UNIS-8
6.1.2.12.1.1 Generic Procedures
6.1.2.12.1.1.1 Session Initiation Procedures Related to a Session Transfer

The IG shall support the procedures specified in [SRVCONT] for initiating unicast sessions associated with session transfer.

On receiving a request for a unicast session initiation from the transferee OITF, the IG shall generate an initial INVITE request as specified in [SRVCONT].

6.1.2.12.1.1.2 IG initiated Session Modification Procedures

The IG shall support the procedures specified in [TS124503] for putting media subject to transfer, on hold (setting the port to 0 in the m-line in the SDP) and reducing the QoS resources for the transferor OITF down to zero, when it detects that the transferor and the transferee are behind the same IG.

6.1.2.12.1.2 Session Transfer Via Push Mode

The following shall be supported by the IG:

  • An outgoing REFER message associated with transferor OITF shall conform to [SRVCONT]
  • The IG shall forward any incoming SIP REFER, for the purpose of session transfer, that conforms to the [SRVCONT] to the transferee OITF. Non-conformant SIP REFER messages shall be rejected with the appropriate response code.
  • An outgoing SIP NOTIFY message associated with the transferee reporting the outcome of a session transfer associated with a REFER request, shall conform to [SRVCONT] and [RFC3515].
  • The IG shall forward any incoming SIP NOTIFY, reporting the outcome of a session transfer associated with a REFER request, that conforms to [SRVCONT] and [RFC3515] to the transferor OITF. Non-conformant SIP REFER messages shall be rejected with the appropriate response code.
6.1.2.12.2 Protocol over NPI-4
6.1.2.12.2.1 Generic Procedures
6.1.2.12.2.1.1 Session Initiation Procedures

When receiving a SIP INVITE request associated with a session transfer, the IPTV Control FE shall first authorize the request. If the user is not authorized or the INVITE is not successfully validated, in accordance with [SRVCONT] the IPTV Control FE shall respond with an appropriate SIP error message. If the user is authorized and the INVITE is successfully validated, then the IPTV Control FE behaviour depends on the SDP in the incoming INVITE:

  • If the same CDF of the transferred session can be used, then the IPTV Control FE shall send a SIP UPDATE (or re INVITE) to the selected CNDC to update the SIP session leg with the new SDP.
  • If the same CDF of the transferred session cannot be used, and a new one is required, then the IPTV Control FE shall terminate the SIP leg towards the old CDNC/CC/CDF to terminate the content flow sent to the transferor device first. The IPTV Control FE shall create a new SIP session leg by forwarding the SIP INVITE to a default CDNC as per section 6.1.2.1.1.2, “Session Initiation and Modification”.
6.1.2.12.2.1.2 IG initiated Session Modification Procedures

When receiving a SIP UPDATE (or re-INVITE) request associated with a session transfer, and related to an ongoing session, the IPTV Control FE shall first validate the request. If the SIP UPDATE (or re-INVITE) is successfully validated, then the IPTV Control FE behaviour shall release the resources based on the incoming SIP UPDATE (or re-INVITE), shall put the media on hold, and shall return the received response to the IG.

6.1.2.12.2.2 Session Transfer Via Push Mode

When receiving a SIP REFER request, the IPTV Control FE shall authorize the request. If the user is not authorized to perform session transfer, an appropriate SIP error response is returned. If the user is authorized, the IPTV Control FE shall forward the SIP REFER to the ASM for delivery to its destination (transferee OITF). The IPTV Control FE shall be stateful to the session transfer procedure.

When receiving a SIP NOTIFY associated with a SIP REFER request, the IPTV Control FE shall validate the SIP NOTIFY as per [SRVCONT]. If not successfully validated, an appropriate SIP response shall be returned. If successfully validated, the IPTV Control FE shall forward the SIP NOTIFY to the ASM for delivery to the destination (transferor OITF).

6.1.3 Protocols for Service Access and Control Functions

6.1.3.1 Service Provider Discovery
6.1.3.1.1 Protocol over UNIS-8 and NPI-30

The IPTV Service Provider Discovery FE shall generate and/or provide the Service Provider Discovery information.

The IG shall follow the following procedure to retrieve Service Provider Discovery information:

Step 1:The IG shall send a SIP SUBSCRIBE to the network, to subscribe to the “ua-profile” event, and shall wait for the response to the subscription request.
Step 2:When a SIP NOTIFY is received by the IG for a “ua-profile” event, the IG shall store the body of the SIP NOTIFY.
Step 3a:If the IG receives a HTTP GET for the Service Provider information, it shall return the body of the SIP NOTIFY (from step 2) in the HTTP response body.
Step 3b:If the IG receives a HTTP POST on the HNI-IGI interface from the OITF which includes a SIP SUBSCRIBE with a message body associated with the appid “urn:oipf:application:iptv-SP-discovery”, the IG shall send a SUBSCRIBE to the network with the following capabilities:

The message body shall include what was received from the OITF, which are the capabilities of the OITF which are sent to the Service Provider Discovery FE. The details of the SIP SUBSCRIBE are as specified in [TS183063] section 5.1.2.2.1. To wit:

  • The Content Type header shall be set to “application/vnd.oipf.ueprofile+xml”
  • The UserEquipmentID is a unique global identifier of the device.
  • The User Equipment Class shall take values “TV-OITF”, “STB-OITF”, according to the implementation options in [OIPF_ARCH2] section 5.3.4.

When the Service Provider Discovery FE receives a SUBSCRIBE request, it may check the user’s IPTV subscription profile and provide a personalized Service Provider Discovery information to the OITF. Filtering may also be performed if device capabilities are available to the SDF.

If the Service Provider Discovery FE receives a SIP SUBSCRIBE message body from the IG carrying OIPF capabilities, the Service Provider Discovery FE shall process the SIP request as specified below.

On successful subscription, the Service Provider Discovery FE shall generate a 200 OK response. The Service Provider Discovery FE shall then send a NOTIFY request to the OITF in accordance with RFC 3265 [SIP-EVNT].

The contents of the SIP NOTIFY request shall be as follows:

  • Extend the existing “ua-profile” event package for SIP NOTIFY as follows:
  • The Event header shall be set to the “ua-profile” event package.
  • The “effective-by” parameter for the event header shall be set to 0.
  • The content type shall be set to “application/vnd.oipf.spdiscovery+xml”.

The Service Provider Discovery Information shall be delivered in the message body and shall conform to the schema defined in [OIPF_META2].

Note: If the above extension is not accepted by the IETF, then the use of a new method (New Event package) should be re examined. (See Annex K)

When the IPTV Service Provider Discovery FE knows of a change to the Service Discovery, Service Provider or Selection Information, the IPTV Service Provider Discovery FE shall inform the OITF of this change by sending a SIP NOTIFY message.

6.1.3.2 User Registration and Network Authentication
6.1.3.2.1 User Identity Modelling

Every IMS Subscription shall be allocated a single unique default IMS Pubic Identity by the Service Platform Provider. This shall be the identity that is registered in the IMS domain when an OITF is turned on.

Every IPTV end-user in an IMS Subscription may be associated with an IMS Public User Identity by the Service Platform Provider.

This release complies with option 1 in Annex D.4 in [OIPF_ARCH2].

6.1.3.2.2 Procedure for User Registration and Authentication in a network relying on IMS on UNIS 8

The following shall be supported by the IG on the UNIS-8 interface for user registration:

  • Upon receipt of a registration request from the OITF, the IG shall maintain a binding between the sip instance feature tags and other feature tags declared in the registration request against the registered user, and the OITF device.

    Furthermore if the incoming registration request from the OITF includes a request for a GRUU, the IG shall allocate a new user name to the username (IMPU) portion of the URI (username@host) in the contact header information (see Annex N why the IG needs to do that). The new username will replace the existing username (IMPU) in the URI contact header information before the IG registers the user with the network.

    The IG shall maintain a binding between the IMPU included by the OITF in the incoming HNI-IGI request, the new username created by the IG, and the actual OITF device (extracted from the sip instance feature tag) from which the request came.

  • The IG shall support the 3GPP IMS registration procedure as per TS 124 503 [TS124503]. This includes handling of user authentication and authorization. This procedure shall be invoked when the IG powers up (in this case the default identity shall be registered) or upon receipt of an HTTP POST from the OITF with the REGISTER method.
  • The IG shall report to the OITF the final outcome of any OITF-initiated registration or de-registration.
  • The IG shall be stateful for all successful registrations until de-registration occurs.
  • For IG-initiated registration procedures, the IG is responsible for refreshing the registration before the registration expiry time.

The following shall be supported by the IG on the UNIS-8 interface for user de-registration:

  • The IG shall support the 3GPP IMS de-registration procedure as per TS 124 503 [TS124503]. This procedure shall be invoked upon receipt of an HTTP POST from the OITF with the REGISTER method and when the IG shuts down. Following the successful de-registration process, the IG shall remove all bindings related to the de-registered IMPU.

The following shall be supported in the IG on UNIS-8 for subscription to the Registration event:

  • For OITF-initiated registrations, the IG shall support subscription to the registration-state event package as per TS 124 503 [TS124503].
  • For IG-initiated registrations, and following a successful registration process, the IG shall SUBSCRIBE to the registration event package in accordance with TS 124 503 [TS124503].
  • The IG shall always validate the XML schema associated with the registration event package for both OITF and IG initiated registrations.
  • On request from the OITF, as well as for IG-initiated registrations, the IG shall refresh the registration-state event package subscription in accordance with TS 124 503 [TS124503].
  • For OITF-initiated registrations, the IG shall not store any registration event related data, but shall be stateful of the subscription. For IG-initiated registrations, the IG shall store registration event related data.
  • For OITF-initiated registrations, the IG shall support terminating a subscription to the registration-state event package as per TS 124 503 [TS124503].
  • For IG-initiated deregistration, and following the successful deregistration process, the IG shall terminate the subscription to the registration event package, as per TS 124 503 [TS124503].

The appropriate procedure (SIP Digest or IMS AKA) shall be followed by the IG for user registration and authentication.

6.1.3.3 Notification of Service Profile changes
6.1.3.3.1 Protocol over UNIS-8
6.1.3.3.1.1 Subscription to Notifications of Service Profile changes

If subscription to notification of changes is requested by the OITF, the IG shall send a SUBSCRIBE request to the IPTV Service Profile FE in accordance with RFC 5875 [XCAP-EVT] and RFC 5874 [XCAP-DFF].

The IG will process the request from the OITF and will generate a SUBSCRIBE request, that shall be as specified in [TS183063] section 5.1.5.1.

A well-known PSI mechanism shall be used in the request URI of the SUBSCRIBE request.

Note: For changes that apply to a very large number of subscribers, it is up to Service Provider to set up proper rules in the ‘notifier function’ to make the notification procedure scalable.

6.1.3.3.1.2 Processing of notifications

Refer to [TS183063] section 5.1.5.2

6.1.4 Protocols for Communication Services using SIP

6.1.4.1 CallerID
6.1.4.1.1 Procedures for Caller ID on UNIS-8
6.1.4.1.1.1 Instant Message based Caller ID

Instant Message based Caller ID is identical to Instant Messaging where the incoming message includes the caller id. For further details reference should be made to section 6.1.4.2.1, “Procedure for Instant Messaging on UNIS-8.”

6.1.4.1.1.2 IMS telephony service based caller identification

IMS telephony service based caller identification is based on the reception of the regular SIP session INVITE request. The incoming session request message includes the caller identification.

Support of this feature by the IG is optional.

6.1.4.2 Instant Messaging
6.1.4.2.1 Procedure for Instant Messaging on UNIS-8

Instant Messaging complies with the page mode of operation. The following shall be supported by the IG:

  • Incoming SIP MESSAGE messages to the IG must conform to OMA Instant Messaging using SIMPLE Draft OMA-TS-SIMPLE_IM-V1_0-20080820-D [SMPL-IM] to be acceptable for processing by the IG. Non-conformant SIP MESSAGE messages shall be rejected in accordance with [SMPL-IM] with the appropriate response code.
  • For an incoming SIP MESSAGE to the IG that is conformant to [SMPL-IM], the IG shall forward the message to the OITF using HNI-IGI Notification procedure and shall send a 202 Accepted to the originating end.
  • An outgoing SIP MESSAGE shall conform to [SMPL-IM]. The response to the SIP MESSAGE shall comply with [SMPL-IM].
  • The IG shall not retain any state information once the transaction is completed.
6.1.4.3 Presence
6.1.4.3.1 Procedure for Presence on UNIS-8

The following shall be supported by the IG for subscription to Presence:

  • An outgoing SUBSCRIBE message for a subscription to the Presence event, or cancellation of an existing subscription shall comply with [SMPL-PRES].
  • An incoming NOTIFY messages that does not comply with [SMPL-PRES] shall be rejected with the appropriate error code in accordance with [SMPL-PRES], and no further processing shall be performed.
  • On request from the OITF, the IG shall refresh the Presence subscription in accordance with [SMPL-PRES].
  • The IG shall not store any presence related data, but shall be stateful to the subscription.
  • The IG shall consider a subscription terminated if it is not renewed by the OITF.
6.1.4.3.2 Procedure for Publishing Presence Information on UNIS-8

When requested by the OITF, the IG shall support the SIP PUBLISH request and response in accordance with [SMPL-PRES] for publishing presence information.

6.1.4.4 Chatting
6.1.4.4.1 IM Session using MSRP over UNIS–8

The IG shall conform to the Client Procedure as described in OMA-TS-SIMPLE_IM-V1_0-20080820-D [SMPL-IM].

The IG shall perform path mapping between Chatting peers as indicated in section 5.5.3, “IM Session (Chat using MSRP).”

The IG shall handle translation of Chat session initiation and teardown procedures when requested by the OITF as per section 5.4.5, “Remote Management.”

The IG shall handle translation of outgoing and incoming MSRP chat message as per section 5.5.3, “IM Session (Chat using MSRP).”

6.1.4.4.2 IM Session using MSRP over NPI–3

The P2P Chatting communication enablers FE shall confirm to the IM Server procedures described in OMA TS SIMPLE_IM-V1_0-20080820-D [SMPL-IM].

6.1.4.5 Content Sharing
6.1.4.5.1 Procedures for Content Sharing on UNIS–8

Incoming SIP OPTIONS be acceptable for processing by the IG. Non-conformant SIP OPTIONS shall be rejected in with the appropriate response code.

When requested by the OITF, the IG shall support the SIP OPTIONS request and response in accordance with [SIP] for Capability querying.

Incoming SIP INVITE be acceptable for processing by the IG. Non-conformant SIP INVITE shall be rejected in with the appropriate response code.

Content Sharing is based on the reception of the regular SIP session INVITE request. The incoming session request message includes the SDP body.

Incoming SIP REFER be acceptable for processing by the IG. Non-conformant SIP REFER shall be rejected in with the appropriate response code.

Incoming SIP UPDATE be acceptable for processing by the IG. Non-conformant SIP UPDATE shall be rejected in with the appropriate response code.

6.2 SIP/SDP Reference Points within the Residential Network

6.2.1 IG as a B2BUA

The IG acts as a transparent B2BUA. The following defines the behaviour of the B2BUA of the IG:

  • The IG shall handle all IMS specific SIP headers; storing what is received from the network for re-insertion during outgoing requests (e.g. P-Preferred-Identity) according to [TS124503], and stripping those headers, before a request/response is sent to the OITF.
  • The IG, being service aware, shall support the algorithm defined in Annex P for all OITF-initiated sessions. The IG shall insert the appropriate SIP headers matching the requested service from the OITF conforming to the appropriate service specification in that regard. For undefined services any additional information, if required, shall be configured in the IG.

    The IG shall be service aware as well for all incoming sessions from the network. Services supported by the IG shall be identical to the ones supported for OITF-initiated sessions

  • The IG shall behave transparently to all SIP headers defined in [SIP], that are received from the network, and shall not alter them before being sent to the OITF. The same applies to SIP headers sent from the OIT to the network. The only exception being Call-ID, and where the IG shall insert its own, and shall bind it to the Call-ID of the OITF for the duration of the session.
  • The IG shall validate SIP requests/responses before accepting them. The various services specify the validation to perform by the IG.
  • The IG shall only validate compliance to XML schemas associated with event packages.
  • The IG shall validate SDP syntax for correctness.
  • In regard IMS registration, the IG shall perform the IMS registration when requested by the OITF. The IG is therefore stateful to IMS registration. However, graceful de-registration and re-registration shall be triggered by the OITF. The IG shall deal with all non-graceful circumstances
  • The specific sections on IMS registration specify detailed behaviour for the OITF and IG.
  • The IG shall be stateful, to all IMS sessions. Session initiation, termination, and session refresh can be triggered by the OITF or the network, depending on the specific service. The IG shall deal with non-graceful circumstances.

6.2.2 Protocols for IPTV Service Functions

6.2.2.1 Multicast content streaming with SIP session management

The IG shall support the procedures specified in [TS124503] for originating sessions.

6.2.2.1.1 Session Initiation

To initiate a multicast content streaming session, the OITF shall initiate a SIP INVITE to the IG that includes all the SIP headers in Table 5 and any other mandatory headers as per [SIP] (e.g. Via, Max-Forwards). The OITF shall also include an SDP offer conformant to step 1 in section 5.3.1.1.1, “Session Initiation”.

The IG, acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP INVITE includes all the mandatory headers as per [SIP] and the headers listed in Table 5. Following a successful validation, the IG shall generate an initial SIP INVITE request as specified in [TS124503] for originating sessions.

The IG shall forward any received SIP response to the OITF including the information in the SDP. A SIP 200 OK response shall include the SIP headers defined in Table 6 and all mandatory headers as per [SIP].

When the OITF receives the response to the SIP INVITE, it shall examine the media parameters in the received SDP. The OITF shall restrict the multicast content services that it joins according to the parameter (the a=bc_service_package attribute). received from the IPTV Control FE. However, if the OITF retrieved the IPTV user profile prior to session initiation, then it may ignore the=bc_service_package attribute.

If the OITF receives an error code with an Insufficient Bandwidth indication in the response from the IG, the OITF may perform a new SIP INVITE with a reduced maximum bandwidth for the multicast content service. This procedure may be repeated. If no agreement can be reached, the OITF may display a failure message to the user.

Finally to complete the SIP INVITE transaction, the OITF shall send a SIP ACK to the IG. The SIP ACK shall include the SIP headers defined in Table 7 and all mandatory headers as per [SIP].

6.2.2.1.2 Session Modification

To join a service outside the set of channels negotiated at session initiation, or to perform a bandwidth modification, the OITF shall generate a SIP re-INVITE request that includes all the mandatory headers as per [SIP] and the headers listed in Table 5.

The OITF shall include an SDP offer in the session modification request. The format of this request shall be the same as for a session initiation.

The IG shall handle session modification similar to session initiation.

6.2.2.1.3 Session Termination

To terminate a session, the OITF shall send a SIP BYE request to the IG that includes all headers listed in Table 8 and any other mandatory headers as per [SIP].

The IG, acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP BYE includes all the mandatory headers as per [SIP] and the headers listed in Table 8. Following a successful validation, the IG shall generate a SIP BYE as specified in [TS124503] for originating sessions. The IG shall forward the received response to the OITF. A SIP 200 OK response shall include the SIP headers defined in Table 9 and all mandatory headers as per [SIP].

Alternatively, on receipt of a SIP BYE request from the IPTV Control FE, the IG, after validating the request, shall forward the request to the OITF. The OITF shall respond with a SIP 200 OK response, which the IG forwards to the IPTV Control FE.

6.2.2.1.4 Session Refresh

It is the responsibility of the OITF to refresh the multicast content streaming session, as per [SES-TIMR] before the session expires. The IG shall consider a session terminated if it is not refreshed.

6.2.2.1.5 Content Reporting by an OIPF

To report watched content, the OITF shall send a SIP INFO request to the IG based one the SIP INFO framework, The SIP INFO request shall include all headers listed in Table 10 and all mandatory headers as per [SIP].

The IG, acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP INFO includes all mandatory headers as per [SIP] and the headers listed in Table 10. Following a successful validation, the IG shall generate a SIP INFO as specified in [TS124503] for originating sessions. The IG shall forward the received response to the OITF. A SIP 200 OK response shall include the SIP headers defined in Table 11 and all mandatory headers as per [SIP].

6.2.2.1.6 Management of Content Reporting

At any time, the IG can receive a SIP UPDATE to order the OITF to stop or start the reporting of watched multicast content.

The IG, acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP UPDATE includes all mandatory headers as per [SIP] headers listed in Table 12. Following a successful validation, the IG shall forward the SIP UPDATE to the OITF. The IG shall forward the received response to the network. A SIP 200 OK response shall include the SIP headers defined in Table 13 and all mandatory headers as per [SIP].

6.2.2.1.7 User-Initiated Activation of Network-Based multicast content streaming Time Shift

To activate time shift for a watched multicast content service, the OITF shall initiate a SIP re-INVITE to the IG that includes all the SIP headers in Table 5 and any other mandatory headers as per [SIP] (e.g. Via, Max-Forwards). The OITF shall also include an SDP offer conformant to step 1 in section 5.3.1.1.7.1, “User-initiated Activation of multicast content streaming Time Shift”.

The IG, acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP INVITE includes all the mandatory headers as per [SIP] and the headers listed in Table 5. Following a successful validation, the IG shall generate an initial SIP INVITE request as specified in [TS124503] for originating sessions.

The IG shall forward any received SIP response to the OITF including the information in the SDP. A SIP 200 OK response shall include the SIP headers defined in Table 6 and all mandatory headers as per [SIP].

When the OITF receives the response to the SIP re-INVITE, it shall examine the media parameters in the received SDP. The OITF shall conform to step 3 in section 5.3.1.1.7.1, “User-initiated Activation of multicast content streaming Time Shift.” The OITF shall store the parameters a:fmtp:iptv rtsp h-session, a:fmtp:iptv rtsp h-offset, and a:fmtp:iptv rtsp h-uri for later usage.

Finally to complete the SIP INVITE transaction, the OITF shall send a SIP ACK to the IG. The SIP ACK shall include the SIP headers defined in Table 7 and all mandatory headers as per [SIP].

6.2.2.1.8 User-Initiated De-activation of Network-Based multicast content streaming Time Shift

To de-activate a time shift for a watched multicast content service, the OITF shall initiate a SIP re-INVITE to the IG that includes all the SIP headers in Table 5 and any other mandatory headers as per [SIP] (e.g. Via, Max-Forwards). The OITF shall also include an SDP offer conformant to step 1 in section 5.3.1.1.7.2, “User Initiated De-activation of multicast content steaming Time Shift”. The IG, acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP INVITE includes all the mandatory headers as per [SIP] and the headers listed in Table 5. Following a successful validation, the IG shall generate an initial SIP INVITE request as specified in [TS124503] for originating sessions. The IG shall forward any received SIP response to the OITF including the information in the SDP. A SIP 200 OK response shall include the SIP headers defined in Table 6 and all mandatory headers as per [SIP]. Finally to complete the SIP INVITE transaction, the OITF shall send a SIP ACK to the IG. The SIP ACK shall include the SIP headers defined in Table 7 and all mandatory headers as per [SIP].

6.2.2.1.9 Retrieval of bandwidth parameter for FCC and/or RET enabled multicast content service

If the OITF intends to use FCC and/or RET, when the multicast content service is FCC and/or RET enabled, the OITF shall use the procedure defined in section 5.3.2.1.1Retrieval of Session Parameters” with the following modifications:

  • The Request-URI in the method line is set to well-known PSI for the multicast content service
  • The OITF shall include an HTTP body that shall include an SDP that includes one m line that matches the m line associated with the multicast content service the OITF intends to join first (see section 5.3.1.1.1, “Session Initiation”) with the following exceptions:
    • No b-line is included.
    • The following additional a attribute shall be included when the OITF intends to use RET:
      • a=rtcp-fb:<fmt> nack
        where <fmt> indicates the RTP payload type of the IP multicast stream that carries the content service.
    • The following additional a attribute shall be included when the OITF intends to use FCC:
      • a=rtcp-fb:<fmt> nack rai
        where <fmt> indicates the RTP payload type of the IP multicast stream that carries the content service.

The returned response shall include total bandwidth of the multicast content service with the highest bandwidth and the overhead bandwidth required for FCC and/or RET.

6.2.2.2 Unicast content streaming with SIP session management
6.2.2.2.1 Retrieving missing parameters in the SDP prior to session setup using SIP OPTIONS

If the OITF does not have all the necessary parameters, namely the FEC information including bandwidth for FEC streams and the transport protocol, to form the SDP for a unicast content streaming session, the OITF shall retrieve missing SDP parameters using the following procedure:

The OITF shall initiate a SIP OPTIONS request to the IG that includes all the SIP headers in Table 14 and any other mandatory headers as per [SIP].

The IG, acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP OPTIONS includes all the mandatory headers as per [SIP] and the headers listed in Table 14. Following a successful validation, the IG shall generate an initial SIP OPTIONS request as specified in [TS124503] for originating UA.

The IG shall forward any received SIP response to the OITF including the information in the SDP. A SIP 200 OK response shall include the SIP headers defined in Table 15 and all mandatory headers as per [SIP]. The SDP included in the SIP 200 OK response shall include the missing parameters according to section 6.1.2.2.1.2, “Protocol over NPI-4, NPI-19, NPI-26”.

6.2.2.2.2 Session Initiation

To initiate a unicast content streaming session, the OITF shall initiate a SIP INVITE to the IG that includes all the SIP headers in Table 16 and any other mandatory headers as per [SIP] (e.g. Via, Max-Forwards). The OITF shall also include an SDP offer conformant to step 1 in section 5.3.2.1.2, “Session Initiation”.

The IG, acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP INVITE includes all the mandatory headers as per [SIP] and the headers listed in Table 16. Following a successful validation, the IG shall generate an initial SIP INVITE request as specified in [TS124503] for originating sessions.

The IG shall forward any received SIP response to the OITF including the information in the SDP. A SIP 200 OK response shall include the SIP headers defined in Table 17 and all mandatory headers as per [SIP]. For a description of the received SDP answer, refer to section 5.3.2.1.2, “Session Initiation”.

When parsing the b=RR:<bandwidth-value> line in the received SDP answer: if the bandwidth value agreed is non-zero, then the OITF shall send RTCP RRs and shall not send RTSP keep-alive messages. If the bandwidth value received is zero, then the OITF shall not send RTCP RRs but instead it shall send RTSP keep-alive messages.

If the OITF receives an error code with an Insufficient Bandwidth indication in the response from the IG, the OITF may perform a new SIP INVITE with a reduced maximum bandwidth for the content. This procedure may be repeated. If no agreement can be reached, the OITF may display a failure message to the user.

Finally to complete the SIP INVITE transaction, the OITF shall send a SIP ACK to the IG. The SIP ACK shall include the SIP headers defined in Table 18 and all mandatory headers as per [SIP].

6.2.2.2.3 Session Termination

To terminate a session, the OITF shall send a SIP BYE request to the IG that includes all headers listed in Table 19 and any other mandatory headers as per [SIP].

The IG, acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP BYE includes all the mandatory headers as per [SIP] and the headers listed in Table 19. Following a successful validation, the IG shall generate a SIP BYE as specified in [TS124503] for originating sessions. The IG shall forward the received response to the OITF. A SIP 200 OK response shall include the SIP headers defined in Table 20 and all mandatory headers as per [SIP].

Alternatively, on receipt of a SIP BYE request from the IPTV Control FE, the IG, after validating the request, shall forward the request to the OITF. The OITF shall respond with a SIP 200 OK response, which the IG forwards to the IPTV Control FE.

6.2.2.2.4 Refresh

It is the responsibility of the OITF to refresh the unicast content streaming session, as per [SES-TIMR] before the session expires. The IG shall consider a session terminated if it is not refreshed.

6.2.2.3 Pay Per View multicast content service with SIP session management
6.2.2.3.1 PPV service initiation without existing multicast content streaming session
The OITF shall follow the same procedure for multicast content service in section 6.2.2.1.1, “Session Initiation” to initiate a PPV session. The SDP shall conform to sections 6.2.2.1.1, “Session Initiation” and 5.3.6.1.1, “PPV Service initiation without existing multicast content streaming session”.
6.2.2.3.2 Switching from a PPV service to a multicast content service

To join a multicact content service outside the set of negotiated channels for the ongoing scheduled session, the OITF shall request session modification as per section 6.2.2.1.2, “Session Modification.”

If the channel the OITF intends to joins is already negotiated, the OITF shall follow the normal procedures for leaving and joining multicast channels.

6.2.2.3.3 Switching to a PPV service from a multicact content service or another PPV

If the PPV service the OITF intends to join is outside the set of channels negotiated within the ongoing scheduled session, the OITF shall request session modification as per section 6.2.2.1.2, “Session Modification.”

If the channel the OITF intends to joins is already negotiated, the OITF shall follow the normal procedures for leaving and joining multicast channels.

6.2.2.3.4 Session Termination
Session termination is identical to session termination of a multicast content service as depicted in section 6.1.2.1.1.2, “Session Initiation and Modification.”
6.2.2.4 Parental Control for Scheduled Content using SIP
6.2.2.4.1 What is on TV – OITF initiated
6.2.2.4.1.1 Procedure for Subscription to Parental Control Watched Content Event Package (OITF Initiated)

To subscribe to the event package related to parental control watched content for a registered IMPU, the OITF with the appropriate parental control authority over the user shall issue a SIP SUBSCRIBE request to the IG that includes the SIP headers as per Table 27. In addition, the OITF shall include all mandatory SIP headers as per [SIP] and that are missing from the table (e.g. Via, Max-Forwards).

The IG acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP SUBSCRIBE request includes all mandatory SIP headers as per [SIP] and the headers listed in Table 27. Following successful validation, the IG shall support the 3GPP IMS subscription to the event package as per [TS124503]. This includes inserting any additional mandatory SIP headers as required by [TS124503].

The IG shall return to the OITF the response received from the network.

The IG shall ensure that the OITF is synchronized with the timer for refreshing the subscription as desired by the network.

When a SIP NOTIFY is received by the IG, the IG acting as a B2BUA in accordance with section 6.2.1 shall validate that the body of the incoming SIP NOTIFY is compliant to XML schema associated with the event package before sending it to the OITF. The incoming NOTIFY shall include the SIP headers depicted in Table 29 and any other mandatory SIP headers as per [SIP].

The OITF shall validate that the body of SIP NOTIFY is compliant to the XML schema associated with the parental control watched content event package. Following a successful validation, the OITF shall send a SIP 200 OK response to the IG. The SIP 200 OK response shall include the SIP headers depicted in Table 30 and any other mandatory SIP headers as per [SIP].

The IG acting as a B2BUA in accordance with section 6.2.1 shall first validate the SIP 200 OK response (or any other received response) before sending it to the network.

For all subsequent SIP NOTIFY requests received using the same SIP dialog, the IG acting as a B2BUA in accordance with section 6.2.1 shall perform the same processing. The IG shall consider a subscription terminated if it is not renewed by the OITF.

6.2.2.4.1.2 Procedure for Refreshing an existing Subscription to Parental Control Watched Content Event Package (OITF Initiated)
The procedure for refreshing a subscription is the same as the procedure for initiating a subscription.
6.2.2.4.2 Parental Control
6.2.2.4.2.1 Parental Control Blocking Request – OITF Initiated

An OITF with proper parental control authority that desires to block a watched content for an IPTV end user under its authority shall initiate an instant message for that purpose by sending to the IG a SIP MESSAGE that includes all the SIP headers in Table 31 and any other mandatory SIP headers as per [SIP]. The content of the SIP MESSAGE shall include the body associated with “urn:oipf:application:iptv-parental-control”.

The IG acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP MESSAGE includes all the mandatory headers as per [SIP] and the headers listed in Table 31. Following a successful validation, the IG shall generate a SIP MESSAGE request to the network conformant to [SIP-IM] and [TS124503].

The IG acting as a B2BUA in accordance with section 6.2.1 shall forward any received SIP response to the OITF. A SIP 200 OK response shall include the SIP headers defined in Table 32 and any other mandatory SIP headers as per [SIP].

6.2.2.4.2.2 IPTV End-user OITF Reception of a Blocking Request related to Parental Control

When the IG receives any SIP MESSAGE related to parental control, as indicated by the content type (being set to “urn:oipf:application:iptv-parental-control”) and destined for a user, the IG acting as a B2BUA in accordance with section 6.2.1 shall validate that the incoming SIP MESSAGE is conformant to [SIP-IM] and [TS124503] and includes all the mandatory headers as per [SIP], [TS124503] and all the headers listed in Table 33. Following the successful validation, the IG shall forward the SIP MESSAGE to the appropriate OITF.

The OITF shall act on the incoming SIP MESSAGE in accordance with section 5.3.7.2.2, “” before it sends a response back to the IG.

When the SIP response is received from the OITF, the IG acting as a B2BUA in accordance with section 6.2.1 shall forward it to the network. The response shall include the SIP headers as per [SIP] and shall be validated by the IG before being sent to the network.

6.2.2.5 Network-based User Notification Services using SIP
6.2.2.5.1 Notification Request Setup

To initiate a notification request, the OITF shall initiate a SIP MESSAGE to the IG that includes all the SIP headers in Table 34 and any other mandatory SIP headers as per [SIP] (e.g. Via, Max-Forwards). The body of the SIP MESSAGE shall include the MIME type defined in section 5.3.8.6, “XML Schema for Notification Request for Broadcast Reminder”.

The IG, acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP MESSAGE includes all the mandatory headers as per [SIP] and the headers listed in Table 34. Following a successful validation, the IG shall generate a SIP MESSAGE request as specified in [TS124503] for originating UA.

The IG shall forward any received SIP response to the OITF. A SIP 200 OK response shall include the SIP headers defined in Table 35 and any other mandatory SIP headers as per [SIP].

6.2.2.6 Content Bookmarking using SIP
6.2.2.6.1 Storing Content Bookmarks

If the OITF decides to store a content bookmark for watched content during a multicast of unicast content streaming session, and if permitted by the network to do so, the OITF shall initiate a SIP INFO request to the IG based on the SIP INFO framework. The SIP INFO request shall include all the SIP headers in Table 38 and any other mandatory SIP headers as per [SIP] (e.g. Via, Max-Forwards). The body of the SIP INFO message shall include the MIME type defined in section 5.3.9.5, “XML Schema for Content Bookmarking”.

The IG, acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP INFO includes all the mandatory headers as per [SIP] and the headers listed in Table 38. Following a successful validation, the IG shall generate a SIP INFO request as specified in [TS124503] for originating UA.

The IG shall forward any received SIP response to the OITF. A SIP 200 OK response shall include the SIP headers defined in Table 39 and any other mandatory SIP headers as per [SIP].

6.2.2.6.2 Network Management of Bookmark Storage Requests

At any time, the IG can receive a SIP UPDATE request from the network to remove or re-instate support for the reception of the CoD-Bookmark Info Package, according to section 12 of [PSS-MBMS] from an OITF.

The IG, acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP UPDATE request includes all the mandatory headers as per [SIP] and the headers listed in Table 40. Following a successful validation, the IG shall forward the SIP UPDATE request to the OITF. The IG shall forward the received response to the network. A SIP 200 OK response shall include the SIP headers defined in Table 41 and any other mandatory SIP headers as per [SIP].

6.2.2.6.3 Content-related bookmark retrieval

The OITF shall follow the procedure defined in section 6.2.2.2.2, “Session Initiation” for establishing a unicact streaming session. Following that, the IG shall receive a SIP INFO request from the network, based on the SIP INFO framework, and that includes the bookmarks list related to the requested content. The body of the SIP INFO request shall include the XML schema depicted in section 5.3.9.5, “XML Schema for Content Bookmarking” and related to the CoD-Bookmark Info Package.

The IG, acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP INFO request includes all the mandatory headers as per [SIP] and the headers listed in Table 36. Following a successful validation, the IG shall forward the SIP INFO request to the OITF. The IG shall forward the received response to the network.

6.2.2.7 Local PVR Service using SIP
6.2.2.7.1 OIPF Initiated PVR Service Capture Request

To initiate a local PVR capture request, the OITF shall initiate a SIP MESSAGE to the IG that includes all the SIP headers in Table 42 and any other mandatory SIP headers as per [SIP] (e.g. Via, Max-Forwards). The body of the SIP MESSAGE shall include the MIME type defined in section 5.3.10.2, “XML Schema for PVR Service”.

The IG, acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP MESSAGE includes all the mandatory headers as per [SIP] and the headers listed in Table 42. Following a successful validation, the IG shall generate a SIP MESSAGE request as specified in [TS124503] for originating UA.

The IG shall forward any received SIP response to the OITF. A SIP 200 OK response shall include the SIP headers defined in Table 43 and any other mandatory SIP headers as per [SIP].

6.2.2.7.2 PVR Service Capture Validation

At any time, the IG can receive a SIP MESSAGE request from the network related to an outstanding local PVR request.

The IG, acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP MESSAGE request includes all the mandatory headers as per [SIP] and the headers listed in Table 44. The body of the SIP MESSAGE request shall include the XML schema defined in section 5.3.10.2, “XML Schema for PVR Service”. Following a successful validation, the IG shall forward the SIP INFO request to the OITF. The IG shall forward the received response to the network.

6.2.2.8 Network PVR (nPVR) using SIP
6.2.2.8.1 OIPF Initiated PVR Service Capture Request

To initiate a network PVR capture request, the OITF shall initiate a SIP MESSAGE to the IG that includes all the SIP headers in Table 42 and any other mandatory SIP headers as per [SIP] (e.g. Via, Max-Forwards). The body of the SIP MESSAGE shall include the MIME type defined in section 5.3.10.2, “XML Schema for PVR Service” with the qualifications listed in section 5.3.11.1, “Protocol over HNI-IGI – HTTP Option”.

The IG, acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP MESSAGE includes all the mandatory headers as per [SIP] and the headers listed in Table 42. Following a successful validation, the IG shall generate a SIP MESSAGE request as specified in [TS124503] for originating UA.

The IG shall forward any received SIP response to the OITF. A SIP 200 OK response shall include the SIP headers defined in Table 43 and any other mandatory SIP headers as per [SIP].

6.2.2.8.2 PVR Service Capture Outcome

At any time, the IG can receive a SIP MESSAGE request from the network reporting the outcome of a network PVR. The IG, acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP MESSAGE request includes all the mandatory headers as per [SIP] and the headers listed in Table 44. The body of the SIP MESSAGE request shall include the XML schema defined in section 5.3.11.2, “XML schema for nPVR recording result”. Following a successful validation, the IG shall forward the SIP MESSAGE request to the OITF. The IG shall forward the received response to the network.

6.2.2.9 Session Transfer using SIP
6.2.2.9.1 Generic Procedures
6.2.2.9.1.1 Transferee Session Initiation Procedures Related to a Transferred Session

To initiate a session related to a transferred session, the transferee OITF shall initiate a SIP INVITE to the IG that includes all the headers as per Table 16 and other mandatory headers as per [SIP] with the following additions:

The OITF shall also include an SDP conformant to step 1 as defined in section 5.3.2.1.2, “Session Initiation”. The IG acting as a B2BUA in accordance with section 6.2.1 shall validate that the request includes all the mandatory SIP headers as per [SIP] and headers listed in Table 16. Furthermore, the IG perform the steps depicted in section 6.2.2.9.1.2, “IG handling of session transfers when the transferor and transferee are behind the same IG”.

Following that, the IG acting as a B2BUA in accordance with section 6.2.1 shall generate an initial SIP INVITE request to the network as specified in [TS124503] for originating sessions.

The IG acting as a B2BUA in accordance with section 6.2.1 shall forward any received SIP response to the OITF including the information in the SDP. A SIP 200 OK response shall include the SIP headers defined in Table 17 and all mandatory headers as per [SIP]. For a description of the received SDP answer, refer to section 5.3.2.1.2, “Session Initiation”.

When parsing the b=RR:<bandwidth-value> line in the received SDP answer: if the bandwidth value agreed is non-zero, then the transferee OITF shall send RTCP RRs and shall not send RTSP keep-alive messages. If the bandwidth value received is zero, then the transferee OITF shall not send RTCP RRs but instead it shall send RTSP keep-alive messages.

If the transferee OITF receives an error code with an Insufficient Bandwidth indication in the response from the IG, the OITF may perform a new SIP INVITE with a reduced maximum bandwidth for the content. This procedure may be repeated. If no agreement can be reached, the OITF may display a failure message to the user.

Finally to complete the SIP INVITE transaction, the transferee OITF shall send a SIP ACK to the IG. The SIP ACK shall include the SIP headers defined in Table 18 and all mandatory headers as per [SIP].

6.2.2.9.1.2 IG handling of session transfers when the transferor and transferee are behind the same IG

Upon receipt by the IG acting as a B2BUA in accordance with section 6.2.1 of a SIP INVITE related to a session transfer (as indicated by the presence of the Replace header), if the transferor and the transferee are behind the same IG, then during the session transfer procedure, the transferor OITF shall receive a SIP re-INVITE request from the IG and where the SIP headers are conformant to Table 16 with the qualification in step 1 in section 5.3.13.1.1.2, “IG handling of Session Initiation Requests related to a session transfer”. The SDP shall conform to step 1 in section 5.3.13.1.1.2, “IG handling of Session Initiation Requests related to a session transfer” as well.

The OITF shall conform to step 2 in section 5.3.13.1.1.2, “IG handling of Session Initiation Requests related to a session transfer” and subsequently shall send a SIP 200 OK response, and where the SIP headers are set according to Table 17 with the qualification in step 2 in section 5.3.13.1.1.2, “IG handling of Session Initiation Requests related to a session transfer”.

Subsequently, the transferor OITF shall receive a SIP ACK form the IG acting as a B2BUA in accordance with section 6.2.1 conforming to Table 14 with the exception that the SIP headers are populated appropriately given that the ACK is sent from the IG to the OITF.

Following that, the IG shall perform steps 4 and 5 as depicted in section 5.3.13.1.1.2, “IG handling of Session Initiation Requests related to a session transfer”.

Note that this entire procedure is bypassed if the transferor and transferee are not behind the same IG.

6.2.2.9.2 Session Transfer via Push Mode
6.2.2.9.2.1 Target discovery by the Transferor OITF

An OITF that wants to locate a target OITF for session transfer purposes shall perform the procedures described in section 6.2.3.2.4, “Procedure for Subscription to the Registration-State Event Package”.

Subsequently a target OITF (transferee OITF) can be selected from the returned information.

6.2.2.9.2.2 Transferee OITF Initiating a session transfer

A transferor OITF that desires to transfer a session to a transferee OITF shall initiate a SIP REFER request to the IG that includes all the SIP headers in Table 46 and any other mandatory headers as per [SIP] (e.g. Via, Max-Forwards). The body of the SIP REFER message shall include the MIME type defined in section 5.3.13.2, “XML Schema for Session Transfer Information included in a session transfer request from the transferor to transferee”.

The IG, acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP REFER includes all the mandatory headers as per [SIP] and the headers listed in Table 46. Following a successful validation, the IG shall generate a SIP REFER request as specified in [TS124503] for originating UA.

The IG shall forward any received SIP response to the OITF. A SIP 202 OK response shall include the SIP headers defined in Table 47 and any other mandatory SIP headers as per [SIP].

Later at some point in time, the IG the shall receive a SIP NOTIFY request that reports the outcome of the session transfer request.

The IG, acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP NOTIFY request includes all the mandatory headers as per [SIP] and the headers listed in Table 48. Following a successful validation, the IG shall forward the SIP NOTIFY request to the OITF. The IG shall forward the received response to the network. The SIP 200 OK response shall include the SIP headers in Table 49.

6.2.2.9.2.3 Transferee OITF Handling of an Incoming Transfer

At some point in time, during a session transfer, the IG the shall receive a SIP REFER request destined for a transferee OITF.

The IG, acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP REFER includes all the mandatory headers as per [SIP] and the headers listed in Table 46. The body of the SIP MESSAGE request shall include the XML schema defined in section 5.3.13.2, “XML Schema for Session Transfer Information included in a session transfer request from the transferor to transferee”. Following a successful validation, the IG shall forward the SIP REFER request to the transferee OITF.

The transferee OITF shall examine the incoming SIP REFER request as per step 2 in section 5.3.13.1.2.3, “Transferee OITF Receiving an Incoming Session Transfer Request – Push Mode”.

Once the transferee OITF accepts the incoming SIP REFER request, it shall send a SIP 202 OK response to the IG. The SIP 202 OK response shall include the SIP headers defined in Table 47 and all mandatory headers as per [SIP]. The IG shall validate the SIP 202 OK response before forwarding it to the network for delivery to the transferor OITF.

The transferee OITF shall then follow step 4 in section 5.3.13.1.2.3, “Transferee OITF Receiving an Incoming Session Transfer Request – Push Mode”, and proceed to initiate a new session according to the procedure in section 6.2.2.9.1.1, “Transferee Session Initiation Procedures Related to a Transferred Session”.

Once the session setup outcome is determined, the transferee OITF shall initiate a SIP NOTIFY request to the IG that includes all the SIP headers in Table 48 and any other mandatory headers as per [SIP] (e.g. Via, Max-Forwards).

The IG, acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP NOTIFY includes all the mandatory headers as per [SIP] and the headers listed in Table 48. Following a successful validation, the IG shall generate a SIP NOTIFY request as specified in [TS124503] for originating UA.

The IG shall forward any received SIP response to the transferee OITF. A SIP 200 OK response shall include the SIP headers defined in Table 49 and all mandatory headers as per [SIP].

6.2.2.10 Purchase of Digital Media service using SIP
6.2.2.10.1 Request Initiation for Purchase of Digital Media Service

To initiate a request to purchase digital media selected by an end-user within a unicast content streaming session, the OITF shall initiate a SIP INFO request to the IG, based on SIP INFO framework, that includes all the SIP headers in Table 21 and any other mandatory SIP headers as per [SIP] (e.g. Via, Max-Forwards). The SIP INFO request body shall include an XML document as defined in section 5.3.5.8, “XML Schema for Purchase Request of Digital Media”, which is associated with the Digital-Media-Purchase Info Package. The initiation of the SIP INFO request assumes that the IPTV Control FE indicated its willingness to receive the Digital-Media-Purchase Info Package.

The IG, acting as a B2BUA shall validate that the SIP INFO request includes all the mandatory headers as per [SIP] and the headers listed in Table 21. Following a successful validation, the IG shall generate a SIP INFO request as specified in [TS124503] for originating UA.

The IG shall forward any received SIP response to the OITF. A SIP 200 OK response shall include the SIP headers defined in Table 22 and any other mandatory SIP headers as per [SIP].

6.2.2.10.2 Network Management of purchase requests of Digital Media

At any time, the IG can receive a SIP UPDATE request from the network to remove or re-instate support for the reception of the Digital-Media-Purchase Info package from an OITF.

The IG, acting as a B2B UA shall validate that the SIP UPDATE request includes all the mandatory headers as per [SIP] and the headers listed in Table 23. Following a successful validation, the IG shall forward the SIP UPDATE request to the OITF. The IG shall forward the received response to the network. A SIP 200 OK response shall include the SIP headers defined in Table 24 and any other mandatory SIP headers as per [SIP].

6.2.2.11 Personalized Channel (Network Centric Model) using SIP
6.2.2.11.1 Request Initiation for Personal Channel

To initiate a session for a personalized channel, the OITF shall follow section 6.2.2.2.2, “Session Initiation” with the difference that the content identifier in this case for both the Request-URI and the To fields is set to the personalized channel identifier.

The IG, acting as a B2BUA in accordance with section 6.2.1 shall follows as well the same steps in section 6.2.2.2.2.

6.2.3 Protocols for Service Access and Control Functions

6.2.3.1 Service Provider Discovery

To retrieve the list of Service Providers, the OITF shall issue a SIP SUBSCRIBE request to the IG that includes the SIP headers as per Table 50. In addition, the OITF shall include all mandatory SIP headers as per [SIP] and that are missing from the table (e.g., Via, Max-Forwards).

The OITF shall include a message body associated with the appid “urn:oipf:application:iptv-SP-discovery” representing the capabilities of the OITF.

The IG acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP SUBSCRIBE request includes all the mandatory headers as per [SIP] and the headers listed in Table 50. Following a successful validation, the IG shall follow the procedure in section 6.1.3.1, “Service Provider Discovery”, when it comes to initiating a SIP SUBSCRIBE towards the Service Provider.

The IG acting as a B2BUA in accordance with section 6.2.1 shall return to the OITF the response received from the network as per step 3b in section 6.1.3.1, “Service Provider Discovery”.

The IG shall ensure that the OITF is synchronized with the timer for refreshing the subscription as desired by the network.

The OITF is responsible for refreshing the subscription based on the received timer from the network. The IG shall consider a subscription terminated if it is not refreshed by the OITF before expiry.

The procedure for refreshing a subscription is the same as the procedure for initiating a subscription.

6.2.3.2 User Registration and Network Authentication
6.2.3.2.1 Procedure for User Registration

This procedure shall be invoked in the following cases:

  • When the OITF is turned on
  • When an IPTV end user explicitly logs on at an OITF using an Alias or IMPU.

The IG shall extract the deviceID from the sip instance feature tag.

If the deviceID and the IMPU match another deviceID and IMPU whose state is held in the IG, the IG shall conclude that the OITF has undergone a restart and shall proceed to immediately clear all SIP sessions belonging to the OITF. Following that, the IG shall de-register all users registered from that OITF.

If GRUU is not requested, the IG shall not perform IMS registration when the IMPU is already registered; however, the IG shall maintain a binding between the Alias/IMPU, the OITF device from which the registration is received (extracted from the sip instance feature tag), and the new contact information including the sip instance feature tag, which provides an easy way to guarantee uniqueness within the Address of Record (AOR).

If the identity being registered is not the default identity and if the default identity is not bound to any OITF in the consumer network, then the IG shall deregister the default identity at the end of this procedure.

If the identity being registered is the default identity, and if the default identity is not bound to any OITF in the consumer network, then the IG shall deregister its contact address for the default identity at the end of this procedure.

To register an identity, the OITF shall issue a SIP REGISTER request to the IG that includes the SIP headers as per Table 58. In addition, the OITF shall include all mandatory SIP headers as per [SIP] and that are missing from the table (e.g., Via, Max-Forwards).

The IG acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP REGISTER request includes all the mandatory headers as per [SIP] and the headers listed in Table 58. Following a successful validation, the IG shall support the 3GPP IMS registration procedure as per TS 124 503 [TS124503]. This includes handling of user authentication and authorization., and including any additional SIP headers that are mandatory based on TS 124 503 [TS124503].

Once the IG completes the IMS registration procedure, it shall return a SIP 200 OK to the OITF that includes the SIP headers listed in Table 59.

Following a successful registration, the IG shall maintain a binding between the Alias/IMPU, the OITF device from which the registration is received (extracted from the sip instance feature tag), and the new contact information including the sip instance feature tag for the duration of the registration.

6.2.3.2.2 Procedure for User Deregistration

This procedure is invoked in the following cases:

  • The OITF is turned off
  • An IPTV end user, who has registered with his own IMPU, deregisters from an OITF

If GRUU is not supported for this registration, the IG shall not perform IMS deregistration when an IMPU is already registered on multiple OITFs, but the IG shall remove the binding between the IMPU and the OITF from which the user has deregistered (extracted from the sip instance feature tag) including the contact information (including the sip instance feature tag).

If GRUU is not supported for this registration, the IG shall perform the IMS deregistration procedure if the IMPU was bound to a single OITF.

Note that if following the successful de-registration of the IMPU, and if there are no more OITFs still turned on in the consumer network, the IG shall re-register the default identity from the IG point of view.

To de-register an identity, the OITF shall issue a SIP REGISTER request to the IG that includes the SIP headers as per Table 58. The OITF shall set the expires parameter to 0 for the contact to be de-registered. In addition, the OITF shall include all mandatory SIP headers as per [SIP] and that are missing from the table (e.g., Via, Max-Forwards).

The IG acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP REGISTER request includes all the mandatory headers as per [SIP] and the headers listed in Table 58. Following a successful validation, the IG shall support the 3GPP IMS de-registration procedure as per TS 124 503 [TS124503]. Once the IG completes the IMS de-registration procedure, it shall return a SIP 200 OK to the OITF that includes the SIP headers listed in Table 59.

Note that the OITF shall tear down and release all SIP sessions involving the contact to be de-registered prior to de-registering that contact. If the OITF does not tear down those SIP sessions before initiating the de-registration request to the IG, the IG shall tear down those sessions before performing the deregistration procedure described above.

Following a successful de-registration, the IG shall remove the binding between the Alias/IMPU, the OITF device from which the registration is received (extracted from the sip instance feature tag).

6.2.3.2.3 Procedure for Refreshing a Registration

This procedure shall be initiated by the OITF at any time before the expiry of the registration refresh timer.

The procedure is the same as the procedure for registering a user. A registration shall be terminated if it is not refreshed before the expiry of the registration refresh timer.

For an OITF-initiated registration, the IG shall consider a registration terminated (that is the user de-registered) if it is not refreshed. In this case, the IG executes the procedures associated with user deregistration.

6.2.3.2.4 Procedure for Subscription to the Registration-State Event Package

This procedure shall be invoked by the OITF immediately after the successful registration of an IMPU.

To subscribe to the registration-state event package for the successfully registered IMPU, the OITF shall issue a SIP SUBSCRIBE request to the IG that includes the SIP headers as per Table 60. In addition, the OITF shall include all mandatory SIP headers as per [SIP] and that are missing from the table (e.g., Via, Max-Forwards).

The IG acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP SUBSCRIBE request includes all the mandatory headers as per [SIP] and the headers listed in Table 60. Following a successful validation, the IG shall support the 3GPP IMS subscription to registration-event package as per TS 124 503 [TS124503]. This includes inserting any additional SIP headers that are mandatory based on TS 124 503 [TS124503].

The IG acting as a B2BUA in accordance with section 6.2.1 shall return to the OITF the response received from the network.

The IG shall ensure that the OITF is synchronized with the timer for refreshing the subscription as desired by the network.

When a SIP NOTIFY request is received by the IG, the IG acting as a B2BUA in accordance with section 6.2.1 shall validate the incoming NOTIFY request before sending it to the OITF. The incoming NOTIFY request shall include the SIP headers depicted in Table 62 and any other mandatory headers as per [SIP].

The OITF shall validate that the SIP body is compliant to the XML schema associated with the registration-state event package. Following a successful validation, the OITF shall send a SIP 200 OK response to the IG. The SIP 200 OK response shall include the SIP headers depicted in Table 63. The IG acting as a B2BUA in accordance with section 6.2.1 shall first validate the SIP 200 OK response (or any other received response) before sending it to the network.

For all subsequent SIP NOTIFY requests using the same SIP dialog, the IG acting as a B2BUA in accordance with section 6.2.1 shall perform the same processing.

6.2.3.2.5 Procedure for Terminating a Subscription to the Registration-State Event Package

The OITF is responsible for refreshing the subscription based on the received timer from the network. The IG shall consider a subscription terminated if it is not refreshed by the OITF before expiry.

The procedure for refreshing a subscription is the same as the procedure for initiating a subscription.

6.2.3.3 Notification of Service Profile changes
6.2.3.3.1 Subscription to Notifications of Service Profile changes (xcap-diff)

To subscribe for the purpose of receiving notification of changes in a service profile, the OITF shall issue a SIP SUBSCRIBE request to the IG that includes the SIP headers as per Table 54. In addition, the OITF shall include all mandatory SIP headers as per [SIP] and that are missing from the table (e.g., Via, Max-Forwards). The body of the SIP SUBSCRIBE request shall include the list of the requested URIs associated with the XCAP resources for which the subscription is issued. The MIME Type of the document inserted in the body will be signalled by the Content-Type header set to “application/vnd.oipf.userprofile+xml”.

The IG acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP SUBSCRIBE request includes all the mandatory headers as per [SIP] and the headers listed in Table 54. Following successful validation, the IG shall support the 3GPP IMS subscription to event packages and shall send a SUBSCRIBE request to the IPTV Service Profile FE in accordance with [TS124503], [SIP-EVNT] and [XCAP-EVT].

The IG acting as a B2BUA in accordance with section 6.2.1 shall return to the OITF the response received from the network.

The IG shall ensure that the OITF is synchronized with the timer for refreshing the subscription as desired by the network.

When a SIP NOTIFY request is received by the IG, the IG acting as a B2BUA in accordance with section 6.2.1 shall validate the incoming NOTIFY request includes the SIP headers depicted in Table 56 and any other mandatory headers as per [SIP].

The OITF shall validate that the SIP body is compliant to the XML schema associated with application/XCAP-diff+xml as defined in [XCAP-EVT] and [XCAP-DFF]. Following a successful validation, the OITF shall send a SIP 200 OK response to the IG. The SIP 200 OK response shall include the SIP headers depicted in Table 57. The IG acting as a B2BUA in accordance with section 6.2.1 shall first validate the SIP 200 OK response (or any other received response) before sending it to the network.

For all subsequent SIP NOTIFY requests received using the same SIP dialog, the IG acting as a B2BUA in accordance with section 6.2.1 shall perform the same processing. The IG shall consider a subscription terminated if it is not renewed by the OITF.

6.2.3.3.2 Procedure for Refreshing a Subscription to receive notifications of Service Profile changes over the HNI-IGI SIP option
The procedure for refreshing a subscription is the same as the procedure for initiating a new subscription.

6.2.4 Protocols for Communication Services using SIP

6.2.4.1 Procedure for Instant Message Based CallerID
The procedure for caller id is identical to the reception of an instant message as depicted in section 6.2.4.2.2, “Procedure for Incoming Instant Messaging”.
6.2.4.2 Instant Messaging
6.2.4.2.1 Procedure for Outgoing Instant Messaging

To initiate an instant message, the OITF shall send a SIP MESSAGE to the IG that includes all the SIP headers in Table 69 and any other mandatory headers as per [SIP]. The content of the SIP MESSAGE shall be conformant to RFC 3428 [SIP-IM].

The IG acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP MESSAGE includes all the mandatory headers as per [SIP] and the headers listed in Table 69. Following a successful validation, the IG shall generate a SIP MESSAGE request to the network conformant to [SMPL-PRES].

The IG shall forward any received SIP response to the OITF. A SIP 200 OK response shall include the SIP headers defined in Table 70 and all mandatory headers as per [SIP].

6.2.4.2.2 Procedure for Incoming Instant Messaging

When the IG receives any SIP MESSAGE destined for a user, the IG acting as a B2BUA in accordance with section 6.2.1 shall validate that the incoming SIP MESSAGE is conformant to [SMPL-PRES] and includes all the mandatory headers as per [SIP] and all the headers listed in Table 71. Following the successful validation, the IG shall forward the SIP MESSAGE to the appropriate OITF.

When the SIP response is received from the OITF, the IG acting as a B2BUA in accordance with section 6.2.1 shall forward it to the network. The response shall include the SIP headers in Table 70 and shall be validated by the IG before being sent to the network.

6.2.4.3 Presence
6.2.4.3.1 Procedure for Subscribing to Presence Information

To subscribe to the presence event package for any registered IMPU, the OITF shall issue a SIP SUBSCRIBE request to the IG that includes the SIP headers as per Table 88. In addition, the OITF shall include all mandatory SIP headers as per [SIP] and that are missing from the table (e.g. Via, Max-Forwards).

The IG acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP SUBSCRIBE request includes all the mandatory headers as per [SIP] and the headers listed in Table 88. Following successful validation, the IG shall support the 3GPP IMS subscription to presence event package as per [SMPL-PRES]. This includes inserting any additional SIP headers that are mandatory.

The IG shall return to the OITF the response received from the network.

The IG shall ensure that the OITF is synchronized with the timer for refreshing the subscription as desired by the network.

When a SIP NOTIFY request is received by the IG, the IG shall validate the incoming NOTIFY request being compliant to [SMPL-PRES] before sending it to the OITF. The incoming NOTIFY request shall include the SIP headers depicted in Table 90 and any other mandatory headers as per [SIP].

The OITF shall validate that the SIP body is compliant to the XML schema associated with the presence event package. Following a successful validation, the OITF shall send a SIP 200 OK response to the IG. The SIP 200 OK response shall include the SIP headers depicted in Table 91. The IG shall first validate the SIP 200 OK response (or any other received response) before sending it to the network.

For all subsequent SIP NOTIFY requests received using the same SIP dialog, the IG acting as a B2BUA in accordance with section 6.2.1 shall perform the same processing. The IG shall consider a subscription terminated if it is not renewed by the OITF.

6.2.4.3.2 Procedure for Terminating a Subscription to Presence Information
The procedure for refreshing a subscription is the same as the procedure for initiating a subscription.
6.2.4.3.3 Procedure for Publishing Presence Information

To publish presence information, the OITF shall send a SIP PUBLISH request to the IG that includes all the SIP headers in Table 92 and other mandatory headers as per [SIP]. The content of the SIP PUBLSIH shall be based on section 5.5.4.6, “Presence Notification and Publish Schema”.

The IG acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP PUBLISH request includes all the mandatory headers as per [SIP] and the headers listed in Table 92. Following a successful validation, the IG shall generate a SIP PUBLISH request to the network conformant to [SMPL-PRES].

The IG shall forward any received SIP response to the OITF. A SIP 200 OK response shall include the SIP headers defined in Table 93 and all mandatory headers as per [SIP].

6.2.4.4 Chatting
For IM sessions, the OITF shall implement the MSRP stack conformant to [SMPL-IM].
6.2.4.4.1 IM Session Initiation

To initiate an IM session, the OITF shall initiate a SIP INVITE request to the IG that includes all the SIP headers in Table 72. However, the body of the SIP INVITE shall be populated with the following information to initiate the MSRP session:

  • A c = IN IP4 <IP address> , where <IP address> would contain the IP address of the OITF,
  • An m = message <tcp port> tcp/msrp, where tcp port is a TCP port could be set to the dummy value “9”
  • An a = accept-types:message/cpim, attribute which is mapped from the “X-OITF-Accept:” header value
  • An a = path msrp://<IP address>:<tcpport>/<session-id>; tcp, where:
    • <IP address> would contain the IP address of the OITF
    • <tcpport> would be assigned automatically by the OITF
    • <session-id> would be assigned by the OITF and bound to the requesting OITF IM SIP Chatting application

The OITF shall also include any other mandatory headers as per [SIP] (e.g. Via, Max-Forwards).

The IG, acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP INVITE request includes all the mandatory headers as per [SIP] and the headers listed in Table 72. Following a successful validation, the IG shall generate an initial INVITE request as specified in [SMPL-IM].

The IG acting as a B2BUA in accordance with section 6.2.1 shall forward any received SIP response to the OITF including the information in the SDP. A SIP 200 OK response shall include the SIP headers defined in Table 73 and all mandatory headers as per [SIP].

The OITF shall save the information returned in the SDP for the purpose of MSRP.

Finally to complete the INVITE transaction, the OITF shall then send a SIP ACK to the IG. The SIP ACK shall include the SIP headers defined in Table 74 and all mandatory headers as per [SIP].

6.2.4.4.2 Incoming IM Session

When the IG receives a SIP INVITE request related to an IM session and destined for a user, the IG acting as a B2BUA in accordance with section 6.2.1 shall validate that the incoming SIP INVITE is conformant to [SMPL-IM] and includes all the mandatory headers as per [SIP] and all the headers listed in Table 85. Following the successful validation, the IG shall forward the SIP INVITE to the appropriate OITF including the received SDP.

The OITF shall validate that the SDP includes all the necessary and mandatory parameters per [RFC4975]. The OITF shall store the necessary information and shall send its response to the IG. The SDP included in the response shall include the following information:

  • A c = IN IP4 <IP address> , where <IP address> would contain the IP address of the OITF
  • An m = message <tcp port> tcp/msrp, where tcp port is a TCP port could be set to the dummy value “9”
  • An a = accept-types:message/cpim, attribute
  • An a = path msrp://<IP address>:<tcpport>/<session-id>; tcp, where:
    • <IP address> would contain the IP address of the OITF
    • <tcpport> would be assigned automatically by the OITF
    • <session-id> would be assigned by the OITF and bound to the responding OITF SIP Chatting application

When the SIP response is received from the OITF, the IG acting as a B2BUA in accordance with section 6.2.1 shall forward it to the network. The response shall include the SIP headers in Table 86 and shall be validated by the IG before being sent to the network.

Finally to complete the INVITE transaction, the IG shall forward the received SIP ACK from the network to the OITF. The SIP ACK shall include the SIP headers defined in Table 87 and all mandatory headers as per [SIP].

6.2.4.4.3 Session Termination

To terminate a session, the OITF shall send a SIP BYE request to the IG that includes all headers listed in Table 81 and any other mandatory headers as per [SIP].

The IG, acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP BYE request includes all the mandatory headers as per [SIP] and the headers listed in Table 81. Following a successful validation, the IG shall generate a SIP BYE request as specified in [SMPL-IM]. The IG shall forward the received response to the OITF. A SIP 200 OK response shall include the SIP headers defined in Table 82 and all mandatory headers as per [SIP].

Alternatively, on receipt of a SIP BYE request from the IPTV Control FE, the IG acting as a B2BUA in accordance with section 6.2.1, after validating the request, to include all headers listed in Table 83 and any other mandatory headers as per [SIP], shall forward the request to the OITF. The OITF shall respond with a SIP 200 OK response, which the IG forward to the IPTV Control FE.

6.2.4.4.4 Session Refresh
It is the responsibility of the OITF to refresh the IM session, as per [SES-TIMR] before the session expires. The IG shall consider a session terminated if it is not refreshed, and shall clear its internal state accordingly.
6.2.4.4.5 Outgoing/Incoming MSRP Chat and Chat State Messages
Following the successful establishment of an incoming or outgoing IM session, the OITF is ready to receive or send any MSRP chat message or MSRP chat state message based on [RFC4975] and [SMPL-IM].
6.2.4.5 Content Sharing
6.2.4.5.1 Procedure for Outgoing Content Sharing

The OITF can initiate a content sharing session and can initiate a change request to transfer the session to other OITF or to maintain an existing session between two sides.

To initiate a content sharing session, the OITF shall send a SIP INVIVE to the IG that includes all the SIP headers and any other mandatory headers as per [SIP]. SDP shall be used as specified in [TS124503].

The IG shall validate that the SIP INVITE includes all the mandatory headers as per [SIP]. Following a successful validation, the IG shall generate a SIP INVITE request to the network conformant to [SIP].

A REFER message associated with transferor OITF shall be sent to the IG that includes all the SIP headers and any other mandatory headers as per [SIP].

  • The IG shall forward any incoming SIP REFER, for the purpose of session transfer, that conforms to the [SRVCONT] to the transferee OITF. Non-conformant SIP REFER messages shall be rejected with the appropriate response code.
  • An outgoing SIP NOTIFY message associated with the transferee reporting the outcome of a session transfer associated with a REFER request, shall conform to [RFC3515].
  • The IG shall forward any incoming SIP NOTIFY, reporting the outcome of a session transfer associated with a REFER request, that conforms to [RFC3515] to the transferor OITF. Non-conformant SIP REFER messages shall be rejected with the appropriate response code.

When receiving a SIP REFER request, the IPTV Control FE shall authorize the request. If the user is not authorized to perform session transfer, an appropriate SIP error response is returned. If the user is authorized, the IPTV Control FE shall forward the SIP REFER to the ASM for delivery to its destination (transferee OITF). The IPTV Control FE shall be stateful to the session transfer procedure.

When receiving a SIP NOTIFY associated with a SIP REFER request, the IPTV Control FE shall validate the SIP NOTIFY. If not successfully validated, an appropriate SIP response shall be returned. If successfully validated, the IPTV Control FE shall forward the SIP NOTIFY to the ASM for delivery to the destination (transferor OITF).

6.2.4.5.2 Procedure for Incoming Content Sharing

When the IG receives a SIP INVITE request related to a content sharing session and destined for a user, the IG shall validate that the incoming SIP INVITE is conformant to [SMPL-IM] and includes all the mandatory headers as per [SIP]. Following the successful validation, the IG shall forward the SIP INVITE to the appropriate OITF including the received SDP

  • The OITF shall validate that the SDP includes all the necessary and mandatory parameters per [TS124503]. The OITF shall store the necessary information and shall send its response to the IG.

When the SIP response is received from the OITF, the IG shall forward it to the network.

6.2.4.5.3 Procedure for Terminating Content Sharing

To terminate a session, the OITF shall send a SIP BYE request to the IG that includes all the mandatory headers as per [SIP].

The IG, acting as a B2B UA shall validate that the SIP BYE request includes all the mandatory headers as per [SIP]. Following a successful validation, the IG shall generate a SIP BYE request as specified in [SIP].The IG shall forward the received response to the OITF. A SIP 200 OK response shall include all the mandatory headers as per [SIP].

Alternatively, on receipt of a SIP BYE request from the IPTV Control FE, the IG, after validating the request, to include all the mandatory headers as per [SIP], shall forward the request to the OITF. The OITF shall respond with a SIP 200 OK response, which the IG forward to the IPTV Control FE.

6.2.4.6 Multimedia (MM) Telephony
6.2.4.6.1 OITF initiated Multimedia Telephony Session Initiation

To initiate a MM telephony session, the OITF shall initiate a SIP INVITE request to the IG that includes all the SIP headers in Table 132. The body of the SIP INVITE shall be populated in accordance with [SDP] reflecting the appropriate description for each media, and corresponding codecs for MM session. Section 6.2.4.6.8 entitled “SDP Media Type parameters for media description” details the SDP representation for codecs that can be used by the OITF.

The OITF shall also include any other mandatory headers as per [SIP] (e.g. Via, Max-Forwards).

The IG, being service aware, acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP INVITE request includes all the mandatory headers as per [SIP] and the headers listed in Table 132. From the included codecs and requested media, the IG shall be able to conclude that the requested session is for MMTEL. Following a successful validation, and detection of the implied MMTEL service for the incoming session, the IG shall generate an initial INVITE request towards the ASM as specified in [TS124503] and [TS181005] and shall include all mandatory headers.

The IG acting as a B2BUA in accordance with section 6.2.1 shall forward any received SIP response to the OITF including the information in the SDP. A SIP 200 OK response shall include the SIP headers defined in Table 133 and all mandatory headers as per [SIP].

Finally to complete the INVITE transaction, the OITF shall then send a SIP ACK to the IG. The SIP ACK shall include the SIP headers defined in Table 134 and all mandatory headers as per [SIP]. The IG acting as a B2BUA, in accordance with section 6.2.1, shall forward the SIP ACK to the ASM.

6.2.4.6.2 Incoming Multimedia Telephony Session Initiation

When the IG receives a SIP INVITE request related to an MMTEL session and destined for a user, the IG shall validate that the incoming SIP INVITE is conformant to [TS124503] and [TS181005] and includes all the mandatory headers as per [SIP] and all the headers listed in Table 135. Following the successful validation, the IG acting as a B2BUA in accordance with section 6.2.1 shall forward the SIP INVITE to the appropriate OITF including the received SDP.

The OITF shall validate that the SDP includes all the necessary and mandatory parameters per [TS124503] and [TS181005] and the mandatory information pertinent to the chosen codecs in accordance with section 6.2.4.6.8 entitled “SDP Media Type parameters for media description”. The OITF shall store the necessary information and shall send its response to the IG. The SDP included in the response shall include what is acceptable to the OITF based on the received SDP per [TS124503] and [TS181005].

When the SIP response is received from the OITF, the IG acting as a B2BUA in accordance with section 6.2.1, shall forward it to the network. The response shall include the SIP headers in Table 136 and shall be validated by the IG before being sent to the network.

Finally to complete the INVITE transaction, the IG acting as a B2BUA in accordance with section 6.2.1 shall forward the received SIP ACK from the network to the OITF. The SIP ACK shall include the SIP headers defined in Table 137 and all mandatory headers as per [SIP].

6.2.4.6.3 OITF-initiated Session Termination

To terminate a session, the OITF shall send a SIP BYE request to the IG that includes all headers listed in Table 138 and any other mandatory headers as per [SIP].

The IG, acting as a B2BUA in accordance with section 6.2.1 shall validate that the SIP BYE request includes all the mandatory headers as per [SIP] and the headers listed in Table 138. Following a successful validation, the IG shall generate a SIP BYE request as specified in [TS124503] and [TS181005] towards the ASM. The IG acting as a B2BUA in accordance with section 6.2.1 shall forward the received response to the OITF. A SIP 200 OK response shall include the SIP headers defined in Table 139 and all mandatory headers as per [SIP].

6.2.4.6.4 Incoming Session Termination

Upon receipt of a SIP BYE request from the network, the IG, after validating the request to include all headers listed in Table 140 and any other mandatory headers as per [SIP], and acting as a B2BUA in accordance with section 6.2.1 shall forward the request to the OITF.

The OITF shall respond with a SIP 200 OK response. The SIP 200 OK response shall include the headers in Table 141, and which the IG, acting as a B2BUA in accordance with section 6.2.1 shall forward to the network.

6.2.4.6.5 Session Modification
OITF initiated session modification or an incoming session modification request is essentially identical to session initiation and an incoming session initiation respectively from a handling prospective, both for the OITF and the IG.
6.2.4.6.6 Session Refresh
It is the responsibility of the OITF to refresh the MM session, as per [SES-TIMR] before the session expires. The IG shall consider a session terminated if it is not refreshed, and shall clear its internal state accordingly.
6.2.4.6.7 Tables of Message elements
Table 132: Supported SIP headers in the HNI-IGI INVITE Request message for an outgoing MM Telephony session setup (OITF→IG)
SIP HeaderSource of Information for Coding purposes
Request Line

The Request-URI in the INVITE request shall be set to the called identity

RFC 3261 [SIP]

INVITE <Request URI> SIP/2.0

FromRFC 3261 [SIP]
To

The URI part of To shall be set to the value of the Request URI in the “Request-Line”

RFC 3261 [SIP]
Contact

If GRUU has not been requested at registration, then the URI parameter and the sip.instance feature tag must be included and must match what is sent in the contact header included in the registration request.

If GRUU has been requested at registration, then the OITF shall include in the contact header the returned GRUU during the registration process.

The IG includes all other mandatory parameters that are absent.

Expires parameter should be included

RFC 3261 [SIP]
Call-IDRFC 3261 [SIP]
CSeqRFC 3261 [SIP]
Content-TypeRFC 3261 [SIP] (application/sdp)
Content-LengthRFC 3261 [SIP]
Supported

If GRUU is used, Supported shall also be set to “gruu”

RFC 3261 [SIP] set to timer
Session-ExpiresRFC 4028 [SES-TIMR]
Table 133: Supported SIP headers in the response message to an HNI-IGI INVITE request message for an outgoing MM Telephony Session setup (IG→OITF)
SIP HeaderSource of Information for Coding purposes
Response LineRFC 3261 [SIP]

SIP/2.0 <response>

FromRFC 3261 [SIP]
ToRFC 3261 [SIP]
ContactRFC 3261 [SIP]
Call-IDRFC 3261 [SIP]
CSeqRFC 3261 [SIP]
Session-ExpiresRFC 4028 [SES-TIMR]
Content-TypeRFC 3261 [SIP]
Content-LengthRFC 3261 [SIP]
Table 134: Supported SIP headers in the HNI-IGI ACK message for a successful MM Telephony Session setup (OITF→IG)
SIP HeaderSource of Information for Coding purposes
Request Line

The Request-URI in the ACK request shall be the contact included in the response to the INVITE message

RFC 3261 [SIP]

ACK <Request URI> SIP/2.0

FromRFC 3261 [SIP]
To

The URI part of To shall be set to the value of the Request URI in the “Request-Line” of the initial request

RFC 3261 [SIP]
Call-IDRFC 3261 [SIP]
CSeqRFC 3261 [SIP]
Contact

The URI parameter must be included, and must match what has been inserted in the INVITE message. The IG includes all other mandatory parameters that are absent.

RFC 3261 [SIP]
Content-TypeRFC 3261 [SIP] (application/sdp)
Content-LengthRFC 3261 [SIP]
Supported

If GRUU is used, Supported shall also be set to “gruu”

RFC 3261 [SIP] set to timer
Session-ExpiresRFC 4028 [SES-TIMR]
Table 135: Supported SIP headers in the HNI-IGI INVITE Request message for an incoming MM Telephony session setup (IG→OITF)
SIP HeaderSource of Information for Coding purposes
Request Line

The Request-URI in the INVITE request shall be set to the called identity (the user logged in user IMPU on an OITF)

RFC 3261 [SIP]

INVITE <Request URI> SIP/2.0

FromRFC 3261 [SIP]
To

The URI part of To shall be set to the value of the Request URI in the “Request-Line”

RFC 3261 [SIP]
ContactRFC 3261 [SIP]
Call-IDRFC 3261 [SIP]
CSeqRFC 3261 [SIP]
Content-TypeRFC 3261 [SIP] (application/sdp)
Content-LengthRFC 3261 [SIP]
SupportedRFC 3261 [SIP] set to timer, and/or GRUU if supported by remote user
Session-ExpiresRFC 4028 [SES-TIMR]
Table 136: Supported SIP headers in the response message to an HNI-IGI INVITE request message for an incoming MM Telephony Session setup (OITF→IG)
SIP HeaderSource of Information for Coding purposes
Response LineRFC 3261 [SIP]

SIP/2.0 <response>

FromRFC 3261 [SIP]
ToRFC 3261 [SIP]
Contact

If GRUU has not been requested at registration, then the URI parameter and the sip.instance feature tag must be included and must match what is sent in the contact header included in the registration request.

If GRUU has been requested at registration, then the OITF shall include in the contact header the returned GRUU during the registration process.

Expires parameter should be included.

The IG includes all other mandatory parameters that are absent.

RFC 3261 [SIP]
Call-IDRFC 3261 [SIP]
CSeqRFC 3261 [SIP]
Session-ExpiresRFC 4028 [SES-TIMR]
Content-TypeRFC 3261 [SIP]
Content-LengthRFC 3261 [SIP]
Table 137: Supported SIP headers in the HNI-IGI ACK message for a successful incoming MM Telephony Session setup (IG→OITF)
SIP HeaderSource of Information for Coding purposes
Request Line

The Request-URI in the ACK request shall be the contact included in the response to the INVITE message

RFC 3261 [SIP]

ACK <Request URI> SIP/2.0

FromRFC 3261 [SIP]
To

The URI part of To shall be set to the value of the Request URI in the “Request-Line” of the initial request

RFC 3261 [SIP]
Call-IDRFC 3261 [SIP]
CSeqRFC 3261 [SIP]
Contact

The URI parameter must be included, and must match what has been included in the initial INVITE message.

RFC 3261 [SIP]
Table 138: List of SIP headers for an Outgoing SIP BYE (OITF→IG)
SIP HeaderSource of Information for Coding purposes
Request Line

Note: The Request URI must match the contact URI included in the contact field of the SIP INVITE (for outgoing session) or a 200 OK (for incoming session)

RFC 3261 [SIP]

BYE <Request URI> SIP/2.0

FromRFC 3261 [SIP]
ToRFC 3261 [SIP]
Call-IDRFC 3261 [SIP]
CSeqRFC 3261 [SIP]
Content-Length

must be set to 0

RFC 3261 [SIP]
ContactRFC 3261 [SIP]
Table 139: List of SIP headers for the response to an Outgoing SIP BYE (IG→OITF)
SIP HeaderSource of Information for Coding purposes
Response LineRFC 3261 [SIP]

SIP/2.0 <response>

FromRFC 3261 [SIP]
ToRFC 3261 [SIP]
Call-IDRFC 3261 [SIP]
CSeqRFC 3261 [SIP]
Table 140: List of SIP headers for an Incoming SIP BYE (IG→OITF)
SIP HeaderSource of Information for Coding purposes
Request Line

Note: The Request URI must match the contact URI included in the contact field of the SIP INVITE (for outgoing session) or a 200 OK (for incoming session)

RFC 3261 [SIP]

BYE <Request URI> SIP/2.0

FromRFC 3261 [SIP]
ToRFC 3261 [SIP]
Call-IDRFC 3261 [SIP]
CSeqRFC 3261 [SIP]
Content-Length

must be set to 0

RFC 3261 [SIP]
ContactRFC 3261 [SIP]
Table 141: List of SIP headers for the response to an Incoming SIP BYE (OITF→IG)
SIP HeaderSource of Information for Coding purposes
Response LineRFC 3261 [SIP]

SIP/2.0 <response>

FromRFC 3261 [SIP]
ToRFC 3261 [SIP]
Call-IDRFC 3261 [SIP]
CSeqRFC 3261 [SIP]
6.2.4.6.8 SDP Media Type parameters for media description

This section describes the media configuration in SDP for all audio and video codecs defined in [OIPF_MEDIA2] for multimedia telephony services.

  • Media type parameters to configure H.264 video RTP payload types shall comply with [RFC3984].
  • Media type parameters to configure MPEG-4 Part-2 video RTP payload types shall comply with [RFC3016].
  • Media type parameters to configure H.263 video RTP payload types shall comply with [RFC4629].
  • Media type parameters to configure G.711 or G.722 audio RTP payload types shall comply with [RFC3551].
  • Media type parameters to configure AMR-NB or AMR-WB RTP payload types shall comply with [RFC4867].
  • Media type parameters to configure G.719 payload types shall comply with [RFC5404].
  • Media type parameters to configure MPEG-4 AAC-LD/-ELD payload types shall comply with [RFC3640].

Note: RFC 3640 [RFC3640] defines transport and signalling for all MPEG-4 media types. To use it for MPEG-4 AAC-LD/ELD audio the “streamType” is set to “5” to signal an audio stream and the “mode“ is either set to “aac-hbr” or “aac-lbr”. The hexadecimal value of the “config” parameter is the AudioSpecificConfig(), as defined in [AAC]. The AudioSpecificConfig() contains the audioObjectType, that shall be set to “39” for AACELD and “23” for AACLD.

Example SDP for AACLD, stereo 48kHz:

  • m=audio 49230 RTP/AVP 96
  • a=rtpmap:96 mpeg4-generic/48000/2
  • a=fmtp:96 streamtype=5; profile-level-id=52; mode=AAC-hbr; config=11B0; sizeLength=13;
  • indexLength=3; indexDeltaLength=3; constantDuration=1024
  • Note: The a=fmtp line comprises a single line in the SDP file.

Example SDP for G.719, stereo 48kHz:

  • m=audio 49230 RTP/AVP 96
  • a=rtpmap:96 G719/48000/2

7. RTSP

7.1 Protocols for IPTV Service Functions

7.1.1 Use of RTSP for unicast content streaming services

7.1.1.1 RTSP Profile without SIP session management over UNIS-11 and NPI-10

The RTSP protocol shall be used on UNIS-11 and NPI-10 for unicast service setup and delivery. The OITF shall obtain an RTSP request URL from the content guide, prior to delivery of the media from a Cluster Controller. The use of RTSP shall comply with RFC 2326 [RTSP] and with the following profile.

The following describes the RTSP Profile for this Release. The functionalities not identified in this section are out of scope of OIPF:

  • NPT Range time format shall be supported by clients and servers, section 3.6 of [RTSP].
  • The extension mechanism using option tags in section 3.8 of [RTSP] shall not be used.
  • Since in this Release is constraint to one media stream per session (one m= line of audio/video data), then:
    • This profile is not multi-server capable (section 1.4 of [RTSP])
    • This profile does not support aggregate control. Aggregated support allows to control several associated streams (e.g., video and sound track) using one RTSP URI.
    • This profile does not support “pipelining” of RTSP messages, see section 9.1 of [RTSP], “Pipelining.”
    • This profile shall support the following MIME types:
      • SDP (application/sdp) as the normative session description format, and
      • The MIME type text/parameters for GET_PARAMETER
  • Servers shall not use RTSP proxy features
  • Servers shall not use encryption or authentication

The RTSP client shall understand the class of each status code, i.e., 1xx Information, 2xx Success, 3xx Redirection, 4xx Client Error, and 5xx Server Error. Additionally, a client shall understand the following status codes:

  • “200” ; OK
  • “301” ; Moved Permanently
  • “302” ; Moved Temporarily
  • “400” ; Bad Request
  • “404” ; Not Found
  • “405” ; Method Not Allowed
  • “408” ; Request Time-out
  • “462” ; Destination Unreachable
  • “500” ; Internal Server Error
  • “501” ; Not Implemented

Servers shall not use interleaved RTP and RTSP over TCP, as per section 10.12, “Embedded (Interleaved) Binary Data” of [RTSP].

Clients shall not use PLAY messages in the PLAY state as keep-alives (section 10.5 of [RTSP]).

Servers shall not use RTSP over UDP, see Appendix G of [RTSP] and related functionality like the rtspu URI scheme in section 22.14.3 of [RTSP].

Regarding the RTSP Header definitions, the client shall support the following headers:

  • Accept, Allow, Content-Type, CSeq, Location, Public, Range, RTP-Info, Scale, Session, Transport

Additionally, the following clarifications and best practices are added:

  • RTSP URIs shall comply to the encodings and escape conventions defined in [RFC3986], which extends the encodings and conventions that were hinted at but not specified in [RTSP].
  • Regarding section 9, “Connections” of [RTSP], it is recommended that servers use persistent TCP connections. This reduces session management complexity (keep-alive, tear down, etc) in the clients and the servers. Clients should use persistent connections.

Regarding keep-alive mechanisms, the following mechanisms are recommended in this order:

  • If the OITF has agreed to send RTCP packets, it is recommended that these be re-used to keep the RTSP session alive.
  • If not, it is recommended that the same empty RTP packets with payload type value 20 used for NAT traversal (see Annex F.6.2, “NAT Traversal and keep-alive messages for unicast content streaming services”) be re-used to keep the RTSP session alive.
  • Otherwise, the SET_PARAMETER Method (or GET_PARAMETER, whichever is supported) with an empty body should be used.

Finally, the RTSP OPTIONS Method should be used.

Regarding section 12.17, “CSeq” of [RTSP], the current best practice rules and clarifications are added were not clear in RTSP, in particular:

  • If a server returns a “400 Bad Request” response because the client did not include a CSeq header, then the response shall not include a CSeq header.
  • The CSeq header value must be increased by one for each new RTSP request
  • It is recommended that CSeq value starts at “1” (one)

Regarding non-seekable streams, Annex C.1.5 of [RTSP], these are indicated by using open-ended time intervals via a=range attribute in SDP. E.g., a=range:npt=0-

Regarding Content-Length, an RTSP message with a message body shall include the Content-Length header. This can be misinterpreted from sections 4.3 and 12.14 of [RTSP], because section 4.3 of [RTSP] refers to HTTP/1.1 (which only recommends it) while section 12.14 of [RTSP] clearly says that it must be included.

Regarding RTP-Info, section 12.33 of [RTSP]:

  • The client shall not use the RTP SSRC parameter (“ssrc:”) in a SETUP request. This is deprecated because it incompatible with the specification of RTP in RFC 3550 [RTP].
  • The URL values in the “url=” parameter shall be quoted, e.g.: RTP-Info: url="rtsp://live.example.com/concert/audio". This allows the URL to contain “;” and “,” characters.
  • If the value of the “url” parameter in RTP-Info header is a relative URI, then the Request-URI is used as base URI. If it is an absolute URI, then this URI is the same as in the SETUP message.
7.1.1.1.1 RTSP Session Setup

When performing RTSP session setup, the OITF shall use the request URL to send a DESCRIBE message to the Cluster Controller to obtain a media SDP. The DESCRIBE message shall include the Accept header with the application/sdp content type. The Cluster Controller or CDF shall return a Content-Type header with application/sdp and the format of the body shall be according to RFC 4566 [SDP] unless there is redirection of DESCRIBE or SETUP. The OITF shall then issue a SETUP request to the Cluster Controller.

If the Cluster Controller can handle the request, the DESCRIBE and SETUP messages shall be forwarded to the most appropriate CDF.

If the Cluster Controller cannot handle the request, the Cluster Controller shall reply with a redirect response (Moved) message containing a URL of another Cluster Controller. The redirection may occur when receiving either a DESCRIBE or a SETUP.

If the Cluster Controller sends a redirect response to the SETUP request, the OITF may send a new DESCRIBE request.

If the setup is successful the CDF shall reply with a 200 OK message that shall be proxied by the Cluster Controller to the OITF. After receiving the setup response the OITF may send PLAY and PAUSE messages to the Cluster Controller.

The Cluster Controller shall modify the RTSP URL to forward the RTSP messages to the chosen CDF function, when the messages are initiated from the OITF.

When receiving error messages from the CDF, the Cluster Controller shall either forward them to the OITF or try another CDF.

When the OITF receives an error message, it may display appropriate messages to the end user. The error messages may also be handled by the downloaded DAE or native application before being displayed to the user.

7.1.1.1.2 RTSP Control for media delivery
7.1.1.1.2.1 Handling of Media Control for Starting Playback

On receiving a request from the user to start playback, the OITF shall send an RTSP PLAY message to the Cluster Controller.

The RTSP fields in the RTSP PLAY message shall be filled as follows:

  • On receiving a request from the user to modify the playback, the OITF shall send an RTSP PLAY message with a request to modify the position, speed and/or direction of playback. The OITF indicates the direction and/or speed of playback by including a Scale header or changes the position of playback by including a Range header.

The Scale header shall be set as follows:

  • 1 indicates normal play;
  • If not 1, the value corresponds to the rate with respect to normal viewing rate;
  • A negative value indicates reverse direction.

If the request is to pause the playback, the OITF shall send an RTSP PAUSE message.

On receipt of a RTSP PLAY or PAUSE request, the Cluster Controller shall forward the message to the chosen CDF.

The CDF shall respond with a 200 OK message. The contents of the 200 OK response shall be as follows:

  • CSeq shall be set to the same value as that in the request.
7.1.1.1.2.2 Handling of Media Control for Retrieving Playback Information

For OITF devices that require retrieving the position and the duration parameter from the server for operational reasons, the OITF shall support the method GET_PAREMETER message for that purpose.

All OITF devices shall support the retrieval from the server of the scales parameter through the GET_PARAMETER message.

Any other parameter not supported by the Cluster Controller used in the GET_PARAMETER request shall be rejected by the Cluster Controller with an appropriate error code. An empty body shall be allowed for the RTSP keep-alive message.

If RTSP is used as a keep-alive, then the timeout for sending the request is based on the timeout parameter specified in the session header in the RTSP SETUP response. If timeout parameter is not specified then a default value of 60 seconds shall be used.

On receipt of the RTSP GET_PARAMETER request, the Cluster Controller shall forward the message to the chosen CDF.

The CDF shall respond with a 200 OK message with the requested values or empty in the case of a keep-alive message. The message shall be forwarded to the OITF.

7.1.1.1.2.3 Handling of Beginning and End of Stream

On receipt of the beginning-of-stream or end-of-stream indication from the CDF, the Cluster Controller may send an RTSP ANNOUNCE to the OITF with an indication that the beginning-of-stream or end-of-stream has been reached. The Notice header shall be included with the notice code value set to “2104 Start-of-Stream Reached” or “2101 End of Stream Reached”.

Note: The header and code is based on [RTSP2-AN].

On receipt of the RTSP ANNOUNCE with an end-of-stream or beginning-of-stream indication, the OITF may take relevant actions to handle the event (e.g. terminating the session, rewinding the media stream, etc.). The OITF shall respond with a RTSP 200 OK.

7.1.1.1.2.4 Handling by the CDF for multiple PLAY messages in Play state

The CDF shall not queue successive PLAY messages for processing while in a play state. An incoming new PLAY message shall result in an immediate termination by the CDF of the processing associated with a previous pending PLAY message if applicable.

7.1.1.1.2.5 Handling of CDF-initiated session termination

If the CFD detects an event that leads it to have to terminate a user session, the CDF shall send an RTSP ANNOUNCE to the cluster controller with an indication that the session shall be terminated. The Notice header shall be included with the notice code value set to “5402 Client Session Terminated”. The cluster controller shall forward the message to the OITF, and return an RTSP 200 OK to the CDF.

Note: The header and code is based on [RTSP2-AN].

On receipt of the RTSP ANNOUNCE with a client session terminate indication, the OITF shall return an RTSP 200 OK then proceed to terminate the session in accordance with section 7.1.1.1.3, “RTSP Session Teardown”.

7.1.1.1.2.6 Handling of Cluster Controller-initiated session termination

If the Cluster controller detects an event that leads it to have to terminate a user session, the cluster controller shall send an RTSP ANNOUNCE to the OITF with an indication that the session shall be terminated. The Notice header shall be included with the notice code value set to “5402 Client Session Terminated”.

Note: The header and code is based on [RTSP2-AN].

On receipt of the RTSP ANNOUNCE with a client session terminate indication, the OITF shall return an RTSP 200 OK then proceed to terminate the session in accordance with section 7.1.1.1.3, “RTSP Session Teardown”.

7.1.1.1.3 RTSP Session Teardown

To tear down a unicast session, the OITF shall use a RTSP TEARDOWN message and shall wait for a 200 OK response from the Cluster Controller. The Cluster Controller shall relay the RTSP TEARDOWN message to the CDF and relay the 200 OK message to the OITF.

7.1.1.1.4 Supported RTSP Messages

The OITF acting as an RTSP Client and the Cluster Controller acting as an RTSP Server shall support at least the following messages: RTSP SETUP, RTSP TEARDOWN, RTSP DESCRIBE, RTSP PLAY, RTSP PAUSE, RTSP GET_PARAMETER, RTSP ANNOUNCE, and RTSP OPTIONS.

The CDF as an RTSP server shall support at least the following messages: RTSP SETUP, RTSP TEARDOWN, RTSP DESCRIBE, RTSP PLAY, RTSP PAUSE, RTSP OPTIONS, and RTSP GET_PARAMETER.

7.1.1.2 RTSP profile with SIP session management over UNIS-11 and NPI-10

The RTSP protocol shall be used on NPI-10 for unicast content streaming session setup and UNIS-11 and NPI-10 for unicast content streaming service delivery.

The OITF shall obtain the appropriate RTSP request URI, RTSP session ID, and the RTP media parameters, prior to content delivery from the assigned Cluster Controller.

If the OITF supports RTSP/RTCP monitoring, it shall also include the a=OIPF-QoS-Metrics line, the a=rtcp-xr line and the b=RR line prior to content delivery from the assigned CC, where:

  • The a=OIPF-QoS-Metrics line includes information on the cumulative performance metrics the Service Provider requests from the client for that session (see section 7.2.1, “Performance Monitoring over UNIT-18.”).
  • The a=rtcp-xr line includes information on the sample performance metrics the Service Provider requests from the client for that session (see section 9.2.1, “Performance Monitoring over UNIT-18.”)
  • Finally, the b=RR line specifies the reporting bandwidth assigned to the OITF in bits per second, see section 2 of RFC 3556 [SDP-RTCP]. If this line is not retrieved via SIP OPTIONS, then the OITF shall use the RTP default of 5% of the stream bandwidth for RTCP reports.

The use of RTSP shall comply with RFC 2326 [RTSP] with modifications defined by this specification.

Guidelines for specifying cumulative metrics to be conveyed using the RTSP Headers defined in [OIPF_PROT_EX2]. Similarly to the RTCP case, “OIPF-BasicPerfMonCumulSubset1” is used in this specification as a placeholder and for illustrative purposes.

7.1.1.2.1 Missing SDP parameters Retrieval

When the Cluster controller receives a SIP OPTIONS message to retrieve missing parameters, it shall send an RTSP DESCRIBE message to an appropriate CDF. The “Accept” header shall be set to “application/sdp”.

The CDF shall reply with a RTSP 200 OK message with the Content-type header set to “application/sdp”.

If the CDF replied with a redirection response, the Cluster Controller shall send a new RTSP DESCRIBE to the new CDF.

If the Cluster Controller failed to successfully complete the RTSP DESCRIBE transaction, it shall return an appropriate error message to the SIP OPTIONS message.

7.1.1.2.2 RTSP Session Setup

The OITF shall not use the RTSP SETUP message. The RTSP session setup is initiated with a SIP INVITE.

When receiving a COD session initiation SIP request from the CDN Controller, the Cluster Controller shall choose the appropriate CDF and issue an RTSP SETUP message with the following parameters:

  • The RTSP URI shall have a path that is compatible with the requested content indicated in the user part of the “To:” header of the SIP message.
  • The Transport header shall contain a “Destination” sub header indicating the IP address of the OITF. The CDF shall reply with an RTSP 200 OK message to the Cluster Controller.
  • The message shall contain an RTSP session ID.
  • The CSeq shall be set to the same value as in the RTSP SETUP request

If the Cluster Controller receives an error message from the CDF, it may try another CDF. It may also reply with the appropriate SIP error message to the CDN Controller (see section 6.1.2.1.3, “Content Reporting and Management of Content Reporting.”)

The Cluster Controller shall issue a SETUP request for each media line (if the content is FEC protected).

If the new CDF sends a redirect response to the SETUP request, the Cluster Controller shall send a new SETUP request to the new CDF.

If the Cluster Controller failed to successfully complete the RTSP SETUP transaction, it shall return an appropriate error message to the SIP INVITE.

7.1.1.2.3 RTSP Control for media delivery
7.1.1.2.3.1 Handling of Media Control for Starting Playback

On receiving a request from the user to start playback, the OITF shall follow the procedures defined in [TS183063] section 7.1.1.2 with the OITF acting as a UE and the Cluster Controller acting as a MCF.

7.1.1.2.3.2 Handling of Media Control for Modifying Playback

On receiving a request from the user to modify playback, the OITF shall follow the procedures defined in [TS183063] section 7.1.1.3 with the OITF acting as a UE and the Cluster Controller acting as a MCF.

On receipt of a RTSP PLAY or PAUSE request, the Cluster Controller shall forward the message to the chosen CDF.

The CDF shall respond with a 200 OK message. The contents of the 200 OK response shall be as follows:

  • CSeq shall be set to the same value as that in the request.
7.1.1.2.3.3 Handling of Media Control for Retrieving Playback Information

On receiving a request from the user to retrieve playback information, the OITF may send an RTSP GET_PARAMETER message. The OITF may retrieve the following information:

  • position
    The position in the media in seconds.
  • scales
    The allowed scales that can be used in the PLAY request. Syntax shall be a comma separated array of allowed scales.
  • duration

The total duration in seconds of the media to be played.

Any other parameter not supported by the Cluster Controller used in the RTSP GET_PARAMETER request shall be rejected by the Cluster Controller with an appropriate error code. An empty body shall be allowed for the RTSP keep alive message.

On receipt of the RTSP GET_PARAMETER request, the Cluster Controller shall forward the message to the chosen CDF.

The CDF shall respond with a 200 OK message with the requested values. The message shall be forwarded to the OITF.

7.1.1.2.3.4 Handling of Beginning and End of Stream

On receipt of the beginning-of-stream or end-of-stream indication from the CDF, the Cluster Controller may send an RTSP ANNOUNCE to the OITF with an indication that the beginning-of-stream or end-of-stream has been reached. The “Notice” header shall be included with the notice code value set to “2104 Start-of-Stream-Reached” or “2101 End-of-Stream Reached”.

Note: The header and code is based on [RTSP2-AN]. Note that the RTSP version used in this specification is “1.0” and not “2.0” as in the examples in [RTSP2-AN].

On receipt of the RTSP ANNOUNCE with a beginning of stream or an end-of-stream indication, the OITF may take relevant actions to handle the end of stream event (e.g. terminating the session, rewinding the media stream, etc.). The OITF shall respond with a RTSP 200 OK.

7.1.1.2.3.5 Handling of CDF-initiated session termination

If the CDF detects an event that leads it to have to terminate a user session, the CDF shall send an RTSP ANNOUNCE to the cluster controller with an indication that the session shall be terminated. The Notice header shall be included with the notice code value set to “5402 Client Session Terminated”. The cluster controller shall perform the following:

  • Return an RTSP 200 OK to the CDF,
  • Proceed to tear down the RTSP session in accordance with section 7.1.1.1.3, “RTSP Session Teardown” and where the cluster controller plays the role of the OITF,
  • Proceed to tear down the IMS session with the CDNCF.
7.1.1.2.3.6 Handling of Cluster Controller-initiated session termination

If the Cluster controller detects an event that leads it to have to terminate a user session, the Cluster controller shall perform the following:

  • Proceed to tear down the RTSP session in accordance with section 7.1.1.1.3, “RTSP Session Teardown” and where the cluster controller plays the role of the OITF,
  • Proceed to tear down the IMS session with the CDNCF.
7.1.1.2.4 RTSP Session Teardown

The OITF shall not use the RTSP TEARDOWN message. The RTSP session teardown is initiated via SIP.

When the Cluster Controller receives a SIP BYE message to teardown a SIP unicast content streaming session, the Cluster Controller shall send a RTSP TEARDOWN message to the CDF. The CDF shall reply with a 200 OK.

The Cluster Controller shall issue an RTSP TEARDOWN request for each media line (if the content is FEC protected).

7.1.1.2.5 RTSP Messages supported

The OITF acting as an RTSP Client shall support RTSP PLAY, RTSP PAUSE, RTSP GET_PARAMETER, RTSP ANNOUNCE, and RTSP OPTIONS.

The Cluster Controller acting as an RTSP Proxy and RTSP Client shall support at least the following messages: RTSP SETUP, RTSP TEARDOWN, RTSP DESCRIBE, RTSP PLAY, RTSP PAUSE, RTSP OPTIONS, and RTSP GET_PARAMETER.

The CDF acting as an RTSP server shall support at least the following messages: RTSP SETUP, RTSP TEARDOWN, RTSP DESCRIBE, RTSP PLAY, RTSP PAUSE, RTSP OPTIONS, and RTSP GET_PARAMETER.

7.1.2 Use of RTSP for Forced Play Out Control

7.1.2.1 RTSP for managed model over UNIS-11 and NPI-10

The RTSP/RTCP monitoring, RTSP session setup and teardown procedures are unchanged by Forced Play Out and shall follow the description in section 7.1.1, “Use of RTSP for unicast content streaming services”.

7.1.2.1.1 RTSP Control for media delivery
7.1.2.1.1.1 Forced Play Out Controlled by the Cluster Controller

On receiving a request from the user to control the playback (e.g. RTSP PLAY, PAUSE, etc), the OITF shall follow the procedures specified in section 7.1.1.2.3, “RTSP Control for media delivery.”

On receiving a request from the user to control the playback (e.g. RTSP PLAY, PAUSE, etc), the Cluster Controller shall examine the request to see whether the playback operation is permitted based on the Forced Play Out Control policy. If the requested playback operation is forbidden by the policy -- for example, the user tries to fast forward when an advertisement is showing -- the Cluster Controller shall disable the request and respond with a RTSP 405 message. If the playback is permitted, the Cluster Controller shall forward the request to the selected CDF.

The CDF shall respond with a 200 OK message. The contents of the 200 OK response shall be as follows:

  • CSeq shall be set to the same value as that in the request.

Handling of Media Control for Retrieving Playback Information is the same as specified in section 7.1.1.2.3, “RTSP Control for media delivery.”

Handling of End of Stream is not affected by Forced Play Out and is the same as specified in section 7.1.1.2.3, “RTSP Control for media delivery.”

7.1.3 Use of RTSP for Network PVR (nPVR)

7.1.3.1 RTSP Session Setup

When performing recording, the Cluster Controller shall first retrieve from the incoming request the SDP of the scheduled content program and then issue a DESCRIBE messages to the most appropriate CDF. The DESCRIBE message shall include the Accept header with the application/sdp content type. The CDF shall return a Content-Type header with application/sdp and the format of the body shall be according to RFC 4566 [SDP]. The Cluster Controller shall then issue a SETUP request to CDF. The CDF then shall join the multicast group as defined in section 8.1.3.1, “Protocol over NPI-40”.

If the setup is successful the CDF shall reply with a 200 OK message to the Cluster Controller.

  • The message shall contain a RTSP Server port and a RTSP session ID.
  • The CSeq shall be set to the same value as in the RTSP SETUP request

After receiving the setup response, the Cluster Controller shall send RECORD message to the CDF. Then the CDF start recording the content. When receiving error messages from the CDF, the Cluster Controller shall try another CDF.

7.1.3.2 Handling of End of Recording

When finishing the recording, the CDF shall issue a RTSP ANNOUNCE message to the Cluster Controller to report the record result.

Within the message body, the CDF shall include a body associated with the appid “urn:oipf:npvr:report:2009”. The parameters shall be set:

  • Result: the result of the recording (i.e. Completed, Error).
  • CRID: the identifier reference to the recorded content, for OITF to request later.
  • Spare: the spare storage existing in the CDF.
7.1.3.3 RTSP Session Teardown

When the Cluster Controller receives a SIP BYE message to tear down a SIP nPVR session, the Cluster Controller shall issue a RTSP TEARDOWN message to the CDF. The CDF shall reply with a 200 OK.

7.1.4 Use of RTSP for Personalized Channel

7.1.4.1 RTSP Session Setup for PCh

When receiving a PCh session initiation SIP INVITE from the CDN Controller, the Cluster Controller shall choose the appropriate CDF and shall issue an RTSP SETUP message with the following parameters:

  • The RTSP URI shall contain a path that is compatible with the requested PCh item indicated in the user part of the “To:” header of the SIP message.
  • The Transport header shall contain a “Destination” sub header indicating the IP address of the OITF if the content item is unicast content service, if the content item is multicast content service, this header shall indicate the multicast address related to the content service.

On reception of RTSP SETUP message, the CDF shall reply with an RTSP 200 OK message to the Cluster Controller.

  • The message shall contain an RTSP session ID.
  • The CSeq shall be set to the same value as in the RTSP SETUP request

If the requested PCh item is a multicast content service and the CDF doesn’t cache the content, the CDF may fetch the content, e.g., join the associated multicast group and fetch the content using IGMPv3 as described in RFC 3376 [IGMP3].

7.1.4.2 RTSP PLAY for PCh content switch

When receiving a PCh content switch request SIP MESSAGE from the CDN Controller, the Cluster Controller shall issue an RTSP PLAY message to the same CDF as selected in the PCh session initiation, with the following parameters:

  • The RTSP URI shall contain a path that is compatible with the ContentId that is carried in the SIP INFO message body.
  • The session ID shall be set to identically to that of the RTSP SETUP request.
  • The Transport header shall contain a “Destination” sub header indicating the IP address of the OITF if the content item is unicast content service, if the content item is multicast content service, this header shall indicae the multicast address related to the content service.

On reception of RTSP PLAY message, the CDF shall reply with an RTSP 200 OK message to the Cluster Controller.

  • The message shall contain the same session ID as the RTSP SETUP.
  • The CSeq shall be set to the same value as in the RTSP SETUP request

If the requested PCh item is multicast content service and the CDF doesn’t cache the content, the CDF may fetch the content, e.g., join the associated multicast group and fetch the content using IGMPv3 as described in RFC 3376 [IGMP3].

7.1.5 Content Streaming Post Session Transfer

The following procedure shall be undertaken by a transferee OITF to view the unicast content service, once it has successfully established the unicast content service session to handle the transfer:

Step 1:If the transferee OITF has the content bookmark, it shall send the RTSP PLAY to the CC/CDF and the bookmark shall be added in the Range header to indicate the content start time to be played. The CC/CDF shall send the related content through the content delivery channel established in the unicast content service session to the transferee OITF. The procedures in sections 7.1.1.2.3, “RTSP Control for media delivery” and 7.1.1.2.4, “RTSP Session Teardown” for media control purposes can be reused and this procedure terminates.
Step 2:If the transferee OITF does not have the content bookmark, it can use the procedure defined in section 5.3.9.4.1, “Protocol for Retrieving Stored Content Bookmarks” to retrieve the content bookmark, and subsequently it can use the procedure defined in Step 1.

7.2 Protocols for Service Access and Control

7.2.1 Performance Monitoring over UNIT-18

QoS metrics can be classified as those that need to be reported regularly, i.e. ‘sample metrics’, and those that are typically required when the service ends, i.e., ‘cumulative metrics’. Periodic RTCP reports are more appropriate for transport of sample metrics (see section 9.2.1, “Performance Monitoring over UNIT-18”), while on-demand or scheduled RTSP reports are especially suitable for transport of cumulative metrics. In general, an IPTV service might need a combination of both.

This section specifies the optional RTSP mechanisms for performance monitoring of unicast content streaming services.

If the OITF supports QoS metrics and has been suitably configured to use them, then the unicast content streamign session initiation request over HNI-IGI interface shall include the selected (i.e. accepted by client) or modified (for re-negotiation) QoS metrics for either the session level or media level.

The QoS metrics negotiation shall start at the Cluster Controller (CC) on reception of a response to an RTSP DESCRIBE including metrics information embedded in the session description. The RTSP DESCRIBE at the CC is triggered by a SIP OPTIONS request for missing parameters from the CDN Controller, as per section 7.1.1.2.2, “RTSP Session Setup.”

On receiving this SETUP request, the Content Delivery Function (CDF) shall return the RTSP 200 OK response with the “accepted” QoS metrics (i.e. metrics and reporting values which are identical to the ones in the client’s request and accepted by the CDF) and the “re-negotiation” QoS metrics (i.e. metrics and reporting values which are not identical to the ones in the client’s request and modified for re-negotiation by the CDF). The echoing of the “accepted” QoS metrics is for re-acknowledging the client’s request.

The CDF may also reject the changes made by the client, i.e. reject the “re-negotiation” of QoS metrics. If the CDF rejects the changes, it shall either set new values and resend the modified metrics back to the client, or it shall ignore the “re-negotiation” metrics and not re-acknowledge them. Any QoS metric that has been acknowledged as “accepted” by the CDF shall not be re-negotiated, i.e., it shall not be resent in the “OIPF-QoS-Metrics” header in the next RTSP request and shall not be re-acknowledged in the next RTSP response.

If the CDF does not approve the modifications made by the client, they should continue to re-negotiate. However, negotiations should not exceed 4 round trips, in order to minimize the potential delay of the negotiation process. The negotiation process may delay the start-up of the service and it may be avoided by carefully selecting the value of the Metrics-Set parameter in the service information. It must be noted that each time the “QoS-Metrics” header field is sent in an RTSP request, it shall also be present in the response corresponding to that particular request. Otherwise, the receiver of the response shall assume that the other end does not support QoS metrics.

If there is no DESCRIBE request-response pair sending at the beginning of the RTSP session between the CC and the CDF, it means that the session description is received by other means. If such a description contains the “OIPF QoS Metrics” attribute, the negotiation starts at the CC with a SETUP request containing the “OIPF QoS Metrics” header.

If the session description does not contain the “OIPF-QoS-Metrics” attribute and the CDF would still like to check whether the client supports the QoS Protocol or not, the CDF shall include the “OIPF-QoS-Metrics” header containing the initial QoS metrics in the SETUP response. If the OITF sends the QoS metrics information in the next request (indicating that it supports the QoS Protocol), the negotiation shall continue until a mutual agreement is reached or the negotiation limit of 4 round-trips is reached.

To inform the client of the CDF’s desire to receive reports for the session, a new SDP attribute is specified to convey the QoS metrics. This attribute is defined inline with section 5.3.3.6 of TS26.234v750 [PSS].

The ABNF definition (See RFC 4234 [ABNF]) is as follows:

OIPF-QoS-Metrics-Att = “a=” “OIPF-QoS-Metrics” “:”  Measure-Spec *(“,” Measure-Spec) CRLF
  Measure-Spec = ”Metrics “;” Sending-rate [”;” Measure-Range] *([”;” Parameter-Ext])
  Metrics = “cumul-metrics” “=” Metrics-Set / (“{” Metrics-Name *(“|” Metrics-Name) “}”)
  Metrics-Name =  1*((0x21..0x2b) / (0x2d..0x3a) / (0x3c..0x7a) / 0x7e) ;VCHAR except “;”, “,”, “{“ or ”}”
  Metrics-Set = 1*((0x21..0x2b) / (0x2d..0x3a) / (0x3c..0x7a) / 0x7e) ;VCHAR except “;”, “,”, “{“ or ”}”
  Sending-Rate = “rate” “=” 1*DIGIT / “End”
  Measure-Range = “range” “:” Ranges-Specifier
  Parameter-Ext = “On”/”Off”/ (1*DIGIT [“.” 1*DIGIT]) / (1*((0x21..0x2b) / (0x2d..0x3a) / (0x3c..0x7a)
                   / 0x7c / 0x7e))
  Ranges-Specifier = as defined in RFC 2326 [RTSP]
  CRLF = %d13.10

This specification defines two new RTSP Headers to negotiate and report the ‘cumulative metrics’ during session setup. These new RTSP headers follow the semantics of [PSS], and are accordingly called OIPF-QoS-Metrics and OIPF-QoS-Feedback. They shall be used as follows:

  • OIPF-QoS-Metrics shall be used for setting up and controlling the reporting of cumulative metrics, i.e. turn on/off reporting, negotiate the set of metrics, its frequency and the report range. This header can be sent in requests and responses of the RTSP Methods SETUP, SET_PARAMETER, OPTIONS (with Session ID) and PLAY. The OITF should use the OPTIONS (with Session ID) or SET_PARAMETER RTSP methods to turn off the QoS feedback.

    The ABNF [ABNF] definition is as follows:

    QoS-Header = “OIPF-QoS-Metrics” “:” (“Off” / Measure-Spec *(“,” Measure-Spec)) CRLF
      Measure-Spec = Stream-URL ”;” ((Metrics “;” Sending-rate [”;” 
                       Measure-Range] *([”;” Parameter-Ext])) / “Off”)
      Stream-URL = “url” “=”  <”>Rtsp-URL<”>
      Metrics = “cumul-metrics” “=” Metrics-Set / (“{” Metrics-Name *(“|” Metrics-Name) “}”)
      Metrics-Set = 1*((0x21..0x2b) / (0x2d..0x3a) / (0x3c..0x7a) / 0x7e) ;VCHAR except “;”, “,”, “{“ or ”}”
      Metrics-Name = 1*((0x21..0x2b) / (0x2d..0x3a) / (0x3c..0x7a) / 0x7e) ;VCHAR except “;”, “,”, “{“ or ”}”
      Sending-Rate = “rate” “=” 1*DIGIT / “End”
      Measure-Range = “range” “:” Ranges-Specifier
      Parameter-Ext = “On”/”Off”/ (1*DIGIT [“.” 1*DIGIT]) / (1*((0x21..0x2b) / (0x2d..0x3a) / (0x3c..0x7a) /
                        0x7c / 0x7e))
      Ranges-Specifier = as defined in RFC 2326 [RTSP]
      Rtsp-URL = as defined in RFC 2326 [RTSP]
      CRLF = %d13.10
    
  • OIPF-QoS-Feedback shall be used for sending (or requesting) the actual QoS metrics feedback to (or from) the CDF. This header can be sent in requests and responses of the following RTSP Methods: SET_PARAMETER (or GET_PARAMETER), or PAUSE Methods.

    The ABNF [ABNF] definition is as follows:

    Feedback-Header = “OIPF-QoS-Feedback” “:” Feedback-Spec *(“,” Feedback-Spec) CRLF
      Feedback-Spec = Stream-URL “;” 1*(“;” Parameters) [”;” Measure-Range]
      Stream-URL =  “url” “=”  <”>Rtsp-URL<”>
      Metrics-Set = 1*((0x21..0x2b) / (0x2d..0x3a) / (0x3c..0x7a) / 0x7e) ;VCHAR except “;”, “,”, “{“ or ”}”
      Parameters = Metrics-Name “=” “{” SP / (Measure *(“|” Measure)) “}”
      Metrics-Name = “1*((0x21..0x2b) / (0x2d..0x3a) / (0x3c..0x7a) / 0x7e) ;VCHAR except “;”, “,”, “{“ or ”}”
      Rtsp-URL = as defined in RFC 2326 [RTSP]
      Measure-Range =  “range” “:” Ranges-Specifier
      Ranges-Specifier = as defined in RFC 2326 [RTSP]
      Measure = Value [SP Timestamp]
      Value = ([”-“]1*DIGIT [”.” *DIGIT]) /  1*((0x21..0x2b) / (0x2d..0x3a) / (0x3c..0x7a)  / 0x7e) 
                ; VCHAR except “;”, “,”, “{“ or ”}”
      Timestamp = NPT-Time
      NPT-Time = as defined in RFC 2326 [RTSP]
      CRLF = %d13.10
    

The OITF shall use the SET_PARAMETER method for cumulative QoS metrics reporting, using the OIPF-QoS-Feedback Header defined in this specification. However, in some cases, the RTSP method may also be used:

  • When the client wants to pause the streaming flow, the QoS information should be embedded into a PAUSE method. The OITF should not send any QoS reports to the CDF when the media stream is paused, as no media is being exchanged.

The reporting CDF shall use the GET_PARAMETER method for retrieving cumulative QoS metrics from the OITF on-demand, using the OIPF-QoS-Feedback Header defined in this specification.

The RTSP header and attribute definitions above are almost identical to those in [PSS]. The semantics shall comply with section 5.3.2.3 except for the differences in naming and the following Open IPTV Forum specific changes:

  • There is a possibility to simplify the request and reporting of a (potentially large) set of metrics by introducing a Metrics-Set attribute in the OIPF-QoS-Metrics and OIPF-QoS-Feedback headers. i.e., the Metrics-Set attribute may be used instead of listing each metric explicitly, as these would have empty values during the metrics negotiation phase anyway; this makes messages more compact when the number is large.

Note the commonalities between the definition of the RTSP Header OIPF-QoS-Metrics and the SDP attribute above. Note also, that the Stream-URL is not present in the SDP attribute; this is because the value of the Stream-URL is present in the session description and is thus known by the CC at the time of issuing the RTSP SETUP for each media line.

8. IGMP and Multicast Protocol

This section defines the protocol for the use of IGMP and Multicast over the following reference points:

8.1 Protocols for IPTV Service Functions

8.1.1 Multicast content streaming service on UNIS-13

The OITF shall support IGMPv3 as described in RFC 3376 [IGMP3]. If the Transport Processing Function supports a lower IGMP version, the backward compatibility rules between the OITF and the Transport Processing Function shall conform to [IGMP3] section 7.

8.1.1.1 Procedure for multicast content streaming with SIP session management

The use of IGMP on UNIS-13 with SIP session management shall be as defined in [TS183063] sections 8.1.2 and 8.2, where the OITF replaces the UE, the Transport Processing Function replaces the Transport Functions, the BTF replaces the ECF/EFF and the Service Discovery FE/IPTV Metadata Control FE replaces the SSF.

8.1.1.2 Procedure for multicast content streaming

The use of IGMP on UNIS-13 without session initiation shall be as defined in section 8.1.1.1, “Procedure for multicast content streaming with SIP session management”. In the case there is no session initiation, the procedures described in section 8.1.2 of [TS183063] to set the Group/Multicast Address Records will not retrieve any channel or source address information from the session initiation step.

8.1.1.3 Procedure for multicast RET

The use of IGMP on UNIS-13 shall be defined as in section 8.1.1.1, “Procedure for multicast content streaming with SIP session management” or as defined in section 8.1.1.2, “Procedure for multicast content streaming”.

In this context, the IP Multicast group and source address are not related to a “channel” but to an associated RET IP Multicast, as defined in Annex F of TS 102 034 [TS102034] and Annex M.1.3, “Multicast RET for multicast content service” in this specification.

8.1.2 Pay Per View multicast content service with SIP session management

PPV multicast content service session initiation over UNIS-13 shall be same as multicast content streaming session initiation as described in section 8.1.1, “Multicast content streaming service on UNIS-13.”

8.1.3 nPVR

8.1.3.1 Protocol over NPI-40

The controlling protocol of CDN for nPVR is IGMP. The use of IGMP on NPI-40 shall be as defined in section 8.1.1.1, “Procedure for multicast content streaming with SIP session management”. In this case, the CDF in the CDN acts as an OITF for the multicast content service.

When the CDF receives the request to record a program, it shall send an IGMP Join to the Transport Processing Functions.

8.1.4 Network Generated Notification Service

Whenever the network generated notification event was detected, the IPTV Application shall send the notification message as well as the destination multicast group identifier to the MCDF over NPI-42. The destination multicast group identifier indicates the multicast group used for the network generated notification service which differs from the related multicast content service.

Upon receiving the notification message, the MCDF shall distribute the notification message to the multicast group identified by destination multicast group identifier, as defined in section 9.1.3, “nPVR”.

reviewer: this should probably refer to 14.1.2

For the OITF, Network Generated Notification session initiation over UNIS-13 shall be the same as multicast content streaming session initiation as described in section 8.1.1, “Multicast content streaming service on UNIS-13”.

8.1.5 Emergency Notification Service

Upon receiving an emergency notification from Emergency Services, the Notification Services shall send the emergency notification message as well as the destination multicast group identifier to the MCDF over NPI-38.

Upon receiving the notification message, the MCDF shall distribute the emergency notification message to the multicast group identified by destination multicast group identifier, as defined in section 9.1.3, “nPVR”.

reviewer: this should probably refer to 14.1.1

Emergency Notifications are delivered to an OITF over UNIS-13, when the OITF joins the corresponding multicast group with the access parameters derived from SD&S as defined in [OIPF_META2].

8.2 Protocols for Service Access and Control Functions