Asterisk WARNING

GOOD NEWS :grin::grin:

FIXED IT!!

STEPS

  1. sqlite3 /var/lib/asterisk/astdb.sqlite3
  2. (Check for integrity using )----> pragma integrity_check;
  3. (Help can be of help too) ----> .help
  4. (You can check tables to see what is inside) ----> .tables
  5. .mode insert
  6. .output mydb_export.sql
  7. .dump
  8. .exit
  9. mv /var/lib/asterisk/astdb.sqlite3 /var/lib/asterisk/astdb.sqlite3.orig
  10. sqlite3 /var/lib/asterisk/mydb.db < mydb_export.sql (mydb_export.sql will most likely be in your pwd)
  11. sqlite3 /var/lib/asterisk/astdb.sqlite3
  12. analyze;
  13. .exit

This solved the problem.
No more WARNING signs.

Thank you guys.
Also, thanks to this [https://totoshko88.wordpress.com/2016/09/21/elastix-warning2390-db-c332-ast_db_put-couldnt-execute-statment-sql-logic-error-or-missing-databas](http://Totoshko88 Site)e/