[Asterisk-Dev] ast_expr changes
fabian at gigacodes.de
fabian at gigacodes.de
Mon May 3 04:16:10 MST 2004
Hi,
You can get rid of this error message by using the foo trick (described
in the wiki)
Quote:
You can test for an empty value, but instead of using "" you'd
do this:
GotoIf($[foo${CALLERIDNUM} = foo]?3:2)
But i don't know how long this is like that. I always had these msg's.
Regards
Fabe
> -----Original Message-----
> From: asterisk-dev-admin at lists.digium.com
> [mailto:asterisk-dev-admin at lists.digium.com] On Behalf Of
> Tais M. Hansen
> Sent: Monday, May 03, 2004 1:10 PM
> To: asterisk-dev at lists.digium.com
> Subject: [Asterisk-Dev] ast_expr changes
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> Has the expression parser logic changed in some way? Latest
> changes breaks a
> simple expression such as:
>
> exten => _XX.,1,GotoIf($["${calledid}" != ""]?3)
>
> Here's the error:
>
> May 3 13:07:50 WARNING[524295]: ast_expr.y:431 ast_yyerror:
> ast_yyerror():
> syntax error: parse error; Input:
> "12345678" != ""
> ^^^^^^^^^ ^
>
>
> - --
> Regards,
> Tais M. Hansen
> ComX Networks
> Tel: +45-70257474
> Fax: +45-70257374
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
>
> iD8DBQFAlih72TEAILET3McRAhpeAJoDdDBHdFqZT7Taquwm2L7E5j9h9ACcC2rS
> Efp3I2stNV+NEaL9RROwT1o=
> =h6h8
> -----END PGP SIGNATURE-----
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
More information about the asterisk-dev
mailing list