FS-4559 --resolve
This commit is contained in:
parent
e008af0e50
commit
a6bdbb2c09
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue