From 6c3aa9c7c609ba51f3978ec01a3ba1c3578ac555 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 22 Sep 2008 17:35:22 +0000 Subject: [PATCH] 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 --- build/sounds_version.txt | 2 +- conf/lang/en/vm/sounds.xml | 5 +++++ docs/phrase/phrase_en.xml | 1 + src/mod/applications/mod_voicemail/mod_voicemail.c | 3 +-- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/build/sounds_version.txt b/build/sounds_version.txt index 90a27f9cea..af0b7ddbff 100644 --- a/build/sounds_version.txt +++ b/build/sounds_version.txt @@ -1 +1 @@ -1.0.5 +1.0.6 diff --git a/conf/lang/en/vm/sounds.xml b/conf/lang/en/vm/sounds.xml index a8aa208afe..cf8b3ffeac 100644 --- a/conf/lang/en/vm/sounds.xml +++ b/conf/lang/en/vm/sounds.xml @@ -292,6 +292,11 @@ + + + + + diff --git a/docs/phrase/phrase_en.xml b/docs/phrase/phrase_en.xml index 84c98d9f01..9c12499479 100644 --- a/docs/phrase/phrase_en.xml +++ b/docs/phrase/phrase_en.xml @@ -213,6 +213,7 @@ + diff --git a/src/mod/applications/mod_voicemail/mod_voicemail.c b/src/mod/applications/mod_voicemail/mod_voicemail.c index 151f3aef36..722ad5757d 100644 --- a/src/mod/applications/mod_voicemail/mod_voicemail.c +++ b/src/mod/applications/mod_voicemail/mod_voicemail.c @@ -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 , 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;