diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-20 23:51:58 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-20 23:51:58 +0000 |
commit | 55ab46042056e4ede7c7e9b1ee7ec8370d89c6b0 (patch) | |
tree | 77a7620e7079f4e306d8929ce1375a0742432b83 | |
parent | 78861a7157650e1359f4895751bb63ca6e8f0d0c (diff) |
issue #5774
git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-2@7153 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-x | ChangeLog | 2 | ||||
-rwxr-xr-x | apps/app_voicemail.c | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -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); |