I have a corrupted ASTDB on a Trixbox 2.4 system. A "database show" ends after about five entries. The last entry is:
/BLKVM/210/SIP/208-b7db11b0 : TRUE
None of the CALLTRACE, CW, or DEVICE entries are visible.
The disk was full recently, so this may have caused the problem.
How can I rebuild the ASTDB?
Peter
__________________




Go to Extensions, select
Go to Extensions, select each extension that you have, click Submit on each.
When done, click on Apply Configuration Changes
This will re-create the settings for AMPUSER and DEVICE so that your system will be up and running.
There are only 10 types of people in the world: Those who understand binary, and those who don't
Sorry, didn't work
Micke
I did as you suggested, but "database show" still ends at the same place - no DEVICE entries.
I even found the dumpastdb.php script and ran that, but it gives me the same subset of data. I suspect maybe something corrupt inside the astdb file.
Peter
Do an amportal stop to
Do an amportal stop to shutdown asterisk. Rename the file /var/lib/asterisk/astdb to, for example, astdbold. Start asterisk again with amportal start and go through the extension submitting each entry.
There are only 10 types of people in the world: Those who understand binary, and those who don't
Resolved - Corrupt ASTDB
Micke
That did the trick - thanks a lot.
We also had to go through the FollowMe entries and resubmit them too.
Thanks
Peter
Thank you for the feedback,
Thank you for the feedback, I am glad that you got your system back on track.
Mikael Carlsson
There are only 10 types of people in the world: Those who understand binary, and those who don't