[Freeswitch-svn] [commit] r10879 - freeswitch/trunk/src/mod/applications/mod_voicemail
FreeSWITCH SVN
mikej at freeswitch.org
Thu Dec 18 15:50:05 PST 2008
Author: mikej
Date: Thu Dec 18 18:50:05 2008
New Revision: 10879
Log:
MODAPP-181 add ability to skip greeting when leaving a voicemail.
Modified:
freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c
Modified: freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c (original)
+++ freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c Thu Dec 18 18:50:05 2008
@@ -452,7 +452,7 @@
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;
More information about the Freeswitch-svn
mailing list