How To Fix Corrupted FreeSwitch Database
Locate your FreeSwitch database files location:
# ls -lh /var/lib/freeswitch/db
or /usr/local/freeswitch/db
Remove all files from that location:
# rm /var/lib/freeswitch/db/*.db
and then restart FreeSwitch. It will rebuild the FreeSwitch database files
# service freeswitch restart