Index: apps/app_voicemail.c =================================================================== --- apps/app_voicemail.c (revision 58851) +++ apps/app_voicemail.c (working copy) @@ -2930,6 +2930,8 @@ } else if (ast_test_flag(options, OPT_UNAVAIL_GREETING)) { res = create_dirpath(dest, sizeof(dest), vmu->context, ext, "unavail"); snprintf(prefile, sizeof(prefile), "%s%s/%s/unavail", VM_SPOOL_DIR, vmu->context, ext); + } else { + snprintf(prefile, sizeof(prefile), "%s%s/%s/greet", VM_SPOOL_DIR, vmu->context, ext); } snprintf(tempfile, sizeof(tempfile), "%s%s/%s/temp", VM_SPOOL_DIR, vmu->context, ext); if ((res = create_dirpath(dest, sizeof(dest), vmu->context, ext, "temp"))) {