I’m using asterisk (1.2.13) as a voicemail server for a cisco callmanager 5.0.
Everything almost works great, occasionally asterisk locks up (process is still running but it stops responding at the cli, sip channels basically everywhere). In an effort to track down what is causing the lockups I’ve been following my logs and trying to trace down what I’ve done wrong. I can only assume its something I’m doing wrong in the configuration since I hear success stories of people running asterisk for extremely long times with no problems.
So I’ve been watching my logs and I notice the following message everytime a call hits a particular extension.
From /var/log/asterisk/full
Mar 16 15:33:29 WARNING[6558] ast_expr2.fl: ast_yyerror(): syntax error: syntax error, unexpected $end, expecting TOK_MINUS or TOK_COMPL or TOK_LP or TOKEN; Input:
Mar 16 15:33:29 WARNING[6558] ast_expr2.fl: If you have questions, please refer to doc/README.variables in the asterisk source.
Below is the context/extension from extensions.conf that is being hit when this message occurs.
[incoming]
exten=>28884,1,GotoIf($[${RDNIS}]?2:400)
exten=>28884,2,MailboxExists(${RDNIS}@customer1)
exten=>28884,3,Congestion
exten=>28884,103,Voicemail(su${RDNIS}@customer1)
exten=>28884,104,Playback(vm-goodbye)
exten=>28884,105,Hangup
exten=>28884,400,VoicemailMain(${CALLERIDNUM}@customer1)
I don’t see any problem with my expressions here, but then again I’ve been looking at it a long time today. I figure some more eyes on the problem might help.
As far as functionality goes the above bit of extensions.conf seems to work flawlessly except for the warning I get in my logs.
My questions are:
- Do you see whats wrong with any of the expressions here?
- Could the warning messages I’m seeing lead to a lockup of asterisk?
Thanks.