projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb72c49
)
Make sure we copy the text file too
author
Mark Spencer
<markster@digium.com>
Fri, 15 Aug 2003 18:48:08 +0000
(18:48 +0000)
committer
Mark Spencer
<markster@digium.com>
Fri, 15 Aug 2003 18:48:08 +0000
(18:48 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1340
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
apps/app_voicemail2.c
patch
|
blob
|
history
diff --git
a/apps/app_voicemail2.c
b/apps/app_voicemail2.c
index
08fe3bc
..
0104149
100755
(executable)
--- a/
apps/app_voicemail2.c
+++ b/
apps/app_voicemail2.c
@@
-1810,6
+1810,9
@@
forward_message(struct ast_channel *chan, char *context, char *dir, int curmsg,
ast_log(LOG_DEBUG, sys);
system(sys);
}
+ snprintf(sys, sizeof(sys), "cp %s/msg%04d.txt %s/msg%04d.txt\n", dir, curmsg, todir, todircount);
+ ast_log(LOG_DEBUG, sys);
+ system(sys);
snprintf(fn, sizeof(fn), "%s/msg%04d", todir,todircount);
/* load the information on the source message so we can send an e-mail like a new message */