Asterisk CLI shows nothing while calling are connecting fine

I am using Asterisk 11.17 and recently I have experienced a unique issue in asterisk.

My calls were successfully connecting and working fine but I don’t see anything in:

  • Asterisk CLI (i.e. asterisk -vvvr)
  • and /var/log/asterisk/messages.

and the last error messages logged in /var/log/asterisk/messages was below:

[Nov  3 09:25:40] ERROR[5764][C-001bfaf5] res_config_sqlite.c: database is locked
[Nov  3 09:25:43] ERROR[5731][C-001bfaf3] res_config_sqlite.c: database is locked
[Nov  3 09:25:57] ERROR[6793][C-001bfb13] res_config_sqlite.c: database is locked

Please note that I am using MySQL CDRs for cdr logging.

The issue was resolved after asterisk restart.

But I need to know the actual reason of this issue and I don’t find anything in any forum regarding this issue.

Can anyone help me deducing the RCA of this issue?