mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 23:24:18 +00:00
add proper notification of a vm message being too short
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9615 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
cc10211ab3
commit
6c3aa9c7c6
4 files changed
+8
-3
No files matched your search
@@ -1035,8 +1035,7 @@ static switch_status_t create_file(switch_core_session_t *session, vm_profile_t
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "failed to delete file [%s]\n", file_path);
|
||||
}
|
||||
if (switch_channel_ready(channel)) {
|
||||
/* TODO Rel 1.0 : Add Playback of Prompt <message is too short, please rerecord your message>, then go back at record_file */
|
||||
TRY_CODE(switch_ivr_phrase_macro(session, VM_ACK_MACRO, "deleted", NULL, NULL));
|
||||
TRY_CODE(switch_ivr_phrase_macro(session, VM_ACK_MACRO, "too-small", NULL, NULL));
|
||||
goto record_file;
|
||||
} else {
|
||||
status = SWITCH_STATUS_FALSE;
|
||||
|
||||
Reference in new issue
Block a user