提交 6ebc9b01 authored 作者: Anthony Minessale's avatar Anthony Minessale

use timeout cause code MODSOFIA-22

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14587 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 a35dc92e
...@@ -695,6 +695,7 @@ static switch_status_t sofia_read_frame(switch_core_session_t *session, switch_f ...@@ -695,6 +695,7 @@ static switch_status_t sofia_read_frame(switch_core_session_t *session, switch_f
if (--sanity && switch_channel_ready(channel)) { if (--sanity && switch_channel_ready(channel)) {
switch_yield(10000); switch_yield(10000);
} else { } else {
switch_channel_hangup(tech_pvt->channel, SWITCH_CAUSE_RECOVERY_ON_TIMER_EXPIRE);
return SWITCH_STATUS_GENERR; return SWITCH_STATUS_GENERR;
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论