How To Install asterisk-opus on Debian 11
Introduction
In this tutorial we learn how to install asterisk-opus
on Debian 11.
What is asterisk-opus
asterisk-opus is:
Module for the Asterisk open source PBX which allows you to use the Opus audio codec.
Opus is the default audio codec in WebRTC. WebRTC is available in Asterisk via SIP over WebSockets (WSS). Nevertheless, Opus can be used for other transports (UDP, TCP, TLS) as well. Opus supersedes previous codecs like CELT and SiLK. Furthermore in favor of Opus, other open-source audio codecs are no longer developed, like Speex, iSAC, iLBC, and Siren. If you use your Asterisk as a back-to-back user agent (B2BUA) and you transcode between various audio codecs, one should enable Opus for future compatibility.
Opus is not only supported for pass-through but can be transcoded as well. This allows you to translate to/from other audio codecs like those for landline telephones (ISDN: G.711; DECT: G.726-32; and HD: G.722) or mobile phones (GSM, AMR, AMR-WB, 3GPP?EVS).
There are three methods to install asterisk-opus
on Debian 11. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install asterisk-opus Using apt-get
Update apt database with apt-get
using the following command.
After updating apt database, We can install asterisk-opus
using apt-get
by running the following command:
Install asterisk-opus Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install asterisk-opus
using apt
by running the following command:
Install asterisk-opus Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
After updating apt database, We can install asterisk-opus
using aptitude
by running the following command:
How To Uninstall asterisk-opus on Debian 11
To uninstall only the asterisk-opus
package we can use the following command:
Uninstall asterisk-opus And Its Dependencies
To uninstall asterisk-opus
and its dependencies that are no longer needed by Debian 11, we can use the command below:
Remove asterisk-opus Configurations and Data
To remove asterisk-opus
configuration and data from Debian 11 we can use the following command:
Remove asterisk-opus configuration, data, and all of its dependencies
We can use the following command to remove asterisk-opus
configurations, data and all of its dependencies, we can use the following command:
Dependencies
asterisk-opus have the following dependencies:
References
Summary
In this tutorial we learn how to install asterisk-opus
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.