From: Michael Jerris Date: Tue, 23 Sep 2008 20:16:56 +0000 (+0000) Subject: revert svn r 9613 (MODAPP-133) X-Git-Tag: v1.0.2~1155 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff8850245c46cf4ca70e720c47c167752469f583;p=thirdparty%2Ffreeswitch.git revert svn r 9613 (MODAPP-133) git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9626 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_voicemail/mod_voicemail.c b/src/mod/applications/mod_voicemail/mod_voicemail.c index 722ad5757d..936431f03e 100644 --- a/src/mod/applications/mod_voicemail/mod_voicemail.c +++ b/src/mod/applications/mod_voicemail/mod_voicemail.c @@ -1038,7 +1038,7 @@ static switch_status_t create_file(switch_core_session_t *session, vm_profile_t TRY_CODE(switch_ivr_phrase_macro(session, VM_ACK_MACRO, "too-small", NULL, NULL)); goto record_file; } else { - status = SWITCH_STATUS_FALSE; + status = SWITCH_STATUS_BREAK; goto end; } } else { @@ -2689,8 +2689,6 @@ static switch_status_t voicemail_leave_main(switch_core_session_t *session, cons } else { TRY_CODE(switch_ivr_phrase_macro(session, VM_ACK_MACRO, "saved", NULL, NULL)); } - } else { - goto end; } switch_channel_get_variables(channel, &vars);