aboutsummaryrefslogtreecommitdiffstats
path: root/apps
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 /apps
parent78861a7157650e1359f4895751bb63ca6e8f0d0c (diff)
issue #5774
git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-2@7153 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-xapps/app_voicemail.c3
1 files changed, 2 insertions, 1 deletions
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);