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

doh

上级 c3c9bff7
...@@ -2021,9 +2021,10 @@ SWITCH_DECLARE(void) switch_channel_set_hunt_caller_profile(switch_channel_t *ch ...@@ -2021,9 +2021,10 @@ SWITCH_DECLARE(void) switch_channel_set_hunt_caller_profile(switch_channel_t *ch
switch_assert(channel->caller_profile != NULL); switch_assert(channel->caller_profile != NULL);
switch_mutex_lock(channel->profile_mutex); switch_mutex_lock(channel->profile_mutex);
caller_profile->direction = channel->direction;
channel->caller_profile->hunt_caller_profile = NULL; channel->caller_profile->hunt_caller_profile = NULL;
if (channel->caller_profile && caller_profile) { if (channel->caller_profile && caller_profile) {
caller_profile->direction = channel->direction;
channel->caller_profile->hunt_caller_profile = caller_profile; channel->caller_profile->hunt_caller_profile = caller_profile;
} }
switch_mutex_unlock(channel->profile_mutex); switch_mutex_unlock(channel->profile_mutex);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论