Asterisk on Debian 12 / Bookworm

Debian 12 doesn't come with Asterisk. You can however use the Asterisk from Debian 11 / Bullseye;

Besides the Asterisk packages you need the following packages from Debian 11;

The rest comes from Debian 12;

You need to install libgnutls30 and libsasl2-2 from Debian 12 before you install libldap.4-2 and libssl1.1 from Debian 11!