This article covers how to install the latest version of the Asterisk VoIP server on Debian 11 Bullseye. In fact, Asterisk is an Open Source PBX and telephony toolkit which can be used with Voice over IP (SIP, H.323, IAX and more) standards, or the Public Switched Telephone Network (PSTN) through supported hardware.
How to Install asterisk Using apt-get on Debian ?
1. Update apt database with apt-get using the following command:
$ sudo apt-get update
2. After updating apt database, We can install asterisk using apt-get by running the following command:
$ sudo apt-get -y install asterisk