September 2005
Intermediate to advanced
408 pages
16h 20m
English
Set() — Sends
Set(n=value)Sets the variable n to the specified
value. If the variable name is prefixed
with _, single inheritance is
assumed. If the variable name is prefixed with _ _, infinite inheritance is assumed.
Inheritance is used when you want the outgoing channel to inherit the
variable from the dialplan.
Variables set with this application are valid only in the
current channel. Use the SetGlobalVar() application to set global
variables.
; set a variable called DIALTIME, then use it
exten => 123,1,SetVar(DIALTIME=20)
exten => 123,1,Dial(Zap/4/5551212,,${DIALTIME}) SetGlobalVar(),
README.variables
Read now
Unlock full access