/******************************************************************************
* Copyright (c) 2000-2019 Ericsson Telecom AB
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
*
* Contributors:
*   Roland Gecse - initial implementation and initial documentation
*   Akos Pernek
*   Antal Wuh.Hen.Chang
*   Attila Fulop
*   Balazs Barcsik
*   Bence Molnar
*   Csaba Koppany
*   David Juhasz
*   Eduard Czimbalmos
*   Elemer Lelik
*   Endre Kiss
*   Endre Kulcsar
*   Gabor Szalai
*   Gabor Tatarka
*   Gergely Futo
*   Istvan Sandor
*   Krisztian Pandi
*   Kulcsár Endre
*   Laszlo Tamas Zeke
*   Norbert Pinter
*   Roland Gecse
*   Tibor Bende
*   Tibor Szabo
*   Timea Moder
*   Zoltan Medve
*   Zsolt Nandor Torok
*   Zsolt Szalai
******************************************************************************/
//
//  File:               CxDxInterface_3GPP_TS29229_6a0.ddf
//  Description:        DDF for CxDx according to 3GPP TS 29.229 V6.10.0
//  Rev:                R55A
//  Prodnr:             CNL 113 462
///////////////////////////////////////////////


// APPLICATION-NAME: CxDx
// APPLICATION-REVISION: V6_10_0

// AVP implementations according to: 
// 3GPP TS 29.229 V6.10.0 - Cx and Dx interfaces based on the Diameter protocol
//
//
// Dependant applications
// IETF RFC 3588   - Diameter Base Protocol
//
// Notes: 
// Present application has its own vendor specific Diameter application id: 16777216
//

// 3GPP TS 29.229 V6.10.0 6.1
type enumerated Command_Code {
  User_Authorization       (300),
  Server_Assignment        (301),
  Location_Info            (302),
  Multimedia_Auth          (303),
  Registration_Termination (304),
  Push_Profile             (305)
}



// 3GPP 29.229 V6.10.0
// AVP: Visited-Network-Identifier (600) 3GPP (10415)
// 6.3.1
type AVP_OctetString Visited_Network_Identifier;

// 3GPP 29.229 V6.10.0
// AVP: Public-Identity (601) 3GPP (10415)
// 6.3.2
type AVP_UTF8String Public_Identity;

// 3GPP 29.229 V6.10.0
// AVP: Server-Name (602) 3GPP (10415)
// 6.3.3
type AVP_UTF8String Server_Name;

// 3GPP 29.229 V6.10.0
// AVP: Server-Capabilities (603) 3GPP (10415)
// 6.3.4
type AVP_Grouped Server_Capabilities;

// 3GPP 29.229 V6.10.0
// AVP: Mandatory-Capability (604) 3GPP (10415)
// 6.3.5
type AVP_Unsigned32 Mandatory_Capability;

// 3GPP 29.229 V6.10.0
// AVP: Optional-Capability (605) 3GPP (10415)
// 6.3.6
type AVP_Unsigned32 Optional_Capability;

// 3GPP 29.229 V6.10.0
// AVP: User-Data (606) 3GPP (10415)
// 6.3.7
type AVP_OctetString User_Data;

// 3GPP 29.229 V6.10.0
// AVP: SIP-Number-Auth-Items (607) 3GPP (10415)
// 6.3.8
type AVP_Unsigned32 SIP_Number_Auth_Items;

// 3GPP 29.229 V6.10.0
// AVP: SIP-Authentication-Scheme (608) 3GPP (10415)
// 6.3.9
type AVP_UTF8String SIP_Authentication_Scheme;

// 3GPP 29.229 V6.10.0
// AVP: SIP-Authenticate (609) 3GPP (10415)
// 6.3.10
type AVP_OctetString SIP_Authenticate;

// 3GPP 29.229 V6.10.0
// AVP: SIP-Authorization (610) 3GPP (10415)
// 6.3.11
type AVP_OctetString SIP_Authorization;

// 3GPP 29.229 V6.10.0
// AVP: SIP-Authentication-Context (611) 3GPP (10415)
// 6.3.12
type AVP_OctetString SIP_Authentication_Context;

// 3GPP 29.229 V6.10.0
// AVP: SIP-Auth-Data-Item (612) 3GPP (10415)
// 6.3.13
type AVP_Grouped SIP_Auth_Data_Item;

// 3GPP 29.229 V6.10.0
// AVP: SIP-Item-Number (613) 3GPP (10415)
// 6.3.14
type AVP_Unsigned32 SIP_Item_Number;

