[Asterisk-cvs] asterisk/apps app_voicemail.c,1.207,1.208

kpfleming at lists.digium.com kpfleming at lists.digium.com
Tue Apr 26 20:47:56 CDT 2005


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

Modified Files:
	app_voicemail.c 
Log Message:
support old single-column options for realtime voicemail (bug #4080)


Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.207
retrieving revision 1.208
diff -u -d -r1.207 -r1.208
--- app_voicemail.c	21 Apr 2005 06:02:43 -0000	1.207
+++ app_voicemail.c	27 Apr 2005 01:37:46 -0000	1.208
@@ -188,6 +188,8 @@
 static int vm_tempgreeting(struct ast_channel *chan, struct ast_vm_user *vmu, struct vm_state *vms, char *fmtc);
 static int vm_play_folder_name(struct ast_channel *chan, char *mbox);
 
+static void apply_options(struct ast_vm_user *vmu, const char *options);
+
 #ifdef USE_ODBC_STORAGE
 static char odbc_database[80];
 #define RETRIEVE(a,b) retrieve_file(a,b)
@@ -376,6 +378,8 @@
 		strncpy(vmu->dialout, value, sizeof(vmu->dialout) -1);
 	} else if (!strcasecmp(var, "exitcontext")) {
 		strncpy(vmu->exit, value, sizeof(vmu->exit) -1);
+	} else if (!strcasecmp(var, "options")) {
+		apply_options(vmu, value);
 	}
 }
 




More information about the svn-commits mailing list