[Asterisk-cvs] asterisk/apps app_voicemail.c,1.151.2.6,1.151.2.7

russell at lists.digium.com russell at lists.digium.com
Thu Dec 2 21:00:42 CST 2004


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv18590/apps

Modified Files:
      Tag: v1-0
	app_voicemail.c 
Log Message:
canceled voicemail emails corrupt wav (bug 2957)


Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.151.2.6
retrieving revision 1.151.2.7
diff -u -d -r1.151.2.6 -r1.151.2.7
--- app_voicemail.c	8 Nov 2004 00:30:21 -0000	1.151.2.6
+++ app_voicemail.c	3 Dec 2004 01:59:08 -0000	1.151.2.7
@@ -1523,7 +1523,8 @@
 						free_user(recip);
 					}
 				}
-				notify_new_message(chan, vmu, msgnum, duration, fmt, chan->callerid);
+				if (ast_fileexists(fn, NULL, NULL))	
+					notify_new_message(chan, vmu, msgnum, duration, fmt, chan->callerid);
 			} else {
 				res = ast_streamfile(chan, "vm-mailboxfull", chan->language);
 				if (!res)




More information about the svn-commits mailing list