Navigation


Changeset 1484:3bf80555f00a in freeDiameter


Ignore:
Timestamp:
Mar 27, 2020, 7:55:33 AM (4 years ago)
Author:
Luke Mewburn <luke@mewburn.net>
Branch:
default
Phase:
public
Message:

dict_dcca_3gpp: change External-Identifier code

3GPP TS 29.061 table 9a does not define
External-Identifier (28) for Diameter.
3GPP TS 29.061 table 9b refers to 3GPP TS 29.336
for External-Identifier (3111).

External-Identifier (28) OctetString? replaced by
External-Identifier (3111) UTF8String,
from 3GPP TS 29.336 Table 6.4.1/1 and clause 6.4.11.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • contrib/dict_json/dictionary_dcca_3gpp.json

    r1430 r1484  
    29312931    },
    29322932    {
    2933       "Code": 28,
    2934       "Flags": {
    2935         "Must": "V",
    2936         "MustNot": "M"
    2937       },
    2938       "Name": "External-Identifier",
    2939       "Type": "OctetString",
    2940       "Vendor": 10415
    2941     },
    2942     {
    29432933      "Code": 124,
    29442934      "Flags": {
     
    1084810838      "Name": "Extended-GBR-UL",
    1084910839      "Type": "Unsigned32",
     10840      "Vendor": 10415
     10841    },
     10842    {
     10843      "Code": 3111,
     10844      "Flags": {
     10845        "Must": "V",
     10846        "MustNot": "M"
     10847      },
     10848      "Name": "External-Identifier",
     10849      "Type": "UTF8String",
    1085010850      "Vendor": 10415
    1085110851    },
  • extensions/dict_dcca_3gpp/dict_dcca_3gpp.c

    r1483 r1484  
    7373 * it is Mandatory or not. The data currently in the document does not
    7474 * match what was in the previous version of the freeDiameter
    75  * extension (the one that existedbefore I rewrote it) or what I saw
     75 * extension (the one that existed before I rewrote it) or what I saw
    7676 * so far. IIRC, even the table and the document contradict each
    77  * other. The AVP table is also missing an entry for
    78  * "External-Identifier", 28.
     77 * other.
    7978 *
    8079 * 2. 29.140 has conflicting AVP names with other documents:
     
    738737        };
    739738
    740         /* added manually, missing in AVP table                             */
    741         /* External-Identifier, OctetString, code 28, section 16.4.7        */
    742         {
    743                 struct dict_avp_data data = {
    744                         28,     /* Code */
    745                         10415,  /* Vendor */
    746                         "External-Identifier",  /* Name */
    747                         AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY,    /* Fixed flags */
    748                         AVP_FLAG_VENDOR,        /* Fixed flag values */
    749                         AVP_TYPE_OCTETSTRING    /* base type of data */
    750                 };
    751                 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
    752         };
     739        /* Note: 3GPP TS 29.061 table 9a does not define                    */
     740        /* External-Identifier (28) for Diameter.                           */
     741        /* 3GPP TS 29.061 table 9b refers to 3GPP TS 29.336                 */
     742        /* for External-Identifier (3111).                                  */
     743        /*                                                                  */
     744        /* External-Identifier (28) OctetString replaced by                 */
     745        /* External-Identifier (3111) UTF8String.                           */
    753746
    754747        /* TMGI, OctetString, code 900, section 17.07.02                    */
     
    87698762                };
    87708763                CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
     8764        };
     8765
     8766        /*==================================================================*/
     8767        /* 3GPP TS 29.336 V15.7.0 (2019-09)                                 */
     8768        /* From 3GPP 29336-f70.docx                                         */
     8769        /*==================================================================*/
     8770
     8771        /*==================================================================*/
     8772        /* 3GPP TS 29.336 Table 6.4.1/1: S6m/S6n specific Diameter AVPs     */
     8773        /*                                                                  */
     8774        /* Note: This is incomplete.                                        */
     8775        /*==================================================================*/
     8776
     8777        /* External-Identifier, UTF8String, code 3111, section 6.4.11       */
     8778        {
     8779                struct dict_avp_data data = {
     8780                        3111,   /* Code */
     8781                        10415,  /* Vendor */
     8782                        "External-Identifier",  /* Name */
     8783                        AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY,    /* Fixed flags */
     8784                        AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY,    /* Fixed flag values */
     8785                        AVP_TYPE_OCTETSTRING    /* base type of data */
     8786                };
     8787                CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL);
    87718788        };
    87728789
  • extensions/dict_dcca_3gpp/dict_dcca_3gpp.csv

    r1483 r1484  
    57573GPP-Negotiated-DSCP,26,16.4.7,OctetString,V,P,,M,
    58583GPP-Allocate-IP-Type,27,16.4.7,OctetString,V,P,,M,
    59 "# added manually, missing in AVP table",,,,,,,,
    60 External-Identifier,28,16.4.7,OctetString,V,P,,M,
     59# Note: 3GPP TS 29.061 table 9a does not define,,,,,,,,
     60# External-Identifier (28) for Diameter.,,,,,,,,
     61# 3GPP TS 29.061 table 9b refers to 3GPP TS 29.336,,,,,,,,
     62# for External-Identifier (3111).,,,,,,,,
     63# ,,,,,,,,
     64# External-Identifier (28) OctetString replaced by,,,,,,,,
     65# External-Identifier (3111) UTF8String.,,,,,,,,
     66#,,,,,,,,
    6167TMGI,900,17.07.02,OctetString,"M,V",P,,,
    6268Required-MBMS-Bearer-Capabilities,901,17.07.03,UTF8String,"M,V",P,,,
     
    809815Call-Reference-Number,721,6.3.30,OctetString,V,,,M,No
    810816AS-Number,722,6.3.31,OctetString,V,,,M,No
     817,,,,,,,,
     818@standard,3GPP TS 29.336,,,,,,,
     819#=,,,,,,,,
     820# 3GPP TS 29.336 V15.7.0 (2019-09),,,,,,,,
     821# From 3GPP 29336-f70.docx,,,,,,,,
     822#=,,,,,,,,
     823#,,,,,,,,
     824#=,,,,,,,,
     825# 3GPP TS 29.336 Table 6.4.1/1: S6m/S6n specific Diameter AVPs,,,,,,,,
     826# ,,,,,,,,
     827# Note: This is incomplete.,,,,,,,,
     828#=,,,,,,,,
     829#,,,,,,,,
     830External-Identifier,3111,6.4.11,UTF8String,"M,V",,,,No
    811831,,,,,,,,
    812832@standard,3GPP TS 32.299,,,,,,,
Note: See TracChangeset for help on using the changeset viewer.