Navigation


Changeset 1146:dee5ca683bee in freeDiameter for extensions


Ignore:
Timestamp:
May 16, 2013, 11:49:10 PM (11 years ago)
Author:
Thomas Klausner <tk@giga.or.at>
Branch:
default
Phase:
public
Message:

More rules.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/dict_dcca_3gpp/dict_dcca_3gpp.c

    r1120 r1146  
    1034110341
    1034210342        {
     10343                /* additional allowed AVPs */
     10344                struct dict_object *ccr;
     10345                CHECK_dict_search(DICT_COMMAND, CMD_BY_NAME, "Credit-Control-Request", &ccr);
     10346                struct local_rules_definition rules[] =
     10347                        {
     10348                                { { .avp_vendor = 10415, .avp_name = "AoC-Request-Type"}, RULE_OPTIONAL, -1, 1 },
     10349                                { { .avp_vendor = 10415, .avp_name = "Service-Information"}, RULE_OPTIONAL, -1, 1 },
     10350                        };
     10351                PARSE_loc_rules(rules, ccr);
     10352        }
     10353
     10354        {
     10355                /* additional allowed AVPs */
     10356                struct dict_object *ccr;
     10357                CHECK_dict_search(DICT_COMMAND, CMD_BY_NAME, "Credit-Control-Answer", &ccr);
     10358                struct local_rules_definition rules[] =
     10359                        {
     10360                                { { .avp_vendor = 10415, .avp_name = "Low-Balance-Indication"}, RULE_OPTIONAL, -1, 1 },
     10361                                { { .avp_vendor = 10415, .avp_name = "Remaining-Balance"}, RULE_OPTIONAL, -1, 1 },
     10362                                { { .avp_vendor = 10415, .avp_name = "Service-Information"}, RULE_OPTIONAL, -1, 1 },
     10363                        };
     10364                PARSE_loc_rules(rules, ccr);
     10365        }
     10366
     10367        {
    1034310368                struct dict_object *rule_avp;
    1034410369                struct dict_avp_request vpa;
     
    1036810393                                { { .avp_vendor = 0,     .avp_name = "CC-Output-Octets" }, RULE_OPTIONAL, -1, 1 },
    1036910394                                { { .avp_vendor = 0,     .avp_name = "CC-Service-Specific-Units" }, RULE_OPTIONAL, -1, 1 },
     10395                        };
     10396                        PARSE_loc_rules(rules, rule_avp);
     10397        }
     10398
     10399        {
     10400                struct dict_object *rule_avp;
     10401                struct dict_avp_request vpa;
     10402                vpa.avp_vendor = 10415;
     10403                vpa.avp_name = "Event-Type";
     10404                CHECK_dict_search(DICT_AVP, AVP_BY_NAME_AND_VENDOR, &vpa, &rule_avp);
     10405                struct local_rules_definition rules[] =
     10406                        {
     10407                                { { .avp_vendor = 10415, .avp_name = "SIP-Method" }, RULE_OPTIONAL, -1, 1 },
     10408                                { { .avp_vendor = 10415, .avp_name = "Event" }, RULE_OPTIONAL, -1, 1 },
     10409                                { { .avp_vendor = 10415, .avp_name = "Expires" }, RULE_OPTIONAL, -1, 1 },
    1037010410                        };
    1037110411                        PARSE_loc_rules(rules, rule_avp);
     
    1056910609                                { { .avp_vendor = 10415, .avp_name = "3GPP-User-Location-Info" }, RULE_OPTIONAL, -1, 1 },
    1057010610                                { { .avp_vendor = 10415, .avp_name = "User-CSG-Information" }, RULE_OPTIONAL, -1, 1 },
    10571                                 { { .avp_vendor = 5535, .avp_name = "3GPP2-BSID" }, RULE_OPTIONAL, -1, 1 },
     10611                                { { .avp_vendor = 5535,  .avp_name = "3GPP2-BSID" }, RULE_OPTIONAL, -1, 1 },
    1057210612                                { { .avp_vendor = 10415, .avp_name = "3GPP-RAT-Type" }, RULE_OPTIONAL, -1, 1 },
    1057310613                                { { .avp_vendor = 10415, .avp_name = "PS-Furnish-Charging-Information" }, RULE_OPTIONAL, -1, 1 },
Note: See TracChangeset for help on using the changeset viewer.