From ed7e1f3954853f1a7005f08de2967b38d3e164fb Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 18 Feb 2011 10:48:14 -0600 Subject: [PATCH] vm-skip-instructions param in xml directory to disable instructions how to record a file --- src/mod/applications/mod_voicemail/mod_voicemail.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mod/applications/mod_voicemail/mod_voicemail.c b/src/mod/applications/mod_voicemail/mod_voicemail.c index ef843f683c..2d98b752b0 100644 --- a/src/mod/applications/mod_voicemail/mod_voicemail.c +++ b/src/mod/applications/mod_voicemail/mod_voicemail.c @@ -3019,6 +3019,8 @@ static switch_status_t voicemail_leave_main(switch_core_session_t *session, vm_p vm_email = switch_core_session_strdup(session, val); } else if (!strcasecmp(var, "vm-notify-mailto")) { vm_notify_email = switch_core_session_strdup(session, val); + } else if (!strcasecmp(var, "vm-skip-instructions")) { + skip_instructions = switch_true(val); } else if (!strcasecmp(var, "email-addr")) { email_addr = switch_core_session_strdup(session, val); } else if (!strcasecmp(var, "vm-email-all-messages") && (send_main = switch_true(val))) {