提交 ade0dcd7 authored 作者: Mathieu Rene's avatar Mathieu Rene

declinato mortuus obfirmo!

上级 e44b3da6
......@@ -1230,7 +1230,9 @@ SWITCH_DECLARE(void) switch_channel_set_flag_value(switch_channel_t *channel, sw
switch_mutex_lock(channel->flag_mutex);
if (flag == CF_LEG_HOLDING && !channel->flags[flag] && channel->flags[CF_ANSWERED]) {
switch_mutex_unlock(channel->flag_mutex);
switch_channel_set_callstate(channel, CCS_HELD);
switch_mutex_lock(channel->flag_mutex);
}
channel->flags[flag] = value;
switch_mutex_unlock(channel->flag_mutex);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论