Asterisk 20 debian 11 install tested

tested.

make the 18s in the setup 20.

beware this exception
asterisk-18.9.0
change
asterisk-20.0.0

extensions.conf
pjsip.conf

Replace these files with /etc/asterisk files. files id ip password
empty. you will add password

sample
pjsip.conf
password=123456789

let me know if there is an error.
Trunk inbound unbound I couldn’t solve it I will share it

stable

extensions.conf
pjsip.conf

or
make basic-pbx

Debian install update

su -
Password:

debian update fix

nano /etc/apt/sources.list

change the contents.

deb http://deb.debian.org/debian bullseye main
deb-src http://deb.debian.org/debian bullseye main

deb http://deb.debian.org/debian-security/ bullseye-security main
deb-src http://deb.debian.org/debian-security/ bullseye-security main

deb http://deb.debian.org/debian bullseye-updates main
deb-src http://deb.debian.org/debian bullseye-updates main

current source list
https://wiki.debian.org/SourcesList

filezilla file access permissions.

chown -R cagri:cagri /etc/asterisk
chown -R cagri:cagri /etc/apt
chown -R cagri:cagri /usr/src

apt update

apt upgrade -y
shutdown now -r
apt update
apt-get install libedit-dev git curl wget libnewt-dev libssl-dev libncurses5-dev subversion libsqlite3-dev build-essential libjansson-dev libxml2-dev uuid-dev
cd /usr/src/
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-20-current.tar.gz
tar xfv asterisk-20-current.tar.gz
cd asterisk-20*/
contrib/scripts/install_prereq install
./configure
contrib/scripts/get_mp3_source.sh
make menuselect
-----exit
make
make install
make samples #tes etc
make basic-pbx #test accounts trunk outbound etc.
make config

service asterisk status
service asterisk start
service asterisk status
asterisk -rvvvv
kill pid