[commit] r10879 - freeswitch/trunk/src/mod/applications/mod_voicemail
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;
participants (1)
-
FreeSWITCH SVN