// 3GPP 29.229 V6.10.0
// AVP: Server-Assignment-Type (614) 3GPP (10415)
// 6.3.15
type enumerated Server_Assignment_Type
{
  NO_ASSIGNMENT                             (0),
  REGISTRATION                              (1),
  RE_REGISTRATION                           (2),
  UNREGISTERED_USER                         (3),
  TIMEOUT_DEREGISTRATION                    (4),
  USER_DEREGISTRATION                       (5),
  TIMEOUT_DEREGISTRATION_STORE_SERVER_NAME  (6),
  USER_DEREGISTRATION_STORE_SERVER_NAME     (7),
  ADMINISTRATIVE_DEREGISTRATION             (8),
  AUTHENTICATION_FAILURE                    (9),
  AUTHENTICATION_TIMEOUT                   (10),
  DEREGISTRATION_TOO_MUCH_DATA             (11)
}

// 3GPP 29.229 V6.10.0
// AVP: Deregistration-Reason (615) 3GPP (10415)
// 6.3.16
type AVP_Grouped Deregistration_Reason;

// 3GPP 29.229 V6.10.0
// AVP: Reason-Code (616) 3GPP (10415)
// 6.3.17
type enumerated Reason_Code
{
  PERMANENT_TERMINATION (0),
  NEW_SERVER_ASSIGNED   (1),
  SERVER_CHANGE         (2),
  REMOVE_S_CSCF         (3)
}

// 3GPP 29.229 V6.10.0
// AVP: Reason-Info (617) 3GPP (10415)
// 6.3.18
type AVP_UTF8String Reason_Info;

// 3GPP 29.229 V6.10.0
// AVP: Charging-Information (618) 3GPP (10415)
// 6.3.19
type AVP_Grouped Charging_Information;

// 3GPP 29.229 V6.10.0
// AVP: Primary-Event-Charging-Function-Name (619) 3GPP (10415)
// 6.3.20
type AVP_DiameterURI Primary_Event_Charging_Function_Name;

// 3GPP 29.229 V6.10.0
// AVP: Secondary-Event-Charging-Function-Name (620) 3GPP (10415)
// 6.3.21
type AVP_DiameterURI Secondary_Event_Charging_Function_Name;

// 3GPP 29.229 V6.10.0
// AVP: Primary-Charging-Collection-Function-Name (621) 3GPP (10415)
// 6.3.22
type AVP_DiameterURI Primary_Charging_Collection_Function_Name;

// 3GPP 29.229 V6.10.0
// AVP: Secondary-Charging-Collection-Function-Name (622) 3GPP (10415)
// 6.3.23
type AVP_DiameterURI Secondary_Charging_Collection_Function_Name;

// 3GPP 29.229 V6.10.0
// AVP: User-Authorization-Type (623) 3GPP (10415)
// 6.3.24
type enumerated User_Authorization_Type
{
  REGISTRATION                  (0),
  DE_REGISTRATION               (1),
  REGISTRATION_AND_CAPABILITIES (2)
}

// 3GPP 29.229 V6.10.0
// AVP: User-Data-Already-Available (624) 3GPP (10415)
// 6.3.26
type enumerated User_Data_Already_Available
{
  USER_DATA_NOT_AVAILABLE     (0),
  USER_DATA_ALREADY_AVAILABLE (1)
}

// 3GPP 29.229 V6.10.0
// AVP: Confidentiality-Key (625) 3GPP (10415)
// 6.3.27
type AVP_OctetString Confidentiality_Key;

// 3GPP 29.229 V6.10.0
// AVP: Integrity-Key (626) 3GPP (10415)
// 6.3.28
type AVP_OctetString Integrity_Key;

// 3GPP 29.229 V6.10.0
// AVP: Supported-Features (628) 3GPP (10415)
// 6.3.29
type AVP_Grouped Supported_Features;

// 3GPP 29.229 V6.10.0
// AVP: Feature-List-ID (629) 3GPP (10415)
// 6.3.30
type AVP_Unsigned32 Feature_List_ID;

// 3GPP 29.229 V6.10.0
// AVP: Feature-List (630) 3GPP (10415)
// 6.3.31
type AVP_Unsigned32 Feature_List;

// 3GPP 29.229 V6.10.0
// AVP: Supported-Applications (631) 3GPP (10415)
// 6.3.32
type AVP_Grouped Supported_Applications;

// 3GPP 29.229 V6.10.0
// AVP: Associated-Identities (632) 3GPP (10415)
// 6.3.33
type AVP_Grouped Associated_Identities;
