[Asterisk-Users] Re: System call forked - more stuff

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Sat Feb 21 14:28:56 MST 2004


On Saturday 21 February 2004 09:01, Bill Michaelson wrote:
> Feb 21 09:56:57 WARNING[1209214528]: ast_expr.y:346 ast_yyerror:
> ast_yyerror(): syntax error: parse error
>     -- Executing GotoIf("SIP/248379-bcdc", "0?6:3") in new stack
>
> I don't know what the yyerror is about either.

Can't help you with the crash (unless you post a backtrace), but the
yyerror is specifically about a conditional that isn't parseable as
such.  The most common error is the use of a variable that has not
been defined, such as:

GotoIf(${FOO}?6:3) or
GotoIf($[${FOO} = 23]?6:3)

Note that if you use DBGet and retrieve a key which does not exist,
the variable isn't defined in that case, either.

-Tilghman




More information about the asterisk-users mailing list