search for: ae8c3ecd

Displaying 1 result from an estimated 1 matches for "ae8c3ecd".

2009 Jan 08
4
AEL question: testing channel variables
Hi! I use the following condition: if (${FOOBAR}=YES) { ... } The problem is, that if FOOBAR is not defined at all Asterisk generates a warning: WARNING[11982]: ast_expr2.fl:407 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected '=', expecting $end; Input: =YES Of course I could use the following code, but this bloats up the code: if (${EXISTS(${FOOBAR})}) {