提交 0999c9a8 authored 作者: Anthony Minessale's avatar Anthony Minessale

MODAPP-206

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11555 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 0c609065
...@@ -208,7 +208,11 @@ static switch_status_t caller_read_frame_callback(switch_core_session_t *session ...@@ -208,7 +208,11 @@ static switch_status_t caller_read_frame_callback(switch_core_session_t *session
args.input_callback = moh_on_dtmf; args.input_callback = moh_on_dtmf;
args.buf = buf; args.buf = buf;
args.buflen = sizeof(buf); args.buflen = sizeof(buf);
switch_ivr_play_file(session, NULL, cd->list[cd->index], &args);
if (switch_ivr_play_file(session, NULL, cd->list[cd->index], &args) != SWITCH_STATUS_SUCCESS) {
return SWITCH_STATUS_FALSE;
}
if (caller_exit_key && *buf == *caller_exit_key) { if (caller_exit_key && *buf == *caller_exit_key) {
cd->abort = 1; cd->abort = 1;
return SWITCH_STATUS_FALSE; return SWITCH_STATUS_FALSE;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论