diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index 0afacf53c2..17bcd904b2 100644 --- a/res/res_musiconhold.c +++ b/res/res_musiconhold.c @@ -331,7 +331,6 @@ static int ast_moh_files_next(struct ast_channel *chan) } } else { state->announcement = 0; - state->samples = 0; } if (!state->class->total_files) {