#+TITLE: Private PBX via WireGuard VPN #+PROPERTY: header-args :exports both :results both :eval never-export #+OPTIONS: noweb:t #+SETUPFILE: theme/simple_dark.theme * Setup WireGuard [[https://wiki.archlinux.org/title/WireGuard][https://wiki.archlinux.org/title/WireGuard]] TODO document this * Setup Asterisk [[https://wiki.archlinux.org/title/Asterisk][https://wiki.archlinux.org/title/Asterisk]] TODO document this * Networks | Network | Description | | 10.26.0.0/24 | WireGuard VPN peers | | 10.26.0.1 | Asterisk PBX | | 10.26.0.2 - 10.26.0.19 | Ryan's VPN peers | | 10.26.0.20 - 10.26.0.29 | Mike's VPN peers | | 192.168.61.0/24 | Ryan's VoIP network | | 192.168.61.2 | Ryan's DECT basestation | | x.x.x.x/24 | Mike's VoIP network | Note: clients do not necessarily need to be on a dedicated VoIP network, they just need a route to =10.26.0.1=. * Extensions | Extension | Description | |-----------+--------------------------| | 100 | Ring all of Ryan's lines | | 103 | Ryan's office | | 104 | Ryan's cordless | | 200 | Ring all of Mike's lines | | 203 | Mike's office | | 204 | Mike's cordless | | 600 | Echo test | | *67 | Voicemail | * Setup SNOM M500 basestation **** Find the MAC address printed on the back ***** Register a static IP address on your router for this MAC address. **** Plug the station into a PoE switch. **** Reference the [[https://www.snomamericas.com/assets/72a951db-c2c2-409f-83c4-0d6d98f8199f/Snom_US_M500_QIG(print-ready).pdf][Quick Installation Guide]] **** If necessary, follow the reset procedure in the install guide (pg 18). **** Open your browser to the IP address of the station. **** Login with the default credentials: ***** username: =admin= ***** password: =admin= **** Change the password for the admin and user accounts (but user account won't be used). **** Reference the [[https://service.snom.com/download/attachments/234332150/UM_US_M500_Admin_Provisioning_Manual_en.pdf?version=1&modificationDate=1710501431223&api=v2][admin and provisioning manual]] **** Set System > Base Preferences ***** Enable Wideband Audio ****** This increases the quality of the audio, but reduces the number of simultaneous active calls (4). ****** Click Save and wait for the reboot of the base station. * Upgrade Base Firmware **** Copy the URL for the [[https://service.snom.com/display/wiki/DECT+M500-Series+Firmware][latest M500 base station firmware]] (e.g., =https://downloads.snom.com/M500/M500-1.9.2.img=) **** Open the =Servicing > Auto Upgrade= page. **** Paste the URL, and click =Update Base Firmware Now=. **** Wait for the basestation to reboot. * Pair SNOM M55 Handsets to M500 basestation **** [[https://www.snomamericas.com/assets/8ec35b46-200d-42ae-8a2c-5df19414769c/UM_US_M55_en.pdf][Reference the M55 User Manual]] **** If necessary, follow the directions for "Deregistering the handset" (pg 28). **** Follow the "Manually registering via the LINK key on the base station" (pg 26). **** All registered handsets should now be seen on the =Cordless Registrations= admin page. **** Upgrade the handset firmware on the =Cordless Upgrade Status= page. * Upgrade Handset Firmware **** Copy the URL for the [[https://service.snom.com/display/wiki/DECT+M500-Series+Firmware][latest M55 handset firmware]] (e.g., =https://downloads.snom.com/M500/M55-1.9.2.img=) **** Open the =Servicing > Auto Upgrade= page. **** Paste the URL, and click =Update Base Firmware Now=. **** Wait for the basestation to reboot.