From: Anthony Minessale Date: Fri, 18 Feb 2011 16:48:14 +0000 (-0600) Subject: vm-skip-instructions param in xml directory to disable instructions how to record... X-Git-Tag: v1.2-rc1~187^2~1^2~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ed7e1f3954853f1a7005f08de2967b38d3e164fb;p=thirdparty%2Ffreeswitch.git vm-skip-instructions param in xml directory to disable instructions how to record a file --- 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))) {