Asterisk is a powerful digital PBX and VoIP server released under an open-source license, so you can use it free of charge. VoIP is a technology used to establish and control telephone calls between multiple endpoints. It is used in VoIP gateways, conference servers, call centers, carriers, and government institutions around the world. It runs on Linux, BSD, and OS X and allows you to turn your local system or server into a communication server.
__________________________________________________________________________________________________
𝐎𝐮𝐫 𝐒𝐞𝐫𝐯𝐞𝐫 𝐒𝐩𝐞𝐜𝐢𝐟𝐢𝐜𝐚𝐭𝐢𝐨𝐧:-
𝐎𝐬 : 𝐀𝐥𝐦𝐚𝐋𝐢𝐧𝐮𝐱 𝟖.𝟓 (𝐀𝐫𝐜𝐭𝐢𝐜 𝐒𝐩𝐡𝐲𝐧𝐱) | 𝐇𝐨𝐬𝐭𝐧𝐚𝐦𝐞: | 𝐈𝐏 𝐀𝐝𝐝𝐫𝐞𝐬𝐬 𝐨𝐟 𝐒𝐞𝐫𝐯𝐞𝐫:
__________________________________________________________________________________________________
cat /etc/os-release ; getconf LONG_BIT ; hostname ; hostname -I
dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
dnf config-manager --set-enabled powertools
dnf install wget gcc gcc-c++ svn make bzip2 patch libedit-devel uuid-devel libuuid-devel libxml2-devel sqlite sqlite-devel nano openssl openssl-devel -y
dnf groupinstall "Development Tools"
git clone https://github.com/akheron/jansson.git
cd jansson ; autoreconf -i
./configure --prefix=/usr/
make ; make install
cd
git clone https://github.com/pjsip/pjproject.git
cd pjproject
./configure CFLAGS="-DNDEBUG -DPJ_HAS_IPV6=1" --prefix=/usr --libdir=/usr/lib64 --enable-shared --disable-video --disable-sound --disable-opencore-amr
make dep ; make ; make install
ldconfig
cd
wget https://downloads.asterisk.org/pub/telephony/asterisk/asterisk-18-current.tar.gz
tar -xvzf asterisk-18-current.tar.gz
cd asterisk-18.9.0/ ; ./configure --libdir=/usr/lib64
make menuselect
contrib/scripts/get_mp3_source.sh
make
make install
make samples
make config
ldconfig
groupadd asterisk
useradd -r -d /var/lib/asterisk -g asterisk asterisk
usermod -aG audio,dialout asterisk
chown -R asterisk.asterisk /etc/asterisk /var/{lib,log,spool}/asterisk /usr/lib64/asterisk
nano /etc/sysconfig/asterisk
AST_USER="asterisk"
AST_GROUP="asterisk"
nano /etc/asterisk/asterisk.conf
runuser = asterisk ; The user to run as.
rungroup = asterisk ; The group to run as.
systemctl restart asterisk ; systemctl enable asterisk ; systemctl status asterisk
asterisk -rvv
core show channels
core show uptime
quit
_________________________________________________________________________________________________
Tuesday, December 28, 2021
How To Install Asterisk 18 VoIP Server on 𝐀𝐥𝐦𝐚𝐋𝐢𝐧𝐮𝐱 𝟖.𝟓 (𝐀𝐫𝐜𝐭𝐢𝐜 𝐒𝐩𝐡𝐲𝐧𝐱)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment