]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
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 63c7ab5dfcb8fbee32738106fb82c0e7f8d9b75b..4987af501c2dc26edb97d34cf6b7da8fa7e51188 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 487d6e9fec2728443500a3772590aa287c6273ec..e9d13dfa625b51af92826598b598ef34e779148f 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);