Dears;
Sometimes the electrical shut down suddenly, this effects on the a2billing database that some tables are locked this appears when running the command mysqlcheck and then to resolve it I have to run REPAIR.
The corrupt or the lock that is happening in the tables, it effects on the calls specifically when dialing out via the DAHDI channels (it is not responding sometime, in other words it is not possible to place outside calls via the DAHDI sometime and sometime I am able to place outside calls via the DAHDI), then problem stay like this until I REPAIR the tables.
I am depending on the DAHDI as a trunk in my A2BILLING configuration, so the calls are sent via this DAHDI trunk.
What is the solution to overcome this problem (avoiding the tables from being locked or corrupted when the electrical is disconnected suddenly)?
Regards Bilal
|