GOOD NEWS
FIXED IT!!
STEPS
sqlite3 /var/lib/asterisk/astdb.sqlite3
- (Check for integrity using )---->
pragma integrity_check;
- (Help can be of help too) ---->
.help
- (You can check tables to see what is inside) ---->
.tables
.mode insert
.output mydb_export.sql
.dump
.exit
mv /var/lib/asterisk/astdb.sqlite3 /var/lib/asterisk/astdb.sqlite3.orig
-
sqlite3 /var/lib/asterisk/mydb.db < mydb_export.sql
(mydb_export.sql will most likely be in your pwd) sqlite3 /var/lib/asterisk/astdb.sqlite3
analyze;
.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/