]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4098 try this patch and see if you get the new error, it may mean the file is...
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 10 Apr 2012 15:15:15 +0000 (10:15 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 10 Apr 2012 15:15:15 +0000 (10:15 -0500)
src/switch_ivr_originate.c

index 9a259039875ca84b3bc52b6f08f04462c59e0998..35091da9a0510b4385997ce27be9b6ffa1cac93b 100644 (file)
@@ -997,6 +997,8 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_wait_for_answer(switch_core_session_t
                                        switch_core_file_seek(ringback.fh, &pos, 0, SEEK_SET);
                                        switch_core_file_read(ringback.fh, write_frame.data, &olen);
                                        if (olen == 0) {
+                                               switch_log_printf(SWITCH_CHANNEL_CHANNEL_LOG(caller_channel), SWITCH_LOG_ERROR, 
+                                                                                 "Failure to read or re-read after seeking to beginning on file [%s]\n", ringback.fh->file_path);
                                                break;
                                        }
                                }