]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
set sdp flag in more places
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 24 Jan 2008 15:09:55 +0000 (15:09 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 24 Jan 2008 15:09:55 +0000 (15:09 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7344 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index 5acdce73072f7798c875e7f35313f370b772d409..494ff79b13b0f733102aed6c52bc413452e2095f 100644 (file)
@@ -1553,7 +1553,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
                                                switch_channel_set_variable(channel, SWITCH_ENDPOINT_DISPOSITION_VARIABLE, "RECEIVED");
                                                switch_set_flag_locked(tech_pvt, TFLAG_READY);
                                                switch_channel_set_state(channel, CS_INIT);
-
+                                               switch_set_flag(tech_pvt, TFLAG_SDP);
                                                if (replaces_str) {
                                                        home = su_home_new(sizeof(*home));
                                                        switch_assert(home != NULL);
@@ -1748,6 +1748,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
                                                        if (switch_channel_get_state(channel) == CS_HIBERNATE) {
                                                                switch_set_flag_locked(tech_pvt, TFLAG_READY);
                                                                switch_channel_set_state(channel, CS_INIT);
+                                                               switch_set_flag(tech_pvt, TFLAG_SDP);
                                                        }
                                                        goto done;
                                                }