[Asterisk-Users] error messages on /var/log/asterisk/messages

2006-03-02 Thread Dov Bigio
Hi, I am using 1.2.3, and sometimes I can see the following message: Mar 2 08:42:42 WARNING[25937] ast_expr2.fl: ast_yyerror(): syntax error: syntax error, unexpected TOK_PLUS, expecting TOK_MINUS or TOK_COMPL or TOK_LP or TOKEN; Input:+ 1^Mar 2 08:42:42 WARNING[25937] ast_expr2.fl: If

Re: [Asterisk-Users] error messages on /var/log/asterisk/messages

2006-03-02 Thread Michiel van Baak
On 09:44, Thu 02 Mar 06, Dov Bigio wrote: Hi, I am using 1.2.3, and sometimes I can see the following message: Mar 2 08:42:42 WARNING[25937] ast_expr2.fl: ast_yyerror(): syntax error: syntax error, unexpected TOK_PLUS, expecting TOK_MINUS or TOK_COMPL or TOK_LP or TOKEN; Input: + 1

Re: [Asterisk-Users] error messages on /var/log/asterisk/messages

2006-03-02 Thread Doug Lytle
Michiel van Baak wrote: On 09:44, Thu 02 Mar 06, Dov Bigio wrote Mar 2 08:42:42 WARNING[25937] ast_expr2.fl: ast_yyerror(): syntax error: syntax error, unexpected TOK_PLUS, expecting TOK_MINUS or TOK_COMPL or TOK_LP or TOKEN; Input: + 1 ^ Mar 2 08:42:42 WARNING[25937] ast_expr2.fl: If you

Re: [Asterisk-Users] error messages on /var/log/asterisk/messages

2006-03-02 Thread Michiel van Baak
On 08:32, Thu 02 Mar 06, Doug Lytle wrote: From what has been discussed in the last month, it would indicates that it's a variable that hasn't been defined before doing a math function. (i.e. not setting a=0 before doing an a=a+1) Hhmm, Only thing in my setup that looks like it can go wrong

Re: [Asterisk-Users] error messages on /var/log/asterisk/messages

2006-03-02 Thread Ira
At 06:00 AM 03/02/2006, you wrote: exten = s-NOANSWER,1,GotoIf($[${DIALEDTIME} = 0]?3) Looks like the Dial statement is not setting the $DIALEDTIME in some cases. This is the general solution to that. exten = s-NOANSWER,1,GotoIf($[${DIALEDTIME} = 0]?3) Ira -- No virus found in this