issue #5774
authorJosh Roberson <josh@asteriasgi.com>
Sun, 20 Nov 2005 05:51:33 +0000 (05:51 +0000)
committerJosh Roberson <josh@asteriasgi.com>
Sun, 20 Nov 2005 05:51:33 +0000 (05:51 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7141 65c4cc65-6c06-0410-ace0-fbb531ad65f3

ChangeLog
apps/app_voicemail.c

index 63c7ab5..4987af5 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2005-11-20  Josh Roberson <josh@asteriasgi.com>
 
+       * apps/app_voicemail.c: Make sure we're copying the read digits when calling voicemail without a box. (issue #5774)
+
        * apps/app_md5.c: Fix conditional jump option.
 
        * apps/app_controlplayback.c: Fix conditional jump option.
index 487d6e9..e9d13df 100755 (executable)
@@ -5532,6 +5532,7 @@ static int vm_exec(struct ast_channel *chan, void *data)
                        LOCAL_USER_REMOVE(u);
                        return 0;
                }       
+               argv[0] = ast_strdupa(tmp);
        }
 
        res = leave_voicemail(chan, argv[0], &leave_options);