提交 d4116bb6 authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-4098 try this patch and see if you get the new error, it may mean the file is…

FS-4098 try this patch and see if you get the new error, it may mean the file is not seekable or has been deleted
上级 04a36884
......@@ -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;
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论