[Asterisk-cvs] asterisk/apps app_voicemail.c,1.151.2.12,1.151.2.13

russell at lists.digium.com russell at lists.digium.com
Wed Jan 12 23:35:05 CST 2005


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

Modified Files:
      Tag: v1-0
	app_voicemail.c 
Log Message:
fix global operator=yes (bug #3080)


Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.151.2.12
retrieving revision 1.151.2.13
diff -u -d -r1.151.2.12 -r1.151.2.13
--- app_voicemail.c	5 Jan 2005 05:32:47 -0000	1.151.2.12
+++ app_voicemail.c	13 Jan 2005 05:39:04 -0000	1.151.2.13
@@ -1331,6 +1331,7 @@
 	}
 
 	if ((vmu = find_user(&svm, context, ext))) {
+		populate_defaults(vmu);	
 		/* Setup pre-file if appropriate */
 		if (strcmp(vmu->context, "default"))
 			snprintf(ext_context, sizeof(ext_context), "%s@%s", ext, vmu->context);
@@ -1372,7 +1373,7 @@
 			strncat(ecodes, "*", sizeof(ecodes) -  strlen(ecodes) - 1);
 			ausemacro = 1;
 		}
-
+		
 		/* Play the beginning intro if desired */
 		if (!ast_strlen_zero(prefile)) {
 			if (ast_fileexists(prefile, NULL, NULL) > 0) {




More information about the svn-commits mailing list