Skip to content

Commit

Permalink
modules/ims_charging: added extra stat replies received for CCRs (rev…
Browse files Browse the repository at this point in the history
…erted from commit 90d0a99)
  • Loading branch information
jaybeepee committed Apr 14, 2015
1 parent e7e9095 commit aa8d1ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/ims_charging/ims_ro.c
Expand Up @@ -664,7 +664,7 @@ static void resume_on_interim_ccr(int is_timeout, void *param, AAAMessage *cca,
}

counter_add(ims_charging_cnts_h.ccr_response_time, elapsed_msecs);
counter_add(ims_charging_cnts_h.ccr_response_time, 1);
counter_inc(ims_charging_cnts_h.ccr_replies_received);

if (!i_req) {
LM_ERR("This is so wrong: ro session is NULL\n");
Expand Down Expand Up @@ -885,7 +885,7 @@ static void resume_on_termination_ccr(int is_timeout, void *param, AAAMessage *c
goto error;
}

counter_add(ims_charging_cnts_h.ccr_response_time, 1);
counter_inc(ims_charging_cnts_h.ccr_replies_received);
counter_add(ims_charging_cnts_h.ccr_response_time, elapsed_msecs);

if (!cca) {
Expand Down Expand Up @@ -1171,7 +1171,7 @@ static void resume_on_initial_ccr(int is_timeout, void *param, AAAMessage *cca,
goto error0;
}

counter_add(ims_charging_cnts_h.ccr_response_time, 1);
counter_inc(ims_charging_cnts_h.ccr_replies_received);
counter_add(ims_charging_cnts_h.ccr_response_time, elapsed_msecs);

if (!cca) {
Expand Down

0 comments on commit aa8d1ff

Please sign in to comment.