fix global operator=yes (bug #3080)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4782 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2005-01-13 05:39:04 +00:00
parent 334bd9f57d
commit 5d877f53ed

View File

@@ -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);