[commit] r9627 - freeswitch/trunk/src/mod/applications/mod_voicemail
Author: mikej Date: Tue Sep 23 16:31:49 2008 New Revision: 9627 Modified: freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c Log: (MODAPP-133) 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 Tue Sep 23 16:31:49 2008 @@ -1038,7 +1038,7 @@ TRY_CODE(switch_ivr_phrase_macro(session, VM_ACK_MACRO, "too-small", NULL, NULL)); goto record_file; } else { - status = SWITCH_STATUS_BREAK; + status = SWITCH_STATUS_NOTFOUND; goto end; } } else { @@ -2676,6 +2676,10 @@ status = create_file(session, profile, VM_RECORD_MESSAGE_MACRO, file_path, &message_len, SWITCH_TRUE); + if ((status == SWITCH_STATUS_NOTFOUND)) { + goto end; + } + if ((status == SWITCH_STATUS_SUCCESS || status == SWITCH_STATUS_BREAK) && switch_channel_ready(channel)) { char input[10] = "", key_buf[80] = "", term = 0;
participants (1)
-
Freeswitch SVN