]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
vm-skip-instructions param in xml directory to disable instructions how to record...
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 18 Feb 2011 16:48:14 +0000 (10:48 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 18 Feb 2011 16:48:14 +0000 (10:48 -0600)
src/mod/applications/mod_voicemail/mod_voicemail.c

index ef843f683c38c5073c2cb89c02a6e60ac91e86be..2d98b752b073155a418c27e52db094ff6f3f5b1c 100644 (file)
@@ -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))) {