FS-4559 --resolve

This commit is contained in:
Anthony Minessale 2012-08-22 16:03:47 -05:00
parent e008af0e50
commit a6bdbb2c09
1 changed files with 3 additions and 1 deletions

View File

@ -1721,7 +1721,9 @@ void sofia_event_callback(nua_event_t event,
private_object_t *tech_pvt;
tech_pvt = (private_object_t *) switch_core_session_alloc(session, sizeof(private_object_t));
tech_pvt->profile = profile;
tech_pvt->channel = switch_core_session_get_channel(session);
tech_pvt->session = session;
switch_mutex_init(&tech_pvt->flag_mutex, SWITCH_MUTEX_NESTED, switch_core_session_get_pool(session));
switch_mutex_init(&tech_pvt->sofia_mutex, SWITCH_MUTEX_NESTED, switch_core_session_get_pool(session));
switch_core_session_set_private(session, tech_pvt);