Skip to main content

mod_dptools: bridge export

About

Export a channel variable across any 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 across a uuid_transfer whereas export will not.

Usage

<action application="bridge_export" data="foo=bar"/>

You should then be able to see the following in both a-leg and b-leg after the bridge app is executed:

[variable_bridge_export_vars] = [foo]
[variable_foo] = [bar]

Like export, to restrict the export only to the B leg, use the 'nolocal:' flag, like below:

<action application="bridge_export" data="nolocal:foo=bar"/>

See Also