Increasing Variables – Changes V13 Vs V16
Hi list,
on asterisk 13 I use
same => n,Set(__myCpt=$[${myCpt} + 1])
which is working well. On an Asterisk 16 I get, for this same command
[2019-10-01 16:15:01] WARNING[28197][C-00000008]: ast_expr2.fl:470
ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected ‘+’, expecting $end; Input:
+ 1
^
What changes in 16 version creates this behavior and how to get it work ?
Thanks for any hint
—
Daniel
—
2 thoughts on - Increasing Variables – Changes V13 Vs V16
Verify ${myCpt} is not empty.
—
http://help.nyigc.net/
—
Le 01/10/2019 à 16:38, Eric Wieling a écrit :
Yes, it was that. Many thanks
—
Daniel
—