Skip to main content

mod_dptools: set_global

About

Sets a global channel variable that all other channels can access. The variable will remain even after the channel which created it has hung up.

Usage

set_global <channel_variable>=<value>

This application may be run inline from the XML dialplan.

Examples

<action application="set_global" data="global_var1=FreeSwitch"/>
<action application="set_global" data="global_var2=12345678"/>