ImportVar
Synopsis
Import a variable from a channel into a new variable
ImportVar(newvar=channelname|variable)
Description
This application imports a variable from the specified channel (as opposed to the current one) and stores it as a variable in the current channel (the channel that is calling this application). Variables created by this application have the same inheritance properties as those created with the Set application. See the documentation for Set for more information.
See also
- patch 1194: Asterisk func shared function (Asterisk 1.6.1) and func_chanvar for Asterisk 1.4
- Asterisk cmd Set
- Asterisk cmd SetGlobalVar
- Asterisk variables
Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