Misc. Dialplan Tools bridge export

From FreeSWITCH Wiki
Jump to: navigation, search

Contents

Description

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.

Usage

bridge_export

Example

<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"/>

See Also