Problems to receive calls

Hello,

I have installed Asterisk 11.5.1 and FreePBX 2.11.0.24

Everything was ok until a major update in module admin. I updated several modules and now when I get a call for a pstn number (using link sys 3102) instead ring in the extension I am getting this error:

[2014-03-11 20:43:45] WARNING[10891][C-00000055]: ast_expr2.fl:474 ast_yyerror: If you have questions, please refer to https://wiki.asterisk.org/wiki/display/AST/Channel+Variables
[2014-03-11 20:43:45] WARNING[10891][C-00000055]: func_logic.c:192 acf_if: Syntax IF(?[][:]) (expr must be non-null, and either or must be non-null)
[2014-03-11 20:43:45] WARNING[10891][C-00000055]: func_logic.c:193 acf_if: In this case, =’’, =’’, and =‘15’
[2014-03-11 20:43:45] WARNING[10891][C-00000055]: ast_expr2.fl:470 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected ‘>’, expecting $end; Input:

0
^
[2014-03-11 20:43:45] WARNING[10891][C-00000055]: ast_expr2.fl:474 ast_yyerror: If you have questions, please refer to https://wiki.asterisk.org/wiki/display/AST/Channel+Variables
[2014-03-11 20:43:45] WARNING[10891][C-00000055]: func_logic.c:192 acf_if: Syntax IF(?[][:]) (expr must be non-null, and either or must be non-null)
[2014-03-11 20:43:45] WARNING[10891][C-00000055]: func_logic.c:193 acf_if: In this case, =’’, =’’, and =‘15’
[2014-03-11 20:43:47] WARNING[10892][C-00000056]: ast_expr2.fl:470 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected ‘>’, expecting $end; Input:
0
^
[2014-03-11 20:43:47] WARNING[10892][C-00000056]: ast_expr2.fl:474 ast_yyerror: If you have questions, please refer to https://wiki.asterisk.org/wiki/display/AST/Channel+Variables
[2014-03-11 20:43:47] WARNING[10892][C-00000056]: func_logic.c:192 acf_if: Syntax IF(?[][:]) (expr must be non-null, and either or must be non-null)
[2014-03-11 20:43:47] WARNING[10892][C-00000056]: func_logic.c:193 acf_if: In this case, =’’, =’’, and =‘15’
[2014-03-11 20:43:47] WARNING[10892][C-00000056]: ast_expr2.fl:470 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected ‘>’, expecting $end; Input:
0
^
[2014-03-11 20:43:47] WARNING[10892][C-00000056]: ast_expr2.fl:474 ast_yyerror: If you have questions, please refer to https://wiki.asterisk.org/wiki/display/AST/Channel+Variables
[2014-03-11 20:43:47] WARNING[10892][C-00000056]: func_logic.c:192 acf_if: Syntax IF(?[][:]) (expr must be non-null, and either or must be non-null)
[2014-03-11 20:43:47] WARNING[10892][C-00000056]: func_logic.c:193 acf_if: In this case, =’’, =’’, and =‘15’

Also, few days ago I was getting an error like this:

Asterisk ended with exit status 1 Asterisk died with code 1

I have have solved by deleting astdb.sqlite3 and astdb.sqlite3-journal and the system start to work again.

I am not sure when and why this happens since I was out of town and we have 2 lines to receive the calls (one is connected to a regular fixed line not in asterisk) and I just notice that the number of calls were lower and the customers starts to complain.

What could be wrong?

Thank you

Sandro Herek

Is there anybody that could help?