Quote:
I´m installing Asterisk 1.8 and A2Billing 1.9.3, after the restore of de DB I lose some tables, like mail templates and others.
Assuming the above is the real issue, you should probably resolve this problem first. How did you backup and how are you performing the restore? PhpMyadmin is better to use in my opinion. For the rate tables and CDR's, these tables can be very large and when you try to restore them, PHP will time-out without any messages or warnings. In this case, you will need to modify certain variables in php.ini and retry the operation until succesful.
On the other hand, when you did the installation, the order in which you create the ratecards, call plan etc is important. It has been mentioned several times in these forums. This could cause the ratecards to not show up in the call plan. The solution to this, is to delete the tariff components in the reverse order and recreate them in the proper order.