[Asterisk-cvs] asterisk/apps app_voicemail.c,1.250,1.251

kpfleming kpfleming
Thu Oct 13 20:13:48 CDT 2005


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

Modified Files:
	app_voicemail.c 
Log Message:
ensure that message envelopes are retrieved from ODBC storage when advanced options menu is used (issue #5393)


Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.250
retrieving revision 1.251
diff -u -d -r1.250 -r1.251
--- app_voicemail.c	25 Sep 2005 20:39:19 -0000	1.250
+++ app_voicemail.c	14 Oct 2005 00:08:24 -0000	1.251
@@ -6332,7 +6332,9 @@
 
 	make_file(vms->fn2, sizeof(vms->fn2), vms->curdir, vms->curmsg);
 	snprintf(filename,sizeof(filename), "%s.txt", vms->fn2);
+	RETRIEVE(vms->curdir, vms->curmsg);
 	msg_cfg = ast_config_load(filename);
+	DISPOSE(vms->curdir, vms->curmsg);
 	if (!msg_cfg) {
 		ast_log(LOG_WARNING, "No message attribute file?!! (%s)\n", filename);
 		return 0;




More information about the svn-commits mailing list