[Asterisk-cvs] asterisk/apps app_voicemail.c,1.271,1.272

jeremy jeremy
Wed Nov 16 16:12:29 CST 2005


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

Modified Files:
	app_voicemail.c 
Log Message:
Make voicemail not terminate asterisk if no config file

Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.271
retrieving revision 1.272
diff -u -d -r1.271 -r1.272
--- app_voicemail.c	12 Nov 2005 02:39:06 -0000	1.271
+++ app_voicemail.c	16 Nov 2005 21:02:25 -0000	1.272
@@ -6228,8 +6228,8 @@
 		return 0;
 	} else {
 		ast_mutex_unlock(&vmlock);
-		ast_log(LOG_WARNING, "Error reading voicemail config\n");
-		return -1;
+		ast_log(LOG_WARNING, "Failed to load configuration file. Module not activated.\n");
+		return 0;
 	}
 }
 




More information about the svn-commits mailing list