Misc. Dialplan Tools set global

From FreeSWITCH Wiki
Jump to: navigation, search

Contents

Description

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

See Also