[asterisk-dev] Is that a bug?

Martin Vít vit at lam.cz
Fri Feb 3 04:17:01 MST 2006


Benoît Mérouze wrote:
> From extensions.conf installed by AMP:
>
> exten => s,5,GotoIf($[${CHANNEL:0:5} = Local]?s-${DIALSTATUS},1)
>
i thing that label cannot be named s-NOANWER

show application gotoif
> This line produces a warning in asterisk logs:
>
> WARNING[12858] ast_expr2.fl: ast_yyerror(): syntax error: syntax 
> error, unexpected TOK_EQ, expecting TOK_MINUS or TOK_COMPL or TOK_LP 
> or TOKEN; Input:
> IAX2/ = Local
>      ^
>
> Is that normal?
>




More information about the asterisk-dev mailing list