Navigation


Changes in / [1149:5d19d6f3e1bd:1148:1399ef1aa9bf] in freeDiameter


Ignore:
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/dict_dcca_3gpp/dict_dcca_3gpp.c

    r1146 r1120  
    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         {
    1036810343                struct dict_object *rule_avp;
    1036910344                struct dict_avp_request vpa;
     
    1039310368                                { { .avp_vendor = 0,     .avp_name = "CC-Output-Octets" }, RULE_OPTIONAL, -1, 1 },
    1039410369                                { { .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 },
    1041010370                        };
    1041110371                        PARSE_loc_rules(rules, rule_avp);
     
    1060910569                                { { .avp_vendor = 10415, .avp_name = "3GPP-User-Location-Info" }, RULE_OPTIONAL, -1, 1 },
    1061010570                                { { .avp_vendor = 10415, .avp_name = "User-CSG-Information" }, RULE_OPTIONAL, -1, 1 },
    10611                                 { { .avp_vendor = 5535,  .avp_name = "3GPP2-BSID" }, RULE_OPTIONAL, -1, 1 },
     10571                                { { .avp_vendor = 5535, .avp_name = "3GPP2-BSID" }, RULE_OPTIONAL, -1, 1 },
    1061210572                                { { .avp_vendor = 10415, .avp_name = "3GPP-RAT-Type" }, RULE_OPTIONAL, -1, 1 },
    1061310573                                { { .avp_vendor = 10415, .avp_name = "PS-Furnish-Charging-Information" }, RULE_OPTIONAL, -1, 1 },
  • libfdcore/cnxctx.c

    r1145 r1141  
    14091409                                break;
    14101410
    1411                         default:
    1412                                 fd_log_debug("\t - unknown session type (%d)", cred);
    1413 
    14141411                }                           /* switch */
    14151412
  • libfdcore/extensions.c

    r1144 r1127  
    129129                if (li == &ext->chain) {
    130130                        /* the dependency was not found */
    131                         LOG_F("Error: extension [%s] depends on [%s] which was not loaded first. Please fix your configuration file.",
     131                        TRACE_ERROR("Error: extension [%s] depends on [%s] which was not loaded first. Please fix your configuration file.",
    132132                                ext->ext_name, ext->depends[i]);
    133133                        return ESRCH;
     
    166166                        /* An error occured */
    167167                        LOG_F("Loading of extension %s failed: %s", ext->filename, dlerror());
     168                        #ifdef DEBUG
    168169                        ext->handler = dlopen(ext->filename, RTLD_LAZY | RTLD_GLOBAL);
    169170                        if (ext->handler) {
    170171                                if (!check_dependencies(ext)) {
    171                                         LOG_F("In addition, not all declared dependencies are satisfied (Internal Error!)");
     172                                        TRACE_ERROR("In addition, not all declared dependencies are satisfied (Internal Error!)");
    172173                                }
    173174                        }
     175                        #endif /* DEBUG */
    174176                        return EINVAL;
    175177                }
Note: See TracChangeset for help on using the changeset viewer.