
This course contains the use of artificial intelligence.
A phone system looks complicated until you build one. This course teaches the Asterisk PBX and FreePBX with a simple method: a short explanation with a diagram, and then a real lab. You install Asterisk 20 on Ubuntu 24.04, register two softphones, write the dialplan, and then connect the PBX to a SIP provider with a trunk, in both directions.
Every lab ran for real on cloud servers at UpCloud: a PBX with Asterisk 20.6 from the Ubuntu repository, a second Asterisk that plays the SIP provider, two clients with baresip softphones, and a Debian 12 server with FreePBX 17. You see the real commands and the real results.
You will learn: SIP and RTP basics with packet captures; installing Asterisk and using its command line, files and logs; PJSIP endpoints, transports and templates; the dialplan with patterns, variables, ring groups, voicemail, an IVR menu, time conditions, queues and conferences; the manager interface (AMI) and the REST interface (ARI); call recording and call records; codecs and transcoding; SIP trunks with registration and by IP address, inbound routes with a DID, outbound routes and caller ID; strong secrets, access lists, fail2ban, TLS and SRTP; and FreePBX 17 with extensions, trunks, routes, a voice menu, ring groups and queues in the web interface. Five Extra lectures cover an ARI application in Python, WebRTC and Opus on the server, monitoring with Prometheus, a load test with SIPp, and FreePBX backup and restore.
The course has 31 main lectures with about 1 hour 58 minutes of video, plus 5 Extra lectures of about 18 minutes, as delivered. The course includes a lab guide, command files and expected results for every lab video, plus a setup guide for the five lab hosts; every command and every result is also on the screen, and nothing is paywalled inside the course. The narration voice is AI generated.
Please know before you buy: you need five lab machines, either cloud servers or local virtual machines. There is no real audio in the labs: calls are proven by call records, logs, packet captures and recordings made from a test tone. The softphone baresip cannot negotiate the g722 and opus codecs, so these are shown on concept slides and in server checks only. WebRTC with a real browser was not tested; the Extra lecture shows the server side only. The time condition lab was tested only in part for the closed branch, and the FreePBX firewall page is shown but not switched on. The Asterisk source build is a slide only. Anything not tested live is said plainly in the videos. This is not a certification course and it does not promise a certificate. The lectures are video only, and the course includes a lab guide, command files and expected results for every lab video; every command and every result is also on the screen, and nothing is paywalled inside the course. The narration voice is AI generated.
The course is written for beginners: system administrators and IT support staff who want to run a PBX, people who want to understand SIP trunks, and students who want a practical start in open-source telephony.
This course contains the use of artificial intelligence.
Curriculum Outline
Welcome and course map
Prepare the lab
SIP and RTP basics
Install Asterisk 20 on Ubuntu 24.04
CLI, files, logs and modules
PJSIP objects and templates
Register two softphones
Transports UDP, TCP and NAT settings
extensions.conf: contexts and patterns
Variables, GotoIf, Gosub and SayDigits
Dial, ring groups and fallback
Voicemail
An IVR menu
Time conditions
Queues
Conferences with ConfBridge
The Asterisk Manager Interface (AMI)
ARI REST basics
Call recording and CDR
Codecs and transcoding
Provider setup (second Asterisk)
Register trunk and outbound route
Inbound route and DID
IP trunk (no registration)
Caller ID, PAI, trust_id
Strong secrets and ACL
fail2ban for Asterisk
TLS and SRTP
FreePBX 17: install, first login, extensions
FreePBX trunks and routes in the GUI
FreePBX voice menu, groups, queues and outro
ARI Stasis application (Python)
WebRTC and Opus on the server
Monitoring with Prometheus metrics
Load test with SIPp
FreePBX backup and restore with fwconsole