[asterisk-users] Strange warning message
Jared Smith
jsmith at digium.com
Fri Mar 27 13:28:31 CDT 2009
On Fri, 2009-03-27 at 17:33 +0000, Julian Lyndon-Smith wrote:
> Can anyone give me any idea on where to start looking for this ? 1.4
> svn (ish) It has appeared twice in the last hour on a system that gets
> numerous inbound calls to the same number
> [Mar 27 17:21:07] WARNING[3239]: ast_expr2.fl:407 ast_yyerror:
> ast_yyerror(): syntax error: syntax error, unexpected '=', expecting
> $end; Input:
> = 2
> ^
I typically see that when I have an expression like this:
$[${SOMEVARIABLE} = 2]
and ${SOMEVARIABLE} is empty. I'd suggest changing your expression to
look like this instead:
$["${SOMEVARIABLE}" = "2"]
--
Jared Smith
Training Manager
Digium, Inc.
More information about the asterisk-users
mailing list