]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
t
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 9 May 2008 15:07:41 +0000 (15:07 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 9 May 2008 15:07:41 +0000 (15:07 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8330 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index 7fd4aed54cc6977d334e9a4db659ea88b7bc6bfa..b43ade9a44fcc6f84b1a72ed35a008c259c6ac7e 100644 (file)
@@ -2155,10 +2155,8 @@ void sofia_handle_sip_i_refer(nua_t *nua, sofia_profile_t *profile, nua_handle_t
        }
 
        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;