Misc. Dialplan Tools bridge export
Export a channel variable across a bridge. This application differs from export in that it works with *any* kind of bridge, not just a bridge called from the dialplan. For example, bridge_export will export its variables if the leg is uuid_transfer'd whereas export will not.
<action application="bridge_export" data="foo=bar"/>
You should then be able to see in both a-leg and b-leg when the channel is bridging:
[variable_bridge_export_vars] = [foo]
[variable_foo] = [bar]
Like export, to only export to the B leg, use 'nolocal:', like below:
<action application="export" data="nolocal:foo=bar"/>