Home Forums HAast (High Availability for Asterisk) Configuration & Optimization Dialplan errors reported by Asterisk

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Avatar photoCustomer Inquiry
    Post count: 197

    I am running FreePBX(TM) and the dialplan reports a strange error relating to ‘+’ similar to:

    [2016-03-21 12:24:12] WARNING[5177][C-0000000a] ast_expr2.fl: >>>>> ast_yyerror(): syntax error: syntax error, unexpected ‘+’, expecting
    >>>>> $end; Input:

    What does this mean

    Avatar photoTelium Support Group
    Post count: 258

    Although unusual, this suggests that your FreePBX AstDB is corrupt or incomplete, and FreePBX is missing database entries needed by the dialplan. This can occur if you have installed a buggy FreePBX update, or FreePBX has crashed, etc.

    There are four possible ways to correct the Asterisk database.

    1. Restore the node from a backup
    2. Request that FreePBX regenerate the Asterisk database using this BASH command (after stopping Asterisk). Note that some versions of FreePBX don’t support this command:

      curl https://SERVER/freepbx/admin/config.php?type=setup&display=devices&action=resetall

    3. Recreate the Asterisk DB manually.
      • Stop FreePBX
      • Delete the /var/lib/asterisk/astdb.sqlite3
      • Start FreePBX
      • Edit & Submit each user
      • Click apply
    4. Stop FreePBX on both peers and copy the file /var/lib/asterisk/astdb.sqlite3 from the working peer to the malfunctioning peer. (Be sure Asterisk is stopped on both systems before trying this).

    Once corrected, be sure to resolve the underlying FreePBX/configuration/etc issue. As well, ensure that you have set the Asterisk database to synchronize in HAAst’s configuration file.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.