Looping syntax error fills asterisk log to 500GB in a day

What causes an error like this to fill a log file ? Why would it repeat to tune of 500GB ?
I have googled to try and get info on how others have solved or treated … but all I come up with is to perhaps put quotes around a variable substitution like ${var} goes to “${var}” … I don’t see how this would preven the looping problem. If some other error comes up after I fix this one … will it too loop until log is full ? I think I have two problems to solve. Any helpful hints would be appreciated. (asterisk is 1.6.2.20).

[size=85]Oct 6 04:03:33] VERBOSE[6799] pbx.c: – Executing [s@from-pstn:1] Answer(“DAHDI/27-1”, “”) in new stack
[Oct 6 04:03:33] WARNING[6799] ast_expr2.fl: ast_yyerror(): syntax error: syntax error, unexpected ‘=’, expecting $end; Input:
= 5182624000
^
[Oct 6 04:03:33] WARNING[6799] ast_expr2.fl: If you have questions, please refer to doc/tex/channelvariables.tex.
[Oct 6 04:03:33] VERBOSE[6799] pbx.c: – Executing [s@from-pstn:2] GotoIf(“DAHDI/27-1”, “?103:1”) in new stack
[Oct 6 04:03:33] VERBOSE[6799] pbx.c: – Goto (from-pstn,s,1)
[Oct 6 04:03:33] VERBOSE[6799] pbx.c: – Executing [s@from-pstn:1] Answer(“DAHDI/27-1”, “”) in new stack
[Oct 6 04:03:33] WARNING[6799] ast_expr2.fl: ast_yyerror(): syntax error: syntax error, unexpected ‘=’, expecting $end; Input:
= 5182624000
^

500GB later

[Oct 6 21:30:01] WARNING[6799] ast_expr2.fl: If you have questions, please refer to doc/tex/channelvariables.tex.
[Oct 6 21:30:01] VERBOSE[6799] pbx.c: – Executing [s@from-pstn:2] GotoIf(“DAHDI/27-1”, “?103:1”) in new stack
[Oct 6 21:30:01] VERBOSE[6799] pbx.c: – Goto (from-pstn,s,1)
[Oct 6 21:30:01] VERBOSE[6799] pbx.c: – Executing [s@from-pstn:1] Answer(“DAHDI/27-1”, “”) in new stack
[Oct 6 21:30:01] WARNING[6799] ast_expr2.fl: ast_yyerror(): syntax error: syntax error, unexpected ‘=’, expecting $end; Input:
= 5182624000[/size]

Seems like you are using an old version of freepbx. Try upgrading.