mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
doh
This commit is contained in:
parent
c3c9bff7b3
commit
c44a097156
@ -2021,9 +2021,10 @@ SWITCH_DECLARE(void) switch_channel_set_hunt_caller_profile(switch_channel_t *ch
|
||||
switch_assert(channel->caller_profile != NULL);
|
||||
|
||||
switch_mutex_lock(channel->profile_mutex);
|
||||
caller_profile->direction = channel->direction;
|
||||
|
||||
channel->caller_profile->hunt_caller_profile = NULL;
|
||||
if (channel->caller_profile && caller_profile) {
|
||||
caller_profile->direction = channel->direction;
|
||||
channel->caller_profile->hunt_caller_profile = caller_profile;
|
||||
}
|
||||
switch_mutex_unlock(channel->profile_mutex);
|
||||
|
Loading…
x
Reference in New Issue
Block a user