]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add line to set port right with sip calls with no sdp in the invite
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 5 Oct 2007 14:08:21 +0000 (14:08 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 5 Oct 2007 14:08:21 +0000 (14:08 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5813 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index c0e9b3b8b2ef65738af88f9a004ddeaf24611c29..35d0331f27ed6f81e9b86785fc0e81a1a2fb8658 100644 (file)
@@ -1200,6 +1200,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status,
                                } else {
                                        switch_channel_set_variable(channel, SWITCH_ENDPOINT_DISPOSITION_VARIABLE, "RECEIVED_NOSDP");
                                        switch_set_flag(tech_pvt, TFLAG_LATE_NEGOTIATION);
+                                       sofia_glue_tech_choose_port(tech_pvt);
                                        sofia_glue_set_local_sdp(tech_pvt, NULL, 0, NULL, 0);
                                        
                                        nua_respond(tech_pvt->nh, SIP_200_OK,