Did you try using "export" instead of "set"?

I believe you could also do something this when bridging the call:

    <action application="bridge" data="{sip_h_X-Source-IP=${sip_h_X-Source-IP}}sofia/external/whoever@somedomain"/>


On Fri, May 31, 2013 at 12:43 AM, Mino Haluz <mino.haluz@gmail.com> wrote:
Hi,

I know freeswitch is b2bua, but if there is some way how could I forward custom header added earlier by proxy from one call leg to another, it would be perfect. What I'm trying to achieve in dialplan is:

<action application="set" data="sip_h_X-Source-IP=${sip_h_X-Source-IP}"/>
and bridging to gw.

So this header could be transparently forwarded, but it does not add anything. Am I doing something really wrong ?

Thanks,
Mino


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

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.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