Asterisk course

Install Asterisk

Packages versus source, and the first safe config.

On Debian/Ubuntu you can apt install asterisk for a lab. Source builds make sense when you need a module the package left out. After install, asterisk -rvvv opens the CLI.

Leave chan_sip in the past. New labs should use PJSIP. Bind SIP to a private interface. If you must test from a phone on another network, firewall it and use TLS plus strong credentials — default UDP 5060 on a public IP will be scanned within minutes.