aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-20 23:51:58 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-20 23:51:58 +0000
commit55ab46042056e4ede7c7e9b1ee7ec8370d89c6b0 (patch)
tree77a7620e7079f4e306d8929ce1375a0742432b83
parent78861a7157650e1359f4895751bb63ca6e8f0d0c (diff)
issue #5774
git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-2@7153 f38db490-d61c-443f-a65b-d21fe96a405b
-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);