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

Freeswitch SVN anthm at freeswitch.org
Fri May 9 11:07:41 EDT 2008


Author: anthm
Date: Fri May  9 11:07:41 2008
New Revision: 8330

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

Log:
t


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 May  9 11:07:41 2008
@@ -2155,10 +2155,8 @@
 	}
 
 	if (switch_channel_test_flag(channel_a, CF_PROXY_MODE)) {
-		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Transfer on bypass media not allowed.\n");
-		nua_notify(tech_pvt->nh, NUTAG_NEWSUB(1), SIPTAG_CONTENT_TYPE_STR("message/sipfrag"),
-				   NUTAG_SUBSTATE(nua_substate_terminated), SIPTAG_PAYLOAD_STR("SIP/2.0 403 Forbidden"), SIPTAG_EVENT_STR(etmp), TAG_END());
-		goto done;
+		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Re-establishing media.\n");
+		switch_ivr_media(switch_core_session_get_uuid(session), SMF_REBRIDGE);
 	}
 
 	from = sip->sip_from;



More information about the Freeswitch-svn mailing list