diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 61bb3d3413..565bf07f47 100755 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -1331,6 +1331,7 @@ static int leave_voicemail(struct ast_channel *chan, char *ext, int silent, int } if ((vmu = find_user(&svm, context, ext))) { + populate_defaults(vmu); /* Setup pre-file if appropriate */ if (strcmp(vmu->context, "default")) snprintf(ext_context, sizeof(ext_context), "%s@%s", ext, vmu->context); @@ -1372,7 +1373,7 @@ static int leave_voicemail(struct ast_channel *chan, char *ext, int silent, int strncat(ecodes, "*", sizeof(ecodes) - strlen(ecodes) - 1); ausemacro = 1; } - + /* Play the beginning intro if desired */ if (!ast_strlen_zero(prefile)) { if (ast_fileexists(prefile, NULL, NULL) > 0) {