]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4250 please post a new log if this does not work
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 31 May 2012 14:04:08 +0000 (09:04 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 31 May 2012 14:04:14 +0000 (09:04 -0500)
src/mod/endpoints/mod_sofia/mod_sofia.c
src/mod/endpoints/mod_sofia/sofia.c

index 2b4401866560d38c36d9ffacabca85aa722bb646..6d28bc01f955c939f81d08a1d59f999fe56c102a 100644 (file)
@@ -1587,6 +1587,8 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi
 
        case SWITCH_MESSAGE_INDICATE_BRIDGE:
                {
+
+                       switch_channel_set_variable(channel, SOFIA_REPLACES_HEADER, NULL);
                        sofia_glue_tech_track(tech_pvt->profile, session);
 
                        sofia_set_flag(tech_pvt, TFLAG_SIMPLIFY);
index dc4fcfb0f09f1aa2957881fae827b49846b9ad74..281aa511da0eecfb20db922c740935b33459dd6c 100644 (file)
@@ -6797,6 +6797,9 @@ void sofia_handle_sip_i_refer(nua_t *nua, sofia_profile_t *profile, nua_handle_t
 
        nua_respond(nh, SIP_202_ACCEPTED, NUTAG_WITH_THIS_MSG(de->data->e_msg), SIPTAG_EXPIRES_STR("60"), TAG_END());
 
+
+       switch_channel_set_variable(tech_pvt->channel, SOFIA_REPLACES_HEADER, NULL);
+
        if (sip->sip_referred_by) {
                full_ref_by = sip_header_as_string(home, (void *) sip->sip_referred_by);
        }