In this article I will show examples of setting up PJSIP in Asterisk.
Since chan_sip is deprecated, I use and recommend using PJSIP.

Vyacheslav Gapon – personal blog, manuals, articles, notes, development
In this article I will show examples of setting up PJSIP in Asterisk.
Since chan_sip is deprecated, I use and recommend using PJSIP.
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”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”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”Download Asterisk Administrator Guide
File Format: PDF
Pages: 679
Language: English
File size: 4.42 MB
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”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”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”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”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”