]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3342 --resolve
authorMathieu Rene <mrene@avgs.ca>
Sun, 12 Jun 2011 16:01:30 +0000 (12:01 -0400)
committerMathieu Rene <mrene@avgs.ca>
Sun, 12 Jun 2011 16:01:58 +0000 (12:01 -0400)
src/mod/endpoints/mod_sofia/sofia.c

index 6b8cf8be58f8866d0ef7ebbf8535840e7df0ac9a..d9a2a3af0d2c4bb0344c0dccce6f87926b7381fc 100644 (file)
@@ -4723,7 +4723,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
        const char *uuid;
        switch_core_session_t *other_session = NULL;
        switch_channel_t *other_channel = NULL;
-       private_object_t *other_tech_pvt = NULL;
+       //private_object_t *other_tech_pvt = NULL;
        char st[80] = "";
        int is_dup_sdp = 0;
        switch_event_t *s_event = NULL;
@@ -4930,7 +4930,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
                                if ((uuid = switch_channel_get_variable(channel, SWITCH_SIGNAL_BOND_VARIABLE))
                                        && (other_session = switch_core_session_locate(uuid))) {
                                        other_channel = switch_core_session_get_channel(other_session);
-                                       other_tech_pvt = switch_core_session_get_private(other_session);
+                                       //other_tech_pvt = switch_core_session_get_private(other_session);
 
                                        if (!switch_channel_get_variable(other_channel, SWITCH_B_SDP_VARIABLE)) {
                                                switch_channel_set_variable(other_channel, SWITCH_B_SDP_VARIABLE, r_sdp);