</macro>
<!-- Note: Update this to marked-urgent,emailed and saved once new sound files are recorded -->
<macro name="voicemail_ack">
+ <input pattern="^(too-small)$">
+ <match>
+ <action function="play-file" data="voicemail/vm-too-small.wav"/>
+ </match>
+ </input>
<input pattern="^(deleted)$">
<match>
<action function="play-file" data="voicemail/vm-message.wav"/>
<prompt phrase="is not available" filename="vm-not_available.wav"/>
<prompt phrase="message number" filename="vm-message_number.wav"/>
<prompt phrase="deleted" filename="vm-deleted.wav"/>
+ <prompt phrase="Your recording is below the minimum acceptable length, please try again" filename="vm-too-small.wav"/>
<prompt phrase="in folder inbox" filename="vm-in_folder.wav"/>
<prompt phrase="to return the call now" filename="vm-return_call.wav"/>
<prompt phrase="urgent" filename="vm-urgent.wav"/>
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;