RCC.07 Rich Communication Suite
Total Page:16
File Type:pdf, Size:1020Kb
GSM Association Non-confidential Official Document RCC.07 - Rich Communication Suite - Advanced Communications Services and Client Specification Rich Communication Suite - Advanced Communications Services and Client Specification Version 12.0 16 October 2020 This is a Non-binding Permanent Reference Document of the GSMA Security Classification: Non-confidential Access to and distribution of this document is restricted to the persons permitted by the security classification. This document is confidential to the Association and is subject to copyright protection. This document is to be used only for the purposes for which it has been supplied and information contained in it must not be disclosed or in any other way made available, in whole or in part, to persons other than those permitted under the security classification without the prior written approval of the Association. Copyright Notice Copyright © 2020 GSM Association Disclaimer The GSM Association (“Association”) makes no representation, warranty or undertaking (express or implied) with respect to and does not accept any responsibility for, and hereby disclaims liability for the accuracy or completeness or timeliness of the information contained in this document. The information contained in this document may be subject to change without prior notice. Antitrust Notice The information contain herein is in full compliance with the GSM Association’s antitrust compliance policy. V12.0 Page 1 of 384 GSM Association Non-confidential Official Document RCC.07 - Rich Communication Suite - Advanced Communications Services and Client Specification Table of Contents 1 Introduction 6 1.1 RCS Principles and Vision 6 1.2 Scope 6 1.3 Definition of Terms 6 1.4 Document Cross-References 12 1.5 Differences to previous specifications 19 1.5.1 New features and procedures 20 1.5.2 Removed features and procedures 20 1.5.3 Modified features and procedures 20 2 RCS General Procedures 21 2.1 RCS architecture 21 2.2 RCS devices and client types 23 2.3 Configuration Procedures 23 2.3.1 Client configuration parameters 23 2.3.2 RCS client autoconfiguration mechanisms 24 2.4 IMS registration 29 2.4.1 General 29 2.4.2 Procedures for multidevice handling 31 2.4.3 Telephony feature tag 31 2.4.4 Services feature tags 32 2.4.5 P-CSCF discovery 33 2.4.6 IMS Flow Set Management 34 2.4.7 Loss of Registration 35 2.5 Addressing and identities 36 2.5.1 Overview 36 2.5.2 Sender Identification for Device Incoming SIP Request 36 2.5.3 Device Outgoing SIP Requests 37 2.5.4 Addressing related to Chatbots 38 2.5.5 RCS Addressing Model 41 2.6 Capability and new user discovery mechanisms 42 2.6.1 Capability discovery 42 2.6.2 Handling of Capabilities 57 2.7 RCS protocols 58 2.7.1 void 60 2.7.2 MSRP session matching 60 2.7.3 SIP Issues 60 2.8 RCS and Access Technologies 60 2.8.1 RCS and Cellular/EPC-integrated Wi-Fi Access 60 2.8.2 Other access networks 64 2.9 End User Confirmation Requests 64 2.10 Multidevice support 64 2.10.1 Overview 64 2.10.2 Addressing of individual clients 65 v12.0 Page 2 of 384 GSM Association Non-confidential Official Document RCC.07 - Rich Communication Suite - Advanced Communications Services and Client Specification 2.11 Interconnect principles and guidelines 65 2.12 Access Security 65 2.12.1 IMS Security 65 2.12.2 OpenID Connect 71 2.12.3 Common Message Store Authentication and Security 72 2.13 Emergency Services 72 2.13.1 General 72 2.13.2 RCS Service Feature List 72 2.14 CPIM header extension support 72 2.14.1 CPIM header extension support feature tag 73 2.14.2 Procedures in the client 73 2.14.3 Procedures in the Messaging Server 74 3 RCS Services 75 3.1 General Service Overview 75 3.2 Messaging 75 3.2.1 1-to-1 Messaging Technology Selection 75 3.2.2 Standalone messaging 79 3.2.3 1-to-1 Chat 85 3.2.4 Group Chat 100 3.2.5 File Transfer 110 3.2.6 Geolocation Push services 121 3.2.7 Audio Messaging 127 3.3 Void 129 3.4 Void 129 3.5 Void 129 3.6 Chatbots 129 3.6.1 Architecture 129 3.6.2 Chatbot Feature tags 132 3.6.3 Discovery and specific management of Chatbots 133 3.6.4 Chatbot Information 147 3.6.5 Privacy Protection 167 3.6.6 Spam and other Inappropriate Chatbot Behaviour Handling 174 3.6.7 Traffic identification 178 3.6.8 Chatbot Service 179 3.6.9 Deferred Messaging 189 3.6.10 Rich Cards and Suggested Chip Lists 191 3.6.11 Critical Chatbots 226 3.6.12 Menu 226 4 Cross-service functionality 232 4.1 Common Message Store 232 4.1.1 Overview 232 4.1.2 Support of GBA in the Common Message Store 232 4.1.3 Support of OpenID Connect in the Common Message Store 233 4.1.4 Support for Digest Authentication 233 v12.0 Page 3 of 384 GSM Association Non-confidential Official Document RCC.07 - Rich Communication Suite - Advanced Communications Services and Client Specification 4.1.5 Support for Basic Authentication 233 4.1.6 RESTful Web Service Calls 234 4.1.7 Folder Structure 235 4.1.8 Common Message Store and pager/multimedia-messages 237 4.1.9 Correlating SMS/MMS messages with messages stored in the Common Message Store 239 4.1.10 Correlation Algorithm for SMS 239 4.1.11 Dealing with Collisions 244 4.1.12 Recording of SMS messages 245 4.1.13 Recording of MMS messages 253 4.1.14 Optimisations for UNI operations to Common Message Store 263 4.1.15 A Common File Store for File Transfer via HTTP 264 4.1.16 Client behaviour 267 4.2 HTTP Content Server 274 4.2.1 Overview 274 4.2.2 File Upload Procedures 274 4.2.3 File Download Procedure 285 4.2.4 Schema Definition 287 4.2.5 HTTP Content Server URL 289 4.2.6 HTTP State Management 291 4.2.7 Security considerations 291 Annex A Managed objects and configuration parameters 292 A.1. Management objects parameters overview 292 A.1.1. Configuration parameters for the management of RCS services 292 A.1.2. Presence related configuration 293 A.1.3. Messaging related configuration 294 A.1.4. File Transfer related configuration 299 A.1.5. Void 301 A.1.6. IMS Core / SIP related configuration 301 A.1.7. Geolocation related configuration 305 A.1.8. Configuration related with Address book Back-up/Restore 306 A.1.9. Capability discovery related configuration 306 A.1.10. Void 308 A.1.11. Void 308 A.1.12. Service Provider specific extensions 308 A.1.13. Void 308 A.1.14. Data Off 308 A.2. Provisioning Document of the RCS Management tree 311 A.2.1. Application characteristic type for the RCS Management tree 311 A.2.2. Services sub tree additions 312 A.2.3. Presence sub tree 319 A.2.4. Messaging sub tree additions 319 A.2.5. Capability discovery MO sub tree 336 A.2.6. Service Provider Extensions MO sub tree 341 A.3. Other Management Objects 341 v12.0 Page 4 of 384 GSM Association Non-confidential Official Document RCC.07 - Rich Communication Suite - Advanced Communications Services and Client Specification A.3.1. Overview 341 A.3.2. IMS sub tree additions 342 A.4. Configuration XML document structure and examples 345 A.4.1. HTTP configuration XML structure 345 A.4.2. Configuration XML document example 347 Annex B : Additional diagrams 351 B.1. Chat and store and forward diagrams 351 B.1.1. Store and forward: Receiver offline 351 B.1.2. Store and forward: Message deferred delivery with sender still on an active Chat session 352 B.1.3. Store and forward: Message deferred delivery with sender online 353 B.1.4. Store and forward: Message deferred delivery with sender offline (delivery notifications) 354 B.1.5. Store and forward: Notifications deferred delivery 355 B.1.6. Network Interworking to SMS/MMS 356 B.1.7. Message Revoke: Successful Request 357 B.1.8. Message Revoke: Failed Request 358 B.1.9. Deliver Stored Group Chat Messages while Chat is idle 359 B.1.10. Multi-device 360 B.1.11. Chat and store and forward diagrams: Notes 361 B.2. Restful Message Store Flows (informative) 363 B.2.1. Client Initialization and Synchronization using RESTful Approach 363 B.2.2. RESTful Notification Events 367 B.2.3. Notification Channel Setup 368 B.2.4. Object Upload 368 B.2.5. Example Object Download 369 B.2.6. Example RESTful Search operation 369 Annex C Special Procedures 374 C.1. SIP/TCP and NAT traversal 374 C.2. Errata for RFC 5438 375 C.3. Definition of RCS CPIM Header Extensions 375 C.3.1. RCS CPIM Extension Name Space 375 C.3.2. Definition of rcs.Service-Centre-Address header 376 C.3.3. Definition of rcs.Reply-Path header 376 C.3.4. Definition of rcs.Replace-Short-Message-Type header 376 C.3.5. Definition of rcs.Mms-Message-Class header 377 C.3.6. Definition of rcs.Message-Correlator header 377 C.3.7. Definition of rcs.Message-Context header 378 C.4. Definition of SIP Header Extensions 378 C.4.1. User-Agent and Server Header Extensions 378 Document Management 382 Document History 382 Other Information 382 v12.0 Page 5 of 384 GSM Association Non-confidential Official Document RCC.07 - Rich Communication Suite - Advanced Communications Services and Client Specification 1 Introduction 1.1 RCS Principles and Vision RCS (Rich Communication Suite) provides a framework for discoverable and interoperable advanced communication services and detailed specifications for a basic set of such advanced communication services.