set sip_copy_custom_headers=false to avoid custom sip headers to be copied on the b-leg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15789 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
c01fe7f901
commit
866d98f586
|
@ -3159,7 +3159,9 @@ static switch_call_cause_t sofia_outgoing_channel(switch_core_session_t *session
|
|||
|
||||
switch_ivr_transfer_variable(session, nsession, SOFIA_REPLACES_HEADER);
|
||||
switch_ivr_transfer_variable(session, nsession, "sip_auto_answer");
|
||||
switch_ivr_transfer_variable(session, nsession, SOFIA_SIP_HEADER_PREFIX_T);
|
||||
if (!(vval = switch_channel_get_variable(o_channel, "sip_copy_custom_headers")) || switch_true(vval)) {
|
||||
switch_ivr_transfer_variable(session, nsession, SOFIA_SIP_HEADER_PREFIX_T);
|
||||
}
|
||||
switch_ivr_transfer_variable(session, nsession, "sip_video_fmtp");
|
||||
switch_ivr_transfer_variable(session, nsession, "sip-force-contact");
|
||||
switch_ivr_transfer_variable(session, nsession, "sip_sticky_contact");
|
||||
|
|
Loading…
Reference in New Issue