probably have a corrupted table or calls that have impossible phone numbers. check your list (or check some of the records you are deleting ...). If your dialplan does not have an entry that matches the numbers being dialed, they will get "trapped" in the auto-calls table because there is no dial pattern to run that will delete them when the call terminates (since the call never even starts ...).
if there is a corrupted table in the db:
Ask which table is corrupted: (This is not always useful, as the table may not yet be marked as crashed)
- Code: Select all
mysql asterisk -e "show table status where comment like '%crashed%'" --user=cron -p1234
Just repair all (don't do this while using it, and it's not a bad idea to reboot after):
- Code: Select all
mysqlcheck --auto-repair --all-databases --user=cron -p1234
IF you actually know the name of the table in need of repair):
- Code: Select all
mysqlcheck --auto-repair asterisk call_log --user=cron -p1234