doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11076 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
aae3c8b8a3
commit
1a401ee77b
File diff suppressed because it is too large
Load Diff
|
@ -1198,6 +1198,7 @@ SWITCH_DECLARE(void) switch_channel_event_set_basic_data(switch_channel_t *chann
|
|||
}
|
||||
}
|
||||
|
||||
switch_mutex_unlock(channel->profile_mutex);
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(void) switch_channel_event_set_extended_data(switch_channel_t *channel, switch_event_t *event)
|
||||
|
@ -1205,7 +1206,7 @@ SWITCH_DECLARE(void) switch_channel_event_set_extended_data(switch_channel_t *ch
|
|||
switch_event_header_t *hi;
|
||||
int x;
|
||||
|
||||
switch_channel_event_set_basic_data(channel, event);
|
||||
switch_mutex_lock(channel->profile_mutex);
|
||||
|
||||
if (switch_channel_test_flag(channel, CF_VERBOSE_EVENTS) ||
|
||||
event->event_id == SWITCH_EVENT_CHANNEL_ORIGINATE ||
|
||||
|
@ -1245,8 +1246,10 @@ SWITCH_DECLARE(void) switch_channel_event_set_extended_data(switch_channel_t *ch
|
|||
|
||||
SWITCH_DECLARE(void) switch_channel_event_set_data(switch_channel_t *channel, switch_event_t *event)
|
||||
{
|
||||
switch_mutex_lock(channel->profile_mutex);
|
||||
switch_channel_event_set_basic_data(channel, event);
|
||||
switch_channel_event_set_extended_data(channel, event);
|
||||
switch_mutex_unlock(channel->profile_mutex);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue