[Freeswitch-svn] [commit] r5813 - freeswitch/trunk/src/mod/endpoints/mod_sofia

Freeswitch SVN anthm at freeswitch.org
Fri Oct 5 10:08:21 EDT 2007


Author: anthm
Date: Fri Oct  5 10:08:21 2007
New Revision: 5813

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c

Log:
add line to set port right with sip calls with no sdp in the invite

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	Fri Oct  5 10:08:21 2007
@@ -1200,6 +1200,7 @@
 				} 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,



More information about the Freeswitch-svn mailing list