]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 9 Sep 2008 16:32:15 +0000 (16:32 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 9 Sep 2008 16:32:15 +0000 (16:32 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9492 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_voicemail/mod_voicemail.c

index b7755341b6bdd106240a734cb18d5793c13becf8..eefc1d0259c1b7d576c3a22b74f262f872d94dcd 100644 (file)
@@ -1341,6 +1341,7 @@ static switch_status_t listen_file(switch_core_session_t *session, vm_profile_t
                                        forward_file_path = switch_core_session_sprintf(session, "%s%smsg_%s.wav", SWITCH_GLOBAL_dirs.temp_dir, SWITCH_PATH_SEPARATOR, uuid_str);
                                        TRY_CODE(create_file(session, profile, VM_RECORD_MESSAGE_MACRO, forward_file_path, &message_len, SWITCH_TRUE));
                                        if ((new_path = vm_merge_file(session, profile, forward_file_path, cbt->file_path))) {
+                                               switch_ivr_sleep(session, 1500, NULL);
                                                forward_file_path = new_path;
                                        } else {
                                                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error merging files\n");