diff --git a/main/features.c b/main/features.c index 32b311278e..a107b4b7ac 100644 --- a/main/features.c +++ b/main/features.c @@ -3483,7 +3483,7 @@ int ast_bridge_call(struct ast_channel *chan,struct ast_channel *peer,struct ast ast_cdr_specialized_reset(new_peer_cdr, 0); } } else { - ast_cdr_specialized_reset(peer_cdr, 0); /* nothing changed, reset the peer_cdr */ + ast_cdr_specialized_reset(peer->cdr, 0); /* nothing changed, reset the peer cdr */ } }