[Asterisk-cvs] asterisk/apps app_voicemail.c,1.43,1.44
markster at lists.digium.com
markster at lists.digium.com
Thu Dec 11 15:03:55 CST 2003
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv22649/apps
Modified Files:
app_voicemail.c
Log Message:
Properly fix double locking issue, fix wav49 issue
Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- app_voicemail.c 4 Dec 2003 23:19:26 -0000 1.43
+++ app_voicemail.c 11 Dec 2003 20:55:25 -0000 1.44
@@ -1928,6 +1928,9 @@
strncpy(tmp, fmt, sizeof(tmp));
stringp = tmp;
while((s = strsep(&stringp, "|"))) {
+ /* XXX This is a hack -- we should use build_filename or similar XXX */
+ if (!strcasecmp(s, "wav49"))
+ s = "WAV";
snprintf(sys, sizeof(sys), "cp %s/msg%04d.%s %s/msg%04d.%s\n", dir, curmsg, s, todir, todircount, s);
ast_log(LOG_DEBUG, sys);
system(sys);
More information about the svn-commits
mailing list