Asterisk cmd Eval

Synopsis:

Eval(newvar=somestring)

Description:

Eval(newvar=somestring)

Normally Asterisk evaluates variables inline. But what if you want to store variable offsets in a database, to be evaluated later? Eval is the answer, by allowing a string to be evaluated twice in the dialplan,
the first time as part of the normal dialplan, and the second using Eval.

Examples


See also




Synopsis:

Eval(newvar=somestring)

Description:

Eval(newvar=somestring)

Normally Asterisk evaluates variables inline. But what if you want to store variable offsets in a database, to be evaluated later? Eval is the answer, by allowing a string to be evaluated twice in the dialplan,
the first time as part of the normal dialplan, and the second using Eval.

Examples


See also




Created by: oej, Last modification: Mon 22 of Mar, 2004 (11:38 UTC)
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+