I receive this warning in my console: [May 6 10:03:22]WARNING[29814][C-00000e91]:ast_expr2.fl:470ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected β=β, expecting $end; Input:****=naoatende
Whats correct syntax for it ? exten => _XXXX,n(V3),gotoif([{NATENDE}=naoatende]?NATENDE:VIRTUALV4)
Please mark up your code as pre-formatted text, for the forum. At the moment Iβd have to say it the missing $'s, but that would result in the parser not being invoked, so would not result in the error you are getting.
Second guess is that ${NATENDE} is an empty string. Variable are macro substituted into the parameters before the expression is parsed, so the parser will not see an a variable at that point, but rather nothing. Typically people use double quote.