ImportVar()ImportVar(NeueVariable=Channel,Variable)
NeueVariable auf den Wert von
Variable des angegebenen Channels. Falls
NeueVariable mit dem Zeichen _ beginnt, wird eine
einfache Vererbung angenommen. Falls NeueVariable mit
__ beginnt, wird eine unbeschränkte Vererbung
angenommen.; Caller-ID vom Channel Zap/1 importieren: exten => 123,1,Answer() exten => 123,n,ImportVar(cid=Zap/1,CALLERID)
————————| 1.2 |————————| 1.4 |————————| 1.6 |————————
-= Info about application 'ImportVar' =-
[Synopsis]
Import a variable from a channel into a new variable
[Description]
ImportVar(newvar=channelname|variable): 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.--- in Asterisk 1.4
+++ in Asterisk 1.6
@@ -4,7 +4,7 @@
Import a variable from a channel into a new variable
[Description]
- ImportVar(newvar=channelname|variable): This application imports a variable
+ ImportVar(newvar=channelname,variable): 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 inheritanceSet()“