Try
originate{origination_uuid=bla}{sip_h_X-HEADER1=VALUE1}sofia/gateway/gateway1/to_uri1 &bridge({sip_h_X-HEADER1=_undef_,sip_h_X-HEADER2=VALUE2}sofia/gateway/gateway1/to_uri2)

пн, 20 июн. 2016 г. в 16:16, Anonim Stefan <fanx07@gmail.com>:
Hi,

I issue this command via python ESL:
"
originate{origination_uuid=bla}{sip_h_X-HEADER1=VALUE1}sofia/gateway/gateway1/to_uri1 &bridge({sip_h_X-HEADER2=VALUE2}sofia/gateway/gateway1/to_uri2)
"

The problem I have is that HEADER1 is still existent in the bridged leg. I have tried adding &unset(sip_h_X-HEADER1) without success.

Also I've tried with [] as said here [1], without succes.

What would be the solution to remove the sip_h_X-HEADER1 for the bridged party?

[1] https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables#ChannelVariables-ChannelVariablesinDialstrings

Thank you,
Stefan
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org