]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
200 OK re-invite without sdp
authorMichael Jerris <mike@jerris.com>
Mon, 3 Nov 2008 19:56:48 +0000 (19:56 +0000)
committerMichael Jerris <mike@jerris.com>
Mon, 3 Nov 2008 19:56:48 +0000 (19:56 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10225 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index 58ce022c2b9ba5a17d7591ef2cec9f994043b3f0..314e0a9223835baf09c8e624d7be312c7a867bbe 100644 (file)
@@ -2495,6 +2495,9 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
                                }
                        }
 
+               } else if (tech_pvt && switch_test_flag(tech_pvt, TFLAG_SDP) && !r_sdp) {
+                       nua_respond(tech_pvt->nh, SIP_200_OK, TAG_END());
+                       goto done;
                } else {
                        ss_state = nua_callstate_completed;
                        goto state_process;