]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 11 Mar 2008 21:15:34 +0000 (21:15 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 11 Mar 2008 21:15:34 +0000 (21:15 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7864 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index 8be047e3e7e0b64a16855a04ae6e206532b54b8b..58afc46d79ad10d29718cc68dda8c6c219597834 100644 (file)
@@ -2515,8 +2515,8 @@ void sofia_handle_sip_i_invite(nua_t *nua, sofia_profile_t *profile, nua_handle_
                tech_pvt->key = switch_core_session_strdup(session, key);
        }
 
-       channel = switch_core_session_get_channel(session);
-
+       channel = tech_pvt->channel = switch_core_session_get_channel(session);
+       
        if (is_auth) {
                switch_channel_set_variable(channel, "sip_authorized", "true");
        }