One day I installed new Asterisk 20 from source on Ubuntu Server 22.04 and I needed to record CDR call statistics to a MySQL database since MySQL server was already installed and used by other services. And the cdr_mysql module was removed in Asterisk 19, so I had to configure ODBC to write CDRs to MySQL.
Continue reading “How to configure ODBC for Asterisk”Category Archives: Linux
Setting up Fail2ban with IPv6
I will give an example of configuring Fail2ban to work with IPv6 addresses.
Continue reading “Setting up Fail2ban with IPv6”Solution rsyslogd: action ‘action-6-builtin:omfile’ resumed (module ‘builtin:omfile’)
One day, on the same server running Ubuntu 20.04, I noticed a lot of messages in /var/log/syslog:
Continue reading “Solution rsyslogd: action ‘action-6-builtin:omfile’ resumed (module ‘builtin:omfile’)”iRedMail. Changing the size of a mail attachment
For example, I’ll take the installed iRedMail-1.6.8 and change the maximum size of the mail attachment.
Continue reading “iRedMail. Changing the size of a mail attachment”Solution Unable to retrieve PJSIP transport in Asterisk
The error “Unable to retrieve PJSIP transport …” occurs when TRANSPORT does not exist or is specified incorrectly.
Continue reading “Solution Unable to retrieve PJSIP transport in Asterisk”Setting up nftables
In this article I will give examples of setting up nftables to replace the outdated iptables.
Continue reading “Setting up nftables”How to change gateway in Linux
Once I needed to change the default gateway on different servers without restarting the network service or rebooting the server, I will give examples of how I did this.
Continue reading “How to change gateway in Linux”Monitoring Linux directory size in Zabbix
One day I needed to monitor the size of a directory in Zabbix and create a trigger so that Zabbix would notify when the directory size increases.
Continue reading “Monitoring Linux directory size in Zabbix”How to add a blackhole route in Netplan
I will give an example of setting up blackhole routes in Netplan.
Continue reading “How to add a blackhole route in Netplan”Setting up Firewall in Proxmox
I will give an example of enabling and configuring the Firewall in Proxmox. By default, the Firewall is disabled and there are open ports, for example: SSH, 111, 3128, 8006.
Continue reading “Setting up Firewall in Proxmox”