How to configure ODBC for Asterisk

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”

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”