aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xChangeLog2
-rwxr-xr-xapps/app_voicemail.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7237e3e70..4708a9545 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2005-11-20 Russell Bryant <russell@digium.com>
+ * apps/app_voicemail.c: Correct the use of a mailbox entered by the calling party instead of indicated as an argument to the Voicemail application. (issue #5774)
+
* apps/app_controlplayback.c: Fix logic in checking for success when jumping to priority n+101.
* apps/app_md5.c: Fix logic in checking for success when jumping to priority n+101.
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 487d6e9fe..ecdc17bc5 100755
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -5531,7 +5531,8 @@ static int vm_exec(struct ast_channel *chan, void *data)
if (ast_strlen_zero(tmp)) {
LOCAL_USER_REMOVE(u);
return 0;
- }
+ }
+ argv[0] = ast_strdupa(tmp);
}
res = leave_voicemail(chan, argv[0], &leave_options);