*** apps/app_voicemail.c.orig Mon Apr 25 11:48:54 2005 --- apps/app_voicemail.c Mon Apr 25 11:55:53 2005 *************** *** 188,193 **** --- 188,195 ---- 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,381 **** --- 378,385 ---- 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); } }