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: Asterisk
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”Installing Asterisk from source
In this article, I will give an example of installing Asterisk from source code, for example, I needed it to install a new version of Asterisk on Ubuntu Server 22.04, since Asterisk 18 was installed from the default repository, and there were no modules I needed by default, such as Voicemail.
Continue reading “Installing Asterisk from source”Asterisk Administrator Guide (pdf)
Download Asterisk Administrator Guide
File Format: PDF
Pages: 679
Language: English
File size: 4.42 MB
Blacklisting in Asterisk
I will give an example of blocking incoming calls by phone number, or you can perform other actions for the phone numbers specified in the list.
Continue reading “Blacklisting in Asterisk”Zabbix trigger during business hours
In this article, I will give an example of creating triggers in Zabbix that can only fire at certain times, and not always.
Continue reading “Zabbix trigger during business hours”Solution Registration failed due to STUN server (DNS resolving or connection) error (59) Zoiper
Once I installed the Zoiper application on the iPhone to connect to the telephony server and found an error:
Continue reading “Solution Registration failed due to STUN server (DNS resolving or connection) error (59) Zoiper”Setting up SIP Trunk in Asterisk from Kyivstar
I will give an example of setting up a SIP Trunk in Asterisk from Kyivstar. Once it was necessary to increase the number of incoming lines, at first I used Goip4 gateways and 6 Kyivstar SIM cards, but when all the lines were busy, the clients could not get through, even hear the answering machine / voice menu, so I signed a contract for SIP Trunk with the Kyivstar manager.
Continue reading “Setting up SIP Trunk in Asterisk from Kyivstar”Solution for warning Asked to transmit frame type ulaw, while native formats is (g729) read/write = ulaw/ulaw
Once a user made a call and Asterisk began to display a lot of warnings, and there was also no sound:
Continue reading “Solution for warning Asked to transmit frame type ulaw, while native formats is (g729) read/write = ulaw/ulaw”Asterisk. MP3 for Music on hold (moh)
In this article, I will provide an example of setting up MP3 for Music on hold (moh) in Asterisk.
Continue reading “Asterisk. MP3 for Music on hold (moh)”