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

Freeswitch SVN anthm at freeswitch.org
Mon Oct 20 10:19:26 EDT 2008


Author: anthm
Date: Mon Oct 20 10:19:26 2008
New Revision: 10080

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

Log:
patch for MODENDP-141

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	Mon Oct 20 10:19:26 2008
@@ -2039,7 +2039,9 @@
 
 				if (sip->sip_payload && sip->sip_payload->pl_data &&
 					sip->sip_content_type && sip->sip_content_type->c_subtype && switch_stristr("sdp", sip->sip_content_type->c_subtype)) {
-					r_sdp = sip->sip_payload->pl_data;
+					tech_pvt->remote_sdp_str = switch_core_session_strdup(tech_pvt->session, sip->sip_payload->pl_data);
+					r_sdp = tech_pvt->remote_sdp_str;
+					sofia_glue_tech_proxy_remote_addr(tech_pvt);
 				}
 
 				switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Passing %d %s to other leg\n", status, phrase);



More information about the Freeswitch-svn mailing list