Professional Documents
Culture Documents
2
13GPP2 X.P0013.6
2Version 1.0.3
3Version Date: April 2003
7 AllIP MultiMedia Domain
8
9Cx Interface Based on the Diameter
10Protocol;
11Protocol Details
12
13
14
15
16
17
18
19
20
COPYRIGHT NOTICE
3GPP2 and its Organizational Partners claim copyright in this document and individual Organizational Partners
may copyright and issue documents or standards publications in individual Organizational Partner's name based on
this document. Requests for reproduction of this document should be directed to the 3GPP2 Secretariat at
secretariat@3gpp2.org. Requests to reproduce individual Organizational Partner's documents should be directed to
3
1X.P0013.6
that Organizational Partner. See www.3gpp2.org for more information.
2This document contains portions of material copied from 3GPP document number(s) TS 29.229. The copyright
3on the 3GPP document is owned by the Organizational Partners of 3GPP (ARIB - Association of Radio
4Industries and Businesses, Japan; CWTS – China Wireless Telecommunications Standards group, China; ETSI –
5European Telecommunications Standards Institute; Committee T1, USA; TTA - Telecommunications Technology
6Association, Korea; and TTC – Telecommunication Technology Committee, Japan), which have granted license
7for reproduction and for use by 3GPP2 and its Organizational Partners.
1 X.P0013.6
1EDITOR
2Craig Rhoades, Nokia
3
4REVISION HISTORY
5
REVISION HISTORY
Revision Content changes. Date
number
N0220030114018 Removal of SLF & Dx Interface.
6
2
1 X.P0013.6
2 Table of Contents
31 Scope ............................................................................................................. 1
42 References............................................................................................................ 1
53 Definitions, symbols and abbreviations.................................................................1
6 3.1 Definitions.............................................................................................................................................1
7 3.2 Abbreviations.......................................................................................................................................2
84 General ............................................................................................................. 2
95 Use of the Diameter base protocol.........................................................................2
10 5.1 Securing Diameter Messages...............................................................................................................2
11 5.2 Accounting functionality.....................................................................................................................2
12 5.3 Use of sessions.......................................................................................................................................3
13 5.4 Transport protocol...............................................................................................................................3
14 5.5 Routing considerations........................................................................................................................3
15 5.6 Advertising Application Support........................................................................................................3
166 Diameter application for Cx interface...................................................................3
17 6.1 Command-Code values........................................................................................................................4
18 6.1.1 User-Authorization-Request (UAR) Command................................................................................4
19 6.1.2 User-Authorization-Answer (UAA) Command................................................................................5
20 6.1.3 Server-Assignment-Request (SAR) Command.................................................................................5
21 6.1.4 Server-Assignment-Answer (SAA) Command.................................................................................6
22 6.1.5 Location-Info-Request (LIR) Command...........................................................................................6
23 6.1.6 Location-Info-Answer (LIA) Command...........................................................................................7
24 6.1.7 Multimedia-Auth-Request (MAR) Command..................................................................................7
25 6.1.8 Multimedia-Auth-Answer (MAA) Command..................................................................................7
26 6.1.9 Registration-Termination-Request (RTR) Command.......................................................................8
27 6.1.10 Registration-Termination-Answer (RTA) Command...................................................................8
28 6.1.11 Push-Profile-Request (PPR) Command.......................................................................................8
29 6.1.12 Push-Profile-Answer (PPA) Command........................................................................................9
30 6.2 Result-Code AVP values.......................................................................................................................9
31 6.2.1 Success..............................................................................................................................................9
32 6.2.1.1 DIAMETER_FIRST_REGISTRATION (2001).....................................................................9
33 6.2.1.2 DIAMETER_SUBSEQUENT_REGISTRATION (2002)......................................................9
34 6.2.1.3 DIAMETER_UNREGISTERED_SERVICE (2003)............................................................10
35 6.2.1.4 DIAMETER_SUCCESS_NOT_SUPPORTED_USER_DATA (2004)................................10
36 6.2.1.5 DIAMETER_SUCCESS_SERVER_NAME_NOT_STORED (2005).................................10
37 6.2.2 Permanent Failures..........................................................................................................................10
38 6.2.2.1 DIAMETER_ERROR_USER_UNKNOWN (5001)............................................................10
39 6.2.2.2 DIAMETER_ERROR_IDENTITIES_DONT_MATCH (5002)...........................................10
40 6.2.2.3 DIAMETER_ERROR_IDENTITY_NOT_REGISTERED (5003)......................................10
41 6.2.2.4 DIAMETER_ERROR_ROAMING_NOT_ALLOWED (5004)..........................................10
42 6.2.2.5 DIAMETER_ERROR_IDENTITY_ALREADY_REGISTERED (5005)...........................10
43 6.2.2.6 DIAMETER_ERROR_AUTH_SCHEME_NOT_SUPPORTED (5006).............................10
44 6.2.2.7 DIAMETER_ERROR_IN_ASSIGNMENT_TYPE (5007).................................................10
45 6.2.2.8 DIAMETER_ERROR_TOO_MUCH_DATA (5008)...........................................................10
2 i
1X.P0013.6
1 6.3 AVPs....................................................................................................................................................10
2 6.3.1 Visited-Network-Identifier AVP......................................................................................................12
3 6.3.2 Public-Identity AVP........................................................................................................................12
4 6.3.3 Server-Name AVP...........................................................................................................................12
5 6.3.4 Server-Capabilities AVP..................................................................................................................12
6 6.3.5 Mandatory-Capability AVP.............................................................................................................12
7 6.3.6 Optional-Capability AVP................................................................................................................12
8 6.3.7 User-Data AVP................................................................................................................................12
9 6.3.8 SIP-Number-Auth-Items AVP.........................................................................................................13
10 6.3.9 SIP-Authentication-Scheme AVP....................................................................................................13
11 6.3.10 SIP-Authenticate AVP................................................................................................................13
12 6.3.11 SIP-Authorization AVP..............................................................................................................13
13 6.3.12 SIP-Authentication-Context AVP...............................................................................................13
14 6.3.13 SIP-Auth-Data-Item AVP...........................................................................................................13
15 6.3.14 SIP-Item-Number AVP...............................................................................................................13
16 6.3.15 Server-Assignment-Type AVP....................................................................................................14
17 6.3.16 Deregistration-Reason AVP........................................................................................................14
18 6.3.17 Reason-Code AVP.....................................................................................................................15
19 6.3.18 Reason-Info AVP.......................................................................................................................15
20 6.3.19 Charging-Information AVP........................................................................................................15
21 6.3.20 Primary-Event-Charging-Function-Name AVP..........................................................................15
22 6.3.21 Secondary-Event-Charging-Function-Name AVP......................................................................15
23 6.3.22 Primary-Charging-Collection-Function-Name AVP..................................................................15
24 6.3.23 Secondary-Charging-Collection-Function-Name AVP..............................................................15
25 6.3.24 User-Authorization-Type AVP...................................................................................................16
26 6.3.25 User-Data-Request-Type AVP....................................................................................................16
27 6.3.26 User-Data-Already-Available AVP.............................................................................................16
28 6.4 Use of namespaces..............................................................................................................................16
29 6.4.1 AVP codes.......................................................................................................................................17
30 6.4.2 Vendor-Specific-Result-Code AVP values......................................................................................17
317 Special Requirements.........................................................................................17
32 7.1 Version Control....................................................................................................................................17
33
2 ii
1 X.P0013.6
11 Scope
2The present document defines a transport protocol for use in the IP multimedia (IM) Core Network (CN)
3subsystem based on Diameter.
4The present document is applicable to:
5- The Cx interface between the I-CSCF/S-CSCF and the HSS.
6- The Dx interface between the I-CSCF/S-CSCF and the SLF.
7Whenever it is possible this document specifies the requirements for this protocol by reference to
8specifications produced by the IETF within the scope of Diameter. Where this is not possible, extensions to
9Diameter are defined within this document.
102 References
11The following documents contain provisions, which through reference in this text constitute provisions of
12the present document.
13 References are either specific (identified by date of publication, edition number, version number,
14 etc.) or non-specific.
16 For a non-specific reference, the latest version applies. In the case of a reference to a 3GPP
17 document (including a GSM document), a non-specific reference implicitly refers to the latest
18 version of that document in the same Release as the present document.
19[1] 3GPP TS 29.228 “IP Multimedia (IM) Subsystem Cx and Dx interface; signalling flows and
20 message contents (Release 5)”
21[2] TBD \
23[4] IETF RFC 2396: “Uniform Resource Identifiers (URI): generic syntax”
30[11] 3GPP2 N.P0024.11 “Sh Interface based on the Diameter protocol; protocol details”
31
2
3Protocol Details 1
1X.P0013.6
1For the purposes of the present document, the following terms and definitions apply.
2Attribute-Value Pair: see [6], it corresponds to an Information Element in a Diameter message.
3Diameter Multimedia client: The client is one of the communicating Diameter peers that usually initiate
4transactions
5Diameter Multimedia server: A Diameter Multimedia server that also supported the NASREQ and
6MobileIP applications would be referred to as a Diameter server. Registration: SIP-registration.
7Server: SIP-server.
8User data: user profile data.
93.2 Abbreviations
10For the purposes of the present document, the following abbreviations apply:
11 AAA Authentication, Authorization and Accounting
12 ABNF Augmented Backus-Naur Form
13 AVP Attribute-Value Pair
14 CN Core Network
15 CSCF Call Session Control Function
16 HSS Home Subscriber Server
17 IANA Internet Assigned Numbers Authority
18 I-CSCF Interrogating CSCF
19 IETF Internet Engineering Task Force
20 IMS IP Multimedia Subsystem
21 NDS Network Domain Security
22 RFC Request For Comments
23 S-CSCF Serving CSCF
24 SCTP Stream Control Transport Protocol
25 SIP Session Initiation Protocol
26 SLF Server Locator Function
27 UCS Universal Character Set
28 URL Uniform Resource Locator
29 UTF UCS Transformation Formats
304 General
31The Diameter Base Protocol as specified in [6] shall apply except as modified by the defined support of the
32methods and the defined support of the commands and AVPs, result and event codes specified in clause 5 of
33this specification. Unless otherwise specified, the procedures (including error handling and unrecognised
34information handling) are unmodified.
2 2
1 X.P0013.6
2
3Protocol Details 3
1X.P0013.6
1- to download and handle changes in the user data stored in the server
2The Cx interface protocol is defined as an IETF vendor specific Diameter application, where the vendor is
33GPP. The vendor identifier assigned by IANA to 3GPP ( http://www.iana.org/assignments/enterprise-
4numbers) is 10415.
5The Diameter application identifier assigned to the Cx interface protocol is number 1.
2 4
1 X.P0013.6
1 { User-Name }
2 { Public-Identity }
3 { Visited-Network-Identifier }
4 [ User-Authorization-Type ]
5 *[ AVP ]
6 *[ Proxy-Info ]
7 *[ Route-Record ]
8
2
3Protocol Details 5
1X.P0013.6
2 6
1 X.P0013.6
2
3Protocol Details 7
1X.P0013.6
1 [ Vendor-Specific-Result ]
2 { Auth-Session-State }
3 { Origin-Host }
4 { Origin-Realm }
5 [ User-Name ]
6 [ Public-Identity ]
7 [ SIP-Number-Auth-Items ]
8 * [SIP-Auth-Data-Item ]
9 * [ AVP ]
10 * [ Proxy-Info ]
11 * [ Route-Record ]
126.1.9 Registration-Termination-Request (RTR) Command
13The Registration-Termination-Request (RTR) command, indicated by the Command-Code field set to 5 and
14the ‘R’ bit set in the Command Flags field, is sent by a Diameter Multimedia server to a Diameter
15Multimedia client in order to request the de-registration of a user.
16Message Format
17 <Registration-Termination-Request> ::= < Diameter Header: 10415: 5, REQ >
18 < Session-Id >
19 { Vendor-Specific-Application-Id }
20 { Auth-Session-State }
21 { Origin-Host }
22 { Origin-Realm }
23 { Destination-Host }
24 { Destination-Realm }
25 { User-Name }
26 *[ Public-Identity ]
27 { DeRegistration-Reason }
28 *[ AVP ]
29 *[ Proxy-Info ]
30 *[ Route-Record ]
316.1.10 Registration-Termination-Answer (RTA) Command
32The Registration-Termination-Answer (RTA) command, indicated by the Command-Code field set to 5 and
33the ‘R’ bit cleared in the Command Flags field, is sent by a client in response to the Registration-
34Termination-Request command. The Result-Code or Vendor-Specific-Result AVP may contain one of the
35values defined in section 6.2 in addition to the values defined in [6].
36Message Format
37 <Registration-Termination-Answer> ::= < Diameter Header: 10415: 5 >
38 < Session-Id >
39 { Vendor-Specific-Application-Id }
40 [ Result-Code ]
41 [ Vendor-Specific-Result ]
42 { Auth-Session-State }
43 { Origin-Host }
44 { Origin-Realm }
45 *[ AVP ]
46 *[ Proxy-Info ]
47 *[ Route-Record ]
486.1.11 Push-Profile-Request (PPR) Command
49The Push-Profile-Request (PPR) command, indicated by the Command-Code field set to 6 and the ‘R’ bit
50set in the Command Flags field, is sent by a Diameter Multimedia server to a Diameter Multimedia client in
2 8
1 X.P0013.6
1order to update the subscription data of a multimedia user in the Diameter Multimedia client whenever a
2modification has occurred in the subscription data that constitutes the data used by the client.
3Message Format
4 < Push-Profile-Request > ::= < Diameter Header: 10415: 6, REQ >
5 < Session-Id >
6 { Vendor-Specific-Application-Id }
7 { Auth-Session-State }
8 { Origin-Host }
9 { Origin-Realm }
10 { Destination-Host }
11 { Destination-Realm }
12 { User-Name }
13 { User-Data }
14 *[ AVP ]
15 *[ Proxy-Info ]
16 *[ Route-Record ]
176.1.12 Push-Profile-Answer (PPA) Command
18The Push-Profile-Answer (PPA) command, indicated by the Command-Code field set to 6 and the ‘R’ bit
19cleared in the Command Flags field, is sent by a client in response to the Push-Profile-Request command.
20The Result-Code or Vendor-Specific-Result AVP may contain one of the values defined in section 6.2 in
21addition to the values defined in [6].
22Message Format
23 < Push-Profile-Answer > ::=< Diameter Header: 10415: 6 >
24 < Session-Id >
25 { Vendor-Specific-Application-Id }
26 [Result-Code ]
27 [ Vendor-Specific-Result ]
28 { Auth-Session-State }
29 { Origin-Host }
30 { Origin-Realm }
31 *[ AVP ]
32 *[ Proxy-Info ]
33 *[ Route-Record ]
346.2 Result-Code AVP values
35This section defines new result code values that must be supported by all Diameter implementations that
36conform to this specification. When one of the result codes defined here is included in a response, it shall be
37inside a Vendor-Specific-Result AVP and Result-Code AVP shall be absent.
386.2.1 Success
39Errors that fall within the Success category are used to inform a peer that a request has been successfully
40completed.
2
3Protocol Details 9
1X.P0013.6
2 10
1 X.P0013.6
16.3 AVPs
2The following table describes the Diameter AVPs defined for the Cx interface protocol, their AVP Code
3values, types, possible flag values and whether or not the AVP may be encrypted.
Attribute Name AVP Section Value Type Must May Should Must May Encr.
Code defined not not
Visited-Network-Identifier 1 6.3.1 OctetString M, V No
Public-Identity 2 6.3.2 UTF8String M, V N
Server-Name 3 6.3.3 UTF8String M,V No
Server-Capabilities 4 6.3.4 Grouped M, V No
Mandatory-Capability 5 6.3.5 Unsigned32 M, V No
Optional-Capability 6 6.3.6 Unsigned32 M, V No
User-Data 7 6.3.7 OctetString M, V No
SIP-Number-Auth-Items 8 6.3.8 Unsigned32 M, V No
SIP-Authentication-Scheme 9 6.3.9 UTF8String M, V No
SIP-Authenticate 10 6.3.10 OctetString M, V No
SIP-Authorization 11 6.3.11 OctetString M, V No
SIP-Authentication-Context 12 6.3.12 OctetString M, V No
SIP-Auth-Data-Item 13 6.3.13 Grouped M, V No
SIP-Item-Number 14 6.3.14 Unsigned32 M, V No
Server-Assignment-Type 15 6.3.15 Enumerated M, V No
Deregistration-Reason 16 6.3.16 Grouped M, V No
Reason-Code 17 6.3.17 Enumerated M, V No
Reason-Info 18 6.3.18 UTF8String M, V No
Charging-Information 19 6.3.19 Grouped M, V No
2
3Protocol Details 11
1X.P0013.6
Collection-Function-Name
User-Authorization-Type 24 6.3.24 Enumerated M, V No
User-Data-Request-Type 25 6.3.25 Enumerated M, V No
User-Data-Already-Available 26 6.3.26 Enumerated M, V No
NOTE 1: The AVP header bit denoted as ‘M’, indicates whether support of the AVP is required. The AVP header bit
denoted as ‘V’, indicates whether the optional Vendor-ID field is present in the AVP header. For further
details, see [6].
NOTE 2: Depending on the concrete command.
1
2 12
1 X.P0013.6
2
3Protocol Details 13
1X.P0013.6
2 14
1 X.P0013.6
2
3Protocol Details 15
1X.P0013.6
2 16
1 X.P0013.6
1 USER_DATA_ALREADY_AVAILABLE (1) The S-CSCF already has the data that it needs to
2 serve the user.
2
3Protocol Details 17