]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4559 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 22 Aug 2012 21:03:47 +0000 (16:03 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 22 Aug 2012 21:03:47 +0000 (16:03 -0500)
src/mod/endpoints/mod_sofia/sofia.c

index dc98c5aaf5a4e6093d42e2385de9e3ccc5ce8774..317ec28f55cf6f8bb8bfbc591d9a8b5a295c5def 100644 (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);