mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 11:11:05 +00:00
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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user