mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Make sure we copy the text file too
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1340 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user