提交 60ec8898 authored 作者: Mathieu Rene's avatar Mathieu Rene

oops

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13628 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 dfaf607e
......@@ -1460,7 +1460,9 @@ SWITCH_DECLARE(switch_caller_profile_t *) switch_channel_get_caller_profile(swit
switch_caller_profile_t *profile;
switch_assert(channel != NULL);
switch_mutex_lock(channel->profile_mutex);
profile = channel->hunt_caller_profile ? channel->hunt_caller_profile : channel->caller_profile;
if ((profile = channel->caller_profile) && profile->hunt_caller_profile) {
profile = profile->hunt_caller_profile;
}
switch_mutex_unlock(channel->profile_mutex);
return profile;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论