[Asterisk-Users] equivalent to SetvarIf ?

Wilson Pickett spamsucks2005 at gmail.com
Tue Nov 22 00:11:06 MST 2005


> Is there a syntax I can use to set a variable based on the evaluation
> of an expression?  I need something that will work in 1.0.9 and 1.2.

Isn't this what you're looking for:

set(VARIABLE=$[NULL${something}=NULL]})



More information about the asterisk-users mailing list