diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-08-15 18:48:08 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-08-15 18:48:08 +0000 |
commit | 7c90965ee0c97260ce12dc77dafccc7260cb5d67 (patch) | |
tree | c28e53697480ad7400b60b7544f6a102eb1d0562 /apps | |
parent | 04bb756224537a3095e5dae1b0ba18f7e6891a6e (diff) |
Make sure we copy the text file too
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1340 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/app_voicemail2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/app_voicemail2.c b/apps/app_voicemail2.c index 08fe3bc84..0104149b6 100755 --- 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 */ |