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.
Expand |
---|
title | Click here to expand Table of Contents |
---|
|
Panel |
---|
borderColor | lightgray |
---|
bgColor | #f7f7f7 |
---|
borderWidth | 1 |
---|
borderStyle | dotted |
---|
| Table of Contents |
---|
maxLevel | 3 |
---|
outline | true |
---|
indent | 1em |
---|
exclude | About |
---|
style | none | exclude | About |
---|
printable | false |
---|
|
|
|
Usage
Code Block |
---|
|
set_global <channel_variable>=<value> |
This application may be run inline from the XML dialplan.
Examples
Code Block |
---|
language | xml |
---|
theme | Emacs | language | xml |
---|
|
<action application="set_global" data="global_var1=FreeSwitch"/>
<action application="set_global" data="global_var2=12345678"/> |