From c81b62dcc7a64de47667aaad6a189fa725e6784d Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 18 Dec 2008 23:50:05 +0000 Subject: [PATCH] MODAPP-181 add ability to skip greeting when leaving a voicemail. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10879 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_voicemail/mod_voicemail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_voicemail/mod_voicemail.c b/src/mod/applications/mod_voicemail/mod_voicemail.c index 7e98830a9f..1f10b361bc 100644 --- a/src/mod/applications/mod_voicemail/mod_voicemail.c +++ b/src/mod/applications/mod_voicemail/mod_voicemail.c @@ -452,7 +452,7 @@ static switch_status_t load_config(void) play_saved_messages_key = val; } else if (!strcasecmp(var, "main-menu-key") && !switch_strlen_zero(val)) { main_menu_key = val; - } else if (!strcasecmp(var, "skip-greet-key") && val && is_dtmf(*val)) { + } else if (!strcasecmp(var, "skip-greet-key") && val && (!*val || is_dtmf(*val))) { skip_greet_key = val; } else if (!strcasecmp(var, "config-menu-key") && !switch_strlen_zero(val)) { config_menu_key = val;