diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index d99bced3d4..0ebad3d272 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -6158,7 +6158,7 @@ static int msg_create_from_file(struct ast_vm_recording_data *recdata) ast_log(LOG_ERROR,"Unable to determine sample rate of recording %s\n", recdata->recording_file); } } - ast_closeframe(recording_fs); + ast_closestream(recording_fs); } /* If the duration was below the minimum duration for the user, let's just drop the whole thing now */