--- app_voicemail_jegumi.c 2010-09-28 16:06:08.365295599 +0200 +++ app_voicemail.c 2010-05-17 21:37:12.000000000 +0200 @@ -5645,8 +5645,7 @@ notify_new_message(chan, vmu, NULL, msgnum, duration, fmt, S_OR(chan->cid.cid_num, NULL), S_OR(chan->cid.cid_name, NULL), flag); #endif } - ast_log(AST_LOG_NOTICE, "The record file is: %s \n", txtfile); - pbx_builtin_setvar_helper(chan, "VMFILENAME", txtfile); + /* Disposal needs to happen after the optional move and copy */ if (ast_fileexists(fn, NULL, NULL)) { DISPOSE(dir, msgnum);