From 2d8e58fedec9da382a57370bc32d955458c82c44 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 5 Oct 2007 14:08:21 +0000 Subject: [PATCH] add line to set port right with sip calls with no sdp in the invite git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5813 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index c0e9b3b8b2..35d0331f27 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -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,