MT#55283 Fix ipv stats when calls are restored from redis

closes #1828
closes #1829

Change-Id: I3de667b4b45c9d70ee82aec6646cc41e712f21ae
mr12.4
Stefan-Cristian Mititelu 12 months ago committed by Richard Fuchs
parent 38b17eb04d
commit 18999c7cb1

@ -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;

Loading…
Cancel
Save