ABillS. s_detail table grows

One day in July 2022, Zabbix told me that the size of the ABillS database exceeded 3 gigabytes, I created this trigger after installing Abills in 2018. After looking at the tables in the database, I noticed that the s_detail table began to grow strongly, before that it occupied several tens of megabytes in a month, and in July 2022 it grew by more than 2 GB. to reduce the size of the database, I removed the s_detail tables from the past months. I tried to specify s_detalization=0 in the configuration, but the table continued to grow. For example, 717,082 records (97 MB) were added to it in a day, for a month it turns out an example of 3 GB.

Continue reading “ABillS. s_detail table grows”

FreeRadius. error solution rlm_sql_mysql: Couldn’t connect to MySQL server

Once I installed FreeRadius 3.0.23, by the way I described the process in the article: ABillS. Installing Freeradius, and optimized some parameters of the MySQL server, after which FreeRadius stopped starting and I saw errors in the logs:

Continue reading “FreeRadius. error solution rlm_sql_mysql: Couldn’t connect to MySQL server”

ABillS. Installing and configuring Callcenter

Once in one company, in order to simplify the search for callers in ABillS, it was necessary to install the Callcenter module, which has different capabilities, but what we needed was pop-up notifications in the browser with a link to the caller’s page.

Continue reading “ABillS. Installing and configuring Callcenter”

ABillS. Problem with payments between 00:00 and 01:00

In 2018, I ran into a problem when the user ran out of money on the account, at midnight he turned off the billing, the user immediately made a payment, the money was debited and the service turned on, and at 1 am it was turned off again, because the billing system tried to withdraw the monthly fee again. I’ll just post a simple script here that allows you to receive email notifications with a list of users who made a payment at night between 00:00 and 01:01, so that later you can manually correct it.

Continue reading “ABillS. Problem with payments between 00:00 and 01:00”