Skip to content

Commit

Permalink
MT#55283 Fix ipv stats when calls are restored from redis
Browse files Browse the repository at this point in the history
closes #1828
closes #1829

Change-Id: I3de667b4b45c9d70ee82aec6646cc41e712f21ae
  • Loading branch information
smititelu authored and rfuchs committed May 14, 2024
1 parent 38b17eb commit 18999c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions daemon/redis.c
Original file line number Diff line number Diff line change
Expand Up @@ -2090,6 +2090,8 @@ static void json_restore_call(struct redis *r, const str *callid, bool foreign)
// set it to what we want, updating the statistics if needed
CALL_CLEAR(c, FOREIGN);
call_make_own_foreign(c, foreign);
bf_set_clear(&c->call_flags, CALL_FLAG_MEDIA_COUNTED, false);
statistics_update_ip46_inc_dec(c, CMC_INCREMENT);

err = NULL;

Expand Down

0 comments on commit 18999c7

Please sign in to comment.