diff options
-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); |