Displaying 1 result from an estimated 1 matches for "5eb6".
Did you mean:
1eb6
2004 Jan 03
0
expression parsing
...error. The other suggestions did not work. I propose for this bug to be re-opened.
extensions.conf:
exten => 1234,3,GotoIf($[${a}]?4:5)
If a is undefined:
WARNING[37910]: File ast_expr.y, Line 346 (ast_yyerror): ast_yyerror(): syntax error: parse error
-- Executing GotoIf("SIP/1240-5eb6", "0?4:5") in new stack
-- Goto (default,1234,5)
If I change the extention to exten => 1234,3,GotoIf($[${a}0]?4:5) it works as expected.
Also, I'm not sure if this is my bad or what. If I use exten => 1234,3,GotoIf(${a}?4:5) and a is undefined:
-- Executing Goto...