[Freeswitch-svn] [commit] r5071 - in freeswitch/trunk/src/mod: applications/mod_esf endpoints/mod_sofia

Freeswitch SVN brian at freeswitch.org
Wed May 2 15:37:40 EDT 2007


Author: brian
Date: Wed May  2 15:37:40 2007
New Revision: 5071

Modified:
   freeswitch/trunk/src/mod/applications/mod_esf/mod_esf.c
   freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c

Log:
update

Modified: freeswitch/trunk/src/mod/applications/mod_esf/mod_esf.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_esf/mod_esf.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_esf/mod_esf.c	Wed May  2 15:37:40 2007
@@ -112,7 +112,7 @@
 		
 		/* special answer with the mcast addr */
 		msg.from = __FILE__;
-		msg.string_arg = data;
+		msg.string_arg = "recvonly";
 		msg.message_id = SWITCH_MESSAGE_INDICATE_BROADCAST;
 		switch_core_session_receive_message(session, &msg);
 	} else {

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	Wed May  2 15:37:40 2007
@@ -679,7 +679,7 @@
 		ip = switch_channel_get_variable(channel, SWITCH_REMOTE_MEDIA_IP_VARIABLE);
 		port = switch_channel_get_variable(channel, SWITCH_REMOTE_MEDIA_PORT_VARIABLE);
 		if (ip && port) {
-			sofia_glue_set_local_sdp(tech_pvt, ip, atoi(port), NULL, 1);
+			sofia_glue_set_local_sdp(tech_pvt, ip, atoi(port), msg->string_arg, 1);
 		}
 		nua_respond(tech_pvt->nh, SIP_200_OK,
 					SIPTAG_CONTACT_STR(tech_pvt->profile->url),



More information about the Freeswitch-svn mailing list